WO2011091667A1 - 一种数据卡及其快速建立拨号连接的方法 - Google Patents

一种数据卡及其快速建立拨号连接的方法 Download PDF

Info

Publication number
WO2011091667A1
WO2011091667A1 PCT/CN2010/077033 CN2010077033W WO2011091667A1 WO 2011091667 A1 WO2011091667 A1 WO 2011091667A1 CN 2010077033 W CN2010077033 W CN 2010077033W WO 2011091667 A1 WO2011091667 A1 WO 2011091667A1
Authority
WO
WIPO (PCT)
Prior art keywords
dhcp
connection establishment
module
wireless connection
port
Prior art date
Application number
PCT/CN2010/077033
Other languages
English (en)
French (fr)
Inventor
张红
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US13/522,519 priority Critical patent/US9265075B2/en
Priority to ES10844444.9T priority patent/ES2630223T3/es
Priority to EP10844444.9A priority patent/EP2528404B1/en
Publication of WO2011091667A1 publication Critical patent/WO2011091667A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5084Providing for device mobility
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present invention relates to the field of wireless communication technologies, and more particularly to a data card and a method for rapidly establishing a dial-up connection. Background technique
  • TE Terminal Equipment
  • MT Mobile Termination
  • the interface between the TE and the MT is called the Rm interface
  • the interface between the MT and the wireless network is called the Um interface.
  • the data card dial-up process includes two processes: Rm port connection establishment and Um port connection establishment.
  • IP bearer modes are defined for the upper layer application data of the data card, namely IP and PPP.
  • IP bearer In practical applications, data cards usually use IP bearer for data transmission. The following two dialing methods described in this document are based on IP bearer.
  • the Rm port can establish a connection using a peer-to-peer (PPP) data link protocol or a Dynamic Host Set Protocol (DHCP) data protocol.
  • PPP peer-to-peer
  • DHCP Dynamic Host Set Protocol
  • the data card dialing can be divided into two types: RAS dialing and NDIS dialing. NDIS dialing mode, Rm port uses DHCP protocol to establish data connection; RAS dialing mode, Rm port uses PPP protocol to establish data connection.
  • the connection establishment of the Um port includes radio bearer establishment and PDP activation process.
  • the processing flow of the Um port is the same.
  • the dial-up connection establishment flowchart of the NDIS dialing mode is as shown in FIG. 1, which includes the following steps: Step 101: The user initiates dialing: The TE sends a QMI dialing message to the MT;
  • Step 102 The MT receives the dialing message: The MT initiates a dial-up connection process;
  • Step 103 Establish a wireless connection between the Um port of the MT and the access network:
  • the MT sends a request information for a PDP Context (PDP Context, Packet Data Protocol Context) to the SGSN (Servicing GPRS Support Node), and the CHAP or PAP of the SGSN to the TE
  • the authentication information is authenticated.
  • the user is assigned a dynamic IP address, DNS, and NBNS address. These parameters are sent back to the MT by activating the received information of the PDP context.
  • the 3GPP protocol specifies that the duration of PDP activation is up to 40 seconds;
  • Step 104 The Rm port completes the DHCP negotiation:
  • the MT receives the PDP activation message, the Um interface status changes to UP, then starts the DHCP server, and notifies the TE of the activation status of the PDP, and waits for the TE to send a DHCP Discover message; After the DHCP Discover message is sent to the TE, the TE and the MT start the DHCP negotiation process.
  • the MT sends the IP address and DNS address assigned by the GGSN to the TE according to the DHCP protocol.
  • Step 105 The Rm interface completes the address resolution protocol.
  • ARP negotiation The TE initiates the ARP process, and the ARP negotiation is completed between the MT and the TE.
  • Step 106 The dial-up connection is established and the dialing process ends.
  • step 104 the MT-side needs to wait for the TE to establish a DHCP service and send a DHCP Discover. If the TE side is based on the WINDOWS operating system, the time required to establish a DHCP service is generally about 3 seconds. Responsible, time consuming, user experience is not good. Summary of the invention
  • the object of the present invention is to provide a data card and a method for quickly establishing a dial-up connection, which shortens the dialing time and realizes speed dialing.
  • the technical solution of the present invention is achieved as follows:
  • a method for quickly establishing a dial-up connection by a data card When a mobile terminal initiates a dial-up connection on a computer, the Um port initiates a wireless connection establishment process and the Rm port starts a dynamic host setup protocol DHCP server process simultaneously.
  • the Um port initiates a wireless connection establishment process, including: the mobile terminal initiates a connection establishment of a Um port and a wireless network after receiving a dial-up connection message initiated by the computer;
  • the method further includes: the Um port of the mobile terminal sequentially starts a cell attach, authentication, and PDP activation process.
  • the DHCP timer is further started to perform timeout detection, and the DHCP connection establishment event notification DHCP timer is established after the wireless connection establishment process ends.
  • the DHCP timer detects a wireless connection establishment event, and the timer is not expired, if it is a wireless connection establishment success event, further wait for the DHCP to discover the DHCP discover message, reply to the DHCP offer message, complete the DHCP process, or the DHCP timer expires.
  • the connection establishment fails. If the wireless connection establishment fails, the DHCP server is deleted, the DHCP timer is deleted, and the DHCP discover message on the TE side is no longer responded. The DHCP discover message on the TE side is always unresponsive and the connection establishment fails.
  • the DHCP timer detects the DHCP discover message, and the timer does not expire, the DHCP timer further includes:
  • the DHCP discover message is not responded, and the TE resends the DHCP discover message after the wait response message times out; the process is repeated until a wireless connection setup event is received.
  • the method further includes:
  • the DHCP timer expires, if no message is detected, the DHCP timer is restarted, and the process is repeated until a wireless connection establishment event or DHCP discover is received. Interest.
  • the DHCP timer is further deleted, and the DHCP process is ended.
  • the method further includes: deleting the DHCP timer, and the Rm port starts the address resolution protocol ARP negotiation.
  • a data card for quickly establishing a dial-up connection comprising a driver module, a DS module, an SM module, and a DHCP protocol stack module, wherein
  • the driving module is a communication module for data exchange between the data card and the PC, and the dialing message is sent from the PC side to the data card side through the driving module;
  • the DS module is a module for processing a dial-related data message on the data card side, and after receiving the dial-up message, the DS module parses and sends it to the SM module and the DHCP protocol stack module for processing;
  • the SM module is a processing module for data interaction between the data card and the network side.
  • the data card further includes a Um port and an Rm port. After the data card receives the dialing message, the Um port is used to initiate a wireless connection establishing process, and the Rm port is used to start a DHCP server.
  • the technical solution of the present invention advances the time when the TE starts the DHCP server, and simultaneously initiates the establishment of the wireless transmission connection, so that the Um side and the Rm side can simultaneously initiate the dialing process, waiting for the DHCP discover.
  • the time of the message overlaps with the time of waiting for the wireless connection to be established, so that the purpose of shortening the dialing time and speed dialing can be achieved.
  • FIG. 1 is a schematic diagram of an NDIS dialing process performed by a conventional mobile communication terminal
  • FIG. 2 is a schematic flowchart of a speed dial connection performed by a mobile communication terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a data card module according to an embodiment of the present invention.
  • the invention is based on the analysis of the dialing process and the experimental network test data, and proposes a shortening
  • the method for NDIS dial-up connection duration is based on the terminal device.
  • Table 1 above Table 1 divides NDIS dialing into sub-processes, and lists the data obtained by testing 20 dial-up connections under the experimental network.
  • the NDIS dialing process is decomposed into sub-processes in order, and the column represents the elapsed time of each sub-process of the NDIS dialing mode.
  • sub-processes 1, 2, 3 belong to the interaction process between MT and wireless network
  • 4 belong to the interaction process between TE and MT.
  • the sub-processes are explained as follows:
  • the radio bearer is established between the MT and the radio access network, and the PDP activation, the Um interface protocol, and the Um interface are established.
  • the time when the TE completes the ARP process is up to 3830 ms.
  • the time for starting the DHCP server by the TE is advanced, and the time for starting the wireless transmission connection is established, so that the Um side and the Rm side can simultaneously initiate the dialing process, waiting for the time of the DHCP discover message and waiting.
  • the time when the wireless connection is established overlaps, so that the purpose of shortening the dialing time and speed dialing can be achieved.
  • process 2 is advanced to the same time as process 1.
  • Rm needs to monitor both the DHCP discover message from the TE and the interface UP message from the Um.
  • the DHCP negotiation process with the TE can be initiated to complete the dialing process. . From the time data obtained from the experimental network test in Table 1, it can be known that by using this method, the dialing time can be effectively shortened by about 3 s, which is 1/3 of the total length of the dial-up networking.
  • the Um side establishes the wireless connection for a maximum of about 40s (mainly PDP connection establishment time), and the Rm side DHCP latency is also fixed ( ⁇ 40s), in the worst case, about 40s can be obtained.
  • the message that the dial-up connection failed, this time is 3s less than the worst case of the currently implemented method. Compared with similar products, the comparison is obvious.
  • FIG. 2 it is a flow chart of a method for rapidly establishing a dial-up connection of a data card according to an embodiment of the present invention, which includes the following processes:
  • Step 201 The user TE initiates dialing.
  • Step 202 The MT receives the dialing message.
  • Step 203 The Um port initiates a wireless connection establishment process.
  • the MT After receiving the dial-up connection message initiated by the TE, the MT initiates a connection establishment process between the Um port and the wireless network; the Um port of the MT sequentially starts cell attachment, authentication, PDP activation, and wireless connection establishment. After the wireless connection establishment process ends, the event notification notification DHCP is established through the wireless connection.
  • the timer, the wireless connection establishment event is divided into two types: a wireless connection establishment success event and a wireless connection establishment failure event.
  • Step 204 The Rm port starts the DHCP server.
  • Step 205 Start a DHCP timer timeout detection.
  • the DHCP timer of the Rm port monitors the following events:
  • a wireless connection setup event is detected and the timer has not expired. If it is a wireless connection establishment success event, wait for a DHCP discover message, reply to a DHCP offer message, complete the DHCP process, or the DHCP timer expires, the connection establishment fails; if it is a wireless connection establishment failure event Then, the DHCP server is deleted, the DHCP timer is deleted, and the DHCP discover message on the TE side is no longer responded. The DHCP discover message on the TE side is always unresponsive and the connection establishment fails.
  • a DHCP discover message was detected and the timer has not expired. If the wireless connection setup event is not detected at this time, the DHCP discover message is not responded, and the TE resends the DHCP discover message after the response message expires; the process is repeated until it is received. The wireless connection establishes an event and proceeds to the previous process.
  • Step 206 Determine whether the timer expires, if it times out, then proceeds to step 205; if not, then proceeds to step 207;
  • Step 207 determining whether the wireless connection completion information is detected; if detected, then proceeds to step 208, if not detected, then proceeds to step 206;
  • Step 208 Determine whether the wireless connection is successfully established; if successful, proceed to step 209; If not successful, proceed to step 213;
  • Step 209 Determine whether a DHCP Discover message is detected, if it is detected, go to step 210, if not, go to step 206;
  • Step 210 Delete a DHCP timer.
  • Step 211 The Rm port starts ARP negotiation.
  • Step 212 The connection is established and the dialing process ends.
  • Step 213 Delete a DHCP timer.
  • Step 214 End the DHCP process
  • Step 215 The connection establishment fails, and the dialing process ends.
  • FIG. 3 is a diagram of main software modules involved in a data card according to an embodiment of the present invention.
  • the method proposed by the present invention does not involve a TE side software module.
  • the data card includes a driver module 301, a DS module 302, an SM module 303, and a DHCP protocol stack module 304.
  • the driving module 301 is a communication module for data exchange between the data card and the PC, and the dialing message is transmitted from the PC side to the data card side through the driving module, and the above step 201 relates to the processing of the driving module 301.
  • the DS module 302 is a module for processing the dial-related data message on the data card side. After receiving the dialing message, the DS module 302 parses and sends it to the SM module 303 and the DHCP protocol stack module 304 for processing.
  • the SM module 303 is a processing module for data interaction between the data card and the network side.
  • the DHCP protocol stack module 304 processes the processes related to the DHCP protocol.
  • the above step 203 relates to the processing of the SM module 303 and the DHCP protocol stack module 304.
  • the above steps 203-209 are completed by the DHCP protocol stack processing module 304.
  • Steps 210-215 are PC side software module processing.

