通信连接方法及数据卡技术

技术编号:6049229 阅读:191 留言:0更新日期:2012-04-11 18:40
本发明专利技术实施例提供一种通信连接方法及数据卡。通信连接方法可以包括:数据卡获取来自客户端的数据流量;如果所述数据卡与通信网络没有通信连接,则所述数据卡建立与所述通信网络之间的通信连接;所述数据卡将所述数据流量通过所述通信连接发送至所述通信网络,并开始统计待机时间;如果在预设的待机时间阈值内,所述数据卡没有再从所述客户端接收到数据流量,则所述数据卡断开与通信网络之间的通信连接;如果在预设的待机时间阈值内,所述数据卡从所述客户端接收到数据流量,则所述数据卡重新统计所述待机时间。本发明专利技术实施例实现了数据卡能够根据来自客户端的数据流量自动建立和断开与通信网络之间的通信连接,从而提高了数据卡的灵活性和效率。

Communication connection method and data card

The embodiment of the invention provides a communication connection method and a data card. Communication connection method may include obtaining data flow from the client's data card; if the card and the data communication network without communication connection, the data card to establish a connection with the communication between the communication network; the data card will be the data flow through the communication connection is transmitted to the communication network. Statistics and start standby time; if the standby time threshold is preset in the data card no longer received from the client data flow, the data communication between the card and disconnect the communication network connection; if the preset threshold in the standby time, the data from the client receiving card to the data flow, the data card to the standby time statistics. The embodiment of the invention realizes that the data card can automatically establish and disconnect the communication connection with the communication network according to the data flow from the client, thereby improving the flexibility and the efficiency of the data card.

【技术实现步骤摘要】

【技术保护点】
1.一种通信连接方法,其特征在于,包括:数据卡获取来自客户端的数据流量;如果所述数据卡与通信网络没有通信连接,所述数据卡建立与所述通信网络之间的通信连接;所述数据卡将所述数据流量通过所述通信连接发送至所述通信网络,并开始统计待机时间;如果在预设的待机时间阈值内,所述数据卡没有再从所述客户端接收到数据流量,则所述数据卡断开与通信网络之间的通信连接;如果在预设的待机时间阈值内,所述数据卡从所述客户端接收到数据流量,则所述数据卡重新统计所述待机时间。

【技术特征摘要】

【专利技术属性】
技术研发人员:王刚
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:94

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1