CN101600224A - Wireless data card is supported the implementation method and the wireless data card of a plurality of PDP Contexts - Google Patents

Wireless data card is supported the implementation method and the wireless data card of a plurality of PDP Contexts Download PDF

Info

Publication number
CN101600224A
CN101600224A CNA2009101507417A CN200910150741A CN101600224A CN 101600224 A CN101600224 A CN 101600224A CN A2009101507417 A CNA2009101507417 A CN A2009101507417A CN 200910150741 A CN200910150741 A CN 200910150741A CN 101600224 A CN101600224 A CN 101600224A
Authority
CN
China
Prior art keywords
pdp context
data
wireless data
address
packet
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CNA2009101507417A
Other languages
Chinese (zh)
Other versions
CN101600224B (en
Inventor
温海龙
高博
段明艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910150741A priority Critical patent/CN101600224B/en
Publication of CN101600224A publication Critical patent/CN101600224A/en
Application granted granted Critical
Publication of CN101600224B publication Critical patent/CN101600224B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of wireless data card and support the implementation method and the wireless data card of a plurality of PDP Contexts, can only support a PDP Context to solve wireless data card, can not provide QoS to guarantee for a plurality of dissimilar application of carrying out simultaneously, and the problem of using the different business of different APN to carry out simultaneously.Described method comprises: when needs are set up a data connection, if TE is connected with first data between the wireless data card, then setting up PPP unique between TE and the wireless data card is connected, activate these first data and connect the first corresponding PDP Context to set up the RAB of first PDP Context, the IP address that PPP connects is set to the pdp address in first PDP Context; Otherwise, be that N data connect corresponding N PDP Context establishment corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context.

Description

Wireless data card is supported the implementation method and the wireless data card of a plurality of PDP Contexts
Technical field
The present invention relates to moving communicating field, relate in particular to a kind of wireless data card and support a plurality of PDP (PacketData Protocol, packet data protocol) contextual implementation method and wireless data card.
Background technology
Along with the arrival in 3G (3-G (Generation Three mobile communication system)) mobile communication epoch, its two-forty of wireless data cacaine and mobility have greater advantage with respect to the fixed network access way, thereby have caused the great demand of user to getting online without being tethered to a cable.
Wireless data card adopts the application model of TE+MT, wherein, TE (Terminal Equipment, terminal equipment) is generally PC (Personal Computer, PC/desktop computer) or Laptop (notebook computer), MT (Mobile Termination, portable terminal) is generally wireless data card or mobile phone.3GPP (3rd Generation Partnership Project, 3G (Third Generation) Moblie standardization body) two kinds of bearing modes have been defined for the application data of wireless data card, be respectively IP (Internet Protocol, Internet protocol) mode and PPP (Point-to-Point Protocol, point-to-point protocol) mode.Fig. 1 is the layered protocol illustraton of model that application data adopts the IP mode to carry, in the IP mode is carried, adopt the ppp protocol of data link layer between TE and the wireless data card, wireless data card will be dressed up the PPP frame from the IP data envelope of the Um that eats dishes without rice or wine, send to TE by the Rm interface then; Wireless data card will carry out decapsulation from the PPP frame of TE, therefrom extract the IP packet and send to network side by the Um that eats dishes without rice or wine then.Fig. 2 is the layered protocol illustraton of model that application data adopts the PPP mode to carry, in the PPP mode is carried, and TE and GGSN (Gateway GPRS Support Node, Gateway GPRS Support Node; GPRS:General PacketRadio Service is GPRS) between adopt the ppp protocol of data link layer, wireless data card is complete transparent transmission to the PPP frame.Because in the PPP of application data bearing mode, each packet of eating dishes without rice or wine on the Um has all increased PPP frame head and CRC (cyclic redundancy check (CRC)), wireless bandwidth resource for preciousness is a kind of waste, therefore the PPP bearing mode generally is not used at present, and wireless data card adopts the IP bearing mode to carry out transfer of data usually in actual applications.
Wireless data card adopts the data of IP bearing mode to connect and sets up process, comprises that Rm interface PPP connects foundation and PDP (Packet Data Protocol, packet data protocol) context (Context) activates two processes.The data of at first introducing wireless data card connect sets up process, as shown in Figure 3, comprises the steps:
Step 1, TE send ATD *99# orders wireless data card, and the data that start wireless data card connect sets up process, and wireless data card enters the PPP pattern;
Before step 1, TE can send the parameter information that AT orders such as CGDCONT, CQEQREQ are provided with PDP Context, for example APN (Access Point Name, APN), PDP Type (PDP type), QoS (Quality of Service, service quality) etc.
If dialling up on the telephone, step 2 wireless data card returns CONNECT (connection) to TE, otherwise, return NO CARRIER (carrier-less signal) to TE, end data connects the process of setting up.
Step 3, TE send LCP Configure-Request (LCP configuring request to wireless data card; LCP:Link Control Protocol, connection control protocol), starts LCP connection negotiation process, be connected with PPP between the wireless data card to set up TE.
Step 4, wireless data card return LCP Configure-Ack (the LCP configuration is replied) to TE, and affirmation PPP connection is set up;
If wireless data card is disagreed with some config option value that TE sends, then can return LCPConfigure-Nak (LCP configure-reject) and refuse, TE will resend one and give wireless data card with the different LCP Configure-Request of config option value last time.
Step 5, wireless data card send LCP Configure-Request to TE, consult authentication mode with TE, wireless data card at first consults to use CAHP (Challenge handshake authenticationprotocol, challenge handshake authentication protocol) mode, if the merit of failing to consultations, then consult to use PAP (Password authentication protocol, Password Authentication Protocol) mode once more.
Step 6, TE return LCP Configure-Ack to wireless data card, confirm to use the authentication mode of TE appointment;
If TE disagrees with the authentication mode of wireless data card appointment, then can return LCPConfigure-Nak and refuse, wireless data card will resend one and give TE with the different LCP Configure-Request of config option value last time.
Step 7, TE start verification process according to consulting successful authentication mode (PAP mode or CHAP mode);
The PAP mode is twice handshake authentication mode, and password is that expressly PAP mode verification process is: TE sends the user name and password to wireless data card, and wireless data card is stored in the user name and password after this locality, to the success response of TE return authentication;
The CHAP mode is the three-way handshake authentication mode, password is a ciphertext, CHAP mode verification process is: TE sends user name to wireless data card, the packet that wireless data card will produce at random returns to TE, TE encrypts password with the MD5 algorithm, then ciphertext is sent to wireless data card, wireless data card is stored in user name and ciphertext after this locality, to the success response of TE return authentication;
If consult failure in the step 6, then TE can not start verification process, and direct execution in step 8.
Step 8, TE send IPCP Configure-Request (IPCP configuring request to wireless data card; IPCP:Internet protocol control Protocol, internet protocol control protocol) to carry out the IP protocol configuration, comprise parameter negotiations such as pdp address, DNS (domain name resolution server), NBNS (NetBIOS Name Servers, dynamic-dns a kind of).
Activate this PDP Context by the PDP context activation flow process between step 9, wireless data card and the GGSN, with the RAB (Radio AccessBearer, RAB) that sets up PDP Context between wireless data card and the GGSN;
Wireless data card sends Activate PDP Context Request (activating the PDP Context request) to GGSN, to set up the RAB of PDP Context, comprise following parameter information: APN, PDP type, pdp address, CHAP or pap authentication information, DNS, NBNS etc. among the Activate PDP Context Request, if pdp address is empty, the expression request distributes dynamic IP addressing.GGSN authenticates CHAP or the pap authentication information of TE, after authentication is passed through, for the user distributes dynamic IP addressing as pdp address, also distribute DNS and NBNS address, and above-mentioned parameter information is sent to wireless data card by Activate PDP ContextAccept (activating PDP Context accepts).
Step 10, wireless data card return IPCP Configure-Ack (IPCP disposes response) to TE, are dynamic IP addressing and DNS and the NBNS address as pdp address that TE distributes comprising GGSN.
So far, wireless data card adopts the data connection of IP bearing mode to set up process and finishes, and the data transmission path between TE and the network side is set up, and TE can adopt the form of IP packet to carry out transfer of data.
Wireless data card comes down to an external Modem (modulator-demodulator), be inserted into TE (being generally PC or Laptop) afterwards, usually be shown as a Modem equipment and a serial equipment on the equipment manager of TE, Modem is used for data and connects foundation; Serial ports can send the AT order, is used to manage wireless data card.A Modem can only set up a PPP and connect, and a PPP connects can only support an IP session, i.e. PPP connection can only be supported a PDP Context.
Portable terminal such as wireless data card, mobile phone and network side all support to set up simultaneously the RAB of a plurality of PDP Contexts usually, but owing to be subjected to quantitative limitation of PPP linking number or data transmission technology problem, cause wireless data card can only support a PDP Context in actual applications between wireless data card and the TE.
Because wireless data card can only be supported a PDP Context, causes wireless data to be stuck in and has following problem in the application:
1, wireless data card can not provide QoS to guarantee for a plurality of dissimilar application of carrying out simultaneously.
The QoS service attribute of the PS data service that wireless data card provides (Traffic Class) is generally interactive class (Interactive Class), and its lower grade of QoS, and propagation delay time, shake and bit rate do not guarantee.If the interactive class user can easily experience web browsing and video playback when network load was light, but when network load is higher, because propagation delay time, shake and the bit rate of the PS data service of interactive class do not guarantee, so just can't carry out video playback, can only carry out the web browsing of low speed.
If the user carries out a plurality of concurrent application operatings simultaneously, the higher application of qos requirement may be affected, even can can't carry out.For example, the user carries out FTP (File Transmit Protocol simultaneously, file transfer protocol (FTP)) downloads and video playback, owing to belong to same PDP Context, network side can't carry out policy control such as speed limit to the different application of same PDP Context, FTP downloads will seize the bandwidth of video, thereby influences video playback.
2, use the different business of different APN to carry out simultaneously.
Different business may be used different APN, the APN that supposes business of networking and MMS is different, if wireless data card can only be supported a PDP Context, business of networking and MMS can't be carried out simultaneously so, if the user wants to send the data connection that multimedia message just must disconnect the PDP Context of business of networking in last network process, the data of setting up the PDP Context of MMS again connect, and just can send multimedia message afterwards, have had a strong impact on user experience.
Summary of the invention
The invention provides a kind of wireless data card and support the implementation method and the wireless data card of a plurality of PDP Contexts, can only support a PDP Context in order to solve existing wireless data card, cause providing QoS to guarantee for a plurality of dissimilar application of carrying out simultaneously, and the problem of using the different business of different APN to carry out simultaneously.
The invention provides a kind of data connection establishing method of wireless data card, comprising:
When needs are set up data that a terminal equipment TE snaps into ggsn GGSN by wireless data and are connected, the data of setting up if desired connect, and to be TE be connected with first data between the wireless data card, then setting up point-to-point protocol PPP unique between TE and the wireless data card is connected, and activate the first corresponding packet data protocol PDP Context of this first data connection to set up the RAB of first PDP Context between wireless data card and the GGSN, the IP address that described PPP connects is set to the pdp address in first PDP Context;
The data of setting up if desired connect, and not to be TE be connected with first data between the wireless data card, then be that N data connect corresponding N PDP Context establishment corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN, wherein N is greater than one, and described traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context.
The invention provides a kind of wireless data card, comprise that data connection management unit, first connects to set up the unit and be connected with second and set up the unit, wherein:
Described data connection management unit, be used in the time need setting up data that a terminal equipment TE snaps into ggsn GGSN by wireless data and connect, the data of setting up if desired connect, and to be TE be connected with first data between the wireless data card, then trigger described first connection and set up the unit, the data of setting up if desired connect, and not to be TE is connected with first data between the wireless data card, then triggers described second connection and sets up the unit;
The unit is set up in described first connection, being used to set up point-to-point protocol PPP unique between TE and the wireless data card is connected, and activate the first corresponding packet data protocol PDP Context of this first data connection to set up the RAB of first PDP Context between wireless data card and the GGSN, the IP address that described PPP connects is set to the pdp address in first PDP Context;
The unit is set up in described second connection, be used to N data to connect corresponding N PDP Context and create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN, wherein N is greater than one, and described traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context.
The invention provides the method that a kind of data of setting up at the data connection establishing method of above-mentioned wireless data card connect transmitting user data, comprising:
Wireless data card receiving terminal apparatus TE connects the up IP packet that sends by PPP, and is by traffic flow template that described up IP is data packet matched to corresponding PDP Context;
The source IP address of pdp address in the described PDP Context and up IP packet is compared, and when comparative result is inconsistent, use pdp address in the described PDP Context to replace the source IP address of up IP packet, recomputate and revise up IP packet check and;
The RAB of described up IP packet by described PDP Context is transmitted to ggsn GGSN.
The invention provides a kind of wireless data card, comprising:
Up receiving element is used for receiving terminal apparatus TE and connects the up IP packet that sends by PPP, and is by traffic flow template that described up IP is data packet matched to corresponding PDP Context;
Address processing unit, be used for the pdp address of described PDP Context and the source IP address of up IP packet are compared, and when comparative result is inconsistent, use pdp address in the described PDP Context to replace the source IP address of up IP packet, recomputate and revise up IP packet check and;
Retransmission unit is used for the RAB of described up IP packet by described PDP Context is transmitted to ggsn GGSN.
The invention provides the method that a kind of data of setting up at the data connection establishing method of above-mentioned wireless data card connect transmitting user data, comprising:
Wireless data card receives the downstream IP packet of ggsn GGSN by the RAB transmission of PDP Context;
The IP address that PPP is connected compares with the purpose IP address of downstream IP packet, and when comparative result is inconsistent, the purpose IP address that the downstream IP packet is replaced in the IP address of using PPP to connect, the check of recomputating and revise the downstream IP packet with;
Described downstream IP packet is transmitted to terminal equipment TE by the PPP connection.
The invention provides a kind of wireless data card, comprising:
Descending receiving element is used to receive the downstream IP packet of ggsn GGSN by the RAB transmission of PDP Context;
Address processing unit, be used for the IP address of PPP connection and the purpose IP address of downstream IP packet are compared, and when comparative result is inconsistent, the purpose IP address that the downstream IP packet is replaced in the IP address of using PPP to connect, recomputate and revise the downstream IP packet check and;
Retransmission unit is used for described downstream IP packet is transmitted to terminal equipment TE by the PPP connection.
The data connection establishing method of wireless data card provided by the invention and wireless data card, when needs are set up a data connection, if first data connect, then set up TE and is connected, and activate first PDP Context that these first data connect correspondence with PPP between the wireless data card; Connect if not first data, then be that N the corresponding N PDP Context establishment of data connection is used for the data packet matched traffic flow template to corresponding PDP Context with up IP accordingly, and activate this N PDP Context.By setting up a plurality of data connections that are used for transmitting user data of TE to GGSN, realized the activation of wireless data card, for a plurality of dissimilar application carried out simultaneously and use the different business of different APN to lay the first stone simultaneously to a plurality of PDP Contexts.
Provided by the invention on the data of setting up connect the method and the wireless data card of transmitting user data, by NAT technology and traffic flow template policy control technology realize that PPP connects and the RAB of each PDP Context between mapping of different business stream and grouped data forwarding.For the transmission of up IP packet, wireless data card is data packet matched to corresponding PDP Context with up IP by traffic flow template; And the source IP address of pdp address in PDP Context and up IP packet is when inconsistent, pdp address in the use PDP Context is replaced the source IP address of up IP packet, and the most up IP packet is transmitted to GGSN by the RAB of PDP Context; Transmission for the downstream IP packet, wireless data is stuck in the purpose IP address of IP address that PPP connects and downstream IP packet when inconsistent, the purpose IP address that the downstream IP packet is replaced in the IP address of using PPP to connect, the downstream IP packet is transmitted to TE by the PPP connection the most at last.Realized that wireless data is stuck in the transmission of application data on the RAB of a plurality of PDP Contexts, can provide QoS to guarantee, made and use the different business of different APN to carry out simultaneously for a plurality of dissimilar application of carrying out simultaneously.
The present invention realizes simply, flexibly, need not network side structure and signaling process are made any change, can realize that wireless data card supports a plurality of PDP Contexts simultaneously, satisfied the demand of user, thereby improved the competitiveness of operator various differentiated services.
Description of drawings
The layered protocol illustraton of model that Fig. 1 adopts the IP mode to carry for application data in the prior art;
The layered protocol illustraton of model that Fig. 2 adopts the PPP mode to carry for application data in the prior art;
Fig. 3 sets up process flow diagram for the data connection of wireless data card in the prior art;
Fig. 4 is the data connection establishing method flow chart of wireless data card in the embodiment of the invention;
Fig. 5 is at the activation process figure of main PDP Context in the embodiment of the invention;
Fig. 6 is at the activation process figure of secondary PDP Context in the embodiment of the invention;
Fig. 7 is that the data of wireless data card in the embodiment of the invention connect the disconnect method flow chart;
Fig. 8 is the disconnection process flow chart that connects at last data in the embodiment of the invention;
Fig. 9 is the disconnection process flow chart that connects at non-last data in the embodiment of the invention;
Figure 10 is for setting up the schematic diagram of a plurality of TE to the data connection of GGSN in the embodiment of the invention;
Figure 11 is a kind of structured flowchart of wireless data card in the embodiment of the invention;
Figure 12 is the transmission method flow chart of up application data in the embodiment of the invention;
Figure 13 is the another kind of structured flowchart of wireless data card in the embodiment of the invention;
Figure 14 is the transmission method flow chart of descending application data in the embodiment of the invention;
Figure 15 is the another kind of structured flowchart of wireless data card in the embodiment of the invention.
Embodiment
Can only support a PDP Context at existing wireless data card, cause to provide for a plurality of dissimilar application of carrying out simultaneously QoS to guarantee, and the problem that can't carry out simultaneously of the different business that uses different APN, provide a kind of wireless data card to support the implementation method of a plurality of PDP Contexts in the embodiment of the invention.3GPP stipulates wireless data card, portable terminals such as mobile phone etc. can be set up the RAB of a plurality of PDP Contexts, and each PDP Context all has independently QoS configuration file (Profile), if wireless data card can realize supporting a plurality of PDP Contexts, then can be by activating a plurality of PDP Contexts, make each use and use a PDP Context separately, for example VOIP uses and uses the PDP Context of QoS service attribute (Traffic Class) as conversation class (Conversational Class), video playback is used and is used the PDP Context of QoS service attribute (Traffic Class) for stream class (Streaming Class), and web browsing and FTP download etc. is used and used the PDP Context of QoS service attribute (Traffic Class) as interactive class (Interactive Class).No matter whether network load is busy, because network side can provide QoS to guarantee for the application (VOIP application, video playback are used) of each PDP Context correspondence, so the user can experience high-quality VOIP or video playback whenever and wherever possible.Equally, if wireless data card can realize supporting a plurality of PDP Contexts, then use the different business of different APN to carry out simultaneously, for example, even if the APN of business of networking and MMS is different, the user still can send multimedia message in online.
The wireless data card that the embodiment of the invention provides supports the implementation method of a plurality of PDP Contexts to comprise two parts content: at first, provide a kind of data connection establishing method of wireless data card; Secondly, provide a kind of data to connect the method for transmitting user data in foundation.
The inventor finds that wireless data card can not support a plurality of PDP Contexts mainly to be caused by following two reasons:
Reason one, wireless data card have only a Modem usually, and a Modem can only set up a PPP and connect, and a PPP connects can only support an IP session, i.e. PPP connection can only be supported a PDP Context;
Reason two, wireless data card can realize supporting a plurality of Modem, for example wireless data card can use USB (Universal Serial Bus, USB) equipment complex fictionalizes a plurality of Modem, can set up a plurality of PPP by different Modem between wireless data card and TE like this connects, can produce the data routing issue again but exist a plurality of PPP to connect simultaneously, which PPP TE can't determine to mail to when sending up IP packet connects.
Based on above analysis, the embodiment of the invention proposes: set up unique PPP and be connected between TE and wireless data card, set up the RAB of a plurality of PDP Contexts between wireless data card and the GGSN, Business Stream mapping between the RAB of PPP connection and each PDP Context and application data transmission are by NAT (network address translation) technology and TFT (Traffic Flow Template, traffic flow template) the policy control technology realizes, thereby dissimilar application is carried on the RAB of PDP Context with different QoS service attribute, utilize the QoS of the RAB of each PDP Context that mobile communications network provides to guarantee, satisfy the QoS demand of dissimilar application; And, use the different business of different APN can be carried on the RAB of different PDP Contexts, satisfied the demand that the different business that uses different APN carries out simultaneously.
The data connection establishing method of the wireless data card that the embodiment of the invention provides as shown in Figure 4, comprises the steps:
S400, need set up a TE and connect by the data that wireless data snaps into GGSN;
Before setting up a data connection, TE can send AT orders such as CGDCONT, CQEQREQ the parameter information that these data connect corresponding PDP Context, for example APN, PDP Type, QoS etc. are set.
Whether S401, the data of judge to need setting up connect is TE is connected with first data between the wireless data card, if, then carry out S402, if not, then carry out S403;
To be connected the process of foundation consistent for the data of wireless data card in first data establishment of connection process between S402, TE and the wireless data card and the prior art, idiographic flow sees also Fig. 3, promptly setting up TE is connected with PPP between the wireless data card, and activate the first corresponding PDP Context of this first data connection to set up the RAB of first PDP Context between wireless data card and the GGSN, wherein, the IP address of PPP connection is set to the pdp address in first PDP Context;
Wherein RAB is made up of two parts: BSC (Base Station Controller Pool, base station controller)/RNC (Radio Network Controller Pool, radio network controller) and (the GPRS Tunneling Protocol of the GTP between the GGSN, GPRS Tunnel Protocol) tunnel, the radio bearer between BSC/RNC and the wireless data card;
Need to prove, the PPP that sets up in this step connects be TE with wireless data card between unique PPP is connected, follow-up data connect and need not to set up the PPP connection again;
So far, TE finishes by first data connection foundation that wireless data snaps into GGSN, and the user can carry out the transmission of application data on these data connect.
S403, suppose that the current data of need setting up connect that to be TE be connected with N data between the wireless data card, obviously N is greater than one, then be that N data connect corresponding N PDP Context establishment corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN, wherein, traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context;
So far, TE finishes by N the data connection foundation that wireless data snaps into GGSN, and the user can carry out the transmission of application data on these data connect.
In concrete the enforcement, S403 specifically comprises two kinds of application scenarioss, and a kind of application scenarios is that N data connect the data connection that APN is not formerly set up in the corresponding N PDP Context (being that first data are connected to any one in N-1 the data connection) use; Second kind of application scenarios is that N data connect the data connection use that APN has formerly been set up in the corresponding N PDP Context.PDP Context comprises two kinds of Primary PDP Context (main PDP Context) and Secondary PDP Context (secondary PDP Context), the mobilizing function of 3GPP definition secondary PDP Context, in order to make the user create the PDP Context of different application with identical APN and pdp address, APN is used to identify the external network of an appointment and a kind of ISP of business (Internet Service Provider, Internet Service Provider), ISP can provide multiple application with different QoS service attribute on application server.
At first kind of concrete application scenarios, for connecting corresponding N PDP Context, these N data create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN by the PDP context activation flow process, idiographic flow comprises the steps: as shown in Figure 5
Step 1, by mutual AT order between TE and the wireless data card, be that N data connect corresponding N PDP Context establishment corresponding business flow template;
Step 2, TE send AT command request wireless data card and activate this N PDP Context;
Activate this PDP Context by the PDP context activation flow process between step 3, wireless data card and the GGSN, to set up the RAB of N PDP Context;
Concrete, wireless data card sends Activate PDP Context Request to GGSN, to set up the RAB of N PDP Context, comprise following parameter information: APN, PDP type, pdp address, CHAP or pap authentication information, DNS, NBNS etc. among the Activate PDP Context Request, if pdp address is empty, the expression request distributes dynamic IP addressing.GGSN authenticates CHAP or the pap authentication information of TE, after authentication is passed through, for the user distributes dynamic IP addressing, DNS and NBNS address, and above-mentioned parameter information is sent to wireless data card by Activate PDP Context Accept;
Step 4, wireless data card return the AT command response to TE, represent that this N PDP Context has activated, and the RAB of N PDP Context sets up.
At second kind of application scenarios, for connecting corresponding N PDP Context, these N data create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN by secondary PDP context activation flow process, idiographic flow comprises the steps: as shown in Figure 6
Step 1, by mutual AT order between TE and the wireless data card, be that the N PDP Context that N data connect correspondence is set up the corresponding business flow template;
Step 2, TE send AT command request wireless data card and activate this N PDP Context;
Activate this PDP Context by secondary PDP context activation flow process between step 3, wireless data card and the GGSN, to set up the RAB of N PDP Context;
Concrete, wireless data card sends Activate Secondary PDP Context Request (activating the request of secondary PDP Context) to GGSN, to set up the RAB of N PDP Context, pdp address can corresponding a plurality of PDP Contexts, when only having the PDP Context that has activated on identical pdp address and APN, the activation process of secondary PDP Context just initiates, the PDP Context of secondary activating has only QoS Profile different with the PDP Context that has activated, each PDP Context has unique TI (Transaction Identifier, manipulation designator) and NSAPI (Network Service Access PointIdentifier, the Network Service Access point identifier), the activation process of secondary PDP Context needn't be carried out APN selection and pdp address negotiations process.Therefore Activate Secondary PDP Context Request no longer needs to carry parameter informations such as APN, PDP type, pdp address, and need comprise following parameter information: Linked TI, NSAPI, TI, QoS Profile, TFT etc.Linked TI indication GGSN distributes to the TI parameter value of arbitrary PDP Context that has activated (having identical pdp address and APN).GGSN sends to wireless data card with the parameter informations of consulting to finish such as QoS, Radio priority level and packet flow identifier by ActivateSecondary PDP Context Accept.
Step 4, wireless data card return the AT command response to TE, represent that this N PDP Context has activated, and the RAB of N PDP Context sets up.
In concrete the enforcement, when TE of needs disconnection snaps into the data connection of GGSN by wireless data, as shown in Figure 7, also comprise following treatment step:
S700, needs disconnect a TE and connect by the data that wireless data snaps into GGSN;
Whether S701, the data that judge to need disconnect connect is TE is connected with last data between the wireless data card, if, then carry out S702, if not, then carry out S703;
S702, discharge PPP unique between TE and the wireless data card and is connected, and the data that deexcitation should need to disconnect connect corresponding PDP Context, to discharge the RAB of the corresponding PDP Context of this data connection between wireless data card and the GGSN;
So far, TE is connected with total data between the wireless data card to disconnect and finishes, and the user stops TE and transmits to the application data of GGSN.
The data that S703, deexcitation should need to disconnect connect corresponding PDP Context, to discharge the RAB that this data between wireless data card and the GGSN connect corresponding PDP Context;
So far, the current data connection disconnection that needs to disconnect is finished, and the user stops at these data and connects the application data transmission of carrying out.
In S702, concrete data connect disconnection process, as shown in Figure 8, comprise the steps:
Step 1, TE send LCP Terminate-Request (LCP stops request) to wireless data card, are connected with PPP between the wireless data card with release TE.
Step 2, wireless data card return LCP Terminate-Ack (LCP stops replying) to TE, confirm that the PPP connection discharges.
Pass through this PDP Context of PDP context deactivation flow process deexcitation between step 3, wireless data card and the GGSN, to discharge the RAB of PDP Context between wireless data card and the GGSN;
In concrete the enforcement, wireless data card sends Deactivate PDP Context Request (request of deexcitation PDP Context) to GGSN, to discharge the RAB of PDP Context; GGSN returns Deactivate PDP Context Accept (acceptance of deexcitation PDP Context) to wireless data card, confirms that the RAB of PDP Context discharges.
Step 4, wireless data card return NO CARRIER to TE, and data connect the disconnection process and finish.
In S703, concrete data connect disconnection process, as shown in Figure 9, comprise the steps:
Step 1, TE send this PDP Context of AT command request wireless data card deexcitation.
Pass through this PDP Context of PDP context deactivation flow process deexcitation between step 2, wireless data card and the GGSN, to discharge the RAB of PDP Context between wireless data card and the GGSN;
In concrete the enforcement, wireless data card sends Deactivate PDP Context Request (request of deexcitation PDP Context) to GGSN, to discharge the RAB of PDP Context; GGSN returns Deactivate PDP Context Accept (acceptance of deexcitation PDP Context) to wireless data card, confirms that the RAB of PDP Context discharges.
Step 3, wireless data card return the AT command response to TE, represent the deexcitation of this PDP Context, and the RAB of PDP Context discharges.
Below, the data that illustrate wireless data card connect the process of setting up.
The data of wireless data card connect set up be exactly set up according to user's request one or more from TE to GGSN and have the data that QoS guarantees and connect.As shown in figure 10, the assumed wireless data card need be set up the data connection of four TE to GGSN, for the data connection establishing method that the embodiment of the invention provides better is described, to introduce this four data establishment of connection flow processs successively in conjunction with Figure of description 10, each data connects to be distinguished according to its corresponding PDP Context, be called data and connect X1, X2, Y and Z, accordingly, the index that each data connects corresponding PDP Context is respectively X1, X2, Y and Z, supposes that four data establishment of connection orders are respectively X1, X2, Y and Z.
First data connect X1, and the index of the PDP Context that these data connect is X1, and APN is APNX, and the flow process of setting up that first data connect X1 is:
Before setting up first data connection X1, can be manually or the connection management (CM of wireless data card by the user, Connect Manager) software etc., by the parameter information (APN of AT order to PDP Context X1, PDP Type, QoS etc.) be provided with, the flow process that provides of accompanying drawing 3 is set up first data and is connected X1 to specifications then, set up in this process that a TE is connected with PPP between the wireless data card and wireless data card and GGSN between the RAB of PDP Context X1, wireless data card can be the dynamic IP addressing as pdp address that TE distributes with GGSN simultaneously, and DNS and NBNS address return to TE by IPCP Configure-Ack, TE can be set to the pdp address among the PDP Context X1 (being IP address X) the IP address that PPP connects, the i.e. network address of local data connecting interface.
Second data connects X2, and the PDP Context index that these data connect is X2, and APN still is APNX, and the pdp address among the PDP Context X2 still is IP address X) but different with the QoS of first data connection X1, second data connection X2 sets up flow process and is:
Before setting up second data connection X2, can be manually or the connection management software of wireless data card etc. by the user, by the parameter information (APN of AT order to PDP Context X2, PDP Type, QoS etc.) be provided with, the flow process that provides of accompanying drawing 6 is set up second data and is connected X2 to specifications then.In the step 1 of Figure of description 6, the AT order that the request wireless data card is set up corresponding business flow template X2 for PDP Context X2 can be in 3GPP TS 27.007 standards+the CGTFT order the privately owned AT order of also predefined user.In the step 2 of Figure of description 6, the AT order that the request wireless data card activates secondary PDP Context X2 can be in 3GPP TS 27.007 standards+the CGACT order the privately owned AT order of also predefined user.In Figure of description 6, only need set up the RAB that wireless data snaps into the PDP Context X2 between the GGSN in the data connection building process, second data connect X2 and need not to set up TE and be connected with PPP between the wireless data card, connect but still be connected the same PPP that sets up before shared with first data, wireless data card will be carried on the RAB of the data packet matched PDP Context X2 to correspondence of the up IP of second data connection in PPP connections by traffic flow template X2.
The 3rd data connect Y, and the PDP Context index of this data link is Y, and APN is APNY, and the 3rd data connection Y sets up flow process and be:
Before setting up the 3rd data connection Y, can be manually or the connection management software of wireless data card etc. by the user, by the parameter information (APN of AT order to PDP Context Y, PDP Type, QoS etc.) be provided with, the flow process that provides of accompanying drawing 5 is set up the 3rd data and is connected Y to specifications then.In the step 1 of Figure of description 5, the AT order that the request wireless data card is set up corresponding business flow template Y for PDP Context Y can be in 3GPP TS 27.007 standards+the CGTFT order the privately owned AT order of also predefined user.In the step 2 of Figure of description 5, the AT order that the request wireless data card activates PDP Context Y can be in 3GPP TS 27.007 standards+the CGACT order the privately owned AT order of also predefined user.In Figure of description 5, only need set up the RAB that wireless data snaps into the PDP Context Y between the GGSN in the data connection building process, the 3rd data connect Y and need not to set up TE and be connected with PPP between the wireless data card, connect but still be connected the same PPP that sets up before shared with first data, wireless data card will be carried on the RAB of the data packet matched PDP Context Y to correspondence of the up IP of the 3rd data connection in PPP connections by traffic flow template Y.
The 4th data connect Z, and the PDP Context index of this data link is Z, and APN is APN Z, and the 4th data connection Z sets up flow process and be:
Before setting up the 4th data connection Z, can be manually or the connection management software of wireless data card etc. by the user, by the parameter information (APN of AT order to PDP Context Z, PDP Type, QoS etc.) be provided with, the flow process that provides of accompanying drawing 5 is set up the 4th data and is connected Z to specifications then.In the step 1 of Figure of description 5, the AT order that the request wireless data card is set up corresponding business flow template Z for PDP Context Z can be in 3GPP TS 27.007 standards+the CGTFT order the privately owned AT order of also predefined user.In the step 2 of Figure of description 5, the AT order that the request wireless data card activates PDP Context Z can be in 3GPP TS 27.007 standards+the CGACT order the privately owned AT order of also predefined user.In Figure of description 5, only need set up the RAB that wireless data snaps into the PDP Context Z between the GGSN in the data connection building process, the 4th data connect Z and need not to set up TE and be connected with PPP between the wireless data card, connect but still be connected the same PPP that sets up before shared with first data, wireless data card will be carried on the RAB of the data packet matched PDP Context Z to correspondence of the up IP of the 4th data connection in PPP connections by traffic flow template Z.
It is exactly need disconnect one or more data from TE to GGSN according to the user to connect that data connect disconnection, suppose as shown in figure 10, wireless data card has been set up the data connection of four TE to GGSN, in order to illustrate that better the data connection that the embodiment of the invention provides creates a mechanism, connect disconnection process in conjunction with two kinds of different data of Figure of description 10 explanations, tentation data connects disconnection and is followed successively by Z, Y, X2 and X1 in proper order.
As shown in figure 10, four same PPP of data connection multiplexing connect, under the situation that exists a plurality of data to connect, disconnecting the PPP that can not disconnect each data connection multiplexing when one of them data connects connects, the RAB that only needs these data of disconnection to be connected the PDP Context between wireless data card and the GGSN gets final product, and when disconnecting last data connection, need disconnection PPP connection and these data to be connected the RAB of the PDP Context between wireless data card and the GGSN.So in the Figure of description 10, the disconnection process that first three data link Z, Y are connected with the X2 data sees also Figure of description 9, and the disconnection process of last data link X1 sees also Figure of description 8.
Based on same technical conceive, the embodiment of the invention provides a kind of wireless data card, as shown in figure 11, comprise that data connection management unit 111, first connects to set up unit 112 and be connected with second and set up unit 113, wherein:
Data connection management unit 111, be used in the time need setting up data that a TE snaps into GGSN by wireless data and connect, the data of setting up if desired connect, and to be TE be connected with first data between the wireless data card, then trigger first connection and set up unit 112, the data of setting up if desired connect, and not to be TE is connected with first data between the wireless data card, then triggers second connection and sets up unit 113;
Unit 112 is set up in first connection, being used to set up PPP unique between TE and the wireless data card is connected, and activate the first corresponding PDP Context of this first data connection to set up the RAB of first PDP Context between wireless data card and the GGSN, the IP address that described PPP connects is set to the pdp address in first PDP Context;
Unit 113 is set up in second connection, be used to N data to connect corresponding N PDP Context and create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN, wherein N is greater than one, and traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context.
In concrete the enforcement, unit 113 is set up in second connection, specifically comprises judgment sub-unit 1131, the first processing subelement 1132 and the second processing subelement 1133, wherein:
Judgment sub-unit 1131, be used for judging that these N data connects the data connection use whether corresponding N PDP Context APN APN has formerly been set up, if then trigger first and handle subelement 1132, if not, then trigger second and handle subelement 1133;
First handles subelement 1132, be used to these N data to connect corresponding N PDP Context and create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN by secondary PDP context activation flow process;
Second handles subelement 1133, be used to these N data to connect corresponding N PDP Context and create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN by the PDP context activation flow process.
In concrete the enforcement, this wireless data card can also comprise that the first connection switching units 114 is connected switching units 115 with second, wherein:
Data connection management unit 111, also be used for when TE of needs disconnection snaps into the data connection of GGSN by wireless data, the data that disconnect if desired connect, and to be TE be connected with last data between the wireless data card, then trigger described first and connect switching units 114, the data that disconnect if desired connect, and not to be TE is connected with last data between the wireless data card, then triggers the second connection switching units 115;
First connects switching units 114, be used to discharge PPP unique between TE and the wireless data card and be connected, and the deexcitation data that should need to disconnect connect corresponding PDP Context to discharge the RAB that this data between wireless data card and the GGSN connect corresponding PDP Context;
Second connects switching units 115, is used for data that deexcitation should needs disconnects and connects the RAB of corresponding PDP Context with the corresponding PDP Context of this data connection between release wireless data card and the GGSN.
When carrying out the application data transmission in the data connection that the user is setting up, by network address translation (nat) technology and traffic flow template (TFT, Traffic Flow Template) policy control technology realize that PPP connects and the RAB of each PDP Context between mapping of different business stream and grouped data forwarding.Traffic flow template (TFT) comes down to the tabulation of IP filter, allows wireless data card to connect on the data packet matched RAB that is forwarded to corresponding PDP Context of the up IP that receives from PPP.Traffic flow template can distribute different priority for dissimilar application, makes systematic function reach optimization.
The filter attribute that IP filter comprises in the traffic flow template can also can be used the traffic flow template that defines in 3GPP TS 23.060 agreements according to requirement definition.In 3GPP TS 23.060 agreements, the function and the use of traffic flow template (TFT) is described in detail.Traffic flow template is made up of 1 to 8 IP filter, and each IP filter is all discerned by unique IP filter identifier.Each packet filter has a preferential index of unique assessment, is used to discern each the PDP Context corresponding business flow template with identical pdp address.Assessing preferential index span is 0~255, and the big more priority of numerical value is low more.Each IP filter can be combined by one or more following filter attribute:
Source address and subnet mask;
Protocol number (IPv4)/next header (IPv6);
The destination interface scope;
Destination port range;
SPI (IP Sec Security Parameter Index, Internet Protocol Security parameter reference);
TOS (Type Of Service, type of service) (IPv4)/grade of service (Traffic Class) (IPv6) and mask;
Traffic identifier (Flow Label) (IPv6).
Some can make up coexistence above-mentioned seven kinds of filter attribute, but some is to repel mutually, as shown in table 1, provided three kinds of possible compound modes of above-mentioned seven kinds of attributes, sign " X " represents that this filter attribute allows to make up coexistence and be defined in the single IP filter.
Table 1
Figure A20091015074100261
For example, can be defined as follows traffic flow template for data among Figure 10 connect X2:
IP filter identifier=1;
Purpose IP address=172.168.8.0[255.255.255.0] };
Protocol number (IPv4): TCP=6;
Destination interface: 5003;
Satisfy the up IP packet from the PPP connection of this filter attribute, will be forwarded on the RAB of PDP Context X2 by coupling.
Connect the up IP packet that sends to wireless data card for TE by PPP, as shown in figure 12, comprise the steps:
S121, wireless data card receive TE and connect the up IP packet that sends by PPP, and be by traffic flow template that up IP is data packet matched to corresponding PDP Context;
Whether the pdp address in S122, the comparison PDP Context is consistent with the source IP address of up IP packet, if consistent, then directly carries out S124, if inconsistent, then carries out S123;
The source IP address of up IP packet and purpose IP address are recorded in the packet header of IP packet, the source IP address of up IP packet is the network address of local data connecting interface, it is the IP address that PPP connects, in embodiments of the present invention, the IP address that PPP connects connects in data sets up the pdp address that is set to the first corresponding PDP Context of first data connection in the process, if current application data is not carried on the RAB of first PDP Context, the pdp address in the PDP Context and the inconsistent situation of source IP address of up IP packet then can appear;
S123, use pdp address in the PDP Context to replace the source IP address of up IP packet, in order to realize accurate transmission, in revising packet header in the source IP address, also need to recomputate and revise up IP packet check and;
S124, the RAB of up IP packet by PDP Context is transmitted to GGSN.
Based on same technical conceive, it is a kind of at wireless data card that the embodiment of the invention provides, and as shown in figure 13, comprising:
Up receiving element 131 is used to receive TE and connects the up IP packet that sends by PPP, and is by traffic flow template that up IP is data packet matched to corresponding PDP Context;
Address processing unit 132, be used for the pdp address of PDP Context and the source IP address of up IP packet are compared, and when comparative result is inconsistent, use pdp address in the PDP Context to replace the source IP address of up IP packet, recomputate and revise up IP packet check and;
Retransmission unit 133 is used for the RAB of up IP packet by PDP Context is transmitted to GGSN.
When carrying out the application data transmission in the data connection that the user is setting up, by the downstream IP packet that the RAB of some PDP Contexts sends to wireless data card, as shown in figure 14, comprise the steps: for GGSN
S141, wireless data card receive the downstream IP packet of GGSN by the RAB transmission of PDP Context;
Whether the IP address that S142, comparison PPP connect is consistent with the purpose IP address of downstream IP packet, if consistent, then directly carries out S144, if inconsistent, then carries out S143;
The source IP address of downstream IP packet and purpose IP address are recorded in the packet header of IP packet, the purpose IP address of downstream IP packet is the pdp address in the corresponding PDP Context of RAB of carrying current application data, in embodiments of the present invention, the IP address that PPP connects connects in data sets up the pdp address that is set to the first corresponding PDP Context of first data connection in the process, if current application data is not carried on the RAB of first PDP Context, the IP address of PPP connection and the inconsistent situation in purpose IP address of downstream IP packet then can appear;
The purpose IP address that the downstream IP packet is replaced in S143, the IP address of using PPP to connect, in order to realize accurate transmission, in revising packet header in the purpose IP address, also need to recomputate and revise the downstream IP packet check and;
S144, the downstream IP packet connected by PPP be transmitted to TE.
Based on same technical conceive, the embodiment of the invention provides a kind of wireless data card, as shown in figure 15, comprising:
Descending receiving element 151 is used to receive the downstream IP packet of GGSN by the RAB transmission of PDP Context;
Address processing unit 152, be used for the IP address of PPP connection and the purpose IP address of downstream IP packet are compared, and when comparative result is inconsistent, the purpose IP address that the downstream IP packet is replaced in the IP address of using PPP to connect, recomputate and revise the downstream IP packet check and;
Retransmission unit 153 is used for the downstream IP packet is transmitted to TE by the PPP connection.
In order to further specify the application data transmission mechanism that the embodiment of the invention provides, introduce four data in conjunction with Figure of description 10 and connect the transfer process that goes up application data.In Figure of description 10, four same PPP of data connection multiplexing connect, but between TE and GGSN, use the RAB of different QoS service attribute.
As shown in figure 10, RAB with PDP Context of different APN, network side is different for the pdp address of its distribution (dynamic IP addressing) when activating this PDP Context, the RAB that activates PDP Context with identical APN, network side is identical for the pdp address (dynamic IP addressing) of its distribution.The pdp address of PDP Context X1 and PDP Context X2 is IP address X, PDP up and down Y and PDP up and down the pdp address of Z be respectively IP address Y and IP address Z, the IP address that PPP connects is set to first data and connects that GGSN is the IP address X as pdp address that PDP Context X1 distributes when setting up.
The 4th data connect the application data transfer process on the Z, and the index of the PDP Context that these data connect is Z, and its corresponding business flow template is Z:
On these data connect, for the up IP packet that connects from PPP, because this data flow has the filter attribute parameter of traffic flow template Z, wireless data card uses all traffic flow template to mate and finds that afterwards this up IP grouping bag is complementary with traffic flow template Z, so wireless data card is forwarded to this up IP packet on the RAB of PDP Context Z, because the IP address (IP address X) that PPP connects is inconsistent with the pdp address (IP address Z) of PDP Context Z, need change the source IP address of this up IP packet, wireless data card uses the pdp address (IP address Z) of PDP Context Z to replace the source IP address (IP address X) of up IP packet, and revise its verification and, then will should be up the RAB that wraps by PDP Context Z of IP grouping be transmitted to GGSN.
On these data connect, for downstream IP packet from the RAB of PDP Context Z, wireless data card does not need to use traffic flow template, but directly downstream IP grouping bag is forwarded in the PPP connection, because the IP address that PPP connects is different with the pdp address of PDP Context Z, so need change to the purpose IP address of this downstream IP packet, the purpose IP address (IP address Z) of downstream IP grouping bag is replaced in the IP address (IP address X) that wireless data card uses PPP to connect, and revise its verification and, this downstream IP packet is connected by PPP be transmitted to TE then.
The application data transfer process that the 3rd data connect, the index of the PDP Context of this data link is Y, its corresponding business flow template is Y:
On these data connect, for the up IP packet that connects from PPP, because this data flow has the filter attribute parameter of traffic flow template Y, wireless data card uses all traffic flow template to mate and finds that afterwards this up IP packet and traffic flow template Y are complementary, so wireless data card is forwarded to this up IP packet on the RAB of PDP Context Y, because the IP address (IP address X) that PPP connects is inconsistent with the pdp address (IP address Y) of PDP Context Y, need change the source IP address of this IP packet, wireless data card uses the IP address (IP address Y) of PDP Context Y to replace the source IP address (IP address X) of up IP packet, and revise its verification and, then will this up IP packet RAB by PDP Context Y be forwarded to GGSN.
On these data connect, for downstream IP packet from the RAB of PDP Context Y, wireless data card does not need to use traffic flow template, but directly downstream IP grouping bag is forwarded in the PPP connection, because IP address that PPP connects and the pdp address of PDP Context Y are inconsistent, so need change to the purpose IP address of this downstream IP packet, the purpose IP address (IP address Y) of downstream IP grouping bag is replaced in the IP address (IP address X) that wireless data card uses PPP to connect, and revise its verification and, this downstream IP packet is connected by PPP be transmitted to TE then.
The application data transfer process that second data connects, the PDP Context index that these data connect is X2, its corresponding business flow template is X2:
On these data connect, for the up IP packet that connects from PPP, because this data flow has the filter attribute parameter of traffic flow template X2, wireless data card uses all traffic flow template to mate the back and finds that this up IP packet and traffic flow template X2 are complementary, so wireless data card is forwarded to this IP packet on the RAB of PDP Context X2, because the IP address (IP address X) that PPP connects is consistent with the pdp address (IP address X) of PDP Context X2, so do not need the source IP address of this up IP packet is changed, but directly the RAB of this IP packet by PDP Context X2 be forwarded to GGSN.
On these data connect, for downstream IP packet from the RAB of PDP Context X2, wireless data card does not need to use traffic flow template, but directly the downstream IP packet is forwarded in the PPP connection, because the IP address that PPP connects is consistent with the pdp address (IP address X) of PDP Context X2, so do not need the purpose IP address of this downstream IP packet is changed, be forwarded to TE but directly this downstream IP packet is connected by PPP.
Application data transfer process on first data connect, the PDP Context index of this data link is X1, it does not have the corresponding business flow template:
On these data connect, for the up IP packet that connects from PPP, wireless data card uses all traffic flow template to mate and finds that this IP packet and each traffic flow template all do not match afterwards, so wireless data card is forwarded to this IP packet on the RAB of PDP Context X1, because the IP address (IP address X) that PPP connects is consistent with the pdp address (IP address X) of PDP Context X1, so do not need the source IP address of this up IP packet is changed, but directly the RAB of this up IP packet by PDP Context X1 is forwarded to GGSN.
On these data connect, for downstream IP packet from the RAB of PDP Context X2, wireless data card does not need to use traffic flow template, but directly the downstream IP packet is forwarded in the PPP connection, because the IP address that PPP connects is consistent with the pdp address (IP address X) of PDP Context X2, so do not need the purpose IP address of this downstream IP packet is changed, be forwarded to TE but directly this downstream IP packet is connected by PPP.
The wireless data card that the embodiment of the invention provides is supported the implementation method of a plurality of PDP Contexts, only needs to increase corresponding functional modules and get final product in wireless data card, realizes simple; AT order mutual between TE and the wireless data card can directly use the standard AT command among the 3GPP TS 27.007 to realize, also can order by the privately owned AT of pre-defined user and realize, realizes flexibly; Need not to make any change for network side structure and signaling process, can realize that wireless data card supports a plurality of PDP Contexts simultaneously.The technical scheme of using the embodiment of the invention to provide, wireless data card can provide QoS to guarantee for the concurrent application of user's a plurality of dissimilar and QoS demand, satisfies the demand of user to various differentiated services, thus the competitiveness of raising operator.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1, a kind of data connection establishing method of wireless data card is characterized in that, comprising:
When needs are set up data that a terminal equipment TE snaps into ggsn GGSN by wireless data and are connected, the data of setting up if desired connect, and to be TE be connected with first data between the wireless data card, then setting up point-to-point protocol PPP unique between TE and the wireless data card is connected, and activate the first corresponding packet data protocol PDP Context of this first data connection to set up the RAB of first PDP Context between wireless data card and the GGSN, the IP address that described PPP connects is set to the pdp address in first PDP Context;
The data of setting up if desired connect, and not to be TE be connected with first data between the wireless data card, then be that N data connect corresponding N PDP Context establishment corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN, wherein N is greater than one, and described traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context.
2, the method for claim 1, it is characterized in that, described is that these N data connects corresponding N PDP Context establishment corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN, specifically comprise:
Judge that these N data connects the data that whether APN APN has formerly been set up in the corresponding N PDP Context and connect use;
If, then be that these N data connects corresponding N PDP Context establishment corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN by secondary PDP context activation flow process;
If not, then be that these N data connects corresponding N PDP Context establishment corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN by the PDP context activation flow process.
3, method as claimed in claim 1 or 2 is characterized in that, is setting up before a TE snaps into GGSN by wireless data data connect, and also comprises:
The parameter information that the data that need foundation connect corresponding PDP Context is set, and described parameter information comprises APN APN, PDP type and service quality QoS.
4, method as claimed in claim 1 or 2 is characterized in that, also comprises:
When TE of needs disconnection snaps into the data connection of GGSN by wireless data, the data that disconnect if desired connect, and to be TE be connected with last data between the wireless data card, then discharge PPP unique between TE and the wireless data card and be connected, and the deexcitation data that should need to disconnect connect corresponding PDP Context to discharge the RAB that this data between wireless data card and the GGSN connect corresponding PDP Context;
The data that disconnect if desired connect, and not to be TE is connected with last data between the wireless data card, and then the deexcitation data that should need to disconnect connect corresponding PDP Context to discharge the RAB of the corresponding PDP Context of this data connection between wireless data card and the GGSN.
5, a kind of wireless data card is characterized in that, comprise that data connection management unit, first connects to set up the unit and be connected with second and set up the unit, wherein:
Described data connection management unit, be used in the time need setting up data that a terminal equipment TE snaps into ggsn GGSN by wireless data and connect, the data of setting up if desired connect, and to be TE be connected with first data between the wireless data card, then trigger described first connection and set up the unit, the data of setting up if desired connect, and not to be TE is connected with first data between the wireless data card, then triggers described second connection and sets up the unit;
The unit is set up in described first connection, being used to set up point-to-point protocol PPP unique between TE and the wireless data card is connected, and activate the first corresponding packet data protocol PDP Context of this first data connection to set up the RAB of first PDP Context between wireless data card and the GGSN, the IP address that described PPP connects is set to the pdp address in first PDP Context;
The unit is set up in described second connection, be used to N data to connect corresponding N PDP Context and create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN, wherein N is greater than one, and described traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context.
6, wireless data card as claimed in claim 5 is characterized in that, the unit is set up in described second connection, specifically comprises judgment sub-unit, the first processing subelement and the second processing subelement, wherein:
Described judgment sub-unit, be used for judging that these N data connects the data connection use whether corresponding N PDP Context APN APN has formerly been set up, if then trigger described first and handle subelement, if not, then trigger described second and handle subelement;
Described first handles subelement, be used to these N data to connect corresponding N PDP Context and create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN by secondary PDP context activation flow process;
Described second handles subelement, be used to these N data to connect corresponding N PDP Context and create the corresponding business flow template, and activate this N PDP Context to set up the RAB of N PDP Context between wireless data card and the GGSN by the PDP context activation flow process.
7, as claim 5 or 6 described wireless data cards, it is characterized in that, comprise that also the first connection switching units is connected switching units with second, wherein:
Described data connection management unit, also be used for when TE of needs disconnection snaps into the data connection of GGSN by wireless data, the data that disconnect if desired connect, and to be TE be connected with last data between the wireless data card, then trigger described first and connect switching units, the data that disconnect if desired connect, and not to be TE is connected with last data between the wireless data card, then triggers the described second connection switching units;
Described first connects switching units, be used to discharge PPP unique between TE and the wireless data card and be connected, and the deexcitation data that should need to disconnect connect corresponding PDP Context to discharge the RAB that this data between wireless data card and the GGSN connect corresponding PDP Context;
Described second connects switching units, is used for data that deexcitation should needs disconnects and connects the RAB of corresponding PDP Context with the corresponding PDP Context of this data connection between release wireless data card and the GGSN.
8, a kind of data in the method for claim 1 foundation connect the method for transmitting user data, it is characterized in that, comprising:
Wireless data card receiving terminal apparatus TE connects the up IP packet that sends by PPP, and is by traffic flow template that described up IP is data packet matched to corresponding PDP Context;
The source IP address of pdp address in the described PDP Context and up IP packet is compared, and when comparative result is inconsistent, use pdp address in the described PDP Context to replace the source IP address of up IP packet, recomputate and revise up IP packet check and;
The RAB of described up IP packet by described PDP Context is transmitted to ggsn GGSN.
9, a kind of at wireless data card, it is characterized in that, comprising:
Up receiving element is used for receiving terminal apparatus TE and connects the up IP packet that sends by PPP, and is by traffic flow template that described up IP is data packet matched to corresponding PDP Context;
Address processing unit, be used for the pdp address of described PDP Context and the source IP address of up IP packet are compared, and when comparative result is inconsistent, use pdp address in the described PDP Context to replace the source IP address of up IP packet, recomputate and revise up IP packet check and;
Retransmission unit is used for the RAB of described up IP packet by described PDP Context is transmitted to ggsn GGSN.
10, a kind of data in the method for claim 1 foundation connect the method for transmitting user data, it is characterized in that, comprising:
Wireless data card receives the downstream IP packet of ggsn GGSN by the RAB transmission of PDP Context;
The IP address that PPP is connected compares with the purpose IP address of downstream IP packet, and when comparative result is inconsistent, the purpose IP address that the downstream IP packet is replaced in the IP address of using PPP to connect, the check of recomputating and revise the downstream IP packet with;
Described downstream IP packet is transmitted to terminal equipment TE by the PPP connection.
11, a kind of wireless data card is characterized in that, comprising:
Descending receiving element is used to receive the downstream IP packet of ggsn GGSN by the RAB transmission of PDP Context;
Address processing unit, be used for the IP address of PPP connection and the purpose IP address of downstream IP packet are compared, and when comparative result is inconsistent, the purpose IP address that the downstream IP packet is replaced in the IP address of using PPP to connect, recomputate and revise the downstream IP packet check and;
Retransmission unit is used for described downstream IP packet is transmitted to terminal equipment TE by the PPP connection.
CN200910150741A 2009-06-30 2009-06-30 Realization method for supporting a plurality of PDP contexts by wireless data card and wireless data card Expired - Fee Related CN101600224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910150741A CN101600224B (en) 2009-06-30 2009-06-30 Realization method for supporting a plurality of PDP contexts by wireless data card and wireless data card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910150741A CN101600224B (en) 2009-06-30 2009-06-30 Realization method for supporting a plurality of PDP contexts by wireless data card and wireless data card