Abstract

本发明提出一种数据卡快速建立拨号连接的方法,包括在移动终端使用于电脑上发起拨号连接时,将Um端口启动无线连接建立过程和Rm端口启动DHCP服务器过程同时进行。与现有技术相比较,本发明技术方案将TE启动DHCP服务器的时间提前,和启动无线传输连接建立的时间同时,这样Um侧和Rm侧可以同时启动拨号流程,等待DHCPdiscover消息的时间就和等待无线连接建立的时间重叠,这样就可以达到缩短拨号时间、快速拨号的目的。

Description

一种数据卡及其快速建立拨号连接的方法 技术领域
本发明涉及无线通信技术领域, 更具体地, 涉及一种数据卡及其快速 建立拨号连接的方法。 背景技术
随着 3G移动通信时代的来临, 相对于固网接入, 无线数据卡因其高速 率和可移动性, 引起了用户对无线上网的巨大需求, 而使用无线数据卡拨 号上网的拨号时延也成为了重要的用户体验指标。
数据卡实现拨号上网是釆用 TE+MT 应用模式, TE ( Terminal Equipment ) 通常是台式机(PC ) 或笔记本电脑 (Laptop ), MT ( Mobile Termination )就是无线数据卡或手机终端。 TE和 MT之间的接口称为 Rm 接口, MT和无线网络之间的接口称为 Um接口。数据卡拨号上网过程包括 Rm口连接建立和 Um口连接建立两个过程。
在 3GPP协议中为数据卡的上层应用数据定义了两种承载方式,分别是 IP和 PPP两种方式。 在实际应用中, 数据卡通常釆用 IP承载方式进行数据 传输。 本文描述的以下两种拨号方式, 都是基于 IP的承载方式。
Rm口建立连接可以釆用点对点 (PPP )数据链路协议或者动态主机设 置协议( DHCP )数据协议。 依据 Rm口釆用的连接建立协议不同, 又可将 数据卡拨号分为 RAS拨号和 NDIS拨号两种。 NDIS拨号方式, Rm口釆用 DHCP协议来建立数据连接; RAS拨号方式, Rm口釆用 PPP协议建立数 据连接。
Um 口的连接建立包括无线承载建立和 PDP激活过程。 对于 RAS和 NDIS方式, Um口的处理流程是一样的。 NDIS拨号方式的拨号连接建立流程图如附图 1所示,其包括以下步骤: 步骤 101: 用户发起拨号: TE发送 QMI拨号消息到 MT;
步骤 102: MT收到拨号消息: MT启动拨号连接过程;
步骤 103 : MT 的 Um端口和接入网络之间建立无线连接: MT 向 SGSN(Servicing GPRS Support Node)发送激活 PDP上下文( PDP Context, Packet Data Protocol Context )的请求信息, SGSN对 TE的 CHAP或 PAP认 证信息进行认证, 认证通过后, 为用户分配动态 IP地址、 DNS和 NBNS 地址。 并将这些参数通过激活 PDP上下文的接收信息发送回 MT。 3GPP协 议中规定了 PDP激活所用的时长最长为 40秒;
步骤 104: Rm端口完成 DHCP协商: MT收到 PDP激活消息, Um口 状态变为 UP, 然后启动 DHCP服务器, 并将 PDP的激活状态通知 TE, 等 待 TE发送 DHCP Discover ( DHCP发现)消息; MT收到 TE发送的 DHCP Discover ( DHCP发现消息) 消息之后, TE和 MT开始 DHCP协商过程, MT依据 DHCP协议规定,将 GGSN分配的 IP地址、 DNS地址等信息发送 给 TE;
步骤 105: Rm口完成地址解析协议 ARP协商: TE启动 ARP过程, MT和 TE之间完成 ARP协商;
步骤 106: 拨号连接建立, 拨号过程结束。
对上述流程进行可以看出, 步骤 104 中, MT—侧需要等待 TE建立 DHCP服务并发送 DHCP Discover,如果 TE侧是基于 WINDOWS操作系统, 则建立 DHCP服务需要的时间一般为 3秒左右, 整个过程负责, 费时较长, 用户体验不好。 发明内容
本发明的目的是提出一种数据卡及其快速建立拨号连接的方法, 缩短 拨号时间, 实现快速拨号。 为达到上述目的, 本发明的技术方案是这样实现的:
一种数据卡快速建立拨号连接的方法, 在移动终端使用于电脑上发起 拨号连接时, 将 Um端口启动无线连接建立过程和 Rm端口启动动态主机 设置协议 DHCP服务器过程同时进行。
所述 Um端口启动无线连接建立过程包括: 所述移动终端收到电脑发 起的拨号连接消息之后启动 Um端口和无线网络的连接建立;
所述 Um端口启动无线连接建立过程之前, 该方法进一步包括: 所述 移动终端的 Um端口依次启动小区附着、 鉴权、 PDP激活过程。
在所述 Um端口启动无线连接建立过程和 Rm端口启动 DHCP服务器 过程开始后, 进一步启动 DHCP定时器进行超时检测, 无线连接建立过程 结束之后通过无线连接建立事件通知 DHCP定时器。
所述 DHCP定时器监测到无线连接建立事件, 且定时器未过期时, 如 果是无线连接建立成功事件, 则进一步等待 DHCP发现 DHCP discover消 息, 回复 DHCP offer消息, 完成 DHCP过程, 或者 DHCP定时器超时, 连 接建立失败; 如果是无线连接建立失败事件, 则进一步删除 DHCP服务器, 删除 DHCP定时器,不再响应 TE侧的 DHCP discover消息, TE侧的 DHCP discover消息始终得不到响应, 连接建立失败。
所述 DHCP定时器监测到 DHCP discover消息, 且定时器未过期时, 进一步包括:
如果此时未监测到无线连接建立事件, 则不响应该 DHCP discover消 息, 而 TE在等待响应消息超时之后会重新发送 DHCP discover消息; 重复 该过程直到收到无线连接建立事件。
该方法进一步包括:
所述 DHCP 定时器过期时, 如果没有检测到任何消息, 则重新启动 DHCP定时器,重复该过程直到收到无线连接建立事件或 DHCP discover消 息。
当所述无线连接建立不成功时, 则进一步删除 DHCP 定时器, 结束 DHCP过程。
当检测到 DHCP discover消息时, 该方法进一步包括: 删除 DHCP定 时器, Rm端口开始地址解析协议 ARP协商。
一种快速建立拨号连接的数据卡,所述数据卡包括驱动模块、 DS模块、 SM模块及 DHCP协议栈模块, 其中
所述驱动模块是数据卡和 PC进行数据交流的通信模块,拨号消息通过 驱动模块从 PC侧发送到数据卡侧;
所述 DS模块是数据卡侧处理拨号相关数据消息的模块, DS模块收到 拨号消息之后, 进行解析并发送到 SM模块和 DHCP协议栈模块分别进行 处理;
所述 SM模块是数据卡和网络侧进行数据交互的处理模块。
所述数据卡还包括 Um端口和 Rm端口,所述 DS模块在所述数据卡接 收到拨号消息后, 所述 Um端口用于启动无线连接建立过程, 所述 Rm端 口用于启动 DHCP服务器。
综上所述, 与现有技术相比较, 本发明技术方案将 TE启动 DHCP服 务器的时间提前, 和启动无线传输连接建立的时间同时, 这样 Um侧和 Rm 侧可以同时启动拨号流程,等待 DHCP discover消息的时间就和等待无线连 接建立的时间重叠, 这样就可以达到缩短拨号时间、 快速拨号的目的。 附图说明
图 1是现有的移动通信终端进行 NDIS拨号流程示意图;
图 2是本发明实施例移动通信终端进行快速拨号连接的流程示意图; 图 3是本发明实施例数据卡模块示意图。 具体实施方式
本发明基于对拨号流程的分析及实验网测试数据, 提出了一种缩短
NDIS拨号连接时长的方法, 本发明技术方案基于终端设备。
Figure imgf000007_0001
表 1 上述表 1将 NDIS拨号分成了各子流程, 并列出了实验网下测试 20次 拨号连接得到的数据。如表 1所示,将 NDIS拨号流程按先后顺序分解为子 过程, 纵列代表 NDIS拨号方式各子流程对应的耗时。 其中, 子过程 1、 2、 3属于 MT和无线网络的交互过程, 4属于 TE和 MT的交互过程。 各子过 程分别解释如下:
1、 空口连接建立过程
指 Um口无线连接建立过程耗时。 包括 MT和无线接入网络之间建立 无线承载、 PDP激活、 Um口协议 UP标识 Um口无线连接建立。
2、 等待 TE建立 DHCP服务过程
指 Rm口连接建立过程耗时。 包括启动 DHCP服务器, 通知 TE启动 DHCP协商, 收到 TE的 DHCP discover ( DHCP发现消息) 消息标识着进 入下一过程。
3、 MT和 TE之间 DHCP协商过程
MT和 TE之间完成 DHCP协商过程的时间。
4、 TE的 ARP协议建立
TE完成 ARP过程的时间。 从表 1中可以看到,在 NDIS拨号过程中, MT启动 DHCP服务器之后, 等待 TE发起 DHCP discover ( DHCP发现消息) 消息的过程 (Rm wait time) 长达 3830ms。 本发明技术方案, 将 TE启动 DHCP服务器的时间提前, 和 启动无线传输连接建立的时间同时, 这样 Um侧和 Rm侧可以同时启动拨 号流程, 等待 DHCP discover ( DHCP发现消息) 消息的时间就和等待无线 连接建立的时间重叠, 这样就可以达到缩短拨号时间、 快速拨号的目的。 对应表 1所列拨号过程, 即将过程 2提前到和过程 1 同时。 DHCP服务器 启动之后, Rm需要同时监测来自 TE的 DHCP discover ( DHCP发现消息) 消息消息和来自 Um的接口 UP消息, 两个消息都收到之后就可以启动和 TE的 DHCP协商过程,进而完成拨号过程。从表 1中的实验网测试获取的时 间数据可以得知, 通过使用本方法, 可以有效缩短拨号时间大约 3s, 这个 时间是拨号联网总时长的 1/3。
由于 Um侧对于无线连接的建立时间最长大约 40s (主要是 PDP连接 建立耗时),而 Rm侧的 DHCP等待时间也是固定的(<40s ), 所以在最坏的 情况下,大约 40s可以得到拨号连接失败的消息, 这个时间比釆用目前已实 现的方式的最坏情况相比少 3s。 和同类产品进行对比测试, 对比很明显。
下面结合附图和具体实施例对本发明所公开的技术方案作详细说明。 如图 2所示, 是本发明实施例一种数据卡快速建立拨号连接的方法流 程图, 其包括如下流程:
步骤 201: 用户 TE发起拨号;
步骤 202: MT收到拨号消息;
步骤 203: Um端口启动无线连接建立过程;
MT收到 TE发起的拨号连接消息之后启动 Um端口和无线网络的连接 建立过程; MT的 Um端口依次启动小区附着、 鉴权、 PDP激活、 无线连接 建立等过程。无线连接建立过程结束之后通过无线连接建立事件通知 DHCP 定时器, 无线连接建立事件分为无线连接建立成功事件和无线连接建立失 败事件两种。
步骤 204: Rm端口启动 DHCP服务器;
步骤 205: 启动 DHCP定时器超时检测;
Rm端口的 DHCP定时器监测如下事件:
监测到无线连接建立事件, 且定时器未过期。 如果是无线连接建立成 功事件, 则等待 DHCP discover ( DHCP发现消息) 消息, 回复 DHCP offer ( DHCP发现消息 ) 消息, 完成 DHCP过程, 或者 DHCP定时器超时, 连 接建立失败; 如果是无线连接建立失败事件, 则删除 DHCP服务器, 删除 DHCP定时器, 不再响应 TE侧的 DHCP discover ( DHCP发现消息 )消息, TE侧的 DHCP discover ( DHCP发现消息) 消息始终得不到响应, 连接建 立失败。
监测到 DHCP discover ( DHCP发现消息) 消息, 且定时器未过期。 如 果此时未监测到无线连接建立事件, 则不响应该 DHCP discover ( DHCP发 现消息) 消息, 而 TE在等待响应消息超时之后会重新发送 DHCP discover ( DHCP 发现消息) 消息; 重复该过程直到收到无线连接建立事件, 此时 进入上一个流程。
定时器过期, 没有检测到任何消息。 则重新启动 DHCP定时器, 重复 该过程直到收到无线连接建立事件或 DHCP discover ( DHCP发现消息) 消 息, 进入上两个流程。
步骤 206: 判断定时器是否超时, 如果超时则转入步骤 205; 如果未超 时则转入步骤 207;
步骤 207: 判断是否检测到无线连接完成信息; 如果检测到则转入步骤 208 , 如果未检测到则转入步骤 206;
步骤 208: 判断无线连接是否建立成功; 如果成功, 则转入步骤 209; 如果未成功则转入步骤 213 ;
步骤 209: 判断是否检测到 DHCP Discover消息, 如果检测到则转入步 骤 210, 如果未检测到则转入步骤 206;
步骤 210: 删除 DHCP定时器;
步骤 211 : Rm端口开始 ARP协商;
步骤 212: 连接建立, 拨号流程结束。
步骤 213: 删除 DHCP定时器;
步骤 214: 结束 DHCP过程;
步骤 215: 连接建立失败, 拨号流程结束。
图 3是本发明实施例数据卡所涉及的主要软件模块图。 本发明提出的 方法不涉及 TE侧软件模块。 所述数据卡包括驱动模块 301、 DS模块 302、 SM模块 303及 DHCP协议栈模块 304。
驱动模块 301是数据卡和 PC进行数据交流的通信模块,拨号消息通过 驱动模块从 PC侧发送到数据卡侧,以上步骤 201涉及驱动模块 301的处理。 DS模块 302是数据卡侧处理拨号相关数据消息的模块, DS模块 302收到 拨号消息之后, 进行解析并发送到 SM模块 303和 DHCP协议栈模块 304 分别进行处理。 SM模块 303是数据卡和网络侧进行数据交互的处理模块。 DHCP协议栈模块 304处理和 DHCP协议相关的流程。 以上步骤 203涉及 SM模块 303和 DHCP协议栈模块 304的处理。 以上步骤 203-209由 DHCP 协议栈处理模块 304完成处理。 步骤 210-215是 PC侧软件模块处理。
当然, 本发明还可有多种实施方式, 在不背离本发明精神及其实质的 但凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改进, 均应 包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种数据卡快速建立拨号连接的方法, 其特征在于: 在移动终端使 用于电脑上发起拨号连接时, 将 Um端口启动无线连接建立过程和 Rm端 口启动动态主机设置协议 DHCP服务器过程同时进行。
2、 如权利要求 1所述的方法, 其特征在于:
所述 Um端口启动无线连接建立过程包括: 所述移动终端收到电脑发 起的拨号连接消息之后启动 Um端口和无线网络的连接建立;
所述 Um端口启动无线连接建立过程之前, 该方法进一步包括: 所述 移动终端的 Um端口依次启动小区附着、 鉴权、 PDP激活过程。
3、 如权利要求 1所述的方法, 其特征在于: 在所述 Um端口启动无线 连接建立过程和 Rm端口启动 DHCP服务器过程开始后,进一步启动 DHCP 定时器进行超时检测, 无线连接建立过程结束之后通过无线连接建立事件 通知 DHCP定时器。
4、 如权利要求 3所述的方法, 其特征在于: 所述 DHCP定时器监测到 无线连接建立事件, 且定时器未过期时, 如果是无线连接建立成功事件, 则进一步等待 DHCP发现 DHCP discover消息, 回复 DHCP offer消息, 完 成 DHCP过程, 或者 DHCP定时器超时, 连接建立失败; 如果是无线连接 建立失败事件, 则进一步删除 DHCP服务器, 删除 DHCP定时器, 不再响 应 TE侧的 DHCP discover消息, TE侧的 DHCP discover消息始终得不到响 应, 连接建立失败。
5、 如权利要求 4所述的方法, 其特征在于: 所述 DHCP定时器监测到 DHCP discover消息, 且定时器未过期时, 进一步包括:
如果此时未监测到无线连接建立事件, 则不响应该 DHCP discover消 息, 而 TE在等待响应消息超时之后会重新发送 DHCP discover消息; 重复 该过程直到收到无线连接建立事件。
6、 如权利要求 3至 5任一项所述的方法, 其特征在于: 该方法进一步 包括:
所述 DHCP 定时器过期时, 如果没有检测到任何消息, 则重新启动 DHCP定时器,重复该过程直到收到无线连接建立事件或 DHCP discover消 息。
7、 如权利要求 3至 5任一项所述的方法, 其特征在于: 当所述无线连 接建立不成功时, 则进一步删除 DHCP定时器, 结束 DHCP过程。
8、如权利要求 4或 5所述的方法,其特征在于:当检测到 DHCP discover 消息时, 该方法进一步包括: 删除 DHCP定时器, Rm端口开始地址解析协 议 ARP协商。
9、 一种快速建立拨号连接的数据卡, 其特征在于: 所述数据卡包括驱 动模块、 DS模块、 SM模块及 DHCP协议栈模块, 其中
所述驱动模块是数据卡和 PC进行数据交流的通信模块,拨号消息通过 驱动模块从 PC侧发送到数据卡侧;
所述 DS模块是数据卡侧处理拨号相关数据消息的模块, DS模块收到 拨号消息之后, 进行解析并发送到 SM模块和 DHCP协议栈模块分别进行 处理;
所述 SM模块是数据卡和网络侧进行数据交互的处理模块。
10、 如权利要求 9所述的数据卡, 其特征在于: 所述数据卡还包括 Um 端口和 Rm端口, 所述 DS模块在所述数据卡接收到拨号消息后, 所述 Um 端口用于启动无线连接建立过程, 所述 Rm端口用于启动 DHCP服务器。
PCT/CN2010/077033 2010-01-29 2010-09-17 一种数据卡及其快速建立拨号连接的方法 WO2011091667A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US13/522,519 US9265075B2 (en) 2010-01-29 2010-09-17 Data card and method for quickly establishing dial-up connection thereof
ES10844444.9T ES2630223T3 (es) 2010-01-29 2010-09-17 Establecimiento de una conexión de marcación al utilizar una tarjeta de datos
EP10844444.9A EP2528404B1 (en) 2010-01-29 2010-09-17 Establishment of a dial-up connection by using a data card

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010106505.8A CN101808417B (zh) 2010-01-29 2010-01-29 一种数据卡及其快速建立拨号连接的方法
CN201010106505.8 2010-01-29

