[go: up one dir, main page]

CN1997008B - A method and device for deactivating PDP context - Google Patents

A method and device for deactivating PDP context Download PDF

Info

Publication number
CN1997008B
CN1997008B CN2006100646669A CN200610064666A CN1997008B CN 1997008 B CN1997008 B CN 1997008B CN 2006100646669 A CN2006100646669 A CN 2006100646669A CN 200610064666 A CN200610064666 A CN 200610064666A CN 1997008 B CN1997008 B CN 1997008B
Authority
CN
China
Prior art keywords
pdp
message
deactivation
pdp context
context
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
CN2006100646669A
Other languages
Chinese (zh)
Other versions
CN1997008A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100646669A priority Critical patent/CN1997008B/en
Publication of CN1997008A publication Critical patent/CN1997008A/en
Priority to PCT/CN2007/071343 priority patent/WO2008080345A1/en
Application granted granted Critical
Publication of CN1997008B publication Critical patent/CN1997008B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This invention discloses one method to remove activating PDP message, which comprises the following steps: receiving the remove message of activation PDP message sent by receive user device; judging whether to remove the PDP address same with designed PDP content in activation status all PDP message; if yes, then finding out all the same PDP address in activation status; removing the found PDP message composed of designed PDP message. This invention also discloses one device to remove activation PDP message.

Description

