CN101600224B - Realization method for supporting a plurality of PDP contexts by wireless data card and wireless data card - Google Patents

Realization method for supporting a plurality of PDP contexts by wireless data card and wireless data card Download PDF

Info

Publication number
CN101600224B
CN101600224B CN200910150741A CN200910150741A CN101600224B CN 101600224 B CN101600224 B CN 101600224B CN 200910150741 A CN200910150741 A CN 200910150741A CN 200910150741 A CN200910150741 A CN 200910150741A CN 101600224 B CN101600224 B CN 101600224B
Authority
CN
China
Prior art keywords
pdp context
data
wireless data
data card
connect
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.)
Expired - Fee Related
Application number
CN200910150741A
Other languages
Chinese (zh)
Other versions
CN101600224A (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 realization method for supporting a plurality of PDP contexts by a wireless data card and the wireless data card so as to solve the problems that the wireless data card can support only one PDP context and cannot provide QoS guarantee for simultaneously performed different types of application, and different services using different APNs cannot be simultaneously performed. The method comprises that: when data connection is required to be established, if the connection is first data connection between TE and the wireless data card, unique PPP connection between the TE and the wireless data card is established, a first PDP context corresponding to the first data connection is activated to establish an RAB of the first PDP context, and an IP address of the PPP connection is set as a PDP address of the first PDP context; otherwise, a corresponding service flow template is established for the Nth PDP context corresponding to the Nth data connection, and the Nth PDP context is activated to establish an RAB of the Nth 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 (Packet Data 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 through 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 through 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 Packet Radio 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 (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 practical application.
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 the process of setting up, and wireless data card gets into 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 LCP Configure-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 authentication protocol, 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 LCP Configure-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, and CHAP mode verification process is: TE sends user name to wireless data card, and 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 through the PDP context activation flow process between step 9, wireless data card and the GGSN, with the RAB (Radio Access Bearer, RAB) that sets up PDP Context between wireless data card and the GGSN;
Wireless data card sends Activate PDP Context Request (PDP context activating 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 carries out authentication to 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 through Activate PDP Context Accept (PDP context activating acceptance).
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 of IP bearing mode to connect the process of setting up and accomplishes, 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 receive quantitative limitation of PPP linking number or data transmission technology problem, cause wireless data to be stuck in and to support a PDP Context in the practical application 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; FTP) download 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 service possibly 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 be broken off 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 through 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; Set up then that unique point-to-point protocol PPP is connected between TE and the wireless data card; 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 said 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 said traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context; PDP Context comprises main PDP Context Primary PDP Context and secondary PDP Context Secondary 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:
Said data connection management unit; Be used in the time need setting up data that a terminal equipment TE snaps into ggsn GGSN through 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 said first and connect and to 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 said second connection and sets up the unit;
The unit is set up in said first connection; Be used to set up that unique point-to-point protocol PPP is connected between TE and the wireless data card; 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 said PPP connects is set to the pdp address in first PDP Context;
The unit is set up in said second connection; Be used to N data and 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 said traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context; PDP Context comprises main PDP Context Primary PDP Context and secondary PDP Context Secondary 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 through PPP, and is through traffic flow template that said up IP is data packet matched to corresponding PDP Context; PDP Context has a plurality of, and PDP Context comprises main PDP Context Primary PDP Context and secondary PDP Context Secondary PDP Context;
The source IP address of pdp address in the said PDP Context and up IP packet is compared; And when comparative result is inconsistent; Use pdp address in the said PDP Context to replace the source IP address of up IP packet, the check of recomputating and revise up IP packet with;
The RAB of said up IP packet through said 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 through PPP, and is through traffic flow template that said up IP is data packet matched to corresponding PDP Context; PDP Context has a plurality of, and PDP Context comprises main PDP Context Primary PDP Context and secondary PDP Context Secondary PDP Context;
Address processing unit; Be used for the pdp address of said PDP Context and the source IP address of up IP packet are compared; And when comparative result is inconsistent; Use pdp address in the said PDP Context to replace the source IP address of up IP packet, the check of recomputating and revise up IP packet with;
Retransmission unit is used for the RAB of said up IP packet through said 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 receiver ggsn GGSN is through the downstream IP packet of the RAB transmission of PDP Context; PDP Context has a plurality of, and PDP Context comprises main PDP Context Primary PDP Context and secondary PDP Context Secondary 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, uses the purpose IP address of the IP address replacement downstream IP packet that PPP connects, recomputate and revise the downstream IP packet check and;
Said downstream IP packet is transmitted to terminal equipment TE through 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 through the RAB transmission of PDP Context; PDP Context has a plurality of, and PDP Context comprises main PDP Context Primary PDP Context and secondary PDP Context Secondary 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, use the purpose IP address of the IP address replacement downstream IP packet that PPP connects, the check of recomputating and revise the downstream IP packet with;
Retransmission unit is used for said downstream IP packet is transmitted to terminal equipment TE through 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.Through 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, through 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 through 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 through 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 through 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 the activation process figure that is directed against main PDP Context in the embodiment of the invention;
Fig. 6 is the activation process figure that is directed against the 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 chart that connects to last data in the embodiment of the invention;
Fig. 9 is the disconnection process chart that connects to non-last data in the embodiment of the invention;
Figure 10 is for setting up the sketch map 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 to 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.Portable terminals such as 3GPP regulation wireless data card, 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 through 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), and the PDP Context of QoS service attribute (Traffic Class) for stream type (Streaming Class) used in the video playback application, 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 corresponding application of each PDP Context (VOIP application, video playback are used), 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, a kind of data connection establishing method of wireless data card is provided; 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 between wireless data card and TE, set up a plurality of PPP through different Modem like this and connect, can produce the data routing issue again but exist a plurality of PPP to connect simultaneously, which PPP TE can't confirm to mail to when sending up IP packet connects.
Based on above analysis; The embodiment of the invention proposes: between TE and wireless data card, set up unique PPP and be connected; 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 be technological and TFT (Traffic Flow Template, traffic flow template) policy control technology realization through NAT (network address translation), thereby dissimilar application is carried on the RAB of the 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, comprise the steps:
S400, need set up a TE and connect through 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 the data that S401, judgement need to set up connect is TE is connected with first data between the wireless data card, if, then carry out S402, if deny, 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 that PPP connects 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 connects the foundation completion through first data 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 connects the foundation completion through N the data that wireless data snaps into GGSN, and the user can carry out the transmission of application data on these data connect.
In the practical implementation; S403 specifically comprises two kinds of application scenarioss, and a kind of application scenarios is (being that first data are connected to N-1 data any in the connecting) uses that connect that APN is connected by the data of formerly setting up in the corresponding N PDP Context of N data; 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.
To 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 through the PDP context activation flow process; Idiographic flow is as shown in Figure 5, comprises the steps:
Step 1, through 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 through 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 carries out authentication to 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 through 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.
To 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 through secondary PDP context activation flow process; Idiographic flow is as shown in Figure 6, comprises the steps:
Step 1, through 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 through 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, just initiate when the activation process of secondary PDP Context only has the PDP Context that has activated on identical pdp address and APN, and 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 Point Identifier, Network Service Access point identifier), the activation process of secondary PDP Context needn't be carried out APN and selects and the pdp address negotiations process.Therefore Activate Secondary PDP Context Request no longer need 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).The parameter informations such as QoS, Radio priority level and packet flow identifier that GGSN will consult to accomplish send to wireless data card through Activate Secondary 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 the practical implementation, as shown in Figure 7 when TE of needs disconnection snaps into the data connection of GGSN through wireless data, also comprise following treatment step:
S700, needs break off a TE and connect through the data that wireless data snaps into GGSN;
Whether the data that S701, judgement need to break off connect is TE is connected with last data between the wireless data card, if, then carry out S702, if deny, then carry out S703;
S702, discharge that unique PPP is connected between TE and the wireless data card, and the data that deexcitation should need to break off 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 break off and accomplishes, and the user stops the application data transmission of TE to GGSN.
The data that S703, deexcitation should need to break off 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 that need to break off connect the disconnection completion, and the user stops at these data and connects the application data transmission of carrying out.
In S702, concrete data connect disconnection process, and are as shown in Figure 8, comprise the steps:
Step 1, TE are sent 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 the practical implementation, 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 accomplish.
In S703, concrete data connect disconnection process, and are 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 the practical implementation, 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.Shown in figure 10; The assumed wireless data card need be set up the data connection of four TE to GGSN; To combine Figure of description 10 to introduce this four data establishment of connection flow processs successively by the data connection establishing method that the embodiment of the invention provides in order better to explain, each data connects to be distinguished according to its corresponding PDP Context; Be called data respectively 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 through the manual perhaps connection management (CM of wireless data card of user; Connect Manager) software etc.; Be provided with through the AT order parameter information (APN, PDP Type, QoS etc.) to PDP Context X1, 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; Simultaneously wireless data card can with GGSN be TE distribute return to TE as the dynamic IP addressing of pdp address and DNS and NBNS address through IPCP Configure-Ack, TE can be set to the IP address that PPP connects, the i.e. network address of local data connecting interface with the pdp address among the PDP Context X1 (being IP address X).
Second data connects X2, and the PDP Context index that these data connect is X2, and APN still is APN X, 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 pass through the connection management software of the manual perhaps wireless data card of user etc.; Through 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 through traffic flow template X2.
The 3rd data connect Y, and the PDP Context index of this data link is Y, and APN is APN Y, and the 3rd data connection Y sets up flow process and be:
Before setting up the 3rd data connection Y; Can pass through the connection management software of the manual perhaps wireless data card of user etc.; Through 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 of request wireless data card PDP context activating 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 through 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 pass through the connection management software of the manual perhaps wireless data card of user etc.; Through 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 of request wireless data card PDP context activating 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 through traffic flow template Z.
Data connect to break off exactly need break off one or more data connections from TE to GGSN according to the user; Suppose shown in figure 10; Wireless data card has been set up the data connection of four TE to GGSN; In order to explain 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.
Shown in figure 10; Four same PPP of data connection multiplexing connect; Under the situation that has a plurality of data connections, break off the PPP that can not break off each data connection multiplexing when one of them data connects and connect, 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 breaking off 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, and is 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 through 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 and connect and to 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; Be used to set up that unique PPP is connected between TE and 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, the IP address that said 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 and 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 traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context.
In the practical implementation, 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 corresponding N PDP Context APN APN and whether connected use by the data of formerly setting up, if then trigger first and handle subelement 1132; Do not handle subelement 1133 if, then trigger second;
First handles subelement 1132; Be used to these N data and 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 through secondary PDP context activation flow process;
Second handles subelement 1133; Be used to these N data and 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 through the PDP context activation flow process.
In the practical implementation, 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 through wireless data; The data of breaking off if desired connect, and to be TE be connected with last data between the wireless data card; Then trigger said first and connect switching units 114, the data of breaking off 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 that unique PPP is connected between TE and the wireless data card, and the deexcitation data that should need to break off 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 breaks off 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 application data transmission in the data connection that the user is setting up; Through 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, detailed introduction has been carried out in the function and the use of traffic flow template (TFT).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 each other; As shown in table 1, provided three kinds of possible compound modes of above-mentioned seven kinds of attributes, sign " X " representes that this filter attribute allows to make up coexistence and be defined in the single IP filter.
Table 1
Figure GSB00000491725700211
For example, can define following 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 through PPP, shown in figure 12, comprise the steps:
S121, wireless data card receiver TE connect the up IP packet that sends through PPP, and be through 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 to set up in data and is set to the pdp address that first data connect the first corresponding PDP Context in the process, if current application data is not carried on the RAB of first PDP Context, pdp address and the inconsistent situation of source IP address of up IP packet in the PDP Context then can occur;
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, the check that also need recomputate and revise up IP packet with;
S124, the RAB of up IP packet through PDP Context is transmitted to GGSN.
Based on same technical conceive, it is a kind of at wireless data card, shown in figure 13 that the embodiment of the invention provides, and comprising:
Up receiving element 131 is used to receive TE and connects the up IP packet that sends through PPP, and is through 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, the check of recomputating and revise up IP packet with;
Retransmission unit 133 is used for the RAB of up IP packet through PDP Context is transmitted to GGSN.
When on data that the user is setting up connect, carrying out application data transmission, send to the downstream IP packet of wireless data card through the RAB of some PDP Contexts for GGSN, shown in figure 14, comprise the steps:
S141, wireless data card receiver GGSN pass through the downstream IP packet of 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 that carries 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;
S143, the purpose IP address of using the IP address replacement downstream IP packet that PPP connects, in order to realize accurate transmission, in revising packet header in the purpose IP address, the check that also need recomputate and revise the downstream IP packet with;
S144, the downstream IP packet connected through PPP be transmitted to TE.
Based on same technical conceive, the embodiment of the invention provides a kind of wireless data card, and is shown in figure 15, comprising:
Descending receiving element 151 is used to receive the downstream IP packet of GGSN through 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, use the purpose IP address of the IP address replacement downstream IP packet that PPP connects, the check of recomputating and revise the downstream IP packet with;
Retransmission unit 153 is used for the downstream IP packet is transmitted to TE through 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.
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; RAB with PDP context activating of 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 be set to first data connection when setting up GGSN be the IP address X as pdp address of PDP Context X1 distribution.
The 4th data connect the application data transmission flow 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 find that this up IP packet package and traffic flow template Z are complementary after mating, thus wireless data card this up IP packet is forwarded on the RAB of PDP Context Z, owing to the pdp address (IP address Z) of the IP address (IP address X) of PPP connection and PDP Context Z is inconsistent; Need change the source IP address of this up IP packet; Wireless data card uses the source IP address (IP address X) of the up IP packet of pdp address (IP address Z) replacement of PDP Context Z, and revise its verification with, then will this up IP packet package RAB through PDP Context Z be transmitted to GGSN.
On these data connect; For downstream IP packet from the RAB of PDP Context Z; Wireless data card need not use traffic flow template, but directly the downstream IP packet package 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; Wireless data card uses the purpose IP address (IP address Z) of IP address (IP address X) the replacement downstream IP packet package that PPP connects, and revise its verification with, this downstream IP packet is connected through PPP be transmitted to TE then.
The application data transmission flow 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 find that this up IP packet and traffic flow template Y are complementary after mating, thus wireless data card this up IP packet is forwarded on the RAB of PDP Context Y, owing to the pdp address (IP address Y) of the IP address (IP address X) of PPP connection and PDP Context Y is inconsistent; Need change the source IP address of this IP packet; Wireless data card uses the source IP address (IP address X) of the up IP packet of IP address (IP address Y) replacement of PDP Context Y, and revise its verification with, then will this up IP packet RAB through 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 need not use traffic flow template, but directly the downstream IP packet package is forwarded in the PPP connection, because the pdp address of IP address that PPP connects and PDP Context Y is inconsistent; So need change to the purpose IP address of this downstream IP packet; Wireless data card uses the purpose IP address (IP address Y) of IP address (IP address X) the replacement downstream IP packet package that PPP connects, and revise its verification with, this downstream IP packet is connected through PPP be transmitted to TE then.
The application data transmission flow 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, thus wireless data card this IP packet is forwarded on the RAB of PDP Context X2 because the pdp address (IP address X) of the IP address (IP address X) of PPP connection and PDP Context X2 is consistent; So need not change, but directly the RAB of this IP packet through PDP Context X2 is forwarded to GGSN to the source IP address of this up IP packet.
On these data connect; For downstream IP packet from the RAB of PDP Context X2; Wireless data card need not use traffic flow template, but directly the downstream IP packet is forwarded in the PPP connection, because the pdp address (IP address X) of IP address that PPP connects and PDP Context X2 is consistent; So need not change, be forwarded to TE but directly this downstream IP packet is connected through PPP to the purpose IP address of this downstream IP packet.
Application data transmission flow 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, thus need not change the source IP address of this up IP packet, but directly the RAB of this up IP packet through 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 need not use traffic flow template, but directly the downstream IP packet is forwarded in the PPP connection, because the pdp address (IP address X) of IP address that PPP connects and PDP Context X2 is consistent; So need not change, be forwarded to TE but directly this downstream IP packet is connected through PPP to the purpose IP address of this downstream IP packet.
The wireless data card that the embodiment of the invention provides is supported the implementation method of a plurality of PDP Contexts, only needs in wireless data card, to increase corresponding functional modules and gets final product, and realizes simple; Mutual AT order can directly use the standard AT command among the 3GPP TS 27.007 to realize between TE and the wireless data card, also can order and realizes through defining the privately owned AT of user in advance, 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, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (5)

1. the data connection establishing method of a wireless data card is characterized in that, comprising:
When needs are set up data that a terminal equipment TE snaps into ggsn GGSN through 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; Set up then that unique point-to-point protocol PPP is connected between TE and the wireless data card; 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 said 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 said traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context; PDP Context comprises main PDP Context Primary PDP Context and secondary PDP Context Secondary PDP Context;
When TE of needs disconnection snaps into the data connection of GGSN through wireless data; The data of breaking off if desired connect, and to be TE be connected with last data between the wireless data card; Discharge then that unique PPP is connected between TE and the wireless data card, and the deexcitation data that should need to break off connect corresponding PDP Context to discharge the RAB that this data between wireless data card and the GGSN connect corresponding PDP Context;
The data of breaking off 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 break off connect corresponding PDP Context to discharge the RAB of the corresponding PDP Context of this data connection between wireless data card and the GGSN.
2. the method for claim 1; It is characterized in that; Said 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 these N data connects whether APN APN is connected use by the data of formerly setting up in the corresponding N PDP Context;
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 through 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 through the PDP context activation flow process.
3. according to claim 1 or claim 2 method is characterized in that, is setting up before a TE snaps into GGSN through wireless data data connect, and also comprises:
The parameter information that the data that need foundation connect corresponding PDP Context is set, and said parameter information comprises APN APN, PDP type and service quality QoS.
4. a wireless data card is characterized in that, comprise that data connection management unit, first connects to set up unit, second and connect and set up unit, first and connect switching units and be connected switching units with second, wherein:
Said data connection management unit; Be used in the time need setting up data that a terminal equipment TE snaps into ggsn GGSN through 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 said first and connect and to 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 said second connection and sets up the unit;
The unit is set up in said first connection; Be used to set up that unique point-to-point protocol PPP is connected between TE and the wireless data card; 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 said PPP connects is set to the pdp address in first PDP Context;
The unit is set up in said second connection; Be used to N data and 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 said traffic flow template is used for the up IP that connects from PPP data packet matched to corresponding PDP Context; PDP Context comprises main PDP Context Primary PDP Context and secondary PDP Context Secondary PDP Context;
Said data connection management unit; Also be used for when TE of needs disconnection snaps into the data connection of GGSN through wireless data; The data of breaking off if desired connect, and to be TE be connected with last data between the wireless data card; Then trigger said first and connect switching units, the data of breaking off if desired connect, and not to be TE is connected with last data between the wireless data card, then triggers the said second connection switching units;
Said first connects switching units; Be used to discharge that unique PPP is connected between TE and the wireless data card, and the deexcitation data that should need to break off connect corresponding PDP Context to discharge the RAB that this data between wireless data card and the GGSN connect corresponding PDP Context;
Said second connects switching units, is used for data that deexcitation should needs breaks off 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.
5. wireless data card as claimed in claim 4 is characterized in that, the unit is set up in said second connection, specifically comprises judgment sub-unit, the first processing subelement and the second processing subelement, wherein:
Said judgment sub-unit; Be used for judging that these N data connects corresponding N PDP Context APN APN and whether connected use by the data of formerly setting up, if then trigger said first and handle subelement; Do not handle subelement if, then trigger said second;
Said first handles subelement; Be used to these N data and 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 through secondary PDP context activation flow process;
Said second handles subelement; Be used to these N data and connect corresponding N PDP Context establishment corresponding business flow template, and activate this N PDP Context to set up the contextual RAB of NPDP between wireless data card and the GGSN through the PDP context activation flow process.
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 CN101600224A (en) 2009-12-09
CN101600224B true 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)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778484A (en) * 2009-12-30 2010-07-14 中兴通讯股份有限公司 Data connection establishing/releasing method, data transmission method and wireless data card
CN101902404B (en) * 2010-07-29 2015-01-28 中兴通讯股份有限公司 Method and device for realizing automatic re-networking
CN102025800B (en) * 2010-12-30 2013-04-24 华为技术有限公司 IP address allocation method and device
CN103152232B (en) * 2012-12-26 2016-09-14 北京创毅讯联科技股份有限公司 A kind of data card and transmission method based on data card
CN103973829B (en) * 2013-02-05 2017-08-01 联发科技股份有限公司 Obtain the method and its mobile communications device of server address
CN103533669B (en) * 2013-10-10 2017-03-15 成都达信通通讯设备有限公司 The many APN network concurrents systems of mobile terminal and its networking method
CN103581359B (en) * 2013-11-11 2016-09-28 上海顶竹通讯技术有限公司 A kind of method and system of business cross-over NAT equipment
CN105338050A (en) * 2014-08-15 2016-02-17 中兴通讯股份有限公司 Wireless data card, communication terminal, communication system, and networking method
CN105376842B (en) * 2014-08-28 2019-12-10 中兴通讯股份有限公司 Dialing and de-dialing method and device
US20160286600A1 (en) * 2015-03-26 2016-09-29 Qualcomm Incorporated Multiple concurrent contexts virtual evolved session management (virtual esm)
CN108738018B (en) * 2017-04-24 2022-08-19 中兴通讯股份有限公司 Method, terminal and system for processing authentication information
WO2019037156A1 (en) * 2017-08-23 2019-02-28 华为技术有限公司 Method for creating statistics of traffic and device therefor
CN115396510B (en) * 2022-08-12 2024-03-15 西安广和通无线通信有限公司 Communication method and communication module

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741494A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Secondary activating data transmitting method and equipment thereof
CN1842980A (en) * 2003-08-20 2006-10-04 摩托罗拉公司(在特拉华州注册的公司) Apparatus and method for primary link packet control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842980A (en) * 2003-08-20 2006-10-04 摩托罗拉公司(在特拉华州注册的公司) Apparatus and method for primary link packet control
CN1741494A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Secondary activating data transmitting method and equipment thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3rd Generation Partnership Project.Technical Specification Group Services and System Aspects.《3GPP TS 23.060 V5.9.0》.2004,1-11. *