Publications (2)

Publication Number Publication Date
CN101600224A true CN101600224A (en) 2009-12-09
CN101600224B CN101600224B (en) 2012-10-03

Family

ID=41421410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910150741A Expired - Fee Related CN101600224B (en) 2009-06-30 2009-06-30 Realization method for supporting a plurality of PDP contexts by wireless data card and wireless data card

Country Status (1)

Country Link
CN (1) CN101600224B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902404A (en) * 2010-07-29 2010-12-01 中兴通讯股份有限公司 Method and device for realizing automatic re-networking
CN102025800A (en) * 2010-12-30 2011-04-20 华为技术有限公司 IP address allocation method and device
WO2011079563A1 (en) * 2009-12-30 2011-07-07 中兴通讯股份有限公司 Method for establishing and releasing data connection, data transmission method and wireless data card
CN103152232A (en) * 2012-12-26 2013-06-12 北京创毅讯联科技股份有限公司 Data card and transmission method based on data card
CN103533669A (en) * 2013-10-10 2014-01-22 成都达信通通讯设备有限公司 Mobile terminal multi-APN (access point name) network concurrent system and networking method of mobile terminal multi-APN network concurrent system
CN103581359A (en) * 2013-11-11 2014-02-12 上海顶竹通讯技术有限公司 Method and system enabling service traversing NAT device
CN103973829A (en) * 2013-02-05 2014-08-06 联发科技股份有限公司 Method for acquiring server address, and mobile communication apparatus thereof
WO2015117447A1 (en) * 2014-08-28 2015-08-13 中兴通讯股份有限公司 Methods and apparatus for dialing and disabling dialing
WO2015154586A1 (en) * 2014-08-15 2015-10-15 中兴通讯股份有限公司 Wireless data card, communication terminal, communication system and networking method
CN107432052A (en) * 2015-03-26 2017-12-01 高通股份有限公司 The virtual evolved session management (virtual ESM) of multiple concurrent contexts
WO2018196503A1 (en) * 2017-04-24 2018-11-01 中兴通讯股份有限公司 Method for processing authentication information, terminal, and system
CN109845233A (en) * 2017-08-23 2019-06-04 华为技术有限公司 A kind of flow statistical method and its equipment
CN115396510A (en) * 2022-08-12 2022-11-25 西安广和通无线通信有限公司 Communication method and communication module

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050041631A1 (en) * 2003-08-20 2005-02-24 Naveen Aerrabotu Apparatus and method for primary link packet control
CN100438489C (en) * 2004-08-27 2008-11-26 华为技术有限公司 Secondary activating data transmitting method and equipment thereof

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011079563A1 (en) * 2009-12-30 2011-07-07 中兴通讯股份有限公司 Method for establishing and releasing data connection, data transmission method and wireless data card
CN101902404B (en) * 2010-07-29 2015-01-28 中兴通讯股份有限公司 Method and device for realizing automatic re-networking
CN101902404A (en) * 2010-07-29 2010-12-01 中兴通讯股份有限公司 Method and device for realizing automatic re-networking
CN102025800A (en) * 2010-12-30 2011-04-20 华为技术有限公司 IP address allocation method and device
WO2012089001A1 (en) * 2010-12-30 2012-07-05 华为技术有限公司 Ip address allocation method and device
CN102025800B (en) * 2010-12-30 2013-04-24 华为技术有限公司 IP address allocation method and device
US9288179B2 (en) 2010-12-30 2016-03-15 Huawei Technologies Co., Ltd. Method and apparatus for assigning IP address
CN103152232A (en) * 2012-12-26 2013-06-12 北京创毅讯联科技股份有限公司 Data card and transmission method based on data card
CN103152232B (en) * 2012-12-26 2016-09-14 北京创毅讯联科技股份有限公司 A kind of data card and transmission method based on data card
CN103973829A (en) * 2013-02-05 2014-08-06 联发科技股份有限公司 Method for acquiring server address, and mobile communication apparatus thereof
CN107332942A (en) * 2013-02-05 2017-11-07 联发科技股份有限公司 Obtain the method and its mobile communications device of server address
CN103973829B (en) * 2013-02-05 2017-08-01 联发科技股份有限公司 Obtain the method and its mobile communications device of server address
WO2015051704A1 (en) * 2013-10-10 2015-04-16 成都达信通通讯设备有限公司 Mobile terminal multi-apn network concurrent system and networking method thereof
CN103533669A (en) * 2013-10-10 2014-01-22 成都达信通通讯设备有限公司 Mobile terminal multi-APN (access point name) network concurrent system and networking method of mobile terminal multi-APN network concurrent system
CN103533669B (en) * 2013-10-10 2017-03-15 成都达信通通讯设备有限公司 The many APN network concurrents systems of mobile terminal and its networking method
CN103581359A (en) * 2013-11-11 2014-02-12 上海顶竹通讯技术有限公司 Method and system enabling service traversing NAT device
CN103581359B (en) * 2013-11-11 2016-09-28 上海顶竹通讯技术有限公司 A kind of method and system of business cross-over NAT equipment
WO2015154586A1 (en) * 2014-08-15 2015-10-15 中兴通讯股份有限公司 Wireless data card, communication terminal, communication system and networking method
CN105338050A (en) * 2014-08-15 2016-02-17 中兴通讯股份有限公司 Wireless data card, communication terminal, communication system, and networking method
CN105376842A (en) * 2014-08-28 2016-03-02 中兴通讯股份有限公司 Dialing/de-dialing method and device
WO2015117447A1 (en) * 2014-08-28 2015-08-13 中兴通讯股份有限公司 Methods and apparatus for dialing and disabling dialing
CN105376842B (en) * 2014-08-28 2019-12-10 中兴通讯股份有限公司 Dialing and de-dialing method and device
CN107432052A (en) * 2015-03-26 2017-12-01 高通股份有限公司 The virtual evolved session management (virtual ESM) of multiple concurrent contexts
WO2018196503A1 (en) * 2017-04-24 2018-11-01 中兴通讯股份有限公司 Method for processing authentication information, terminal, and system
CN109845233A (en) * 2017-08-23 2019-06-04 华为技术有限公司 A kind of flow statistical method and its equipment
CN109845233B (en) * 2017-08-23 2020-10-23 华为技术有限公司 Flow statistical method and equipment thereof
CN115396510A (en) * 2022-08-12 2022-11-25 西安广和通无线通信有限公司 Communication method and communication module
CN115396510B (en) * 2022-08-12 2024-03-15 西安广和通无线通信有限公司 Communication method and communication module

