WO2008080345A1 - Génération d'un message de désactivation de contexte pdp, dispositif et procédé pour désactiver un contexte pdp - Google Patents

Génération d'un message de désactivation de contexte pdp, dispositif et procédé pour désactiver un contexte pdp Download PDF

Info

Publication number
WO2008080345A1
WO2008080345A1 PCT/CN2007/071343 CN2007071343W WO2008080345A1 WO 2008080345 A1 WO2008080345 A1 WO 2008080345A1 CN 2007071343 W CN2007071343 W CN 2007071343W WO 2008080345 A1 WO2008080345 A1 WO 2008080345A1
Authority
WO
WIPO (PCT)
Prior art keywords
pdp
pdp context
message
specified
contexts
Prior art date
Application number
PCT/CN2007/071343
Other languages
English (en)
French (fr)
Inventor
Lufeng Han
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.
Publication of WO2008080345A1 publication Critical patent/WO2008080345A1/zh

Links

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

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to deactivating a PDP (Packet Data Protocol) in a GPRS (General Packet Radio Service) or WCDMA (Wideband Code Division Multiple Access) system.
  • Data protocol Packet Data Protocol
  • GPRS General Packet Radio Service
  • WCDMA Wideband Code Division Multiple Access
  • the network structure of the GPRS or WCDMA system is as shown in FIG. 1 , including UTRAN (Universal Terrestril Radio Access Network) and CN (Core Network), where the radio access network handles all wireless related networks. Functionality, while the core network handles all voice calls and data connections within the system and enables switching and routing functions with the External Network.
  • the UE is a user equipment, performs data interaction with the radio access network, and provides various service functions in the circuit domain and the packet domain for the user.
  • the UE can be divided into two parts: TE and MT.
  • the TE is a specific application module, including the specific application APP.
  • the MT is a communication interface module, and the TE accesses the wireless access network through the MT.
  • the interface between TE and MT is the R interface.
  • the AT command provides a standard set of command words to enable communication between the TE module and the MT module, such as telephony services and short message services.
  • the PDP context processing command is the CGACT deactivation command (the AT command is a general term for multiple commands, CGACT command (Command Gprs Active or deactive, GPRS).
  • CGACT command Common Gprs Active or deactive, GPRS.
  • the activation or deactivation command is one of them.
  • the CGACT command is further divided into a CGACT activation command and a deactivation command, etc., according to the requirements of the protocol, a deactivation command is generated after inputting the relevant deactivation parameter in the user equipment, and further The deactivated PDP context message is generated, and the network side can deactivate the specified PDP context according to the deactivated PDP context message, so as to facilitate understanding,
  • the PDP context can be understood as equivalent to a software module.
  • a PDP context has a parameter CID (Connection Identifier) indicating its identity. Therefore, a specific PDP context can be represented by CID, for example, two IDs are represented by CID1 and CID2.
  • Different PDP contexts, in addition to multiple PDP contexts can share a single PDP address.
  • the user when deactivating all PDP contexts that use the same PDP address as the specified PDP context, the user needs to use the application on the TE to first query out the user equipment because the user does not know which PDP contexts use the PDP address in advance. All PDP contexts of the same PDP address are used with the specified PDP context, and then the deactivation command is generated according to the CID of the PDP contexts that are found, and then the deactivation PDP context message is generated according to the deactivation command, and then the core network according to the Deactivation of the PDP context message deactivates these PDP context implementations.
  • the embodiment of the present invention provides a method for deactivating a PDP context, a device for deactivating a PDP context, a method for generating a deactivated PDP context message, and a device for generating a deactivated PDP context message, which can reduce the number of times of performing the deactivation process and improve communication. Equipment use efficiency.
  • an embodiment of the present invention provides a deactivation of a packet data protocol. The method of the text, including:
  • a device for deactivating a PDP context comprising:
  • a first receiving unit configured to receive a message sent by the user equipment
  • a first determining unit configured to determine that the message received by the first receiving unit is a deactivated PDP context message, where the message includes a specified PDP context
  • a first query unit configured to search for all PDP contexts that use the same PDP address as the specified PDP context and are in an active state
  • a deactivation unit configured to deactivate all PDP contexts that are searched by the first query unit and use the same PDP address as the specified PDP context, and are in an active state, including the specified PDP context.
  • a method for generating a deactivated PDP context message including:
  • Dereferencing in the deactivated PDP context message deactivates all PDP contexts that use the same PDP address as the PDP context included in the message and are in an active state.
  • An apparatus for generating a deactivated PDP context message comprising:
  • a second receiving unit configured to receive a command sent by the user side, where the command includes a specified PDP context
  • a third determining unit configured to determine, according to the first parameter used to indicate a command type in the command, that the command is a deactivation command
  • a fourth determining unit configured to determine, after the third determining unit determines that the command is a deactivation command, whether the deactivation command includes a second parameter, where the second parameter is used to indicate deactivation and Deactivate all the PDP contexts in the PDP context specified in the deactivation command using the same PDP address and in the active state
  • a generating unit configured to: when the fourth determining unit determines that the second parameter is included in the deactivation command, generate a deactivate PDP context message, and indicate deactivation and the message in the deactivate PDP context message
  • the included PDP context uses the same PDP address and is in an active state for all PDP contexts.
  • the PDP context of the class of the deactivation operation is indicated in the deactivated PDP context message; after receiving the deactivated PDP context message, all the PDP contexts that meet the conditions are searched according to the indication, and the deactivation operation is directly performed. .
  • the method and apparatus provided in this embodiment avoid the problem that the deactivation process needs to be performed once in deactivating each PDP context in the prior art, resulting in low efficiency of use of the communication device.
  • 1 is a network structure of a GPRS or WCDMA system in the prior art
  • FIG. 2 is a flowchart of a method for deactivating an operation according to an embodiment of the present invention
  • FIG. 3 is a specific process of generating a deactivated PDP context message in FIG. 2;
  • FIG. 4 is a structural diagram of a deactivation operation device in an embodiment of the present invention.
  • Figure 5 is a second structural diagram of the deactivation operation device in the embodiment of the present invention.
  • FIG. 6 is a structural diagram of an apparatus for generating a deactivated PDP context message according to an embodiment of the present invention
  • FIG. 2 is a second structural diagram of an apparatus for generating a deactivated PDP context message according to an embodiment of the present invention.
  • the method includes the following steps: receiving a deactivated PDP context message sent by the user equipment, where the deactivated PDP context message includes a specified PDP context;
  • Determining whether the deactivating the PDP context message requires deactivating all PDP contexts that use the same PDP address as the specified PDP context and are in an active state;
  • the command involved in this embodiment uses the CGACT command as an example, but is not limited to this: receiving the CGACT command sent by the user equipment, And determining, according to the first parameter used in the CGACT command to indicate a CGACT command type, such as a state state parameter, that the CGACT command is a deactivation command;
  • the deactivated PDP context message generated by the embodiment of the present invention when it is determined that the deactivation command is required to release all the qualified PDP contexts, that is, all PDP contexts that use the same PDP address and are in the active state with the specified PDP context.
  • the type of the deactivation operation is indicated as: Context; after receiving the deactivated PDP context message, the core network searches for all the qualified PDP contexts according to the indication, and directly performs the deactivation operation.
  • This embodiment is in one solution Except for the activation process, all the eligible PDP contexts can be deactivated, which avoids the problem that the deactivation process needs to be performed once the deactivation of each PDP context in the prior art, resulting in low efficiency of communication devices.
  • Table 1 provides a command provided by an embodiment of the present invention.
  • the command uses a CGACT command as an example.
  • the command may include multiple specified PDP contexts.
  • all compliant PDP contexts are required to be deactivated in the CGACT command, This can be done by adding parameters.
  • the CGACT command provided by the embodiment of the present invention adds a tear down parameter, and other parameters have the same meaning.
  • ⁇ 81&16> is used to indicate the status of the PDP context activation.
  • the state value is 0, the message is used to deactivate the PDP context.
  • the state value is 1, the message is used to activate the PDP context.
  • the first parameter, the tear down parameter is taken as the second parameter.
  • ⁇ tear ⁇ > indicates that all active PDP contexts with the same PDP address are deactivated.
  • the tear down parameter is "N", it means that only the PDP context corresponding to the specified CID is deactivated; when the tear down parameter is "T” Indicates that all activated PDP contexts with the same PDP address as the specified PDP context are deactivated; if the ⁇ 3 ⁇ 4& down> parameter is not filled, the default is to deactivate only the PDP context corresponding to the specified CID.
  • FIG. 2 discloses a specific process for deactivating a PDP context according to an embodiment of the present invention.
  • the commands involved in the process are also exemplified by a CGACT command.
  • the specific application module in the user terminal generates a CGACT command including a tear down parameter; the application module, such as TE (Terminal Equipment, terminal equipment);
  • the command When the CGACT command is generated, the command includes the state parameter and the CID of the specified PDP context.
  • the specified PDP context can be one or multiple.
  • the tear down parameter and the tear down parameter are specified. The value can be determined according to the user's instruction.
  • the state parameter is 0, the CGACT command is a deactivation command.
  • the specific application module sends the CGACT command including the tear down parameter to the communication interface module, such as MT (Mobile Terminal, mobile terminal);
  • Step (1) describes how to generate a CGACT command including the tear down parameter, which is not difficult to implement according to Table 1 and the prior art.
  • the communication interface module generates a corresponding deactivated PDP context message according to the CGACT command, and in the message indicates deactivating all PDP contexts that use the same PDP address as the specified PDP context and are in an active state;
  • the communication interface module sends the deactivated PDP context message to the CN (Core Network) through the wireless access network;
  • the core network After receiving the message sent by the user equipment, the core network analyzes the message as deactivating the PDP context message, and the message requests to deactivate all the PDP contexts that use the same PDP address and are in an active state. PDP context;
  • the core network finds all PDP contexts that use the same PDP address as the specified PDP context and is in an active state, and deactivates the PDP contexts;
  • Step (6) may further include:
  • the embodiment of the present invention can implement the deactivation operation of multiple PDP contexts in one deactivation process, thereby effectively improving the use efficiency of the communication device.
  • step (3) may specifically include:
  • Step 301 Receive a CGACT command sent by a user side.
  • Step 302 Determine, by using a value of a state parameter included in the CGACT command, that the CGACT command is a deactivation command.
  • Step 303 Determine whether the deactivation command includes a second parameter, that is, a tear down parameter, where the second parameter is used to indicate that the PDP context specified in the deactivation and the deactivation command uses the same PDP address, and is in an active state. If all the PDP contexts are performed; in step 309, a deactivated PDP context message including the specified PDP context is generated for each of the specified PDP contexts in the deactivation command;
  • Step 310 in each deactivation PDP context message, instructs deactivation of all PDP contexts that use the same PDP address and are in an active state with the PDP context included in the message.
  • a specific information element (Information Element) may be set in the deactivated PDP context message, and the corresponding value is set by setting the corresponding value for the specific information unit, for example, set to 1.
  • step (1) If in step (1), the CGACT command generated by the specific application module in the user terminal does not include the tear down parameter, then in step 303, it is determined that the CGACT command does not include the tear down parameter, and the following steps may also be included:
  • Step 304 Determine that the number N of PDP contexts specified in the deactivation command is greater than or equal to 2;
  • Step 305 Query a PDP address used by the specified PDP context.
  • Step 306 Determine, according to the queried PDP address, that there are M pieces of the N PDP contexts.
  • the PDP context uses an identical PDP address, M is an integer greater than or equal to 2 and less than N; and the context of the PDP address is not used in other activated PDP contexts;
  • Step 307 Generate a deactivated PDP context message for the M PDP contexts, and arbitrarily select a PDP context in the M PDP contexts as the deactivated PDP.
  • Step 308 Deactivate the N PDP contexts in the at least one deactivated PDP context message.
  • step 307 only one deactivated PDP context message may be generated for the M PDP contexts, or multiple may be generated.
  • step 306 if it is determined according to the queried PDP address that the N PDP contexts have M PDP contexts using the same PDP address, M is an integer greater than or equal to 2 and less than N; Deactivating a PDP context in the deactivation command, using a context of a PDP address that is the same as the M PDP context, and generating M deactivation PDP context messages for the M PDP contexts;
  • steps 301 and 305 are the same as the implementation process that does not include the second parameter, and steps 306 to 308 are different from the above, and step 306' is used.
  • 308' to indicate, that is, to generate a deactivation PDP context message for those PDP context selections using the same PDP address; the steps 306' to 308' are specifically:
  • Step 306 ′ determining, according to the queried PDP address, that the N PDP contexts have M PDP contexts using the same PDP address, and M is an integer greater than or equal to 2 and less than N;
  • Step 307 ′ a PDP context, generating at least one deactivation PDP context message, and arbitrarily selecting one PDP context and a Tear down parameter in the M PDP contexts as the specified PDP context in the deactivated PDP context message; wherein the at least one release The PDP context included in the activated PDP context message is any one of the M PDP contexts and the Tear down parameter is removed;
  • Step 308' In the deactivate PDP context message, instruct to deactivate all PDP contexts that use the same PDP address as the PDP context included in the message and are in an active state.
  • the specific information unit is used to indicate whether to deactivate all active PDP contexts using the same PDP address;
  • Step (5) may specifically include:
  • Step 51 The core network receives a message sent by the user equipment
  • Step 52 Confirm that the message is a deactivation PDP context message
  • Step 53 Determine that the message is required to deactivate all PDP contexts that use the same PDP address as the specified PDP context and are in an active state;
  • Step 53 may specifically include the following steps:
  • the specific information unit is configured to indicate whether to cancel all PDP contexts that use the same PDP address as the specified PDP context and are in an active state;
  • the core network may receive multiple deactivated PDP context messages, and the messages require deactivation of all PDP contexts that use the same PDP address and are active in the specified PDP context, and two of them may appear.
  • the PDP context specified in the strip or messages uses the same address. After executing one message, when another message is executed, the PDP context specified in the other message and the specified message in the executed message may be further determined. Whether the PDP context uses the same address.
  • step (6) it may choose to send a message that the deactivation is completed directly to the user equipment; if not, deactivate all the PDP addresses that are the same as the PDP context specified in the other message, and are in an active state. PDP context.
  • step (1) when the specific application module in the user equipment generates the deactivation command, it may also query whether the specified multiple PDP contexts use the same PDP address, and use different tear down parameters to set Indicates that different deactivation operations are performed. For example, when CID1 and CID2 use different PDP addresses, you can choose to deactivate all PDP contexts that use the same PDP address as CID1 and are active, and deactivate CID2. In addition to Table 1, the CGACT command syntax can also be shown in Table 2, respectively.
  • the tear down parameter is placed at the end of the AT command, that is, after all the specified PDP contexts.
  • the tear down parameter can be placed before the first specified PDP context.
  • IpAddrl used by CID 1 is different from IpAddr2 used by CID2, either CID1 and CID2 are required to be deactivated, or all PDP contexts using IpAddrl and all PDP contexts using IpAddr2 are deactivated, and CID1 cannot be deactivated at the same time. All PDP contexts for IpAddr2.
  • FIG. 4 discloses an apparatus for deactivating a PDP context according to an embodiment of the present invention.
  • the apparatus may be disposed in a core network, including a first receiving unit 11, a first determining unit 12, and a first query.
  • the apparatus may further include a second judging unit 13.
  • the first receiving unit 11 is configured to receive a message sent by the user equipment; the first determining unit 12 is configured to determine whether the message received by the first receiving unit 11 is a deactivated PDP context message; When the determining unit 12 determines that the message is a deactivated PDP context message, it determines whether the message requires deactivation of all PDP contexts that use the same PDP address and is in an active state with the PDP context specified in the message; the first query unit 14 Used in When the second determination unit 13 determines that the result is YES, it finds all PDP contexts that use the same PDP address and is in an active state with the specified PDP context; the deactivation unit 15 uses the PDP contexts found by the first query unit 14 When the number is not zero, the first query unit 14 is deactivated to check the following, including the specified PDP context.
  • FIG. 5 discloses another apparatus for deactivating a PDP context according to an embodiment of the present invention. Compared with FIG. 4, the return unit 16 is added.
  • the returning unit 16 is configured to send a deactivation completion message to the user equipment after the deactivation unit 15 completes the deactivation operation; or send the deactivation directly to the user equipment when the number of PDP contexts found by the first query unit 14 is zero. Complete the message.
  • FIG. 6 discloses an apparatus for generating a deactivated PDP context message according to an embodiment of the present invention.
  • the apparatus may be disposed in a terminal device, and specifically may be disposed in a communication interface module.
  • the apparatus includes a second receiving unit 21, a third determining unit 22, a fourth determining unit 23, and a generating unit 24.
  • the second receiving unit 21 is configured to receive the command sent by the specific application module.
  • the CGACT command is used as an example in the embodiment, but the CGACT command includes the specified PDP context.
  • the first parameter of the type is the state. a parameter, determining that the CGACT command is a deactivation command;
  • the fourth determining unit 23 is configured to determine, after the third determining unit 22 determines that the CGACT command is a deactivation command, whether the deactivation command includes a second parameter, that is, a teardown parameter; and the generating unit 24 is configured to be in the fourth The determining unit 23 determines that the deactivated PDP context message is generated when the deactivation command includes the second parameter tear down, and indicates that the deactivation is the same as the PDP context used in the message in the deactivation PDP context message. Address, and all PDP contexts that are active.
  • FIG. 7 discloses another apparatus for generating a deactivated PDP context message according to an embodiment of the present invention. Compared with FIG. 6, the detecting unit 25 and the second query unit 26 are added.
  • the detecting unit 25 is configured to determine the number N of PDP contexts specified in the deactivation command received by the second receiving unit 21;
  • the second query unit 26 is configured to query, when the detecting unit 25 determines that the number N of the specified PDP contexts is greater than or equal to 2, the PDP address used by the specified PDP context, and determine the N
  • the generating unit is notified to generate at least one deactivation PDP context message, and the notification further includes any one of the M PDP contexts.
  • the method and apparatus provided in this embodiment can set the specific information unit to indicate the type of deactivation in the deactivate PDP context message, and only need to deactivate the process once to deactivate the same PDP address and use the same PDP address. All the PDP contexts avoid the problem that the deactivation process needs to be performed once the deactivation of each PDP context in the prior art, resulting in a low efficiency of use of the communication device.
  • the spirit and scope of the Ming Thus, it is intended that the present invention cover the modifications and variations of the inventions

Landscapes

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

Description

生成解除激活分组数据协议上下文消息和解除激活分组数据协议上下 文的方法及其装置
本申请要求于 2006 年 12 月 30 日提交中国专利局、 申请号为 200610064666.9,发明名称为"一种解除激活 PDP上下文的方法及其装置"的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及无线通信领域, 特别涉及一种在 GPRS ( General Packet Radio Service, 通用分组无线业务)或 WCDMA ( Wideband Code Division Multiple Access, 宽带码分多址) 系统中解除激活 PDP ( Packet Data Protocol, 分组数 据协议)上下文的方法、 解除激活 PDP的装置、 生成解除激活 PDP的方法及 其装置。
背景技术
GPRS或 WCDMA系统网络结构如图 1所示, 包括 UTRAN ( Universal Terrestril Radio Access Network,通用地面无线接入网路)和 CN( Core Network, 核心网络), 其中无线接入网络处理所有与无线有关的功能, 而核心网絡处理 系统内所有的话音呼叫和数据连接, 并实现与外部网络 ( External Network ) 的交换和路由功能。 UE是用户设备, 与无线接入网络进行数据交互, 为用户 提供电路域和分组域内的各种业务功能。
对 UE进行细分, 可以分为 TE和 MT两部分, TE是具体应用模块, 包含 具体的应用程序 APP, MT是通信接口模块, TE通过 MT接入到无线接入网 络中。 TE和 MT间的接口是 R接口。 AT命令提供了一套标准的命令字, 使得 TE模块和 MT模块间能够进行通信, 如电话业务, 短消息业务等。
在目前 AT命令中, 解除激活(deactive, 将激活状态转变成非激活状态) PDP上下文的处理命令是 CGACT解除激活命令( AT命令是多个命令的总称, CGACT命令 ( Command Gprs Active or deactive , GPRS激活或解除激活命令 ) 是其中的一种, CGACT命令具体又分成 CGACT激活命令和解除激活命令 等), 按照协议的要求, 在用户设备中输入相关的解除激活参数后生成解除激 活命令, 并进而生成解除激活 PDP上下文消息, 网络侧根据该解除激活 PDP 上下文消息, 就能够对指定的 PDP上下文进行解除激活操作, 为方便理解, 可以把 PDP上下文理解为相当于一个软件模块, 一个 PDP上下文具有一个指 示其身份的参数 CID ( Connection Identifier, 连接标识), 因此可以用 CID表 示一个具体的 PDP上下文,例如用 CID1、 CID2表示两个不同的 PDP上下文, 此外多个 PDP上下文可以共用一个 PDP地址。
具体地,解除激活与指定 PDP上下文使用相同 PDP地址的所有 PDP上下 文时, 由于用户事先不知道有哪些 PDP上下文共同使用某一个 PDP地址, 因 此在用户设备中需要利用 TE上的应用程序首先查询出与指定 PDP上下文使用 相同 PDP地址的所有 PDP上下文,然后才艮据这些查到的 PDP上下文的 CID生 成解除激活命令, 再根据所述解除激活命令生成解除激活 PDP上下文消息, 然后由核心网络根据所述解除激活 PDP上下文消息对这些 PDP上下文实现解 除激活。 例如解除激活与 CID1使用相同 PDP地址的所有 PDP上下文(包括 CID1在内) 时, 在用户设备中先查询每个 PDP上下文(包括 CID1在内 ) 的 PDP地址, 根据查询结果得到使用相同 PDP地址的 PDP上下文例如 CID2和 CID3 , 并在解除激活命令中加入 CID2和 CID3 , 再根据该解除激活命令生成 解除激活 PDP上下文消息发送给网络侧, 网络侧根据所述解除激活 PDP上下 文消息执行相应的解除激活操作。
由于现有 AT命令功能的限制, 使得在用户设备侧在生成解除激活 PDP 上下文消息时, 对查询到的每个 PDP上下文都要生成一个消息, 因此网络侧 将会接收到多条消息, 而每条消息都要执行,也就是说进行解除激活操作时对 每个使用该相同地址的 PDP上下文都要执行一次解除激活流程, 因而需要执 行多次解除激活流程, 而一次解除激活流程需要进行多次设备间的信令交互, 包括核心网内部, 接入网内部, 用户设备内部, 以及用户设备通过无线接入网 络与核心网之间的交互, 因此导致通信系统响应速度较慢, 降低了通信设备的 使用效率。
发明内容
本发明实施例提供一种解除激活 PDP上下文的方法、 解除激活 PDP上下 文的装置、 生成解除激活 PDP上下文消息的方法及生成解除激活 PDP上下文 消息的装置, 可以减少执行解除激活流程的次数,提高通信设备的使用效率。; 为解决上述技术问题,本发明实施例提供一种解除激活分组数据协议上下 文的方法, 包括:
接收用户设备发出的解除激活分组数据协议 PDP上下文消息, 所述消息 中包含有指定的 PDP上下文;
查找与所述指定的 PDP上下文使用相同 PDP地址、 且处于激活状态的所 有 PDP上下文;
解除激活查找出的与所述指定的 PDP上下文使用相同 PDP地址、 且处于 激活状态的所有 PDP上下文, 包括该指定的 PDP上下文。
一种解除激活 PDP上下文的装置, 包括:
第一接收单元, 用于接收用户设备发出的消息;
第一判断单元,用于判断所述第一接收单元接收到的消息为解除激活 PDP 上下文消息, 该消息中包括指定的 PDP上下文;
第一查询单元, 用于查找与该指定的 PDP上下文使用相同 PDP地址、 且 处于激活状态的所有 PDP上下文;
解除激活单元, 用于解除激活所述第一查询单元查找出的与该指定的 PDP 上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文, 包括该指定 的 PDP上下文。
一种生成解除激活 PDP上下文消息的方法, 包括:
接收用户侧发送的命令, 根据所述命令中用于表示命令类型的第一参数, 判断出所述命令是解除激活命令;
若判断所述解除激活命令包括第二参数, 则生成解除激活 PDP上下文消 息,其中,所述第二参数用于表示解除激活和所述解除激活命令中指定的 PDP 上下文使用相同 PDP地址、 且处于激活状态的所有的 PDP上下文;
在所述解除激活 PDP上下文消息中指示解除激活与该消息中包括的 PDP 上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文。
一种生成解除激活 PDP上下文消息的装置, 包括:
第二接收单元,用于接收用户侧发送的命令,所述命令中包括指定的 PDP 上下文;
第三判断单元, 用于根据所述命令中用来表示命令类型的第一参数, 判断 出所述命令为解除激活命令; 第四判断单元,用于在所述第三判断单元判断出所述命令为解除激活命令 后, 判断所述解除激活命令是否包括第二参数, 所述第二参数用于表示解除激 活和所述解除激活命令中指定的 PDP上下文使用相同 PDP地址、 且处于激活 状态的所有的 PDP上下文;
生成单元,用于在所述第四判断单元判断出所述解除激活命令中包括第二 参数时 , 生成解除激活 PDP上下文消息, 并在所述解除激活 PDP上下文消息 中指示解除激活与该消息中包括的 PDP上下文使用相同 PDP地址、 且处于激 活状态的所有 PDP上下文。
本发明实施例通过在解除激活 PDP上下文消息中指示解除激活操作的类 的 PDP上下文; 在接收到该解除激活 PDP上下文消息后, 根据该指示查找出 所有符合条件的 PDP上下文, 直接进行解除激活操作。 本实施例提供的方法 和装置避免了现有技术中解除激活每个 PDP上下文时都需要执行一次解除激 活流程从而导致通信设备的使用效率较低的问题。
附图说明
图 1为现有技术中 GPRS或 WCDMA系统网络结构;
图 2为本发明实施例中解除激活操作方法的流程图;
图 3为图 2中生成解除激活 PDP上下文消息的具体过程;
图 4为本发明实施例中解除激活操作装置的结构图之一;
图 5为本发明实施例中解除激活操作装置的结构图之二;
图 6为本发明实施例中生成解除激活 PDP上下文消息的装置结构图之一; 图 Ί为本发明实施例中生成解除激活 PDP上下文消息的装置结构图之二。
具体实施方式
为了解决现有技术下, 网络侧在解除激活时, 对每一个使用相同地址的 PDP上下文都要执行一次解除激活流程,从而导致通信设备的使用效率较低这 个问题, 本发明实施例可以理解为在解除激活 PDP上下文消息过程中设置相 应的内容,所述内容用于通知核心网络在一次解除激活流程中解除激活所有符 合条件的 PDP上下文, 即与指定 PDP上下文使用相同 PDP地址、且处于激活 状态的所有 PDP上下文, 相应地, 核心网絡接收到该解除激活 PDP上下文消 息后, 根据所述内容直接解除激活与指定的 PDP上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文。
本发明实施例在核心网络中进行解除激活操作时, 主要包括如下步骤: 接收用户设备发出的解除激活 PDP上下文消息, 所述解除激活 PDP上下 文消息中包含有指定的 PDP上下文;
判断所述解除激活 PDP上下文消息是否要求解除激活与所述指定的 PDP 上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文;
若是, 查找与所述指定的 PDP上下文使用相同 PDP地址、 且处于激活状 态的所有 PDP上下文;
解除激活查找出的与所述指定的 PDP上下文使用相同 PDP地址、 且处于 激活状态的所有 PDP上下文, 包括该指定的 PDP上下文。
相应地本实施例在用户设备中生成解除激活 PDP上下文消息时, 主要包 括如下步骤, 本实施例中涉及到的命令以 CGACT命令为例, 但并不限于此: 接收用户设备发送的 CGACT命令, 并根据所述 CGACT命令中用于表示 CGACT命令类型的第一参数, 比如状态 state参数, 判断出所述 CGACT命令 是解除激活命令;
判断所述解除激活命令是否包含第二参数,所述第二参数用于表示解除激 活和所述解除激活命令中指定的 PDP上下文使用相同 PDP地址、 且处于激活 状态的所有的 PDP上下文;
在判断出所述解除激活命令中包含所述第二参数时, 生成解除激活 PDP 上下文消息;
并在所述解除激活 PDP 上下文消息中指示解除激活与该消息中包括的 PDP上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文。
本发明实施例在判断出解除激活命令要求解除所有符合条件的 PDP上下 文,即和指定的 PDP上下文使用相同 PDP地址、且处于激活状态的所有的 PDP 上下文时,在生成的解除激活 PDP上下文消息中指示解除激活操作的类型为: 上下文; 核心网络在接收到该解除激活 PDP上下文消息后, 根据该指示查找 出所有符合条件的 PDP上下文, 直接进行解除激活操作。 本实施例在一次解 除激活流程中就能解除激活所有符合条件的 PDP上下文, 避免了现有技术中 解除激活每个 PDP上下文时都需要执行一次解除激活流程从而导致通信设备 的使用效率较低的问题。
下面对本实施例的具体实现过程做进一步的介绍。
请参阅表 1 ,表 1本发明实施例提供的命令,该命令以 CGACT命令为例, 该命令中可以包含多个指定的 PDP上下文, 在 CGACT命令中要求解除激活 所有符合条件的 PDP上下文时, 可以通过增加参数来实现。 与现有的 CGACT 命令相比, 本发明实施例提供的 CGACT命令增加了拆除(tear down ) 参数, 其它参数含义不变。 其中 <81&16>用于指示 PDP上下文激活的状态, state值为 0时, 表示该消息用来解除激活 PDP上下文; state值为 1时, 表示该消息用 来激活 PDP上下文; 这里将 state参数当作第一参数 , tear down参数当作第二 参数。
<tear \^>表示解除激活使用相同 PDP地址的所有处于激活状态的 PDP 上下文, 在 tear down参数为 "N"时, 表示只解除激活指定 CID对应的 PDP上 下文; tear down参数为 "T"时,表示解除激活与指定的 PDP上下文用相同 PDP 地址的所有的已经激活的 PDP上下文; 如果不填<¾& down>参数, 则默认为 只解除激活指定 CID对应的 PDP上下文。当然也可以将 tear down参数设为 0、 1来表示只解除激活指定 CID对应的 PDP上下文还是解除激活与指定的 PDP 新 CGACT命令语法
命令 可能的响应
+CGACT=[<state> [,<cid>[,<tear down>] OK
[,<cid>[,<tear down>] [,...]]]] ERROR
+CGACT: <cid>, <state>
[<CR><LF>+CGACT: <cid>,
+CGACT?
<state>
[···]]
+CGACT: (list of supported
+CGACT=?
<state>s) 请参阅图 2所示, 图 2揭示了本发明实施例解除激活 PDP上下文的一个 具体过程, 在该过程中涉及到的命令也以 CGACT命令为例。
( 1 )、用户终端中的具体应用模块生成包含 tear down参数在内的 CGACT 命令; 所述应用模块, 比如 TE ( Terminal Equipment, 终端设备);
具体应用模块在生成 CGACT命令时, 该命令中包含 state参数, 以及指 定的 PDP上下文的 CID, 指定 PDP上下文可以是一个, 也可以是多个, 此外 还包括 tear down参数 , tear down参数的具体取值可以根据用户的指令来确定, 在 state参数为 0时, 该 CGACT命令为解除激活命令。
( 2 )、 具体应用模块将该包含 tear down参数在内的 CGACT命令发送给 通信接口模块 , 比如 MT ( Mobile Terminal , 移动终端);
步骤( 1 )描述了如何生成包含 tear down参数在内的 CGACT命令, 根据 表 1和现有技术不难加以实现。
( 3 )、 通信接口模块根据该 CGACT命令生成相应的解除激活 PDP上下 文消息, 并在该消息中指示解除激活与所述指定的 PDP上下文使用相同 PDP 地址、 且处于激活状态的所有 PDP上下文;
( 4 )、 通信接口模块将该解除激活 PDP上下文消息通过无线接入网络发 送给 CN ( Core Network, 核心网络);
( 5 )、核心网络接收到用户设备发送过来的消息后,分析出该消息为解除 激活 PDP上下文消息, 且该消息要求解除激活所述指定的 PDP上下文使用相 同 PDP地址、 且处于激活状态的所有 PDP上下文; 以及
( 6 )、核心网络查找出所有与所述指定的 PDP上下文使用相同 PDP地址、 且处于激活状态的 PDP上下文, 并解除激活这些 PDP上下文;
步骤(6 )之后还可以包括:
( 7 )、核心网络在完成解除激活操作后, 向用户设备中的通信接口模块发 送解除激活完成消息;
( 8 )、 进一步地, 如果 PDP上下文被解除激活前核心网络和用户设备之 间存在 RAB ( Radio Access Bearer无线链路承载) , 则核心网络和用户设备 之间进行 RAB释放操作, 此步骤已为现有技术所揭示, 此处不再详述。 ( 9 )在用户设备中通信接口模块通知具体应用模块该 CGACT命令已执 行完成。
通过上述描述,本发明实施例可以在一次解除激活流程中实现对多个 PDP 上下文的解除激活操作, 有效提高了通信设备的使用效率。
请参阅图 3所示, 步驟(3 )可以具体包括:
步骤 301 , 接收用户侧发送的 CGACT命令;
步骤 302 ,利用该 CGACT命令中包含的 state参数的取值确定出该 CGACT 命令是解除激活命令;
步骤 303, 判断该解除激活命令中是否包含第二参数, 即 tear down参数, 所述第二参数用于表示解除激活和所述解除激活命令中指定的 PDP上下文使 用相同 PDP地址、 且处于激活状态的所有 PDP上下文; 若是执行步骤 309; 步骤 309,对所述解除激活命令中每个指定的 PDP上下文,均生成一个包 含该指定的 PDP上下文在内的解除激活 PDP上下文消息;
步骤 310,在每个解除激活 PDP上下文消息中指示解除激活与该消息中包 括的 PDP上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文。
具体的在进行指示时, 可以在解除激活 PDP上下文消息中设置一个特定 信息单元( Information Element ), 并通过对该特定信息单元设置相应的值来完 成, 例如设置为 1。
如果在步骤(1 ) 中, 用户终端中的具体应用模块生成的 CGACT命令不 包含 tear down参数, 那么在步骤 303就会判断出该 CGACT命令不包含 tear down参数, 这时还可以包括如下步骤:
步骤 304, 确定出所述解除激活命令中指定的 PDP上下文的个数 N大于 等于 2;
步骤 305, 查询所述指定的 PDP上下文所使用的 PDP地址;
步骤 306, 根据查询出的 PDP地址确定出所述 N个 PDP上下文有 M个
PDP上下文使用一个相同的 PDP地址, M为大于等于 2且小于 N的整数; 且 其他激活的 PDP上下文中没有使用该 PDP地址的上下文;
步骤 307, 对该 M个 PDP上下文, 生成一个解除激活 PDP上下文消息, 并在该 M个 PDP上下文中任意选择一个 PDP上下文作为该解除激活 PDP上 下文消息中的指定 PDP上下文;
步骤 308, 在所述至少一个解除激活 PDP上下文消息中指示解除激活 N 个 PDP上下文。
在步骤 307中, 对该 M个 PDP上下文, 可以只生成一个解除激活 PDP 上下文消息, 也可以生成多个;
优选的, 在步骤 306中, 若才艮据查询出的 PDP地址确定出所述 N个 PDP 上下文有 M个 PDP上下文使用一个相同的 PDP地址, M为大于等于 2且小 于 N的整数;且其他解除激活命令中激活的 PDP上下文中有使用和所述 M个 PDP上下文相同的 PDP地址的上下文, 则为该 M个 PDP上下文生成 M个解 除激活 PDP上下文消息;
在所述 M个解除激活 PDP上下文消息中指示解除激活该 M个 PDP上下 文。
此外, 如果有一组 PDP上下文使用地址 IpAddrl , 另一组 PDP上下文使 用地址 IpAddr2 , 且 IpAddrl和 IpAddr2不相同, 那么对这两组 PDP上下文, 可以选择只生成两个解除激活 PDP上下文消息。
当然, 在步骤 303 中判断出该解除激活命令中包含第二参数后, 其步骤 301与步骤 305与没有包括第二参数的实现过程相同, 而步骤 306至 308与上 述不同, 用步骤 306' 至 308' 来表示, 也就是说, 对那些使用相同 PDP地址 的 PDP上下文选择生成一条解除激活 PDP上下文消息即可; 所述步骤 306' 至 308' 具体为:
步骤 306' :才艮据查询出的 PDP地址确定出所述 N个 PDP上下文有 M个 PDP上下文使用一个相同的 PDP地址, M为大于等于 2且小于 N的整数; 步骤 307' : 对该 M个 PDP上下文, 生成至少一个解除激活 PDP上下文 消息, 并在该 M个 PDP上下文中任意选择一个 PDP上下文和 Tear down参数 作为该解除激活 PDP上下文消息中的指定 PDP上下文; 其中, 所述至少一个 解除激活 PDP上下文消息中包括的 PDP上下文为所述 M个 PDP上下文中任 意一个 PDP上下文和拆除 Tear down参数;
步骤 308' :在所述解除激活 PDP上下文消息中指示解除激活与该消息中 包括的 PDP上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文。 指示解除激活与指定 PDP上下文使用相同 PDP地址、 且处于激活状态的 所有 PDP上下文时, 可以通过在解除激活 PDP上下文消息中设定一个特定信 息单元, 并设置该特定信息单元的值设为 1来实现, 所述特定信息单元用于表 示是否解除激活使用相同 PDP地址的所有处于激活状态的 PDP上下文;
步骤(5 )可以具体包括:
步骤 51 , 核心网 矣收用户设备发出的消息;
步骤 52, 确认该消息是解除激活 PDP上下文消息;
步骤 53, 判断该消息要求解除激活与所述指定的 PDP上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文;
步骤 53具体可以包括如下步骤:
判断该消息中是否包含特定信息单元,所述特定信息单元用于表示是否解 除激活与所述指定的 PDP上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文; 以及
在该消息中包含特定信息单元时, 进一步判断出该信息单元的值为 1。 在实际应用中, 核心网络可能接收到多条解除激活 PDP上下文消息, 并 且所述消息均要求解除激活与指定的 PDP上下文使用相同 PDP地址且处于激 活状态的所有 PDP上下文, 有可能会出现其中两条或多条消息中指定的 PDP 上下文使用相同的地址, 那么执行完一个消息后, 执行下面的另一个消息时, 可以进一步判断该另一个消息中指定的 PDP上下文与已经执行的消息中指定 的 PDP上下文是否使用相同的地址。
若是, 在步骤(6 ) 中, 可以选择直接向用户设备发送解除激活已完成的 消息; 若否, 解除激活与所述另一个消息中指定的 PDP上下文使用相同 PDP 地址、 且处于激活状态的所有 PDP上下文。
进一步地, 在步驟(1 ) 中, 用户设备中具体应用模块在生成解除激活命 令时, 还可以查询指定的多个 PDP上下文是否使用相同的 PDP地址, 在使用 设置不同的 tear down参数, 用以指示执行不同的解除激活操作, 例如 CID1 和 CID2使用不同的 PDP地址时,可以选择解除激活所有与 CID1使用相同 PDP 地址且处于激活状态的 PDP上下文, 以及解除激活 CID2。 除表 1外 , CGACT命令语法还可以分别如表 2所示,
表 2 新 CGACT命令语法
Figure imgf000013_0001
与表 1相比, tear down参数放置在 AT命令的最后, 即所有指定的 PDP 上下文的后面,此外还可以将 tear down参数放置在第一个指定的 PDP上下文 之前, 这两种不同的格式含义相同, 意味对所有指定的 PDP上下文均要求执 行相同类型的解除激活操作, 这时若指定的 PDP上下文为多个且使用不同的 PDP地址时, 例如有两个指定的 PDP上下文 CID 1和 CID2 , 且 CID 1 使用的 IpAddrl和 CID2使用的 IpAddr2不同时, 要么要求解除激活 CID1和 CID2, 要么要求解除激活使用 IpAddrl的所有 PDP上下文和使用 IpAddr2的所有 PDP 上下文,而不能同时要求解除激活 CID1、及使用 IpAddr2的所有 PDP上下文。
请参阅图 4所示, 图 4揭示了本发明实施例提供的一个解除激活 PDP上 下文的装置, 该装置可以设置在核心网絡中, 包括第一接收单元 11、 第一判 断单元 12、 第一查询单元 14和解除激活单元 15。 优选的, 该装置还可以包括 第二判断单元 13。
其中第一接收单元 11用于接收用户设备发出的消息;第一判断单元 12用 于判断第一接收单元 11接收到的消息是否为解除激活 PDP上下文消息; 第二 判断单元 13用于在第一判断单元 12确定出所述消息为解除激活 PDP上下文 消息时, 判断该消息是否要求解除激活与所述消息中指定的 PDP上下文使用 相同 PDP地址且处于激活状态的所有 PDP上下文; 第一查询单元 14用于在 第二判断单元 13判断结果为是时, 查找出所有与该指定的 PDP上下文使用相 同 PDP地址且处于激活状态的 PDP上下文; 解除激活单元 15用于在第一查 询单元 14查找出的 PDP上下文个数不为零时, 解除激活第一查询单元 14查 下文, 包括该指定的 PDP上下文。
请参阅图 5所示, 图 5揭示了本发明实施例提供的另一个解除激活 PDP 上下文的装置, 与图 4相比, 增加了返回单元 16。
返回单元 16用于在解除激活单元 15完成解除激活操作后,向用户设备发 送解除激活完成消息; 或者在第一查询单元 14查找出的 PDP上下文个数为零 时, 直接向用户设备发送解除激活完成消息。
请参阅图 6所示,图 6揭示了本发明实施例提供的一个生成解除激活 PDP 上下文消息的装置,该装置可以设置在终端设备中,具体的说可以设置在通信 接口模块中。 该装置包括第二接收单元 21、 第三判断单元 22、 第四判断单元 23及生成单元 24。
其中第二接收单元 21用于接收具体应用模块发送过来的命令, 本实施例 以 CGACT命令为例, 但并不限于此, 所述 CGACT命令中包含指定的 PDP 上下文; 型的第一参数即 state参数, 判断出所述 CGACT命令是解除激活命令;
第四判断单元 23, 用于在第三判断单元 22判断出所述 CGACT命令是解 除激活命令后 , 判断所述解除激活命令是否包含第二参数即 teardown参数; 生成单元 24, 用于在第四判断单元 23判断出所述解除激活命令中包含第 二参数 tear down时, 生成解除激活 PDP上下文消息, 并在所述解除激活 PDP 上下文消息中指示解除激活与该消息中包括的 PDP上下文使用相同 PDP地 址、 且处于激活状态的所有 PDP上下文。
请参阅图 7所示, 图 7揭示了本发明实施例提供的另一个生成解除激活 PDP上下文消息的装置,与图 6相比,增加了检测单元 25及第二查询单元 26。
检测单元 25, 用于确定第二接收单元 21接收到的解除激活命令中指定的 PDP上下文的个数 N; 第二查询单元 26,用于在检测单元 25确定出所述指定的 PDP上下文的个 数 N大于等于 2时, 查询所述指定的 PDP上下文所使用的 PDP地址, 并在确 定出所述 N个 PDP上下文中有有 M个 PDP上下文使用一个相同 PDP地址时, 通知所述生成单元生成至少一个解除激活 PDP上下文消息, 且所述通知中还 包括所述 M个 PDP上下文中任意一个 PDP上下文。
本实施例提供的方法和装置通过在解除激活 PDP上下文消息中设置特定 信息单元指示解除激活的类型,只需要一次解除激活流程就可以解除激活与指 定的 PDP上下文使用相同 PDP地址、且处于激活状态的所有 PDP上下文,避 免了现有技术中解除激活每个 PDP上下文时都需要执行一次解除激活流程从 而导致通信设备的使用效率较低的问题。 明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及 其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权 利 要 求
1、 一种解除激活分组数据协议上下文的方法, 其特征在于, 包括步骤: 接收用户设备发出的解除激活分组数据协议 PDP上下文消息, 该消息中 包括指定的 PDP上下文;
查找与所述指定的 PDP上下文使用相同 PDP地址、 且处于激活状态的所 有 PDP上下文;
解除激活查找出的与所述指定的 PDP上下文使用相同 PDP地址、 且处于 激活状态的所有 PDP上下文, 包括该指定的 PDP上下文。
2、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括: 判断该消 息是否要求解除激活与所述指定的 PDP上下文使用相同 PDP地址、 且处于激 活状态的所有 PDP上下文, 若是, 则执行查找的步骤。
3、 如权利要求 2所述的方法, 其特征在于, 判断该消息是否要求解除激 活与所述指定的 PDP上下文使用相同 PDP地址、 且处于激活状态的所有 PDP 上下文具体为:
判断该消息中是否包括特定信息单元, 若是, 则进一步判断该信息单元的 值, 其中, 所述特定信息单元用于表示是否解除激活与所述指定的 PDP上下 文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文。
4、 如权利要求 3所述的方法, 其特征在于, 若所述特定信息单元值为 1 时, 则认为该消息要求解除激活与指定的 PDP上下文使用相同 PDP地址的所 有处于激活状态的 PDP上下文。
5、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括:
向用户设备发送消息通知解除激活已完成。
6、 如权利要求 1所述的方法, 其特征在于, 在解除激活所述查找出的所 有 PDP上下文之后, 所述方法还包括:
接收另一个解除激活 PDP上下文消息, 所述另一个消息中包括另一个指 定的 PDP上下文;
若判断该另一个消息要求解除激活与所述另一个指定的 PDP上下文使用 相同 PDP地址、 且处于激活状态的所有 PDP上下文; 则确定所述另一个指定 的 PDP上下文所使用的 PDP地址; 判断所述指定的 PDP上下文使用的 PDP地址与所述另一个指定的 PDP上 下文使用的 PDP地址是否相同;
若是, 则向用户设备发送消息通知解除激活已完成。
7、 一种生成解除激活 PDP上下文消息的方法, 其特征在于, 包括步骤: 接收用户侧发送的命令, 根据所述命令中用于表示命令类型的第一参数, 判断出所述命令为解除激活命令;
若判断所述解除激活命令中包括第二参数, 则生成解除激活 PDP上下文 消息, 其中, 所述第二参数用于表示解除激活和所述解除激活命令中指定的 PDP上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文;
在所述解除激活 PDP上下文消息中指示解除激活与该消息中包括的 PDP 上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文。
8、 如权利要求 7所述的方法, 其特征在于, 所述生成解除激活 PDP上下 文消息具体为:
对所述解除激活命令中每个指定的 PDP上下文, 均生成一个包括该指定 的 PDP上下文在内的解除激活 PDP上下文消息。
9、 如权利要求 7所述的方法, 其特征在于, 所述生成解除激活 PDP上下 文消息具体为:
确定所述解除激活命令中指定的 PDP上下文的个数 N;
在 N大于等于 2时, 查询所述指定的 PDP上下文所使用的 PDP地址; 根据所述 PDP地址判断所述指定的 PDP上下文中是否存在使用相同 PDP 地址的 PDP上下文;
在判断出所述 N个 PDP上下文中有 M个 PDP上下文使用一个相同 PDP 地址时, M为大于等于 2且小于 N的整数, 则对该 M个 PDP上下文, 生成至 少一个解除激活 PDP上下文消息, 所述至少一个解除激活 PDP上下文消息中 包括的 PDP上下文为所述 M个 PDP上下文中任意一个 PDP上下文。
10、 如权利要求 7所迷的方法, 其特征在于, 若判断所述解除激活命令中 不包括所述第二参数时, 则所述方法还包括:
确定所述解除激活命令中指定的 PDP上下文的个数 N;
在 N大于等于 2时, 查询所述指定的 PDP上下文所使用的 PDP地址; 根据所述 PDP地址判断所述指定的 PDP上下文中是否存在使用相同 PDP 地址的 PDP上下文;
在判断出所述 N个 PDP上下文中有 M个 PDP上下文使用一个相同 PDP 地址时, M为大于等于 2且小于 N的整数,且其它解除激活命令中激活的 PDP 上下文中没有使用该 PDP地址的上下文, 则对该 M个 PDP上下文,生成至少 一个解除激活 PDP上下文消息, 所述至少一个解除激活 PDP上下文消息中包 括的 PDP上下文为所述 M个 PDP上下文中任意一个 PDP上下文;
在所述至少一个解除激活 PDP上下文消息中指示解除激活该 N个 PDP上 下文。
11、 如权利要求 10所述的方法, 其特征在于, 所述方法还包括: 若其它 解除激活命令中激活的 PDP上下文中有使用和所述 M个 PDP上下文相同的 PDP地址的上下文, 则为该 M个 PDP上下文生成 M个解除激活 PDP上下文 消息;
在所述 M个解除激活 PDP上下文消息中指示解除激活该 M个 PDP上下 文。
12、 如权利要求 7、 9、 10或 11所述的方法, 其特征在于, 所述指示解除 激活与该消息中包括的 PDP上下文使用相同 PDP地址、 且处于激活状态的所 有 PDP上下文具体为:
在所述消息中设定一个特定信息单元,所述特定信息单元用于表示是否解 将该特定信息单元的值设为 1。
13、 一种解除激活 PDP上下文的装置, 其特征在于, 包括:
第一接收单元, 用于接收用户设备发出的消息;
第一判断单元,用于判断所述第一接收单元接收到的消息为解除激活 PDP 上下文消息, 该消息中包括指定的 PDP上下文;
第一查询单元, 用于查找与该指定的 PDP上下文使用相同 PDP地址、 且 处于激活状态的所有 PDP上下文;
解除激活单元,用于解除激活所述第一查询单元查找出的与该指定的 PDP 上下文使用相同 PDP地址、 且处于激活状态的所有 PDP上下文, 包括该指定 的 PDP上下文。
14、 如权利要求 13所述的装置, 其特征在于, 还包括:
第二判断单元 ,用于在所述第一判断单元确定出所述消息为解除激活 PDP 上下文消息时, 判断该消息是否要求解除激活与所述消息中指定的 PDP上下 发送给查询单元。
15、 如权利要求 13或 14所述的装置, 其特征在于, 还包括:
返回单元,用于在所述解除激活单元完成解除激活操作后或者在所述查询 单元查找出的 PDP上下文个数为零时, 向用户设备发送解除激活完成消息。
16、 一种生成解除激活 PDP上下文消息的装置, 其特征在于, 包括: 第二接收单元,用于接收用户侧发送的命令,所述命令中包括指定的 PDP 上下文;
第三判断单元, 用于根据所述命令中用来表示命令类型的第一参数, 判断 出所述命令为解除激活命令;
第四判断单元,用于在所述第三判断单元判断出所述命令为解除激活命令 后, 判断所述解除激活命令是否包括第二参数, 所述第二参数用于表示解除激 活和所述解除激活命令中指定的 PDP上下文使用相同 PDP地址、 且处于激活 状态的所有的 PDP上下文;
生成单元 ,用于在所述第四判断单元判断出所述解除激活命令中包括第二 参数时, 生成解除激活 PDP上下文消息, 并在所述解除激活 PDP上下文消息 中指示解除激活与该消息中包括的 PDP上下文使用相同 PDP地址、 且处于激 活状态的所有 PDP上下文。
17、 如权利要求 16所述的装置, 其特征在于, 还包括:
检测单元, 用于确定所述解除激活命令中指定的 PDP上下文的个数 N; 第二查询单元, 用于在所述检测单元确定出所述指定的 PDP上下文的个 数 N大于等于 2时, 查询所述指定的 PDP上下文所使用的 PDP地址, 并在确 定出所述 N个 PDP上下文中有有 M个 PDP上下文使用一个相同 PDP地址时, 通知所述生成单元生成至少一个解除激活 PDP上下文消息, 且所述通知中还 包括所述 M个 PDP上下文中任意一个 PDP上下文。
PCT/CN2007/071343 2006-12-30 2007-12-27 Génération d'un message de désactivation de contexte pdp, dispositif et procédé pour désactiver un contexte pdp WO2008080345A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2006100646669A CN1997008B (zh) 2006-12-30 2006-12-30 一种解除激活pdp上下文的方法及其装置
CN200610064666.9 2006-12-30

Publications (1)

Publication Number Publication Date
WO2008080345A1 true WO2008080345A1 (fr) 2008-07-10

Family

ID=38251937

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/071343 WO2008080345A1 (fr) 2006-12-30 2007-12-27 Génération d'un message de désactivation de contexte pdp, dispositif et procédé pour désactiver un contexte pdp

Country Status (2)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997008B (zh) * 2006-12-30 2011-01-19 华为技术有限公司 一种解除激活pdp上下文的方法及其装置
WO2015032013A1 (en) * 2013-09-06 2015-03-12 Intel IP Corporation Network connection or disconnection for mobile devices
CN110856248B (zh) * 2019-11-25 2022-07-15 北京简约纳电子有限公司 Lte单模系统pdp管理与去激活算法

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 (zh) * 2004-08-27 2006-03-01 华为技术有限公司 二次激活数据转发方法及其设备
CN1809052A (zh) * 2005-01-19 2006-07-26 华为技术有限公司 一种分组数据协议上下文的激活方法
CN1997008A (zh) * 2006-12-30 2007-07-11 华为技术有限公司 一种解除激活pdp上下文的方法及其装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327742C (zh) * 2005-01-20 2007-07-18 华为技术有限公司 一种实现多媒体组播广播业务去激活的方法

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 (zh) * 2004-08-27 2006-03-01 华为技术有限公司 二次激活数据转发方法及其设备
CN1809052A (zh) * 2005-01-19 2006-07-26 华为技术有限公司 一种分组数据协议上下文的激活方法
CN1997008A (zh) * 2006-12-30 2007-07-11 华为技术有限公司 一种解除激活pdp上下文的方法及其装置

Also Published As

Publication number Publication date
CN1997008B (zh) 2011-01-19
CN1997008A (zh) 2007-07-11

Similar Documents

Publication Publication Date Title
US7733824B2 (en) Fixed access point for a terminal device
TW201012254A (en) A method and an arrangement for legacy fallback between communication network systems
WO2009094837A1 (en) A method for selecting a policy and charging rules function server on a non-roaming scene
WO2011023086A1 (zh) 一种基于多连接的网络选择方法及装置
WO2009094916A1 (fr) Procédé, système et dispositif de commande pour redémarrage après défaillance dans le domaine circuit
TW200537863A (en) Enhancement of packet transfer mode when circuit switched resources are requested
EP3490280B1 (en) Session management entity relocation
EP4124096A1 (en) Communication method, apparatus and system
JP2021503200A (ja) 通信端末および通信セッションを確立する方法
WO2013181805A1 (zh) 回到长期演进网络的方法、移动交换中心及系统
WO2012041185A1 (zh) 一种通知能力的方法和网络拥塞控制的方法、系统及设备
JP2019537854A (ja) データ接続確立方法及び端末装置
WO2022007484A1 (zh) 重定向方法、网络设备、终端设备及可读存储介质
TWI746768B (zh) 用於隨機接入的方法、終端設備和網路設備
EP3595345B1 (en) Control plane connection management method and device
JP2008522486A (ja) Smmケイパビリティ配信方法
WO2014205621A1 (zh) 一种过载控制方法及装置
JP2018531536A (ja) ユーザプレーンゲートウェイ更新方法及び装置
JP2018531536A6 (ja) ユーザプレーンゲートウェイ更新方法及び装置
JP2010508775A (ja) 技術間ネットワークにおける相互動作のための方法および装置
WO2008080345A1 (fr) Génération d&#39;un message de désactivation de contexte pdp, dispositif et procédé pour désactiver un contexte pdp
JP2023537154A (ja) セッション更新方法、端末及びネットワーク側機器
WO2015117271A1 (zh) 一种标识交互方法及设备
TW200805974A (en) Activation of multiple bearer services in a long term evolution system
WO2009117940A1 (zh) 小区更新重配置方法、系统和设备

Legal Events

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

Ref document number: 07846169

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07846169

Country of ref document: EP

Kind code of ref document: A1