Publications (1)

Publication Number Publication Date
WO2011091667A1 true WO2011091667A1 (zh) 2011-08-04

Family

ID=42609974

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077033 WO2011091667A1 (zh) 2010-01-29 2010-09-17 一种数据卡及其快速建立拨号连接的方法

Country Status (5)

Country Link
US (1) US9265075B2 (zh)
EP (1) EP2528404B1 (zh)
CN (1) CN101808417B (zh)
ES (1) ES2630223T3 (zh)
WO (1) WO2011091667A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808417B (zh) 2010-01-29 2014-04-09 中兴通讯股份有限公司 一种数据卡及其快速建立拨号连接的方法
JP5603526B2 (ja) * 2011-07-15 2014-10-08 ドイチェ テレコム アクチエンゲゼルシャフト セキュアな電気通信ネットワークにおける高可用性を向上させる方法、及び複数のリモートノードを備える電気通信ネットワーク
CN103037021B (zh) * 2011-10-09 2017-08-08 南京中兴新软件有限责任公司 一种传输网络数据的方法、无线通信终端及主机
CN102595380B (zh) * 2012-01-06 2015-04-08 华为终端有限公司 数据业务的处理方法、设备和通信系统
CN103905580B (zh) * 2012-12-29 2018-02-27 锐迪科(重庆)微电子科技有限公司 Pc机通过移动终端配置网络地址、收发数据方法及系统
US10277559B2 (en) * 2014-05-21 2019-04-30 Excalibur Ip, Llc Methods and systems for data traffic control and encryption
CN105376842B (zh) * 2014-08-28 2019-12-10 中兴通讯股份有限公司 拨号、去拨号方法及装置
CN107241751B (zh) * 2017-04-01 2020-08-14 深圳市广和通无线通信软件有限公司 无线通信模块外置拨号联网方法和系统
CN110677847B (zh) * 2019-09-29 2023-03-24 郑州天迈科技股份有限公司 公共交通车载机ndis拨号方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617560A (zh) * 2003-11-12 2005-05-18 华为技术有限公司 移动电话用户访问互联网的实现方法
US20090257425A1 (en) * 2008-04-14 2009-10-15 Cisco Technology, Inc. Synchronizing DHCP And Mobile IP Messaging
CN101572761A (zh) * 2009-03-13 2009-11-04 宇龙计算机通信科技(深圳)有限公司 一种拨号上网的方法、装置及移动终端
CN101808417A (zh) * 2010-01-29 2010-08-18 中兴通讯股份有限公司 一种数据卡及其快速建立拨号连接的方法

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8266266B2 (en) * 1998-12-08 2012-09-11 Nomadix, Inc. Systems and methods for providing dynamic network authorization, authentication and accounting
US6483822B1 (en) * 1999-06-07 2002-11-19 Marcello Lioy Establishing a packet network call between a mobile terminal device and an interworking function
FI109164B (fi) * 2000-05-15 2002-05-31 Sonera Oyj Pakettidataprotokollakontekstin aktivoiminen verkon pyynnöstä
US6954791B2 (en) * 2001-01-23 2005-10-11 Intel Corporation Time-based network connections
CA2446473A1 (en) * 2001-05-08 2003-01-03 Nortel Networks Limited Identification of unused resources in a packet data network
JP4339536B2 (ja) * 2001-11-02 2009-10-07 ソニー株式会社 アドレス自動割り当て装置及びその制御方法並びにプログラム
US7023878B2 (en) * 2001-12-20 2006-04-04 Sierra Wireless, Inc. Architecture for emulating an Ethernet network interface card
WO2004016026A1 (en) * 2002-08-05 2004-02-19 Nokia Corporation A method of speeding up the registration procedure in a cellular network
US7912958B2 (en) * 2002-08-21 2011-03-22 American Power Coversion Corporation Method and apparatus for automatic IP allocation bootstrapping of embedded network management cards used in networked uninterruptible power supplies and other supported devices
US7577146B2 (en) * 2003-10-31 2009-08-18 Redback Networks Inc. Network element modifying the DHCP lease timer
US7764981B2 (en) * 2004-07-30 2010-07-27 Nokia Corporation System and method for managing a wireless connection to reduce power consumption of a mobile terminal
ATE515920T1 (de) * 2004-08-13 2011-07-15 Research In Motion Ltd Verfahren und vorrichtungen zum effizienten einrichten und aufrechterhalten einer datenverbindung zwischen einer mobilstation und einem drahtlosen netzwerk
US7688792B2 (en) * 2005-04-21 2010-03-30 Qualcomm Incorporated Method and apparatus for supporting wireless data services on a TE2 device using an IP-based interface
US7953830B2 (en) * 2006-11-07 2011-05-31 International Business Machines Corporation Automatic network reconfiguration upon changes in DHCP IP addresses
CN101304363B (zh) * 2007-05-12 2011-12-07 华为技术有限公司 一种会话连接的管理方法及装置、系统
CN101640923A (zh) 2009-08-20 2010-02-03 深圳华为通信技术有限公司 获取网络配置信息的方法及装置
JP2014535228A (ja) * 2012-10-08 2014-12-25 ▲華▼▲為▼▲終▼端有限公司 ポート設定方法、ルーティングデバイス、およびコンピュータプログラム製品

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617560A (zh) * 2003-11-12 2005-05-18 华为技术有限公司 移动电话用户访问互联网的实现方法
US20090257425A1 (en) * 2008-04-14 2009-10-15 Cisco Technology, Inc. Synchronizing DHCP And Mobile IP Messaging
CN101572761A (zh) * 2009-03-13 2009-11-04 宇龙计算机通信科技(深圳)有限公司 一种拨号上网的方法、装置及移动终端
CN101808417A (zh) * 2010-01-29 2010-08-18 中兴通讯股份有限公司 一种数据卡及其快速建立拨号连接的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2528404A4 *