A kind of method of activation release of PDF context and device thereof
Technical field
The present invention relates to wireless communication field, particularly a kind of in GPRS or WCDMA system the method and the device thereof of activation release of PDF context.
Background technology
GPRS or WCDMA system network architecture are as shown in Figure 1, comprise Radio Access Network UTRAN and core network CN, wherein Radio Access Network is handled all and wireless function associated, and all voice calls are connected with data in the core network treatment system, and the exchange and the routing function of realization and external network (External Network).UE is a subscriber equipment, carries out data interaction with Radio Access Network, for the user provides the function of the miscellaneous service in circuit domain and the packet domain.
UE is segmented, can be divided into TE and MT two parts, TE is concrete application module, comprises concrete application A PP, and MT is a communication interface modules, and TE is linked in the Radio Access Network by MT.Interface between TE and MT is the R interface.The AT order provides the standard set command word, makes TE module and MT intermodule to communicate, as telephone service, and short message service etc.
In AT order at present, remove and activate (deactive, state of activation is transformed into unactivated state) PDP (Packet Data Protocol, packet data protocol) contextual processing command is that (the AT order is the general name of a plurality of orders to CGACT releasing activation command, CGACT order is wherein a kind of, the CGACT order specifically is divided into CGACT activation command and CGACT again and removes activation command etc.), requirement according to agreement, generate CGACT behind the releasing activation parameter that input is relevant in subscriber equipment and remove activation command, and and then generating solution remove to activate PDP Context message, network side is according to this activation release of PDF context message, just can remove activation manipulation to the PDP Context of appointment, understand for convenient, can be interpreted as PDP Context and be equivalent to a software module, a PDP Context has the parameters C ID of its identity of indication, therefore can represent a concrete PDP Context with CID, for example use CID1, CID2 represents two different PDP Contexts, and a plurality of in addition PDP Contexts can a shared pdp address.
Particularly, when removing activation and specifying PDP Context to use all PDP Contexts of identical pdp address, because the user does not know to have the some pdp addresses of the common use of which PDP Context in advance, therefore in subscriber equipment, need to utilize application program on the TE at first to inquire and use all PDP Contexts of identical pdp address with specifying PDP Context, CID according to these PDP Contexts of finding generates CGACT releasing activation command then, remove activation command according to described CGACT again and generate activation release of PDF context message, these PDP Contexts are realized removing according to described activation release of PDF context message by core network then and activate.For example removing to activate uses all PDP Contexts of identical pdp address when (comprising CID1) with CID1, in subscriber equipment, inquire about the pdp address of each PDP Context (comprising CID1) earlier, the PDP Context that obtains using identical pdp address according to Query Result is CID2, CID3 for example, and in CGACT releasing activation command, add CID2 and CID3, remove activation command generation activation release of PDF context message according to this CGACT again and send to network side, network side is carried out the corresponding activation manipulation of removing according to described activation release of PDF context message.
Because the restriction of existing AT command functions, make in user equipment side when generating activation release of PDF context message, all to generate a message to each PDP Context that inquires, be stranded this network side and will receive multiple messages, and every message all will be carried out, that is to say that using the PDP Context of this identical address all will carry out to each when removing activation manipulation once removes activation process, thereby need execution repeatedly to remove activation process, and once remove the Signalling exchange that activation process need be carried out repeatedly equipment room, comprise core net inside, Access Network inside, subscriber equipment inside, and subscriber equipment mutual by between Radio Access Network and the core net, therefore cause the communication system response speed slower, reduced the service efficiency of communication equipment.
Summary of the invention
The embodiment of the invention provides a kind of method and device thereof of activation release of PDF context, can reduce and carry out the number of times of removing activation process, improves the service efficiency of communication equipment.
Embodiment of the invention technical scheme comprises:
A kind of method of activation release of PDF context comprises:
Receive the activation release of PDF context message that subscriber equipment sends, include the PDP Context of appointment in the described message;
Judge whether this message requires to remove all PDP Contexts that activation is used identical pdp address with the PDP Context of described appointment and is in state of activation;
When being, search all PDP Contexts that use identical pdp address with the PDP Context of described appointment and be in state of activation in judged result;
Remove and activate all PDP Contexts that use identical pdp address with PDP Context described appointment and be in state of activation that find out, comprise the PDP Context of this appointment.
A kind of device of activation release of PDF context comprises:
First receiving element is used to receive the message that subscriber equipment sends;
First judging unit is used to judge whether the message that described first receiving element receives is activation release of PDF context message;
Second judging unit, be used for when described first judging unit is determined described message and is activation release of PDF context message, judge this message whether require to remove activate with described message in the PDP Context of appointment use identical pdp address and be in all PDP Contexts of state of activation;
First query unit is used in the described second judgment unit judges result when being, searches all PDP Contexts that use identical pdp address with the PDP Context of this appointment and be in state of activation, and determines the PDP Context number that finds out;
Remove and activate the unit, be used for the PDP Context number that finds out in described query unit when non-vanishing, remove and activate described first query unit all PDP Contexts that use identical pdp address with PDP Context this appointment and be in state of activation that find out, comprise the PDP Context of this appointment.
A kind of method that generates activation release of PDF context message comprises:
Receive the CGACT order, according to first parameter that is used to represent the CGACT command type in the described CGACT order, judging described CGACT order is that CGACT removes activation command;
Judge that described CGACT removes activation command and whether comprises second parameter, described second parameter is used for representing to remove and activates and the PDP Context of described CGACT releasing activation command appointment uses identical pdp address and is in all PDP Contexts of state of activation;
Remove when comprising described second parameter in the activation command judging described CGACT, generate activation release of PDF context message;
In described activation release of PDF context message indication remove to activate with this message in the PDP Context that comprises use identical pdp address and be in all PDP Contexts of state of activation.
A kind of device that generates activation release of PDF context message comprises:
Second receiving element is used to receive the CGACT order, comprises the PDP Context of appointment in the described CGACT order;
The 3rd judging unit is used for ordering first parameter that is used for representing the CGACT command type according to described CGACT, and judging described CGACT order is that CGACT removes activation command;
The 4th judging unit, being used for going out described CGACT order in described the 3rd judgment unit judges is after CGACT removes activation command, judge that described CGACT removes activation command and whether comprises second parameter, described second parameter is used for representing to remove and activates and the PDP Context of described CGACT releasing activation command appointment uses identical pdp address and is in all PDP Contexts of state of activation;
Generation unit, be used for when described the 4th judgment unit judges goes out described CGACT and removes activation command and comprise second parameter, generate activation release of PDF context message, and in described activation release of PDF context message indication remove activate with this message in the PDP Context that comprises use identical pdp address and be in all PDP Contexts of state of activation.
The type that the embodiment of the invention is removed activation manipulation by indication in activation release of PDF context message is: remove and activate all that use identical pdp address with the PDP Context of appointment and be in the PDP Context of state of activation; Core network finds out all qualified PDP Contexts according to this indication after receiving this activation release of PDF context message, directly remove activation manipulation.Thereby the method and apparatus that present embodiment provides has been avoided removing in the prior art all needing to carry out when activating each PDP Context and has once been removed the lower problem of service efficiency that activation process causes communication equipment.
Description of drawings
Fig. 1 is GPRS or WCDMA system network architecture;
Fig. 2 is a flow chart of removing activated operation method in the embodiment of the invention;
Fig. 3 is the detailed process that generates activation release of PDF context message among Fig. 2;
Fig. 4 is one of structure chart of removing in the embodiment of the invention in the activation manipulation device;
Fig. 5 be remove in the embodiment of the invention activation manipulation device structure chart two.
Fig. 6 is one of structure drawing of device that generates in the embodiment of the invention activation release of PDF context message;
Fig. 7 be generate in the embodiment of the invention activation release of PDF context message structure drawing of device two;
Embodiment
In order to solve under the prior art, network side is when removing activation, use the PDP Context of identical address all will carry out to each and once remove activation process, thereby low this problem of the service efficiency that causes communication equipment, the embodiment of the invention can be understood as in the activation release of PDF context message process content corresponding is set, described content is used for notifying core network once removing all qualified PDP Contexts of activation process releasing activation, promptly use identical pdp address with specifying PDP Context, and be in all PDP Contexts of state of activation, correspondingly, after core network receives this activation release of PDF context message, directly remove activation according to described content and use identical pdp address with the PDP Context of appointment, and be in all PDP Contexts of state of activation.
When the embodiment of the invention is removed activation manipulation in core network, mainly comprise the steps:
Receive the activation release of PDF context message that subscriber equipment sends, include the PDP Context of appointment in the described activation release of PDF context message;
Judge whether described activation release of PDF context message requires to remove all PDP Contexts that activation is used identical pdp address with the PDP Context of described appointment and is in state of activation;
If search all PDP Contexts that use identical pdp address with the PDP Context of described appointment and be in state of activation;
Remove and activate all PDP Contexts that use identical pdp address with PDP Context described appointment and be in state of activation that find out, comprise the PDP Context of this appointment.
When correspondingly present embodiment generates activation release of PDF context message in subscriber equipment, mainly comprise the steps:
Receive the CGACT order, and according to being used to represent that first parameter of CGACT command type is the state parameter in the described CGACT order, judging described CGACT order is that CGACT removes activation command;
Judge that described CGACT removes activation command and whether comprises second parameter, described second parameter is used for representing to remove and activates and the PDP Context of described CGACT releasing activation command appointment uses identical pdp address and is in all PDP Contexts of state of activation;
Remove when comprising described second parameter in the activation command judging described CGACT, generate activation release of PDF context message;
And in described activation release of PDF context message indication remove to activate with this message in the PDP Context that comprises use identical pdp address and be in all PDP Contexts of state of activation.
The embodiment of the invention is removed the activation command requirement and is removed all qualified PDP Contexts judging CGACT, when promptly using identical pdp address with the PDP Context of appointment and being in all PDP Context of state of activation, indication is removed the type of activation manipulation and is in the activation release of PDF context message that generates: remove and activate all that use identical pdp address with the PDP Context of appointment and be in the PDP Context of state of activation; Core network finds out all qualified PDP Contexts according to this indication after receiving this activation release of PDF context message, directly remove activation manipulation.Present embodiment activates all qualified PDP Contexts once removing in the activation process just to remove, once removes the lower problem of service efficiency that activation process causes communication equipment thereby all need to carry out when having avoided in the prior art each PDP Context of releasing activation.
Below the specific implementation process of present embodiment is done further introduction.
See also table 1, the CGACT that table 1 embodiment of the invention provides orders, and can comprise the PDP Context of a plurality of appointments in this order, requires to remove when activating all qualified PDP Contexts in the CGACT order, can realize by the increase parameter.Compare with existing C GACT order, the CGACT order that the embodiment of the invention provides has increased tear down parameter, and other meaning of parameters is constant.Wherein<and state〉be used to indicate the state of PDP context activation, the state value is 0 o'clock, represents that this message is used for activation release of PDF context; The state value is 1 o'clock, represents that this message is used for activating PDP Context; Here the state parameter is used as first parameter, tear down parameter is used as second parameter.
<tear down〉expression remove to activate use identical pdp address all be in the PDP Context of state of activation, when tear down parameter be " N ", a PDP Context that activates appointment CID correspondence was only removed in expression; When tear down parameter was " T ", expression remove to activate and the PDP Context of the appointment all PDP Contexts that has activated with identical pdp address; If do not fill out<tear down〉parameter, then be defaulted as only to remove and activate the PDP Context of specifying the CID correspondence.Tear down parameter can certainly be made as 0,1 only represents to remove and activates the PDP Context of specifying the CID correspondence and still remove and activate and the PDP Context of the appointment all PDP Contexts that has activated with identical pdp address.
The new CGACT command syntax of table 1
Order Possible response
+CGACT=[<state>[,<cid>[,<teardown>][,<cid>[,<tear?down>][,...]]]] OKERROR
+CGACT? +CGACT:(cid>.<state>[<CR><LF>+CGACT:?<Cld>,<state>[...]]
+CGACT=? +CGACT:(list?of?supported<state>s)
See also shown in Figure 2ly, Fig. 2 has disclosed a detailed process of embodiment of the invention activation release of PDF context.
(1), the concrete application module in the user terminal generates and comprises tear down parameter in interior CGACT order;
Concrete application module is when generating the CGACT order, comprise the state parameter in this order, and the CID of the PDP Context of appointment, specifying PDP Context can be one, also can be a plurality of, comprise tear down parameter in addition, the concrete value of tear down parameter can be determined according to user's instruction, in the state parameter is 0 o'clock, and this CGACT order is removed activation command for CGACT.
(2), concrete application module comprises tear down parameter with this and sends to communication interface modules in interior CGACT order;
Step (1) has been described how to generate and has been comprised tear down parameter in interior CGACT order, is not difficult to be realized according to table 1 and prior art.
(3), communication interface modules generates corresponding activation release of PDF context message according to this CGACT order, and indicates in this message and remove all PDP Contexts that activation is used identical pdp address with the PDP Context of described appointment and is in state of activation;
(4), communication interface modules sends to core network with this activation release of PDF context message by Radio Access Network;
(5), after core network receives the message that subscriber equipment sends over, analyzing this message is activation release of PDF context message, and this message requires to remove all PDP Contexts that the PDP Context that activates described appointment uses identical pdp address and is in state of activation; And
(6), core network finds out all PDP Contexts that use identical pdp address and be in state of activation with the PDP Context of described appointment, and removes and activate these PDP Contexts;
Step (6) can also comprise afterwards:
(7), core network finish remove activation manipulation after, the communication interface modules in subscriber equipment sends to remove to activate finishes message;
(8), further, if have RAB (carrying of Radio Access Bearer Radio Link) between core network and the subscriber equipment before PDP Context is disengaged and activates, then carry out the RAB releasing operation between core network and the subscriber equipment, this step is disclosed by prior art, no longer describes in detail herein.
(9) communication interface modules notifies this CGACT order executed of concrete application module to finish in subscriber equipment.
By foregoing description, the embodiment of the invention can once removed the releasing activation manipulation of realizing in the activation process a plurality of PDP Contexts, has effectively improved the service efficiency of communication equipment.
See also shown in Figure 3ly, step (3) can specifically comprise:
Step 301 receives the CGACT order;
Step 302, utilizing the value of the state parameter that comprises in this CGACT order to determine this CGACT order is that CGACT removes activation command;
Step 303 judges this CGACT removes in activation command whether comprise second parameter, i.e. if tear down parameter is execution in step 309;
Step 309, the PDP Context to described CGACT removes each appointment in the activation command all generates a PDP Context that comprises this appointment in interior activation release of PDF context message;
Step 310, in each activation release of PDF context message indication remove to activate with this message in the PDP Context that comprises use identical pdp address and be in all PDP Contexts of state of activation.
Concrete when indicating, a particular information unit (Information Element) can be set in activation release of PDF context message, and finish by this particular information unit is provided with corresponding value, for example be set to 1.
If in step (1), the CGACT order that concrete application module in the user terminal generates does not comprise tear down parameter, will judge this CGACT order in step 303 so and not comprise the teardown parameter, can also at this moment comprise the steps that (this is not a prior art? can make existing goal of the invention? why on earth introduce this? different with prior art, prior art is had improvement):
Step 304 is determined described CGACT and is removed the number N of the PDP Context of appointment in the activation command more than or equal to 2;
Step 305 is inquired about the employed pdp address of PDP Context of described appointment;
Step 306 is determined M PDP Context according to the pdp address that inquires and is used an identical pdp address, and M is an integer, and more than or equal to 2;
Step 307 to this M PDP Context, generates an activation release of PDF context message, and selects a PDP Context as the appointment PDP Context in this activation release of PDF context message in this M PDP Context arbitrarily;
Step 308, in this activation release of PDF context message indication remove to activate with this message in the PDP Context that comprises use identical pdp address and be in all PDP Contexts of state of activation.
In step 307, to this M PDP Context, can only generate an activation release of PDF context message, also can generate a plurality of;
If there is one group of PDP Context to use address IpAddr1 in addition, another group PDP Context uses address IpAddr2, and IpAddr1 and IpAddr2 are inequality, to these two groups of PDP Contexts, can select only to generate two activation release of PDF context message so.
Certainly in step 303, judge this CGACT remove comprise second parameter in activation command after, also can execution in step 304 to 308, to those use the PDP Context of identical pdp address select to generate an activation release of PDF context message get final product (? comprise second parameter, handle all the same? why on earth does that also want second parameter? the feature of 304-308 goes for two kinds of situations: comprise second parameter or do not comprise second parameter).
When indication is removed activation and is specified PDP Context to use identical pdp address and be in all PDP Contexts of state of activation, can be by in activation release of PDF context message, setting a particular information unit, and the value that this particular information unit is set is made as 1 and realizes, whether described particular information unit is used to represent to remove and activates all that use identical pdp address and be in the PDP Context of state of activation;
Step (5) can specifically comprise:
Step 51, core network receives the message that subscriber equipment sends;
Step 52 confirms that this message is activation release of PDF context message;
Step 53 judges that this message requires releasing to activate all PDP Contexts that use identical pdp address and be in state of activation with the PDP Context of described appointment;
Step 53 specifically can comprise the steps:
Judge whether comprise particular information unit in this message, described particular information unit is used to represent whether remove all PDP Contexts that activation is used identical pdp address with the PDP Context of described appointment and is in state of activation; And
When comprising particular information unit in this message, the value of further judging this information unit is 1.
In actual applications, core network may receive many activation release of PDF context message, and described message all requires to remove all PDP Contexts that activation is used identical pdp address with the PDP Context of appointment and is in state of activation, the PDP Context that appointment in two or the multiple messages might occur wherein uses identical address, after executing a message so, during another message below carrying out, whether the PDP Context of appointment uses identical address in the PDP Context that can further judge appointment in this another message and the message of having carried out.
If in step (6), can select directly to send to remove to activate completed message to subscriber equipment; If not, remove to activate with described another message in the PDP Context of appointment use identical pdp address and be in all PDP Contexts of state of activation.
Further, in step (1), concrete application module is when generating CGACT releasing activation command in the subscriber equipment, whether a plurality of PDP Contexts that can also inquire about appointment use identical pdp address, when using different pdp addresses, CGACT removes in the activation command and to the PDP Context that uses different pdp addresses different tear down parameters can be set (this thought should be included in the method for essence of this patent, be not replenish this one or two just passable, this can relate to the variation of entire method, all replacement schemes, should be included in the upper method, retell replacement scheme then, and replacement scheme is to have substituted entire method, or step, should be clear and definite, the seedling seedling you say excellent, the change of one or two feature sometimes can cause the variation of whole proposal, I just ran into this situation now, here can be described as further qualification, with the conflict that prevents from when adding the teardown parameter, may occur), carry out different releasing activation manipulations in order to indication, when for example CID1 uses different pdp addresses with CID2, can select to remove and activate the PDP Context that all use identical pdp address and be in state of activation with CID1, and remove activation CID2.
Except that table 1, the CGACT command syntax can also be as shown in table 2 respectively,
The new CGACT command syntax of table 2
Order Possible response
+CGACT=[<state>[,<cid>,[,<cid >,[,...]]]][,<tear?down>] OK ERROR
+CGACT? +CGACT:<cid>.<state> [<CR><LF>+CGACT:<cid>, <state> [...]]
+CGACT=? +CGACT:(list?of?supported <state>s)
Compare with table 1, tear down parameter is placed on the last of AT order, the back of the PDP Context of i.e. all appointments, tear down parameter can be placed on before the PDP Context of first appointment in addition, these two kinds different form implications are identical, meaning all requires to carry out the releasing activation manipulation of same type to the PDP Context of all appointments, at this moment if the PDP Context of appointment is a plurality of and when using different pdp addresses, PDP Context CID1 and CID2 that two appointments are for example arranged, and the IpAddr2 that IpAddr1 that CID1 uses and CID2 use is not simultaneously, require to remove activation CID1 and CID2, require to remove all PDP Contexts that activation is used all PDP Contexts of IpAddr1 and used IpAddr2, and can not require to remove activation CID1 simultaneously, and all PDP Contexts of use IpAddr2.
See also shown in Figure 4, Fig. 4 has disclosed the device of activation release of PDF context that the embodiment of the invention provides, this device can be arranged in the core network, comprises first receiving element 11, first judging unit 12, second judging unit 13, first query unit 14 and removes activation unit 15.
Wherein first receiving element 11 is used to receive the message that subscriber equipment sends; First judging unit 12 is used to judge whether the message that first receiving element 11 receives is activation release of PDF context message; Second judging unit 13 is used for when first judging unit 12 is determined described message and is activation release of PDF context message, judge this message whether require to remove activate with described message in the PDP Context of appointment use identical pdp address and be in all PDP Contexts of state of activation; First query unit 14 is used in second judging unit, 13 judged results when being, finds out the PDP Context that all use identical pdp address and be in state of activation with the PDP Context of this appointment; Remove to activate unit 15 and be used for the PDP Context number that finds out in first query unit 14 when non-vanishing, remove to activate first query unit 14 all that use identical pdp address with the PDP Context of appointment that find out and be in the PDP Context of state of activation, comprise the PDP Context of this appointment.
See also shown in Figure 5ly, Fig. 5 has disclosed the device of another activation release of PDF context that the embodiment of the invention provides, and compares with Fig. 3, has increased and returns unit 16.
Returning unit 16 is used for sending the releasing activation to subscriber equipment and finishing message after the releasing activation manipulation is finished in releasing activation unit 15; When perhaps the PDP Context number that finds out in first query unit 14 is zero, directly sends to remove to activate and finish message to subscriber equipment.
See also shown in Figure 6ly, Fig. 6 has disclosed the device that generates activation release of PDF context message that the embodiment of the invention provides, and this device can be arranged in the terminal equipment, can be arranged in the communication interface modules specifically.This device comprises second receiving element 21, the 3rd judging unit 22, the 4th judging unit 23 and generation unit 24.
Wherein second receiving element 21 is used to receive the CGACT order that concrete application module sends over, and comprises the PDP Context of appointment in the described CGACT order;
The 3rd judging unit 22 is used for being used for representing that according to described CGACT order first parameter of CGACT command type is the state parameter that judging described CGACT order is that CGACT removes activation command;
The 4th judging unit 23, being used for judging described CGACT order at the 3rd judging unit 22 is after CGACT removes activation command, judges that whether described CGACT releasing activation command comprises second parameter is the teardown parameter;
Generation unit 24, be used for when the 4th judging unit 23 is judged described CGACT and removed activation command and comprise the second parametric t eardown, generate activation release of PDF context message, and in described activation release of PDF context message indication remove activate with this message in the PDP Context that comprises use identical pdp address and be in all PDP Contexts of state of activation.
See also shown in Figure 7, Fig. 7 disclosed that the embodiment of the invention provides another generate the device of activation release of PDF context message, compare with Fig. 6, increased the detecting unit 25 and second query unit 26.
Detecting unit 25 is used for determining that CGACT that second receiving element 21 receives removes the number N of the PDP Context of activation command appointment;
Second query unit 26, be used for determining the number N of PDP Context of described appointment more than or equal to 2 o'clock at detecting unit 25, inquire about the employed pdp address of PDP Context of described appointment, and when having determined identical pdp address of M PDP Context use, notify described generation unit to generate at least one activation release of PDF context message, and also comprise any one PDP Context in the described M PDP Context in the described notice.
The method and apparatus that present embodiment provides is removed the type that activates by the particular information unit indication is set in activation release of PDF context message, only need once remove activation process and just can remove all PDP Contexts that activation is used identical pdp address with the PDP Context of appointment and is in state of activation, once remove the lower problem of service efficiency that activation process causes communication equipment thereby avoided removing in the prior art all needing to carry out when activating each PDP Context.
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 (14)

1.一种解除激活PDP上下文的方法,其特征在于,包括步骤: 1. A method for deactivating a PDP context, characterized in that, comprising steps: 接收用户设备发出的解除激活PDP上下文消息,该消息中包含有指定的PDP上下文; Receive the deactivation PDP context message sent by the user equipment, which contains the specified PDP context; 判断该消息是否要求解除激活与所述指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文; Judging whether the message requires deactivation of all PDP contexts that use the same PDP address as the specified PDP context and are in an active state; 在判断结果为是时,查找与所述指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文; When the judgment result is yes, search for all PDP contexts that use the same PDP address as the specified PDP context and are in an active state; 解除激活查找出的与所述指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文,包括该指定的PDP上下文。 Deactivating all found PDP contexts that use the same PDP address as the specified PDP context and are in an active state, including the specified PDP context. the 2.如权利要求1所述的方法,其特征在于,判断该消息是否要求解除激活与所述指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文具体为: 2. The method according to claim 1, wherein judging whether the message requires deactivation to use the same PDP address as the specified PDP context and all PDP contexts in an activated state are specifically: 判断该消息中是否包含特定信息单元,所述特定信息单元用于表示是否解除激活与所述指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文;以及 Judging whether the message contains a specific information element, the specific information element is used to indicate whether to deactivate all PDP contexts that use the same PDP address as the specified PDP context and are in an active state; and 在判断出该消息中包含特定信息单元时,进一步判断该信息单元的值。 When it is determined that the message contains a specific information unit, further determine the value of the information unit. the 3.如权利要求2所述的方法,其特征在于,在该消息中包含所述特定信息单元且所述特定信息单元值为1时,认为该消息要求解除激活与指定的PDP上下文使用相同PDP地址的所有处于激活状态的PDP上下文。 3. The method according to claim 2, wherein when the message contains the specific information element and the value of the specific information element is 1, it is considered that the message requires deactivation to use the same PDP context as the specified PDP context. All active PDP contexts for the address. the 4.如权利要求1所述的方法,其特征在于,所述解除激活与指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文之后还包括: 4. The method according to claim 1, wherein said deactivation uses the same PDP address as the specified PDP context and also includes after all PDP contexts in an activated state: 向用户设备发送消息通知解除激活已完成。 A message is sent to the user device notifying that the deactivation is complete. the 5.如权利要求1所述的方法,其特征在于,在解除激活所述查找出的PDP上下文之后,还包括: 5. The method according to claim 1, characterized in that, after deactivating the PDP context found out, further comprising: 接收另一个解除激活PDP上下文消息,所述另一个消息中包含另一个指定的PDP上下文; Receive another deactivation PDP context message, which contains another specified PDP context; 判断该另一个消息是否要求解除激活与所述另一个指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文; Judging whether the other message requires deactivation of all PDP contexts that use the same PDP address as the other specified PDP context and are in an active state; 若是,确定所述另一个指定的PDP上下文所使用的PDP地址; If so, determine the PDP address used by the other specified PDP context; 判断所述指定的PDP上下文与所述另一个指定的PDP上下文是否使用相同的PDP地址; Judging whether the specified PDP context uses the same PDP address as the other specified PDP context; 若是,向用户设备发送消息通知解除激活已完成。 If yes, a message is sent to the user equipment to notify that the deactivation has been completed. the 6.一种生成解除激活PDP上下文消息的方法,其特征在于,包括步骤: 6. A method for generating a deactivation PDP context message, characterized in that, comprising steps: 接收CGACT命令,根据所述CGACT命令中用于表示CGACT命令类型的第一参数,判断出所述CGACT命令是CGACT解除激活命令; Receive a CGACT command, and determine that the CGACT command is a CGACT deactivation command according to the first parameter used to represent the CGACT command type in the CGACT command; 判断所述CGACT解除激活命令是否包含第二参数,所述第二参数用于表示解除激活和所述CGACT解除激活命令中指定的PDP上下文使用相同PDP地址、且处于激活状态的所有的PDP上下文; Judging whether the CGACT deactivation command includes a second parameter, the second parameter is used to indicate that the deactivation and the PDP context specified in the CGACT deactivation command use the same PDP address and are all PDP contexts in an active state; 在判断出所述CGACT解除激活命令中包含所述第二参数时,生成解除激活PDP上下文消息; When it is determined that the CGACT deactivation command includes the second parameter, generate a deactivation PDP context message; 在所述解除激活PDP上下文消息中指示解除激活与该消息中包括的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文。 The deactivate PDP context message indicates deactivation of all PDP contexts that use the same PDP address as the PDP context included in the message and are in an activated state. the 7.如权利要求6所述的方法,其特征在于,所述生成解除激活PDP上下文消息具体为: 7. The method according to claim 6, wherein the generating and deactivating PDP context message is specifically: 对所述CGACT解除激活命令中每个指定的PDP上下文,均生成一个包含该指定的PDP上下文在内的解除激活PDP上下文消息; For each specified PDP context in the CGACT deactivation command, a deactivation PDP context message including the specified PDP context is generated; 8.如权利要求6所述的方法,其特征在于,所述生成解除激活PDP上下文消息具体为: 8. The method according to claim 6, wherein the generating and deactivating PDP context message is specifically: 确定所述CGACT解除激活命令中指定的PDP上下文的个数N; Determine the number N of PDP contexts specified in the CGACT deactivation command; 在N大于等于2时,查询所述指定的PDP上下文所使用的PDP地址; When N is greater than or equal to 2, query the PDP address used by the specified PDP context; 根据所述PDP地址判断所述指定的PDP上下文中是否存在使用相同PDP地址的PDP上下文; Judging whether there is a PDP context using the same PDP address in the specified PDP context according to the PDP address; 在判断出M个PDP上下文使用一个相同PDP地址时,M为正整数且大于等于2,对该M个PDP上下文,生成至少一个解除激活PDP上下文消息,所述至少一个解除激活PDP上下文消息中包含的PDP上下文为所述M个PDP上下文中任意一个PDP上下文; When it is determined that M PDP contexts use the same PDP address, M is a positive integer greater than or equal to 2, and for the M PDP contexts, at least one deactivation PDP context message is generated, and the at least one deactivation PDP context message includes The PDP context is any one of the M PDP contexts; 在所述至少一个解除激活PDP上下文消息中指示解除激活与该消息中包含的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文。 The at least one deactivation PDP context message indicates deactivation of all PDP contexts that use the same PDP address as the PDP context contained in the message and are in an activated state. the 9.如权利要求6所述的方法,其特征在于,在判断出所述CGACT解除激活命令中不包含所述第二参数时, 9. The method according to claim 6, wherein when it is judged that the deactivation command of CGACT does not include the second parameter, 确定所述CGACT解除激活命令中指定的PDP上下文的个数N; Determine the number N of PDP contexts specified in the CGACT deactivation command; 在N大于等于2时,查询所述指定的PDP上下文所使用的PDP地址; When N is greater than or equal to 2, query the PDP address used by the specified PDP context; 根据所述PDP地址判断所述指定的PDP上下文中是否存在使用相同PDP地址的PDP上下文; Judging whether there is a PDP context using the same PDP address in the specified PDP context according to the PDP address; 在判断出M个PDP上下文使用一个相同PDP地址时,M为正整数且大于等于2,对该M个PDP上下文,生成至少一个解除激活PDP上下文消息,所述至少一个解除激活PDP上下文消息中包含的PDP上下文为所述M个PDP上下文中任意一个PDP上下文; When it is determined that M PDP contexts use the same PDP address, M is a positive integer greater than or equal to 2, and for the M PDP contexts, at least one deactivation PDP context message is generated, and the at least one deactivation PDP context message includes The PDP context is any one of the M PDP contexts; 在所述至少一个解除激活PDP上下文消息中指示解除激活与该消息中包含的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文。 The at least one deactivation PDP context message indicates deactivation of all PDP contexts that use the same PDP address as the PDP context contained in the message and are in an activated state. the 10.如权利要求6或9所述的方法,其特征在于,所述指示解除激活与该消息中包括的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文具体为: 10. The method according to claim 6 or 9, wherein the instruction to deactivate all PDP contexts that use the same PDP address as the PDP context included in the message and are in an activated state is specifically: 在所述消息中设定一个特定信息单元,所述特定信息单元用于表示是否解除激活使用相同PDP地址的所有处于激活状态的PDP上下文; A specific information element is set in the message, and the specific information element is used to indicate whether to deactivate all active PDP contexts using the same PDP address; 将该特定信息单元的值设为1。 Set the value of this specific information element to 1. the 11.一种解除激活PDP上下文的装置,其特征在于,包括:11. A device for deactivating a PDP context, comprising: 第一接收单元,用于接收用户设备发出的消息;a first receiving unit, configured to receive a message sent by the user equipment; 第一判断单元,用于判断所述第一接收单元接收到的消息是否为解除激活PDP上下文消息;a first judging unit, configured to judge whether the message received by the first receiving unit is a deactivation PDP context message; 第二判断单元,用于在所述第一判断单元确定出所述消息为解除激活PDP上下文消息时,判断该消息是否要求解除激活与所述消息中指定的PDP上下文使用相同PDP地址且处于激活状态的所有PDP上下文;The second judging unit is configured to judge whether the message requires deactivation and the PDP context specified in the message uses the same PDP address and is activated when the first judging unit determines that the message is a deactivation PDP context message all PDP contexts of the state; 第一查询单元,用于在所述第二判断单元判断结果为是时,查找与该指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文,并确定查找出的PDP上下文个数;The first query unit is configured to search for all PDP contexts that use the same PDP address as the specified PDP context and are in an active state when the judgment result of the second judgment unit is yes, and determine the number of PDP contexts found. ; 解除激活单元,用于在所述查询单元查找出的PDP上下文个数不为零时,解除激活所述第一查询单元查找出的与该指定的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文,包括该指定的PDP上下文。A deactivation unit, configured to, when the number of PDP contexts found by the query unit is not zero, deactivate the PDP context found by the first query unit that uses the same PDP address as the specified PDP context and is in an active state. All PDP contexts, including the specified PDP context. 12.如权利要求11所述的装置,其特征在于,还包括:12. The apparatus of claim 11, further comprising: 返回单元,用于在所述解除激活单元完成解除激活操作后或者在所述查询单元查找出的PDP上下文个数为零时,向用户设备发送解除激活完成消息。The returning unit is configured to send a deactivation complete message to the user equipment after the deactivation unit completes the deactivation operation or when the number of PDP contexts found by the query unit is zero. 13.一种生成解除激活PDP上下文消息的装置,其特征在于,包括:13. A device for generating a deactivation PDP context message, comprising: 第二接收单元,用于接收CGACT命令,所述CGACT命令中包含指定的PDP上下文;The second receiving unit is used to receive a CGACT command, and the CGACT command includes a specified PDP context; 第三判断单元,用于根据所述CGACT命令中用来表示CGACT命令类型的第一参数,判断出所述CGACT命令是CGACT解除激活命令;A third judging unit, configured to judge that the CGACT command is a CGACT deactivation command according to the first parameter used to indicate the type of the CGACT command in the CGACT command; 第四判断单元,用于在所述第三判断单元判断出所述CGACT命令是CGACT解除激活命令后,判断所述CGACT解除激活命令是否包含第二参数,所述第二参数用于表示解除激活和所述CGACT解除激活命令中指定的PDP上下文使用相同PDP地址、且处于激活状态的所有的PDP上下文;A fourth judgment unit, configured to judge whether the CGACT deactivation command includes a second parameter after the third judgment unit judges that the CGACT command is a CGACT deactivation command, and the second parameter is used to indicate deactivation All PDP contexts that use the same PDP address as the PDP context specified in the CGACT deactivation command and are in an active state; 生成单元,用于在所述第四判断单元判断出所述CGACT解除激活命令中 包含第二参数时,生成解除激活PDP上下文消息,并在所述解除激活PDP上下文消息中指示解除激活与该消息中包括的PDP上下文使用相同PDP地址、且处于激活状态的所有PDP上下文。A generating unit, configured to generate a deactivation PDP context message when the fourth judging unit determines that the CGACT deactivation command contains a second parameter, and indicate deactivation and the message in the deactivation PDP context message The PDP contexts included in all PDP contexts that use the same PDP address and are active. 14.如权利要求13所述的装置,其特征在于,还包括:14. The apparatus of claim 13, further comprising: 检测单元,用于确定所述CGACT解除激活命令中指定的PDP上下文的个数N;A detection unit, configured to determine the number N of PDP contexts specified in the CGACT deactivation command; 第二查询单元,用于在所述检测单元确定出所述指定的PDP上下文的个数N大于等于2时,查询所述指定的PDP上下文所使用的PDP地址,并在确定出有M个PDP上下文使用一个相同PDP地址时,通知所述生成单元生成至少一个解除激活PDP上下文消息,且所述通知中还包括所述M个PDP上下文中任意一个PDP上下文。 The second query unit is used to query the PDP address used by the specified PDP context when the detection unit determines that the number N of the specified PDP context is greater than or equal to 2, and when it is determined that there are M PDPs When the same PDP address is used for the context, the generating unit is notified to generate at least one deactivation PDP context message, and the notification also includes any one of the M PDP contexts. the
CN2006100646669A 2006-12-30 2006-12-30 A method and device for deactivating PDP context Expired - Fee Related CN1997008B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006100646669A CN1997008B (en) 2006-12-30 2006-12-30 A method and device for deactivating PDP context
PCT/CN2007/071343 WO2008080345A1 (en) 2006-12-30 2007-12-27 Generating message of deactivating pdp context, device and method for deactivating pdp context

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100646669A CN1997008B (en) 2006-12-30 2006-12-30 A method and device for deactivating PDP context

Publications (2)

Publication Number Publication Date
CN1997008A CN1997008A (en) 2007-07-11
CN1997008B true CN1997008B (en) 2011-01-19

Family

ID=38251937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100646669A Expired - Fee Related CN1997008B (en) 2006-12-30 2006-12-30 A method and device for deactivating PDP context

Country Status (2)

Country Link
CN (1) CN1997008B (en)
WO (1) WO2008080345A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9750077B2 (en) * 2013-09-06 2017-08-29 Intel IP Corporation Network connection or disconnection for mobile devices

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997008B (en) * 2006-12-30 2011-01-19 华为技术有限公司 A method and device for deactivating PDP context
CN110856248B (en) * 2019-11-25 2022-07-15 北京简约纳电子有限公司 PDP management and deactivation algorithm for LTE single-mode system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002032084A2 (en) * 2000-10-09 2002-04-18 Nokia Corporation Address de-registration from ip multimedia networks
CN1741494A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Secondary activation data forwarding method and device thereof
CN1794859A (en) * 2005-01-20 2006-06-28 华为技术有限公司 Method of realizing active in multimedia gooup broadcasting service
CN1809052A (en) * 2005-01-19 2006-07-26 华为技术有限公司 Packet data protocol context activation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997008B (en) * 2006-12-30 2011-01-19 华为技术有限公司 A method and device for deactivating PDP context

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002032084A2 (en) * 2000-10-09 2002-04-18 Nokia Corporation Address de-registration from ip multimedia networks
CN1741494A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Secondary activation data forwarding method and device thereof
CN1809052A (en) * 2005-01-19 2006-07-26 华为技术有限公司 Packet data protocol context activation method
CN1794859A (en) * 2005-01-20 2006-06-28 华为技术有限公司 Method of realizing active in multimedia gooup broadcasting service

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
.3GPPTS23.060V5.2.0.2002 V5.2.0124-127
General Packet Radio Service(GPRS)
General Packet Radio Service(GPRS) GPRS TunnellingProtocol(GTP) across the Gn and Gp interface.3GPP TS 23.060V3.7.0.2000,V3.7.024-25,50-51. *
General Packet Radio Service(GPRS) Service descroption;.3GPP TS 23.060V5.2.0.2002,V5.2.0124-127,134-137. *
GPRSTunnellingProtocol(GTP)acrosstheGnandGpinterface.3GPPTS23.060V3.7.0.2000 V3.7.024-25
Service description
Service descroption

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9750077B2 (en) * 2013-09-06 2017-08-29 Intel IP Corporation Network connection or disconnection for mobile devices

Also Published As

Publication number Publication date
WO2008080345A1 (en) 2008-07-10
CN1997008A (en) 2007-07-11

Similar Documents

Publication Publication Date Title
CN110214459B (en) Service processing method and device
CN103002415B (en) A kind of method and apparatus by short message sending identifying code
EP3451764B1 (en) User plane resource management method, user plane network element, and control plane network element
CN108121608A (en) A kind of array dispatching method and node device
CN106209409B (en) A kind of scheduling message processing method and processing device based on virtual network function VNF
CN112491941A (en) Data management method, related product and communication system
CN1997008B (en) A method and device for deactivating PDP context
CN113472884A (en) OTA (over the air) upgrading method and device
CN111147538A (en) Service function chain path selection method and system
CN104363581B (en) A kind of the determination method and relevant device of associated terminal
CN112787828B (en) Application flow statistical method and device and mobile electronic device
CN111182611B (en) Communication method and device
CN112769943A (en) Service processing method and device
CN101207525B (en) System and apparatus for testing wireless network controller signaling processing module
CN102202267B (en) Call method and device, and communication system
CN113840391A (en) N4 session establishing method and device, electronic equipment and storage medium
JP2013021453A (en) Communication control device and communication control method
CN114584567B (en) Block chain-based batch operation processing method and device
CN105763511B (en) A kind of method for processing business and communication system
CN101155321B (en) Method for processing failure in call course
CN107124760A (en) The collection and synchronous method of APN information, terminal device and storage medium
US8457051B2 (en) Method, device and system for differentiating operators in one network
CN107454021B (en) Communication method and device
CN106982169B (en) Message forwarding method and device
WO2021173049A1 (en) Multiple spid configuration

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: 20110119

Termination date: 20181230