Also Published As

Publication number Publication date
CN101600224B (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN101600224B (en) Realization method for supporting a plurality of PDP contexts by wireless data card and wireless data card
TW463509B (en) GPRS-subscriber selection of multiple internet service providers
EP2863683B1 (en) Data flow control method and corresponding apparatus and communications system
EP1156626B1 (en) Mobile communication network, terminal equipment and packet communication control method
CN101827364B (en) Dual modem device
TW548917B (en) Mobile internet access
TWI578816B (en) Method and apparatus for efficiently delivering supplementary services to multi-technology capable wireless transmit/receive units
US9019969B2 (en) Gateway for interconnecting a wireless access function with a network access function
US8396027B2 (en) Communication control system, communication system and communication control method
CN102612033B (en) Mobile phone with thin wireless access point and communication method for mobile phone
GB2363547A (en) Internet protocol (ip) based communication system in a mobile telephone network which allows ip communication even if no ip connection exists
WO2015051703A1 (en) Method for orderly managing multi-path apn concurrent networking data transmission channel
CN102638789B (en) Method for establishing point-to-point transmission and mobile communication system
KR20050090902A (en) The method of vpn service about pdp type in wcdma
CN101741902A (en) System and method for Internet terminal to quickly access to Internet server
US7263087B2 (en) Method and system for adding IP routes to a routing mobile terminal with 3G messages
Lin et al. General Packet Radio Service (GPRS): architecture, interfaces, and deployment
JP2001223760A (en) Communication control apparatus, and its host device and communication method
CN101069404B (en) Method, device, system and networking connection equipment for opening a network link
FI112757B (en) Method and apparatus for data communication
CN101753466B (en) Method and device for transmitting wireless broadband service messages
CN101286858B (en) Method and system for charging of WAP gateway for mobile terminal
CN115174310A (en) PDN dialing and configuration method, system, device, equipment and storage medium
CN101635632A (en) Method, system and device for authentication and configuration
US20090046685A1 (en) Method and System for a Wireless Transmission over GPRS Communications Network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121003

Termination date: 20210630