Also Published As

Publication number Publication date
CN101600224A (en) 2009-12-09

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
EP1156626B1 (en) Mobile communication network, terminal equipment and packet communication control method
EP1978685B1 (en) Method and apparatus for dynamic quality of service modification
EP2863683B1 (en) Data flow control method and corresponding apparatus and communications system
KR100432311B1 (en) Gprs-subscriber selection of multiple internet service providers
US8184637B2 (en) Method, system and apparatus for dynamic quality of service modification
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
HK1044432A1 (en) Establishing a packet network call between a mobile terminal device and an interworking function
KR20050090902A (en) The method of vpn service about pdp type in wcdma
WO2015051703A1 (en) Method for orderly managing multi-path apn concurrent networking data transmission channel
EP1777902B1 (en) GPRS System and In-Zone Node Apparatus and Bearer Setting Method Used Therefor
CN100433741C (en) Communication system, communication method, and mobile node and gateway for use with the system
CN101069404B (en) Method, device, system and networking connection equipment for opening a network link
CN101352004A (en) Redirection of B-grade PDP data stream to A-grade PDP before establishing B-grade PDP context
FI112757B (en) Method and apparatus for data communication
CN115174310A (en) PDN dialing and configuration method, system, device, equipment and storage medium
WO2006053585A1 (en) Configuration of networked devices via mobile stations
CN101170738B (en) Method for point-to-point protocol to terminate in personal handheld phone system packet domain network
US20090046685A1 (en) Method and System for a Wireless Transmission over GPRS Communications Network
KR100446638B1 (en) Packet terminal capable of supporting multiple packet calls and method for supporting multiple packet calls in the same
KR100678695B1 (en) Method and System for Allocating Simple IP for Use in Portable Internet Network
KR20050122997A (en) Method for connecting igsn to sgsn or ggsn of other network
Baumann et al. From GPRS to UMTS
KR20050061959A (en) System for serving data

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

Granted publication date: 20121003

Termination date: 20210630

CF01 Termination of patent right due to non-payment of annual fee