Also Published As

Publication number Publication date
EP2528404A4 (en) 2014-12-03
CN101808417A (zh) 2010-08-18
ES2630223T3 (es) 2017-08-18
CN101808417B (zh) 2014-04-09
US9265075B2 (en) 2016-02-16
EP2528404B1 (en) 2017-06-14
US20120290728A1 (en) 2012-11-15
EP2528404A1 (en) 2012-11-28

Similar Documents

Publication Publication Date Title
WO2011091667A1 (zh) 一种数据卡及其快速建立拨号连接的方法
TWI718517B (zh) 用於無線通訊中的會話釋放的方法、電子裝置及存儲器
CN110999257B (zh) 用于服务器通知的递送的传送方法选择
EP2276291A1 (en) Control of data call origination based on prior origination attempts
US20130176903A1 (en) Methods and Apparatus for Establishing a Tunneled Direct Link Setup (TDLS) Session Between Devices in a Wireless Network
EP2469961A1 (en) Method, apparatus and network system for tunnel establishment
JP2003516058A (ja) 無線遠隔通信システムにおける認証のための方法および装置
JP5815885B2 (ja) ワイヤレスリンクのセットアップのために鍵のライフタイムへのアクセスを可能にすること
WO2011160587A1 (zh) 一种双栈终端连接网络的方法及系统
WO2011020400A1 (zh) 获取网络配置信息的方法及装置
JP3872977B2 (ja) モバイル・ノードのモバイルipレジストレーションのための方法、システム、およびパケット・データ・サービング・ノード
WO2012048656A1 (zh) Eps系统的会话管理过程的重发起方法和设备
WO2010102561A1 (zh) 一种数据本地交换方法、装置和系统
WO2012130048A1 (zh) 设备管理系统中对网关进行初始化的方法及装置
US20110185250A1 (en) Apparatus, method, and system for ip address negotiations
WO2013163847A1 (zh) 单pdp双栈串行拨号方法和系统
WO2013185696A2 (zh) 一种数据处理的方法与设备
WO2017161866A1 (zh) 网络连接方法及装置
EP2475199A1 (en) Handover method and device for an access service network
CN102195952B (zh) 触发802.1x认证的方法及设备端
WO2022110919A1 (zh) 一种信息订阅的方法及装置
WO2013178164A1 (zh) IPv6域名服务器DNS地址分配、获取方法及装置
EP3745683B1 (en) Method and system for allowing a client to re-initiate dhcp request after undergoing vlan change
JP2006019934A (ja) パケット交換網の呼設定方法
WO2011095001A1 (zh) 一种由移动终端主动发起的数据通道建立方法及asn系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10844444

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2010844444

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2010844444

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13522519

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE