WO2016026138A1 - 一种pdp/pdn上下文的激活方法、设备及系统 - Google Patents

一种pdp/pdn上下文的激活方法、设备及系统 Download PDF

Info

Publication number
WO2016026138A1
WO2016026138A1 PCT/CN2014/085016 CN2014085016W WO2016026138A1 WO 2016026138 A1 WO2016026138 A1 WO 2016026138A1 CN 2014085016 W CN2014085016 W CN 2014085016W WO 2016026138 A1 WO2016026138 A1 WO 2016026138A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
subscription information
local
default
pdp
Prior art date
Application number
PCT/CN2014/085016
Other languages
English (en)
French (fr)
Inventor
石迎生
陈靖
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP14899930.3A priority Critical patent/EP3171643A4/en
Priority to PCT/CN2014/085016 priority patent/WO2016026138A1/zh
Priority to CN201480033934.3A priority patent/CN105519218A/zh
Priority to KR1020177007034A priority patent/KR101784902B1/ko
Priority to BR112017003526A priority patent/BR112017003526A2/pt
Publication of WO2016026138A1 publication Critical patent/WO2016026138A1/zh
Priority to US15/437,905 priority patent/US20170164276A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/29Control channels or signalling for resource management between an access point and the access point controlling device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/51Allocation or scheduling criteria for wireless resources based on terminal or device properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/186Processing of subscriber group data

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device, and system for activating a PDP/PDN context. Background technique
  • the control node such as the mobility management entity mainly performs the functions of routing and forwarding of packet data, encryption and authentication, session management, mobility management, logical link management, bill generation and output.
  • the control node implements routing and data forwarding between the MS (Mobile Station) user and the GGSN (Gate GPRS Support Node) or the P-GW (PDN Gateway, PDN Gateway).
  • PDP Packet Data Protocol Context
  • PDN Packet Data Network
  • the control node When the MS user attaches, the control node obtains the subscription information of the MS user through a server such as an HLR/HSS (Home Location Register/Home Subscriber Server), and after the control node activates the PDP/PDN context according to the subscription information, MS users can transfer business data.
  • a server such as an HLR/HSS (Home Location Register/Home Subscriber Server)
  • HLR/HSS Home Location Register/Home Subscriber Server
  • the control node activates the PDP/PDN context, and mainly selects the subscription information for activation according to the PDP type, the PDP address, and the APN (Access Point Name) carried in the activation request message sent by the MS user, and then completes the subscription information for activation.
  • Activation of the PDP/PDN context The control node needs to obtain all the subscription information of the MS user from the server, and filter the subscription information according to the requirements of the PDP type, the PDP address, and the APN in the activation request message, when only the presence exists.
  • the subscription information is selected for activation; when there are at least two sets of non-wild card subscription information that meet the requirements, and there is subscription information including a default Default APN, the selection includes a default Default.
  • the group subscription information of the APN is used for activation; when the subscription information that meets the requirements is only the wild card subscription information, the locally configured local Local APN for the MS user is invoked, and activated by the wild card subscription information; Signing letter that meets the requirements In the case of interest, the non-wild card subscription information consistent with the Local APN is preferentially invoked. If there is no non-wild card subscription information consistent with the Local APN, the pre-designated subscription information in the non-wild card subscription information provided by the server is used for the activation.
  • the control node can only select the subscription information including the Default APN from the multiple sets of data that meet the requirements for activation. How many times the activation request is activated, the service corresponding to the Default APN can only be reused after the activation. In this scenario, the service type that the MS user can apply is too single.
  • the control node locally configures only one Local APN for the MS user. When the local APN is required to be activated, the MS user can only use the service corresponding to the Local APN. This also brings the problem that the service type that the MS user can apply is too single.
  • a control node provided by the first aspect of the embodiments of the present application includes:
  • An obtaining module configured to acquire subscription information of at least one group of users
  • the first activation module when there is no subscription information that satisfies the matching requirement, is used to preferentially select a group of subscription information activation packets including the unused default access point name Default APN from the subscription information of the at least one group of users.
  • Data protocol PDP/packet data network PDN context
  • the second activation module when there are at least two sets of non-wild card subscription information that meet the matching requirement, is used to preferentially select one of the non-wild card subscription information that meets the matching requirement from the at least two groups, and includes a set of unused Default APNs.
  • the subscription information activates the PDP/PDN context;
  • a third activation module configured to select an unused Local APN from the at least one Local APN when the wild card subscription information that meets the matching requirement is present, and activate the PDP/PDN context in conjunction with the wild card subscription information.
  • the method further includes:
  • Adding a module configured to extract, from the subscription information of the at least one group of users, a Default APN The subscription information is added to the Default APN subscription information queue;
  • the adding module is further configured to extract, from the subscription information remaining after the subscription information including the Default APN, the subscription information that is consistent with the at least one Local APN to be added to the Local APN subscription information queue;
  • the adding module is further configured to add the non-wild card subscription information remaining after the signing information that is consistent with the at least one Local APN to the other other APN subscription information queue.
  • the default APN subscription information queue includes at least a first Default APN subscription information and a second Default APN subscription information, where a Default APN has a higher priority than the second Default APN,
  • the first activation module includes:
  • a first query unit configured to query whether a Default APN in the first Default APN subscription information exists in a used Default APN list;
  • the first query unit is further configured to query whether a Default APN in the first Default APN subscription information exists in the used Default APN list, and query whether a Default APN in the second Default APN subscription information exists.
  • the used Default APN list is used;
  • the first query unit is further configured to: when the Default APN in the second Default APN subscription information does not exist in the used Default APN list, send the first selected prompt message to the first selected unit;
  • the first selecting unit after receiving the first selected prompt message, preferentially selecting the second Default APN subscription information as subscription information for activating the PDP/PDN context;
  • a first activation unit configured to activate the PDP/PDN context according to the second Default APN subscription information
  • a first adding unit configured to add a Default APN in the second Default APN subscription information to the used Default APN list.
  • the first activation module when the subscription information of the at least one group of users does not exist, includes the unused The subscription information of the Default APN is further used to select a subscription information that is consistent with the unused Local APN from the Local APN subscription information queue to activate the PDP/PDN context.
  • the local APN subscription information queue includes at least a first Local APN subscription information and a second Local APN subscription information, where a Local APN has a higher priority than the second Local APN,
  • the first activation module includes:
  • a second query unit configured to query whether the Local APN in the first Local APN subscription information exists in the first used Local APN list
  • the second query unit is further configured to query the Local APN in the second Local APN subscription information when the Local APN in the first Local APN subscription information exists in the first used Local APN list. Whether it exists in the first used Local APN list;
  • the second query unit is further configured to: when the local APN in the second Local APN subscription information does not exist in the first used Local APN list, send the second selected prompt message to the second selected Unit
  • a second selecting unit configured to: after receiving the second selected prompt message, select the second Local APN subscription information as subscription information for activating the PDP/PDN context;
  • a second activation unit configured to activate the PDP/PDN context according to the second Local APN subscription information
  • a second adding unit configured to add a Local APN in the second Local APN subscription information to the first used Local APN list.
  • the first activation module when there is no subscription information that is consistent with the unused Local APN, The PDP/PDN context is activated by selecting a set of subscription information including the unused other APN from the other APN subscription information queue.
  • the other APN subscription information queue includes at least a first Other APN subscription information, and a second
  • the priority of the first Other APN is higher than the priority of the second Other APN
  • the first activation module includes:
  • a third query unit configured to query Other APN in the first Other APN subscription information No exists in the used Other APN list
  • the third query unit is further configured to query whether the Other APN in the first Other APN subscription information exists in the used Other APN list, and query whether the Other APN in the second Other APN subscription information exists. Used in the other APN list;
  • the third query unit is further configured to: when the Other APN in the second Other APN subscription information does not exist in the used Other APN list, send a third selected prompt message to the third selected unit;
  • a third selecting unit configured to: after receiving the third selected prompt message, select the second Other APN subscription information as subscription information for activating the PDP/PDN context;
  • a third activation unit configured to activate the PDP/PDN context according to the second Other APN subscription information
  • a third adding unit configured to add the Other APN in the second Other APN subscription information to the used Other APN list.
  • the acquiring module includes: a sending unit, configured to send a subscription information request to a server;
  • the receiving unit is configured to receive the subscription information of the at least two groups of users sent by the server, and the Default APN in any of the subscription information of the at least two groups of users is different from the Default APN in the other subscription information.
  • the matching requirement includes one or more of a PDP type and a PDP address.
  • the second activation module when the at least two sets of non-wild card subscription information that meets the subscription information requirement do not exist, the contract information including the unused Default APN is further used to Selecting, by the group user's subscription information, a subscription information that is consistent with the unused Local APN to activate the PDP/PDN context;
  • the second activation module when there is no subscription information that is consistent with the unused Local APN, is further configured to select, from the subscription information of the at least one group of users, a set of other APNs that have not been used.
  • the subscription information activates the PDP/PDN context.
  • the at least one Local APN includes at least a first Local APN and a second Local APN, where the first Local APN has a higher priority The priority of the second Local APN,
  • the third activation module includes:
  • a fourth query unit configured to query whether the first Local APN exists in the second used Local APN list
  • the fourth query unit is further configured to query whether the second Local APN exists in the second used Local APN list when the first Local APN exists in the second used Local APN list. ;
  • the fourth query unit is further configured to: when the second Local APN is not present in the second used Local APN list, send a fourth selected prompt message to the fourth selected unit;
  • a fourth selecting unit configured to: after receiving the fourth selected prompt message, preferentially selecting the second Local APN as an APN for activating the PDP/PDN context with the wild card subscription information;
  • a fourth activation unit configured to activate the PDP/PDN context by combining the wild card subscription information based on the second Local APN;
  • a fourth adding unit configured to add the second Local APN to the second used Local APN list.
  • the type of the APN includes a Default APN, a Local APN, and other other APNs
  • the control node further includes:
  • a judging module when there is a non-wild card subscription information that satisfies the matching requirement, the judging module is configured to determine whether the APN included in the non-wild card subscription information that satisfies the matching requirement is used; Determining that the APN included in the non-wild card subscription information that meets the matching requirement is used, sending a reselection prompt message to the fourth activation module;
  • a fourth activation module configured to: after receiving the reselection prompt message sent by the determining module, preferentially select a group of subscription information activation centers including the unused Default APN from the subscription information of the at least one group of users PDP/PDN context;
  • the fourth activation module is further configured to select one of the subscription information of the at least one group of users when the subscription information including the unused Default APN does not exist in the subscription information of the at least one group of users.
  • the subscription information consistent with the unused Local APN activates the PDP/PDN Below
  • the fourth activation module is further configured to use the subscription information of the at least one group of users when the subscription information that is consistent with the unused Local APN does not exist in the subscription information of the at least one group of users. Selecting a set of subscription information containing unused other APNs activates the PDP/PDN context.
  • the fourth activation module when the subscription information including the unused other APN does not exist in the subscription information of the at least one group of users, is also used to meet the matching requirement based on the only group
  • the card subscription information activates the PDP/PDN context.
  • a server provided by an embodiment of the present invention includes:
  • a receiving module configured to receive a subscription information request sent by the control node
  • a search module configured to search for the subscription information of the at least two groups of users subscribed by the user according to the subscription information, where the default access point name Default APN included in the subscription information of the at least two groups of users is different;
  • a sending module configured to send subscription information of the at least two groups of users to the control node.
  • the method further includes:
  • the receiving module is further configured to receive a subscription request of the user, where the subscription request carries at least two Default APN designation information that are different from each other;
  • a generating module configured to generate subscription information of the at least two groups of users according to the specified information, where a Default APN in any one of the subscription information of the at least two groups of users is different from a Default APN in the other subscription information.
  • a method for activating a PDP/PDN context includes: acquiring subscription information of at least one group of users;
  • the default APN subscription information queue includes at least a first Default APN subscription information and a second Default APN subscription information, where a Default APN has a higher priority than the second Default APN,
  • a group of subscription information including the default access point name Default APN that has not been used is preferentially selected from the subscription information of the at least one group of users to activate the packet data to vote for the PDP/PDN.
  • the context includes:
  • the second Default APN subscription information is preferentially selected as being used to activate the PDP/PDN context. Signing information;
  • the method further includes: when the at least one group of users When there is no subscription information including the unused Default APN in the subscription information, a subscription information corresponding to the unused Local APN is selected from the Local APN subscription information queue to activate the PDP/PDN context. .
  • the local APN subscription information queue includes at least a first Local APN subscription information and a second Local APN subscription information, where a Local APN has a higher priority than the second Local APN,
  • Selecting the subscription information that is consistent with the unused Local APN to activate the PDP/PDN context includes:
  • the second Local APN subscription information is selected to be used to activate the PDP/PDN context. Signing information;
  • selecting a subscription information that is consistent with an unused Local APN from the Local APN subscription information queue to activate the PDP After the /PDN context also includes:
  • a set of subscription information including unused other APNs is selected from the other APN subscription information queue to activate the PDP/PDN context.
  • the Other APN subscription information queue includes at least a first Other APN subscription information and a second Other APN subscription information, where the priority of the first Other APN is higher than the priority of the second Other APN,
  • Selecting a set of subscription information including unused other APNs from the other APN subscription information queue to activate the PDP/PDN context includes:
  • the second Other APN subscription information is selected as a subscription for activating the PDP/PDN context.
  • obtaining the subscription information of the at least one group of users includes:
  • the subscription information of at least two groups of users sent by the server is received, and the Default APN in any of the subscription information of the at least two groups of users is different from the Default APN in the other subscription information.
  • the matching requirement includes one or more of a PDP type and a PDP address
  • the method further includes: when the at least two groups meet the When the subscription information including the unused Default APN does not exist in the non-wild card subscription information required for the subscription information, selecting one of the subscription information of the at least one group of users is consistent with the unused Local APN.
  • the subscription information activates the PDP/PDN context; After selecting a subscription information that is consistent with the unused Local APN to activate the PDP/PDN context, it also includes:
  • selecting a set of subscription information including the unused other APN from the subscription information of the at least one group of users activates the PDP/PDN context .
  • the at least one Local APN includes at least a first Local APN and a second Local APN, where the first Local APN has a higher priority than the second Local APN Priority,
  • Selecting an unused Local APN from at least one Local APN includes:
  • the second Local APN is preferentially selected to be used to cooperate with the wild card subscription information to activate the
  • Activating the PDP/PDN context in conjunction with the wild card subscription information includes:
  • the method further includes:
  • a group of the subscription information including the unused Default APN is preferentially selected from the subscription information of the at least one group of users.
  • the subscription information activates the PDP/PDN context
  • the method further includes:
  • the subscription information corresponding to the unused Local APN does not exist in the subscription information of the at least one group of users, selecting a group from the subscription information of the at least one group of users includes the unused other APN
  • the subscription information activates the PDP/PDN context
  • the method further includes:
  • the PDP/PDN context is activated based on the non-wild card subscription information that the only group satisfies the matching requirement.
  • a method for providing subscription information includes: receiving a subscription information request sent by a control node;
  • the subscription information of the at least two groups of users subscribed by the user is searched, and the default access point names Default APN included in the subscription information of the at least two groups of users are different;
  • the method before receiving the subscription information request sent by the control node, the method further includes:
  • a control node provided by the embodiment of the present invention includes: an input device, an output device, a memory, and a processor, where the memory stores a set of program codes, and the processor is configured to call the program code stored in the memory, Used to do the following:
  • an unused Local APN is selected from the at least one Local APN, and the PDP/PDN context is activated in conjunction with the wild card subscription information.
  • the processor is further configured to perform any one of the following steps:
  • the default APN subscription information queue includes at least a first Default APN subscription information and a second Default APN subscription information, where a Default APN has a higher priority than the second Default APN,
  • the processor When there is no subscription information that satisfies the matching requirement, the processor performs preferentially selecting a group of subscription information including the unused default access point name Default APN from the subscription information of the at least one group of users to activate the packet data protocol.
  • the PDP/PDN context includes:
  • the second Default APN subscription information is preferentially selected as being used to activate the PDP/PDN context. Signing information; And activating the PDP/PDN context according to the second Default APN subscription information; adding a Default APN in the second Default APN subscription information to the used Default APN list.
  • preferentially selecting a group from the subscription information of the at least one group of users includes an unused default access point name Default APN
  • the processor is further configured to perform the following steps:
  • the local APN subscription information queue includes at least a first Local APN subscription information and a second Local APN subscription information, where a Local APN has a higher priority than the second Local APN,
  • the processor performs selection of subscription information consistent with the unused Local APN to activate the PDP/PDN context including:
  • the second Local APN subscription information is selected to be used to activate the PDP/PDN context. Signing information;
  • the processor is further configured to: when the subscription information that is consistent with the unused Local APN does not exist, from the other
  • the PPN/PDN context is activated by selecting a set of subscription information containing unused other APNs in the APN subscription information queue.
  • the other APN subscription information queue includes at least a first Other APN subscription information, and a second
  • the priority of the first Other APN is higher than the priority of the second Other APN
  • the processor performs to select a set of subscription information including an unused other APN from the other APN subscription information queue to activate the PDP/PDN context, including:
  • the second Other APN subscription information is selected as a subscription for activating the PDP/PDN context.
  • the performing, by the processor, the acquiring the subscription information of the at least one group of users includes:
  • the subscription information of at least two groups of users sent by the server is received, and the Default APN in any of the subscription information of the at least two groups of users is different from the Default APN in the other subscription information.
  • the matching requirement includes one or more of a PDP type and a PDP address
  • the processor is further configured to perform the following steps:
  • the subscription information including the unused Default APN, selecting one or none from the subscription information of the at least one group of users Activating the PDP/PDN context by using the contract information that is consistent with the used Local APN;
  • the processor After selecting a subscription information that is consistent with the unused Local APN to activate the PDP/PDN context, the processor is further configured to perform the following steps:
  • selecting a set of subscription information including the unused other APN from the subscription information of the at least one group of users activates the PDP/PDN context .
  • the at least one Local APN includes at least a first Local APN and a second Local APN, where the first Local APN has a higher priority than the second Local APN Priority,
  • the processor selects an unused Local APN from the at least one Local APN, including:
  • the second Local APN is preferentially selected to be used to cooperate with the wild card subscription information to activate the
  • the activating the PDP/PDN context by the processor in combination with the wild card subscription information includes: activating the PDP/PDN context based on the second local APN, in combination with the wild card subscription information;
  • the processor is further configured to perform the following steps:
  • selecting a group from the subscription information of the at least one group of users includes unused
  • the subscription information of the Default APN activates the PDP/PDN context
  • the non-used Default is included in the subscription information of the at least one group of users
  • the subscription information of the APN When the subscription information of the APN is selected, selecting a subscription information that is consistent with the unused Local APN from the subscription information of the at least one group of users to activate the PDP/PDN context;
  • the processor After selecting a subscription information that is consistent with the unused Local APN to activate the PDP/PDN context from the subscription information of the at least one group of users, the processor is further configured to perform the following steps:
  • the subscription information corresponding to the unused Local APN does not exist in the subscription information of the at least one group of users, selecting a group from the subscription information of the at least one group of users includes the unused other APN
  • the subscription information activates the PDP/PDN context
  • the processor is further configured to perform the following steps: when the at least one group When the subscription information including the unused other APN does not exist in the subscription information of the user, the PDP/PDN context is activated based on the non-wild card subscription information that the only group satisfies the matching requirement.
  • a server provided by the embodiment of the present invention includes: an input device, an output device, a memory, and a processor, wherein the memory stores a set of program codes, and the processor is configured to call the program code stored in the memory, Do the following:
  • the subscription information of the at least two groups of users subscribed by the user is searched, and the default access point names Default APN included in the subscription information of the at least two groups of users are different;
  • the processor before receiving the subscription information request sent by the control node, the processor is further configured to perform the following steps:
  • the subscription request carries at least two different Default APN designation information; Generating the subscription information of the at least two groups of users according to the specified information, and the Default APN in any of the subscription information of the at least two groups of users is different from the Default APNo in the other subscription information.
  • a server provided by the embodiment of the present invention includes: a control node and a server, where the control node is the first aspect, the first possible implementation manner of the first aspect, and the second aspect of the first aspect Possible implementation, a third possible implementation of the first aspect, a fourth possible implementation of the first aspect, a first possible implementation of the fifth aspect, and a sixth possible implementation of the first aspect
  • the ninth possible implementation manner of the first aspect, the eighth possible implementation manner of the first aspect, the ninth possible implementation manner of the first aspect, and the tenth possible implementation manner of the first aspect Any of the foregoing control nodes, the server being the server of any of the second aspect, the first possible implementation of the second aspect.
  • the control node of the embodiment of the present invention preferentially activates the PDP/PDN context by using the subscription information including the Default APN when the acquired subscription information does not satisfy the matching requirement of the subscription information by the user;
  • the subscription information including the unused Default APN may be selected to activate the PDP/PDN context; in addition, when there is only the wild card subscription information that satisfies the matching requirement
  • the PDP/PDN context may be activated by using the local APN that is not used, and the control node of the embodiment of the present invention may use different APNs when the PDP/PDN context is activated multiple times.
  • the signing information solves the problem that the type of user application service is too singular due to repeated use of the APN, and can expand the range of service types that the user can use, and improve the activation success rate and user satisfaction.
  • Figure la is a schematic structural diagram of a first embodiment of a control node provided by the present invention.
  • FIG. 1b is a schematic structural diagram of a second embodiment of a control node according to the present invention
  • FIG. 1 is a schematic structural diagram of a third embodiment of a control node according to the present invention
  • FIG. 1D is a schematic structural diagram of a fourth embodiment of a control node according to the present invention
  • Figure le is a schematic structural diagram of a fifth embodiment of a control node provided by the present invention.
  • Figure If is a schematic structural diagram of a sixth embodiment of a control node provided by the present invention.
  • Figure lg is a schematic structural diagram of a seventh embodiment of a control node provided by the present invention.
  • 1h is a schematic structural diagram of an eighth embodiment of a control node provided by the present invention.
  • FIG. 2a is a schematic structural diagram of a first embodiment of a server according to the present invention.
  • FIG. 2b is a schematic structural diagram of a second embodiment of a server according to the present invention.
  • FIG. 3 is a schematic flowchart of an embodiment of a method for activating a PDP/PDN context according to the present invention
  • FIG. 4 is a schematic flowchart of a method for providing subscription information according to an embodiment of the present invention
  • FIG. 5a is a schematic flowchart of a first embodiment of a control node according to the present invention
  • FIG. 5b is a supplementary part of a schematic flowchart of a first embodiment of a control node according to the present invention.
  • FIG. 6 is a schematic flow chart of a second embodiment of a control node according to the present invention.
  • FIG. 7 is a schematic flow chart of a third embodiment of a control node according to the present invention.
  • FIG. 8 is a schematic flow chart of a fourth embodiment of a control node according to the present invention.
  • FIG. 9 is a schematic structural diagram of an embodiment of a system according to the present invention.
  • FIG. 10 is a schematic flow chart of an embodiment of a system provided by the present invention.
  • FIG. 11 is a schematic flowchart diagram of another embodiment of a control node according to the present invention.
  • FIG. 12 is a schematic flowchart diagram of another embodiment of a server provided by the present invention. detailed description
  • FIG. 1 is a schematic structural diagram of a control node according to an embodiment of the present invention.
  • the control node of the embodiment of the present invention may at least include:
  • the obtaining module 11 is configured to acquire subscription information of at least one group of users;
  • the first activation module 12 when there is no subscription information that meets the matching requirement, is used to preferentially select a set of subscription information including the unused default access point name Default APN from the subscription information of the at least one group of users to activate the packet data.
  • Protocol PDP/PDN context
  • the second activation module 13 is configured to preferentially select a set of non-wild card subscription information that meets the matching requirement from at least two sets of non-wild card subscription information that meets the matching requirement when there is at least two sets of non-wild card subscription information that meet the matching requirement.
  • the subscription information activates the PDP/PDN context;
  • the third activation module 14 is configured to select an unused Local APN from at least one Local APN when there is only wild card subscription information that satisfies the matching requirement, and activate the PDP/PDN context by combining the wild card subscription information.
  • control node may be a serving GPRS support node SGSN or a mobile management entity MME. After the user attaches, the control node needs to activate the corresponding PDP/PDN context, and then the user can transmit the service data.
  • an activation request is sent to the control node.
  • the control node receives the activation request of the user, the control node performs step S301 to send a subscription information request to the server, so that the server requests to search for the subscription information of the user in the server according to the subscription information; and then, the control node receives the subscription of the user sent by the server. information.
  • the activation request of the user may further include a matching request
  • the control node shall select a set of subscription information for activating the PDP/PDN context from the subscription information provided by the server according to the matching requirement.
  • the matching requirement that the user proposes in the activation request may include the specified PDP type, the specified PDP address, and the specified APN.
  • the matching request by the user includes at least one of the specified PDP type, the designated PDP address, and the specified APN.
  • the control node shall find a set of subscription information that is consistent with the matching requirements for activating the PDP/PDN context.
  • the subscription information structure may include at least PDP type, PDP address, and APN information.
  • the embodiment of the present invention is improved based on the APN proposal for the subscription information selection.
  • the APN type involved in the embodiment of the present invention may include the Default. APN, Local APN, and Other APN, where the Default APN is the default access point name specified when the user signs the server.
  • the server mentioned in the embodiment of the present invention can store more than one set of subscription information including the Default APN, Local APN. Is the local access point name that the user locally subscribes to the control node, and is mainly used for signing the contract.
  • the APN, Other APN is an APN other than the Default APN involved in the signing process between the user and the server, and does not overlap with the Local APN.
  • the control node may perform the type according to the APN by adding the module 15
  • the adding module 15 is further configured to extract, from the subscription information remaining after the subscription information including the Default APN, the subscription information that is consistent with the at least one Local APN is added to the Local APN subscription information queue;
  • the adding module 15 is further configured to add the remaining non-wild card subscription information after extracting the subscription information that is consistent with the at least one Local APN to the other other APN subscription information queue.
  • the Default APN subscription information queue may include at least two sets of subscription information including different Default APNs
  • the Local APN subscription information queue may include at least two sets of different Local APNs.
  • the subscription information of the other APN subscription information queue may include at least two sets of subscription information including different Other APNs.
  • the order of the same type of subscription information may also be set to facilitate selection, and the manner of setting the ranking order may include Each contract information sets a priority and sets a number for each contract information.
  • the embodiment of the present invention records the APN in the subscription information used to activate the PDP/PDN context after the PDP/PDN context is activated according to the subscription information, for example, generating a used APN list.
  • the subscription information corresponding to the unused APN is selected according to the used APN list for activation, and the following contents of the embodiment of the present invention are all satisfied.
  • the requirements for the PDP type and PDP address in the matching requirement, or the matching requirements are not required for the PDP type and PDP address.
  • the subscription matching correction needs to be performed.
  • the control node needs to select a set of subscription information from the at least two sets of subscription information for activating the PDP/PDN context.
  • the Default APN subscription information queue includes at least the first Default APN subscription The information, the second Default APN subscription information, and the preset priority of the first Default APN is higher than the priority of the second Default APN
  • the first activation module 12 may further pass the first query unit 1201, the first selected unit 1202.
  • the first activation unit 1203 and the first adding unit 1204 implement selecting a subscription information from the Default APN subscription information queue and activating the PDP/PDN context:
  • the first query unit 1201 is configured to query whether the Default APN in the first Default APN subscription information exists in the used Default APN list.
  • the first query unit 1201 is further configured to query whether the Default APN in the first Default APN subscription information exists in the used Default APN list, and whether the Default APN in the second Default APN subscription information exists in the used Default APN list.
  • the first query unit 1201 is further configured to: when the Default APN in the second Default APN subscription information does not exist, the first selected prompt message is sent to the first selected unit 1202;
  • the first selecting unit 1202 after receiving the first selected prompt message, preferentially selecting the second Default APN subscription information as the subscription information for activating the PDP/PDN context;
  • a first activation unit 1203, configured to activate a PDP/PDN context according to the second Default APN subscription information
  • the first adding unit 1204 is configured to add a Default APN in the second Default APN subscription information to the used Default APN list.
  • the first activation module 12 confirms that the subscription information of the at least one group of users provided by the server does not include the subscription information of the unused Default APN, that is, the subscription information provided by the server does not include the Default APN.
  • the subscription information, or the subscription information provided by the server including the Default APN has been used, and the first activation module 12 can further perform the operation of activating the PDP/PDN context through the subscription information in the Local APN subscription information queue.
  • the local APN subscription information queue includes at least the first Local APN subscription information and the second Local APN subscription information, and the preset priority of the first Local APN is higher than the priority of the second Local APN, further optional Referring to FIG. 1d together, the first activation module 12 may further select from the Local APN subscription information queue by using the second query unit 1205, the second selection unit 1206, the second activation unit 1207, and the second adding unit 1208. Sign up for information and activate PDP/PDN context:
  • the second query unit 1205 is configured to query whether the Local APN in the first Local APN subscription information exists in the first used Local APN list.
  • the second query unit 1205 is further configured to query whether the Local APN in the first Local APN subscription information exists in the first used Local APN list, and query whether the Local APN in the second Local APN subscription information exists in the first used Local APN list;
  • the second query unit 1205 is further configured to: when the local APN in the second Local APN subscription information does not exist in the first used Local APN list, send the second selected prompt message to the second selected unit;
  • the second selecting unit 1206 is configured to: after receiving the second selected prompt message, select the second Local APN subscription information as the subscription information for activating the PDP/PDN context;
  • a second activation unit 1207 configured to activate a PDP/PDN context according to the second Local APN subscription information
  • the second adding unit 1208 is configured to add a Local APN in the second Local APN subscription information to the first used Local APN list.
  • the first activation module 12 further confirms that the subscription information of the at least one group of users provided by the server does not include the subscription information of the unused Local APN, that is, the subscription information provided by the server does not include the Local APN.
  • the subscription information, or the subscription information provided by the server including the Local APN has been used, and the first activation module 12 can further perform the operation of activating the PDP/PDN context through the subscription information in the Other APN subscription information queue.
  • the Other APN subscription information queue includes at least the first Other APN subscription information and the second Other APN subscription information, and the preset priority of the Other Other APN is higher than the priority of the second Other APN, further optional Referring to FIG.
  • the first activation module 12 may further select from the Local APN subscription information queue by using the third query unit 1209, the third selection unit 12010, the third activation unit 1211, and the third adding unit 1212. Sign up for information and activate the PDP/PDN context:
  • the third query unit 1209 is configured to query whether the Other APN in the first Other APN subscription information exists in the used Other APN list;
  • the third query unit 1209 is further configured to query the Other in the first Other APN subscription information.
  • the APN exists when the Other APN list is used, and whether the Other APN in the second Other APN subscription information exists in the used Other APN list;
  • the third query unit 1209 is further configured to: when the Other APN in the second Other APN subscription information does not exist, the third selected prompt message is sent to the third selected unit;
  • the third selecting unit 1210 is configured to: after receiving the third selected prompt message, select the second Other APN subscription information as the subscription information for activating the PDP/PDN context;
  • the third activation unit 1211 is configured to activate the PDP/PDN context according to the second Other APN subscription information
  • the third adding unit 1212 is configured to add the Other APN in the second Other APN subscription information to the used Other APN list.
  • the acquisition module may be a server, and the obtaining module 11 may include:
  • the sending unit 1101 is configured to send a subscription information request to the server.
  • the receiving unit 1102 is configured to receive subscription information of at least two groups of users sent by the server, and the Default APN in any one of the subscription information of the at least two groups of users is different from the Default APN in the other subscription information.
  • priority is selected from at least two sets of non-wild card subscription information that meets the matching requirement, and a set of subscription information including the unused Default APN is activated.
  • PDP/PDN context The case where there are at least two sets of non-wild card subscription information that meet the matching requirement may be: The matching requirement in the activation request does not require a PDP address, a PDP type, and an APN, or only at least one of a PDP address and a PDP type. At the same time as the request is made, the APN is not required. At this time, there may be multiple sets of non-wild card signing information that meet the matching requirements:
  • the second activation module 13 is configured to select one of the subscription information of the at least one group of users when there is no subscription information including the unused Default APN in the non-wild card subscription information that meets the requirements of the subscription information.
  • the PDP/PDN context is activated by the contract information that is not used by the unused Local APN.
  • the second activation module 13 confirms that at least one group provided by the discovery server is used. There is no subscription information containing the unused Default APN in the subscription information of the user, that is, the subscription information provided by the server does not include the subscription information of the Default APN, or the subscription information provided by the server including the Default APN has been used, then Further performing the operation of activating the PDP/PDN context by using the subscription information in the Local APN subscription information queue,
  • control node and the user in the embodiment of the present invention can sign at least one Local APN, that is, when the user signs the wild card, the control node can select one APN from the multiple local APNs provided locally to cooperate with the wild card.
  • the subscription information is activated by the PDP/PDN context.
  • the control node configures multiple Local APNs for the user the APN priority may be further configured to quickly specify the APN. For example, when the locally stored Local APN includes at least the first Local APN and the second Local APN, and the first Local APN When the priority is higher than the priority of the second Local APN, please refer to FIG.
  • the third activation module 14 may further add the fourth query unit 1401, the fourth selected unit 1402, the fourth activation unit 1403, and the fourth.
  • Unit 1404 performs a Local APN selection from the local, in conjunction with the wild card subscription information to activate the PDP/PDN context:
  • the fourth query unit 1401 is configured to query whether the first Local APN exists in the second used Local APN list.
  • the fourth query unit 1401 is further configured to query, when the first Local APN exists in the second used Local APN list, whether the second Local APN exists in the second used Local APN list;
  • the fourth query unit 1401 is further configured to: when the second Local APN does not exist in the second used Local APN list, send the fourth selected prompt message to the fourth selected unit;
  • a fourth selecting unit 1402 configured to: after receiving the fourth selected prompt message, preferentially select the second Local APN as the APN for coordinating the PDP/PDN context with the wild card subscription information;
  • a fourth activation unit 1403, configured to activate a PDP/PDN context by combining the wild card subscription information based on the second Local APN;
  • the fourth adding unit 1404 is configured to add the second Local APN to the second used Local APN list. Further, when the matching requirement is made for the PDP type, the PDP address, and the APN, and the analysis finds that there is only one set of non-wild card subscription information that satisfies the matching requirement, please refer to FIG. 1H together. The embodiment also improves the selection of subscription information:
  • the judging module 16 is configured to determine whether the APN included in the non-wild card subscription information that meets the matching requirement is used if the non-wild card subscription information that meets the matching requirement exists only; When the APN included in the non-wild card subscription information that meets the matching requirement is used, the reselection prompt message is sent to the fourth activation module;
  • the fourth activation module 17 is configured to: after receiving the reselection prompt message sent by the determining module, preferentially select a set of subscription information including the unused Default APN from the subscription information of the at least one group of users to activate the PDP/PDN context;
  • the fourth activation module 17 is configured to select one of the subscription information of the at least one group of users and the unused local APN from the subscription information of the at least one group of users when the subscription information of the at least one group of users does not exist. Consistent subscription information activates the PDP/PDN context;
  • the fourth activation module 17 is configured to: when the subscription information of the at least one group of users does not have the subscription information that is consistent with the unused Local APN, the method further includes: selecting, from the subscription information of the at least one group of the group, the unused one.
  • the subscription information of the other APN activates the PDP/PDN context.
  • the fourth activation module 17 is configured to activate the PDP/PDN based on the non-wild card subscription information that meets the matching requirement only when the subscription information of the at least one group of users does not include the subscription information of the unused other APN. Context.
  • the control node provided by the embodiment of the present invention activates the PDP/PDN context in the process of activating the PDP/PDN context, and when the acquired subscription information does not meet the matching requirement of the subscription information, the PDP/PDN context is activated by using the subscription information including the Default APN.
  • FIG. 2a is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server of the embodiment of the present invention may at least include:
  • the receiving module 21 is configured to receive a subscription information request sent by the control node
  • the searching module 22 is configured to search for subscription information of at least two groups of users subscribed by the user according to the subscription information request, and the default access point names Default APN included in the subscription information of the at least two groups of users are different;
  • the sending module 23 is configured to send subscription information of at least two groups of users to the control node.
  • the server of the embodiment of the present invention may further include: a receiving module 21, configured to receive a subscription request of the user, where the subscription request carries at least two different Default APN designation information;
  • the generating module 24 is configured to generate subscription information of at least two groups of users according to the specified information, and the Default APN in any of the subscription information of the at least two groups of users is different from the Default APN in the other subscription information.
  • the specific implementation may include: receiving a subscription request of the user; and generating subscription information of the user according to the specified information.
  • At least one of the set of subscription information generated by the server can be configured as a Default APN.
  • the embodiment of the present invention provides an improvement, and the server can configure at least two different Default APNs. And generate the corresponding contract information. For example, when the user signs a contract with the server, at least two Default APNs can be signed. Accordingly, the server can generate at least two sets of subscription information, and the Default APN in any of the subscription information of at least two groups of users is different. For the Default APN in other subscription information, each Default APN is configured with a priority.
  • the server may provide all of the generated subscription information to the control node for the control node to select a set of subscription information for activating the PDP/PDN context.
  • the subscription information provided by the server may include at least two sets of subscription information including a Default APN, and other subscription information.
  • the server provided by the embodiment of the present invention can provide the control node with at least two sets of subscription information including the subscription information of the Default APN, so that the control node can have room for selecting to activate the PDP/PDN.
  • the control node selects different subscription information including the Default APN to enable the user to experience different services, thereby solving the user application service type caused by the repeated use of the APN.
  • the single problem expands the range of service types that users can use, further improving the activation success rate of the control node to activate the PDP/PDN context, and improving user satisfaction.
  • FIG. 3 is a flowchart of a method for activating a PDP/PDN context according to an embodiment of the present invention; wherein, the method for activating a packet data protocol context shown in FIG. 3 is described from the perspective of a control node. .
  • the method provided by the embodiment of the present invention specifically includes the following steps: Step S301: Acquire signing information of at least one group of users;
  • Step S302 when there is no subscription information that satisfies the matching requirement, preferentially select a group of subscription information including the unused default access point name Default APN from the subscription information of the at least one group of users to activate the packet data protocol PDP/PDN context. ;
  • Step S303 when there are at least two sets of non-wild card subscription information that meet the matching requirement, preferentially select a set of subscription information including the unused Default APN from at least two sets of non-wild card subscription information that meets the matching requirement to activate the PDP/ PDN context;
  • Step S304 When there is only the wild card subscription information that meets the matching requirement, select an unused Local APN from the at least one Local APN, and activate the PDP/PDN context with the wild card subscription information.
  • control node may be a serving GPRS support node SGSN or a mobile management entity MME. After the user attaches, the control node needs to activate the corresponding PDP/PDN context, and then the user can transmit the service data.
  • step S301 can be sent to the server by sending the subscription information, so that the server requests the server according to the subscription information request. User's subscription information; Then, the control node receives the subscription information of the user sent by the server.
  • the activation request of the user may further include a matching requirement
  • the control node shall select a group from the subscription information provided by the server according to the matching requirement to activate the PDP/PDN context. Signing information.
  • the matching requirement that the user proposes in the activation request may include the specified PDP type, the specified PDP address, and the specified APN.
  • the matching request by the user includes at least one of the specified PDP type, the designated PDP address, and the specified APN.
  • the control node shall find a set of subscription information that is consistent with the matching requirements for activating the PDP/PDN context.
  • the subscription information structure may include at least PDP type, PDP address, and APN information.
  • the embodiment of the present invention is improved based on the APN proposal for the subscription information selection.
  • the APN type involved in the embodiment of the present invention may include the Default. APN, Local APN, and Other APN, where the Default APN is the default access point name specified when the user signs the server.
  • the server mentioned in the embodiment of the present invention can store more than one set of subscription information including the Default APN, Local APN. It is the name of the local access point that the user has signed with the control node. It is mainly used to sign the APN.
  • the Other APN is the APN that is not duplicated by the Local APN except the Default APN involved in the signing process between the user and the server.
  • the control node may classify the obtained subscription information according to the type of the APN, and the specific operations may include:
  • Extracting, from the subscription information remaining after the extraction, the subscription information that is consistent with the at least one Local APN is added to the Local APN subscription information queue;
  • the contract information remaining after the above extraction is added to the Other APN subscription information queue.
  • the Default APN subscription information queue may include at least two sets of subscription information including different Default APNs, for example, subscription information including Default APNi, and subscription information including Default APN 2 . including Default APN n subscription information, etc., each have their own Default APN priority;
  • Local APN subscription information may include at least two sets of queues comprising different Local APN subscription information, subscription information includes, for example Local APNi comprising Local APN The subscription information of 2 , the subscription information including Local APN n , etc., each Local APN has its own priority;
  • Other APN subscription information queue may include at least two sets of subscription information including different Other APNs, for example, subscription information including Other APN , including the subscription information of Other APN 2 , the subscription information including Other APN n , etc., each Other APN has its own priority.
  • the order of the same type of subscription information can also be set to For convenient selection, the manner of setting the order may include setting priorities for each subscription
  • the embodiment of the present invention records the APN in the subscription information used to activate the PDP/PDN context after the PDP/PDN context is activated according to the subscription information, for example, generating a used APN list.
  • the subscription information corresponding to the unused APN is selected according to the used APN list for activation, and the following contents of the embodiment of the present invention are all satisfied.
  • the requirements for the PDP type and PDP address in the matching requirement, or the matching requirements are not required for the PDP type and PDP address.
  • the subscription matching correction needs to be performed.
  • the control node needs to select a set of subscription information from the at least two sets of subscription information for activating the PDP/PDN context. For example, when the Default APN subscription information queue includes at least the first Default APN subscription information and the second Default APN subscription information, and the preset priority of the first Default APN is higher than the priority of the second Default APN, the default APN is obtained.
  • the specific implementation of selecting the subscription information and activating the PDP/PDN context in the subscription information queue may include: querying whether the Default APN in the first Default APN subscription information exists in the used Default APN list; if the first Default APN is not found in the query If the Default APN list is used, the subscription information corresponding to the first Default APN can be selected. When the Default APN in the first Default APN subscription information is found to exist in the used Default APN list, continue to query the second Default APN subscription information.
  • the second Default APN subscription information is preferentially selected as the active PDP. /PDN context subscription information; according to the second D The efault APN subscription information activates the PDP/PDN context; adds the Default APN in the second Default APN subscription information to the used Default APN list.
  • the subscription information of the at least one group of users provided by the server does not include the subscription information of the unused Default APN, that is, the subscription information provided by the server does not include the subscription information of the Default APN, or the server.
  • the provided contract information containing the Default APN has been used, so you can further sign the contract information in the information queue through the Local APN.
  • the specific implementation may include: when the Local APN subscription information queue includes at least the first Local APN subscription information, the second Local APN subscription information, and the preset first Local APN has a high priority
  • the specific implementation of selecting the subscription information and activating the PDP/PDN context from the Local APN subscription information queue may include: querying whether the Local APN in the first Local APN subscription information exists in the used Local APN.
  • the subscription information corresponding to the first Local APN may be selected; when the Local APN in the first Local APN subscription subscription information is queried, Using the Local APN list; when it is found that the Local APN in the second Local APN subscription information does not exist in the used Local APN list, the second Local APN subscription information is preferentially selected as the subscription information for activating the PDP/PDN context; Activating a PDP/PDN context according to the second Local APN subscription information; adding a Local APN in the second Local APN subscription information to the already With Local APN list.
  • the operation of activating the PDP/PDN context may be further performed by using the subscription information in the Other APN subscription information queue.
  • the specific implementation may include: when the Other APN subscription information queue includes at least When the first Other APN subscription information and the second Other APN subscription information are set, and the priority of the first Other APN is higher than the priority of the second Other APN, the subscription information is selected from the Other APN subscription information queue and the PDP is activated.
  • the specific implementation of the PDN context may include: querying whether the Other APN in the first Other APN subscription information exists in the used Other APN list; if the first Other APN is not found in the used Other APN list, the first may be selected. Signing information corresponding to Other APN; when querying the first Other APN If the Other APN in the information is already in the Other APN list, continue to query whether the Other APN in the second Other APN subscription information exists in the used Other APN list; when querying the Other APN in the second Other APN subscription information When the Other APN list is used, the second Other APN subscription information is preferentially selected as the subscription information for activating the PDP/PDN context; the PDP/PDN context is activated according to the second Other APN subscription information; and the second Other APN subscription is added. Other APN in the message to the Other APN list already used.
  • step S303 when there are at least two sets of non-wild card subscription information that meet the matching requirement, priority is selected from at least two sets of non-wild card subscription information that meet the matching requirement, and a set of unused Default APNs is selected.
  • the subscription information activates the PDP/PDN context. If there are at least two sets of non-wild card subscription information that meet the matching requirement, the matching request in the activation request does not require the PDP address, the PDP type, and the APN, or only at least one of the PDP address and the PDP type. At the same time as the request is made, the APN is not required. At this time, there may be multiple sets of non-wild card subscription information that meet the matching requirements.
  • the default APN is signed.
  • the control node needs to select a set of subscription information from the at least two sets of subscription information for activating the PDP/PDN context, wherein the selection method of the control node selecting the subscription information including the Default APN may be as described above. This will not be repeated.
  • the subscription information of the at least one group of users provided by the server does not include the subscription information of the unused Default APN, that is, the subscription information provided by the server does not include the subscription information of the Default APN, or the server.
  • the subscription information including the Default APN has been used, and the operation of activating the PDP/PDN context can be further performed through the subscription information in the Local APN subscription information queue.
  • the control node can select the subscription information including the Local APN. As described above, the options are not described herein.
  • the subscription information of the at least one group of users provided by the server does not include the subscription information of the unused Local APN, that is, the subscription information provided by the server does not include the subscription information of the Local APN, or
  • the subscription information provided by the server including the Local APN has been used, and the operation of activating the PDP/PDN context may be further performed through the subscription information in the Other APN subscription information queue, where the control node selects the selection method of the subscription information including the Other APN.
  • the selection scheme can be as described above, and will not be described herein.
  • step S302 when there is only wild card subscription information that satisfies the matching requirement, an unused Local APN is selected from the at least one Local APN, and the PDP/PDN context is activated in combination with the wild card subscription information.
  • the control node and the user in the embodiment of the present invention can sign at least one Local APN, that is, when the user subscribes to the wild card, the control node can select one APN from multiple Local APNs provided locally, and use the wild card subscription information to perform PDP/ The PDN context is activated.
  • the control node configures multiple Local APNs for the user, you can further configure the APN priority to quickly specify the APN.
  • each Local APN is configured with a local priority.
  • the local Local APN stored at least includes the first Local APN and the second Local APN, and the priority of the first Local APN is higher than the priority of the second Local APN, a Local APN is selected locally, and the wild card subscription information is combined.
  • the specific implementation of activating the PDP/PDN context may be: querying whether the first Local APN exists in the second used Local APN list; and querying the second Local APN when querying that the first Local APN exists in the second used Local APN list.
  • the second Local APN is preferentially selected as the PDP/PDN for cooperation with the wild card subscription information.
  • Context APN based on the second Local APN, the PDP/PDN context is activated in conjunction with the wild card subscription information; the second Local APN is added to the second used Local APN list.
  • the first used Local APN list mentioned above may be the same as the currently mentioned second used Local APN list.
  • the embodiment of the present invention also applies to the subscription information.
  • the PDP/PDN context is activated by preferentially selecting a set of subscription information including the unused Default APN from the subscription information of at least one group of users. While such a set of perfectly matched subscription information currently exists, improvements to embodiments of the present invention may further expand the range of services that a user may use.
  • the control node when there are at least two sets of subscription information including the Default APN in the subscription information received from the server, the control node needs to select a set of subscription information from the at least two sets of subscription information to activate the PDP/PDN context.
  • the selection method for the control node to select the subscription information including the Default APN may be the foregoing selection scheme, and details are not described herein.
  • the subscription information of the at least one group of users provided by the server does not include the subscription information of the unused Default APN, that is, the subscription information provided by the server does not include the subscription information of the Default APN, or
  • the signing information provided by the server containing the Default APN has been used, so you can further sign the contract in the information queue through the Local APN.
  • the information is executed to activate the PDP/PDN context.
  • the selection method of the control node to select the subscription information including the Local APN may be as described above, and is not described herein.
  • the subscription information of the at least one group of users provided by the server does not include the subscription information of the unused Local APN, that is, the subscription information provided by the server does not include the subscription information of the Local APN, or
  • the subscription information provided by the server including the Local APN has been used, and the operation of activating the PDP/PDN context may be further performed through the subscription information in the Other APN subscription information queue, where the control node selects the selection method of the subscription information including the Other APN.
  • the selection scheme can be as described above, and will not be described herein.
  • the PDP/PDN context may be activated based on the non-wild card subscription information that the only group satisfies the matching requirement.
  • Example 1 After the user signs up to the server, there are three sets of subscription information.
  • the APNs used by the three sets of subscription information are ⁇ APNa, APNb, APNc ⁇ , where the Default APN is specified as APNa and APNb, and APNa is prioritized over APNb.
  • the local is not The user configures the Local APN.
  • the selection scheme of the control node is as follows (the above-mentioned subscription information has been satisfied that the requirements for the PDP type and the PDP address in the matching request have been met, or the matching requirements are not required. ) :
  • Scenario 1 The user initiates an activation request for the first time, and the matching request does not specify an APN. After matching, the subscription information including the APNa with the highest priority is selected to activate the PDP/PDN context.
  • Scenario 2 The user initiates an activation request for the second time.
  • the matching request does not specify an APN.
  • the subscription information containing the unused Default APNb is finally selected to activate the PDP/PDN context.
  • Scenario 3 The user initiates an activation request for the third time. If the matching request specifies APNd, the first match fails. After the correction, since Default has been used, and there is no Local APN for reference, the other choices are finally selected.
  • the highest level APNc subscription information activates the PDP/PDN context.
  • Example 2 After the user signs up to the server, there are four sets of subscription information, and each of the four sets of subscription information is used.
  • the APN is ⁇ APNa, APNb, APNc, * ⁇ , where Default APN is APNb, * is the wild card identifier of the wild card subscription information;
  • the local is configured with two Local APNs, which are Local APNa, Local APNc, where Local APNa has a higher priority than Local APNc.
  • Scenario 1 The user initiates an activation request for the first time.
  • the matching request does not specify an APN.
  • the subscription information corresponding to the Default APNb is finally selected to activate the PDP/PDN context.
  • Scenario 2 The user initiates an activation request for the second time.
  • the matching request does not specify an APN. Since the Default APNa has been used, after matching, the subscription information corresponding to the APNa with the highest Local priority is selected to activate the PDP/PDN context.
  • Scenario 3 The user initiates an activation request for the third time.
  • the matching request specifies the APNd. Since the contracted APN and the locally configured APN do not contain the APNd, the first match fails. After the correction, since the Default APNa has been used, the final selection is not The subscription information corresponding to the highest priority APNc in the used Local APN activates the PDP/PDN context.
  • Example 3 After the user signs up to the server, there are three sets of subscription information.
  • the APNs used by the three sets of subscription information are ⁇ APNa, APNb, APNc ⁇ , and there is no Default APN.
  • the local user is configured with two Local APNs, respectively Local APNb, Local APNc, where Local APNb has a higher priority than Local APNc.
  • the selection scheme of the control node is as follows (here, the above contract information has been satisfied that the matching requirements have met the requirements for the PDP type and the PDP address, or the matching requirements are not required. ) :
  • Scenario 1 The user initiates an activation request for the first time.
  • the matching request does not specify an APN.
  • the subscription match because there is no Default APN, the subscription letter corresponding to the Local APNb with the highest priority is selected. Activate the PDP/PDN context.
  • Scenario 2 The user initiates an activation request for the second time.
  • the matching request does not specify an APN.
  • the default APN is not present.
  • the subscription information corresponding to the highest priority APNc in the unused Local APN is selected to activate the PDP/PDN context. .
  • Scenario 3 The user initiates an activation request for the third time.
  • the matching request specifies the APNd. Since the contracted APN and the locally configured APN do not contain the APNd, the first match fails. After the correction, the Default APN and unused are not present. Local APN, finally selects the subscription information containing APNa in the Other APN subscription information queue to activate the PDP/PDN context.
  • Example 4 After the user signs up to the server, there are four sets of subscription information.
  • the APNs used by the four sets of subscription information are ⁇ APNa, APNb, APNc, APNd ⁇ , where Default APN is APNa and APNb, and Default APNa has higher priority.
  • Default APNb priority Secondly, the local user is configured with two Local APNs, Local APNb, Local APNd, where Local APNb has a higher priority than Local APNd.
  • the selection scheme of the control node is as follows (the above-mentioned subscription information has been satisfied that the requirements for the PDP type and the PDP address in the matching request have been met, or the matching requirements are not required. ) :
  • Scenario 1 The user initiates an activation request for the first time.
  • the matching request does not specify an APN.
  • the subscription information corresponding to the APNa with the highest default priority is selected to activate the PDP/PDN context.
  • Scenario 2 The user initiates an activation request for the second time.
  • the matching request does not specify an APN.
  • the subscription information corresponding to the unused Default APNb is finally selected to activate the PDP/PDN context.
  • Scenario 3 The user initiates an activation request for the third time.
  • the matching request specifies APNe. Since the contracted APN and the locally configured APN do not contain APNe, the first match fails. After the correction, there is no unused Default APN. Finally, the subscription information corresponding to the unused Local APNd is selected to activate the PDP/PDN context.
  • Scenario 4 The user initiates an activation request for the fourth time.
  • the matching request specifies the APNf. Since the contracted APN and the locally configured APN do not contain the APNf, the first match fails. After the correction, there is no unused Default APN and The unused Local APN finally selects the subscription information containing the APNc in the Other APN subscription information queue to activate the PDP/PDN context.
  • the control node activates the PDP/PDN context, and when the obtained subscription information does not meet the matching requirement of the subscription information, the PDP/PDN context is activated by using the subscription information including the Default APN.
  • the subscription information including the unused Default APN is selected to activate the PDP/PDN context; in addition, when there is only the wild card subscription that satisfies the matching requirement
  • the PDP/PDN context is activated by using the local APN that is not used, and the control node of the embodiment of the present invention can be different when the PDP/PDN context is activated multiple times.
  • APN's subscription information which solves the problem that the user application service type is too single due to repeated use of APN, can expand the range of service types that users can use, and improve the activation success rate and user satisfaction.
  • FIG. 4 is a flowchart of a method for providing subscription information according to an embodiment of the present invention.
  • the method for providing subscription information shown in FIG. 4 is described from the perspective of a server.
  • the method for providing subscription information provided by this embodiment specifically includes the following steps:
  • Step S401 receiving a subscription information request sent by the control node
  • Step S402 searching for subscription information of at least two groups of users subscribed by the user according to the subscription information request, the default access point name Default APN included in the subscription information of the at least two groups of users is different; Step S403, sending at least two groups of users to sign up Information to the control node.
  • the specific implementation may include: receiving a subscription request of the user; and generating subscription information of the user according to the specified information.
  • the server may configure at least two different Default APNs, and Generate corresponding contract information. For example, users and servers When signing a contract, at least two Default APNs may be signed. Accordingly, the server may generate at least two sets of subscription information, and the Default APN in any of the subscription information of at least two groups of users is different from the Default APN in the other subscription information. Each Default APN is configured with a priority.
  • the server may provide all of the generated subscription information to the control node for the control node to select a set of subscription information for activating the PDP/PDN context.
  • the subscription information provided by the server may include at least two sets of subscription information including a Default APN, and other subscription information.
  • the server can provide the control node with at least two sets of subscription information including the subscription information of the Default APN, so that the control node can sparely select the subscription information for activating the PDP/PDN context, and the Default APN that can be specified in the server has Multiple, so the control node selects different subscription information including the Default APN to enable the user to experience different services, thereby solving the problem that the user application service type is too singular due to repeated use of the APN, and expanding the range of service types that the user can use. , further improving the activation success rate of the control node activating the PDP/PDN context, and improving user satisfaction.
  • FIG. 9 is a structural diagram of a system according to an embodiment of the present invention.
  • the system provided by the embodiment of the present invention includes: a control node 91 and a server 92.
  • the control node 91 used in the system of the embodiment of the present invention is the control node 91 described in any one of FIG. 1a, FIG. 1b, FIG. 1c, FIG. 1d, FIG.
  • the activation method of the packet data protocol context shown in FIG. 3 corresponds to the execution method of the activation method based on the packet data protocol context shown in FIG. 3.
  • the server 92 used in the system of the embodiment of the present invention is as shown in FIG. 2a and FIG.
  • the server 92 according to any one of 2b corresponds to the method of providing the contract information shown in FIG. 4, and is an execution subject based on the method of providing the contract information shown in FIG.
  • the system can be used to implement a packet data protocol context activation operation for a user.
  • the specific implementation process of the packet data protocol context activation operation by the system in the embodiment of the present invention may include the following steps:
  • step S101 the control node 91 sends a subscription information request to the server 92, where the subscription information request can carry the user identifier;
  • step S102 the server 92 sends the subscription information of the user to the control node 91.
  • the server 92 searches for the subscription information of the user according to the user identifier, and the server can provide at least two sets of subscription information including the Default APN ( ⁇ Default APN 1, Default APN2,... Default APNn ⁇ ), may also include a user subscription list ( ⁇ PDP/PDN Type, PDP/PDN Addr, APN, etc.). ;
  • Step S103 the control node 91 selects the subscription information according to the activation request of the user to perform PDP/PDN context activation.
  • the specific selection refer to the content described in the foregoing steps S301-S304, and details are not described herein.
  • the server can provide the control node with at least two sets of subscription information including the subscription information of the Default APN, so that the control node can sparely select the subscription information for activating the PDP/PDN context, and the Default APN that can be specified in the server has Multiple, the control node selects different subscription information including the Default APN to enable the user to experience different services.
  • the control node of the embodiment of the present invention can use the subscription information including different APNs when the PDP/PDN context is activated multiple times. Solving the problem that the user application service type is too single due to the repeated use of APN, expands the range of service types that users can use, and improves the activation success rate and user satisfaction. Referring to FIG. 5a and FIG.
  • FIG. 5a and FIG. 5b are schematic diagrams showing an embodiment of a control node 91 in the system according to the embodiment of the present invention.
  • the figure shows that the control node 91 obtains subscription information from the server 92 according to the activation request of the user.
  • the specific process may include:
  • Step S501 Select contract information according to the Default APN subscription information queue.
  • the matching request does not indicate the APN, or there is no subscription information that satisfies the matching requirement, the available subscription information needs to be selected according to the Default APN subscription information queue.
  • Step S502 whether Sub [x] is successfully selected. If such Sub [x] is found, then step S503 is continued; if such Sub [x] is not found, then step S509 is continued.
  • step S503 is continued; if such Sub [x] is not found, then step S509 is continued.
  • step S503 the Act Flag is Tme.
  • Step S504 whether to enable the repeated PDP/PDN correction function. If it needs to be turned on at this time, proceed to step S505; if it is detected, it does not need to be turned on, and then proceed to step S508.
  • Step S505 selecting subscription information according to the Local APN subscription information queue.
  • Step S506 whether Sub [y] is successfully selected and the Act Flag is False. If the Sub [y] is successfully selected, the process proceeds to step S503; if the Sub [y] is not successfully selected, the process proceeds to step S509.
  • step S507 Sub [y] is used.
  • step S508 Sub [x] is used.
  • Step S509 whether there is wild card subscription information Sub [x]. If it is determined that such wild card subscription information Sub [x] exists, step S510 is continued; if it is determined that such wild card subscription information Sub [x] does not exist, the process jumps to step S513 shown in Fig. 5b.
  • step S510 the wild card subscription information Sub [x] is used.
  • Step S511 selecting a Local APN to be used according to the locally provided Local APN.
  • a Local APN for specific selection methods, reference may be made to the foregoing content, and details are not described herein.
  • step S512 whether Local APN[y] is successfully selected. If the Local APN[y] is successfully selected, the jump to the activation program, through the Local APN[y], the PDP/PDN context is activated in combination with the wild card subscription information; if such a Local APN is not successfully selected [ y], then the match is considered to have failed, and the jump to the matching error correction step.
  • Step S514 whether to perform the function of correcting according to the Local APN subscription information queue. If it needs to be turned on at this time, proceed to step S515; if it is detected, it does not need to be turned on, then jump to other selection steps.
  • Step S515 selecting subscription information according to the Local APN subscription information queue.
  • selection methods reference may be made to the foregoing content, and details are not described herein.
  • step S5166 whether Sub [x] is successfully selected. If the Sub [x] is successfully selected, the process proceeds to step S517; if the Sub [x] is not successfully selected, the process proceeds to step S523.
  • Step S5128 whether to enable the repeated PDP/PDN correction function. If you need to turn it on at this time, continue Step S519 is performed; if it is detected that it is not currently required to be turned on, step S522 is continued.
  • Step S519 selecting subscription information according to the Other APN subscription information queue.
  • Other APN subscription information queue For specific selection methods, reference may be made to the foregoing content, and details are not described herein.
  • step S520 whether Sub [y] is successfully selected and the Act Flag is False. If the Sub [y] is successfully selected, the process proceeds to step S521; if the Sub [y] is not successfully selected, the process proceeds to step S522.
  • step S521 Sub [y] is used.
  • step S522 Sub [x] is used.
  • Step S523 whether to perform the function of correcting according to the Other APN subscription information queue. If it needs to be turned on at this time, proceed to step S524; if it is detected, it does not need to be turned on, then jump to other matching steps or return failure.
  • Step S524 selecting subscription information according to the Other APN subscription information queue.
  • Other APN subscription information queue For specific selection methods, reference may be made to the foregoing content, and details are not described herein.
  • step S525 whether Sub [y] is successfully selected. If such Sub [y] is successfully selected, proceed to step S526; if such Sub [y] is not successfully selected, jump to another matching step or return failure. In step S526, Sub [y] is used.
  • step S527 Sub [x] is used.
  • the control node is locally configured with three switches, namely a repeat PDP/PDN correction function switch, a local APN subscription information list correction function switch, and a correction function switch according to the Other APN subscription information list.
  • the three switches play different roles in the position shown in Figure 5.
  • the repeated PDP/PDN correction function switch is mainly used to make the APN of the subscription information used for activation as unreuseable as possible to improve the user. Can use the type of business type
  • the correction function switch according to the Local APN subscription information list and the correction function switch according to the Other APN subscription information list are further selections based on the case where the previous level list fails to perform the matching correction successfully.
  • FIG. 6 is a schematic flowchart of an embodiment of a control node 91 in the system according to the embodiment of the present invention.
  • the figure shows that the control node 91 decides to use the subscription information including the Default APN to activate the PDP/PDN context, and then selects the subscription.
  • the flow of this embodiment may include the following steps:
  • the Default APN subscription information queue can be obtained.
  • k is the length of the Default APN subscription information queue, and may also be the number of subscription information including the Default APN.
  • it is necessary to jump to other selection steps, and consider the subscription information in the other subscription information queue; when it is judged that k is not equal to 0, it represents the Default APN.
  • the subscription information queue is not empty, and the process proceeds to step S602.
  • Step S602, i i+l.
  • the step is to poll the subscription information in the Default APN subscription information queue, and in combination with steps S603 and S604, it is determined whether the subscription information in the Default APN subscription information queue has been used.
  • Step S603 whether i > k. If it is determined that i is greater than k, then step S607 is continued; if it is determined that i is not greater than k, then step S604 is continued.
  • Step S604 whether Sub [i] has an activated PDP/PDN. If it is determined that the activated PDP/PDN exists, the current polled subscription information has been used, then the process returns to step S602; if it is determined that the activated PDP/PDN does not exist, it represents the current polling. If the signed subscription information has not been used, the process proceeds to step S605.
  • Step S605 selecting Sub [i] subscription information.
  • Step S607 selecting a group of subscription information in the queue.
  • the selection may be performed according to preset information. For example, the control node considers that when all the subscription information in the Default APN subscription information queue is used, the first subscription information in the Default APN subscription information queue is selected.
  • Step S608, Act Flag True.
  • FIG. 7 is a schematic flowchart of an embodiment of a control node 91 in the system according to the embodiment of the present invention. The figure shows that the control node 91 decides to select the subscription information including the Local APN to activate the PDP/PDN context, and then selects the subscription.
  • the specific process of information Specifically, the process of this embodiment may include the following steps:
  • the Local APN subscription information queue can be obtained.
  • m is the length of the Local APN subscription information queue, and may also be the number of subscription information including the Local APN.
  • the subscription information queue is not empty, and the process proceeds to step S702.
  • Step S702, i i+l.
  • the step is to poll the subscription information in the Local APN subscription information queue, and in combination with steps S703 and S704, it is determined whether the subscription information in the Local APN subscription information queue has been used.
  • Step S703 whether i > m. If it is determined that i is greater than m, then step S706 is continued; if it is determined that i is not greater than m, then step S704 is continued.
  • Step S704 whether there is an activated PDP/PDN using Local APN[i]. If it is determined that there is an activated PDP/PDN using Local APN[i], if the currently polled subscription information has been used, then return to step S702; if it is determined that there is no activated PDP/PDN If Local APN[i] is used, it means that the currently polled subscription information has not been used, and then step S705 is continued.
  • step S705 Local APN[i] is selected.
  • Step S706 selecting an APN in the Local APN subscription information queue.
  • FIG. 5 is a schematic flowchart of an embodiment of a control node 91 in the system according to the embodiment of the present invention.
  • the figure shows that when the APN requirement is proposed in the matching requirement, the control node 91 signs the subscription according to the matching requirement.
  • the process of information selection. Specifically, the process of this embodiment may include Next steps:
  • Step S801 whether the APN of the subscription information Sub [x] is the APN requested by the UE. When there is such contract information Sub [X], step S802 is continued; if it is determined that there is no such contract information Sub [X], step S809 is continued.
  • Step S802 whether the activated PDP / PDN exists in the subscription information. If the determination is yes, the process proceeds to step S803; if the determination is no, the process proceeds to step S808.
  • Step S803 whether to enable the repeated PDP/PDN correction function.
  • the repeating PDP/PDN correction function can be used to increase the range of the user service type.
  • Step S804 ignoring the APN requested by the UE.
  • Step S805 Perform a matching process in which the UE does not request the APN. That is, the specified requirements for the APN in the matching requirement are ignored, and only the specified requirements for the PDP address and the PDP type are reserved.
  • Step S806 whether Sub [y] is successfully selected and the Act Flag is False.
  • a set of subscription information including an unused APN is selected in the order from the Default APN subscription information queue to the Local APN subscription information queue to the Other APN subscription information queue. If such contract information Sub [y] is successfully found, step S807 is continued; if such contract information Sub [y] is not successfully found, then step S808 is continued.
  • step S807 Sub [y] is used.
  • step S808 Sub [x] is used.
  • Step S809 whether there is wild card subscription information Sub [x]. If it is determined that there is wild card subscription information, proceed to step S810; if it is determined that there is no wild card subscription information, proceed to step S818.
  • Step S810 whether the subscription information already exists with the same APN PDP / PDN as the APN requested by the UE. If the determination is yes, the process proceeds to step S811; if the determination is no, the process proceeds to step S816.
  • Step S811 whether to enable the repeated PDP/PDN correction function. If it needs to be turned on at this time, step S812 is continued; if it is detected, it is not required to be turned on, and then step S816 is continued.
  • Step S812 ignoring the APN requested by the UE.
  • Step S813 the performing UE does not request the matching process of the APN.
  • step S814 whether Sub [y] is successfully selected and the Act Flag is False.
  • This step is in accordance with the foregoing scheme of FIG. 6, according to the information queue from the Default APN subscription information to the Local APN subscription information queue. To the order of the Other APN subscription information queue, select a set of subscription information including the unused APN. If such contract information Sub [y] is successfully found, step S815 is continued; if such contract information Sub [y] is not successfully found, step S816 is continued.
  • step S815 Sub [y] is used.
  • step S816 Sub [x] is used.
  • step S817 the APN requested by the UE is used as the used APN.
  • Step S819 ignoring the APN requested by the UE.
  • Step S820 the performing UE does not request the matching process of the APN.
  • Step S821 whether Sub [y] is successfully selected.
  • a set of subscription information including an unused APN is selected in the order from the Default APN subscription information queue to the Local APN subscription information queue to the Other APN subscription information queue. If such a subscription information Sub [y] is successfully found, proceeding to step S822; if such subscription information Sub [y] is not successfully found, a jump is required, and the handover is performed in a scenario in which the matching is unsuccessful. Perform the steps of matching error correction.
  • step S822 Sub [y] is used.
  • FIG. 11 is a structural diagram of another control node according to an embodiment of the present invention.
  • the control node provided in this embodiment corresponds to the activation method of the packet data protocol context shown in FIG. 3, and is an execution body based on the activation method of the packet data protocol context shown in FIG. 3.
  • the specific implementation form is as shown in FIG. 11.
  • the call message processing apparatus provided in this embodiment includes: an input device 111, an output device 112, a memory 113, and a processor 114, wherein the memory 113 stores a set of program codes, and the processor 114 is used to call the program code stored in the memory 113, and is used to perform the following operations:
  • an unused Local APN is selected from at least one Local APN, and the PDP/PDN context is activated in combination with the wild card subscription information.
  • the processor 114 is further configured to perform any one of the following steps:
  • the non-wild card subscription information remaining after the subscription information corresponding to the at least one Local APN is extracted is added to the other other APN subscription information queue.
  • the default APN subscription information queue includes at least a first Default APN subscription information and a second Default APN subscription information, where the priority of the first Default APN is higher than the priority of the second Default APN.
  • the processor 114 When there is no subscription information that satisfies the matching requirement, the processor 114 performs preferentially selecting a set of subscription information including the unused default access point name Default APN from the subscription information of the at least one group of users to activate the packet data protocol PDP/packet.
  • the data network PDN context includes:
  • the second Default APN subscription information is preferentially selected for activation. Signing information for the PDP/PDN context;
  • the processor 114 After selecting a set of subscription information activation packet data protocol PDP/PDN context including the unused default access point name Default APN from the subscription information of the at least one group of users, the processor 114 Also used to perform the following steps:
  • a subscription information corresponding to the unused Local APN is selected from the Local APN subscription information queue to activate the PDP/PDN context.
  • the local APN subscription information queue includes at least a first Local APN subscription information and a second Local APN subscription information, and the first Local APN has a higher priority than the second Local APN.
  • the processor 114 performs selection of subscription information that is consistent with the unused Local APN to activate the PDP/PDN context including:
  • the second Local APN subscription information is selected as the subscription information for activating the PDP/PDN context;
  • the processor 114 is further configured to perform the following steps: When there is no subscription information consistent with the unused Local APN, a set of subscription information including the unused other APN is selected from the other APN subscription information queue to activate the PDP/PDN context.
  • the Other APN subscription information queue includes at least a first Other APN subscription information and a second Other APN subscription information, and the first Other APN has a higher priority than the second Other APN.
  • the processor 114 performs a selection of subscription information including a set of unused other APNs from the other APN subscription information queue to activate the PDP/PDN context including:
  • the second Other APN subscription information is selected as the subscription information for activating the PDP/PDN context;
  • the processor 114 performs the acquisition of the subscription information of the at least one group of users, including:
  • the Default APN in any of the subscription information of the at least two groups of users is different from the Default APN in the other subscription information.
  • the matching requirement includes one or more of a PDP type and a PDP address.
  • the processor 114 is further configured to perform the following steps after the PDP/PDN context is activated by selecting a set of subscription information including the unused Default APN from at least two sets of non-wild card subscription information that meet the matching requirements:
  • a PDP/PDN context is activated by selecting a subscription information that is consistent with the unused Local APN from the subscription information of at least one group of users;
  • the processor 114 After selecting a subscription information that is consistent with the unused Local APN to activate the PDP/PDN context, the processor 114 is also configured to perform the following steps:
  • a set of subscription information including the unused other APNs is selected from the subscription information of at least one group of users to activate the PDP/PDN context.
  • the at least one Local APN includes at least a first Local APN and a second Local APN, the first Local APN has a higher priority than the second Local APN, and the processor 114 is configured from the at least one Local APN. Selecting an unused Local APN includes:
  • the second query is performed.
  • the Local APN is preferentially selected as an APN for activating the PDP/PDN context with the wild card subscription information; the processor 114 is activated with the wild card subscription information to activate the PDP/PDN context including:
  • the PDP/PDN context is activated in conjunction with the wild card subscription information; the second Local APN is added to the second used Local APN list.
  • the processor 114 is further configured to perform the following steps:
  • the PDP is activated by selecting a set of subscription information including the unused Default APN from the subscription information of at least one group of users. /PDN context;
  • the processor 114 is further configured to perform the following steps: when the subscription information of the at least one group of users is not When there is subscription information consistent with the unused Local APN, selecting a set of subscription information including the unused other APN from the subscription information of the at least one group of users activates the PDP/PDN context;
  • the processor 114 After selecting a set of subscription information including the unused other APNs from the subscription information of the at least one group of users to activate the PDP/PDN context, the processor 114 is further configured to perform the following steps:
  • the PDP/PDN context is activated based on the non-wild card subscription information that the only group satisfies the matching requirement.
  • FIG. 12 is a structural diagram of another server according to an embodiment of the present invention.
  • the server provided in this embodiment corresponds to the method for providing subscription information shown in FIG. 4, and is an execution body based on the method for providing subscription information shown in FIG. 4.
  • the specific implementation is as shown in FIG. 12, and the called client provided in this embodiment includes: an input device 121, an output device 122, a memory 123, and a processor 124, wherein the memory 123 stores a set of program codes, and the processor 124 is used to call the program code stored in the memory 123, and is used to perform the following operations:
  • the subscription information of at least two groups of users subscribed by the user is searched, and the default access point name Default APN included in the subscription information of at least two groups of users is different;
  • the processor 124 before receiving the subscription information request sent by the control node, the processor 124 is further configured to perform the following steps:
  • the subscription request carrying at least two mutually different Default APN designation information
  • the subscription information of at least two groups of users is generated according to the specified information, and the Default APN in any of the subscription information of the at least two groups of users is different from the Default APN in the other subscription information.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or modules may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct connection or communication connection shown or discussed may be an indirect connection or communication connection through some interface, device, module or unit, or may be an electrical, mechanical or other form. connection.
  • modules or units described as separate components may or may not be physically separated, and the components displayed as modules or units may or may not be physical modules or units, that is, may be located in one place, or may be distributed to multiple On a network module or unit. Some or all of the modules or units may be selected according to actual needs to achieve the objectives of the embodiments of the present application.
  • each functional module or unit in each embodiment of the present application may be integrated into one processing module or unit, or each module or unit may exist physically separately, or two or more modules or units may be integrated in In a module or unit.
  • the above integrated modules or units can be implemented either in the form of hardware or in the form of software functional units.
  • An integrated module or unit if implemented as a software function module or unit and sold or used as a stand-alone product, can be stored in a computer readable storage medium.
  • the technical solution of the present application is essentially or partially contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • the instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

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

Abstract

本发明提供一种PDP/PDN上下文的激活方法、设备及系统,通过改进选择用于激活PDP/PDN上下文的选择方法,以实现在多次激活PDP/PDN上下文时采用包含不同APN的签约信息,从而解决由于APN重复使用所造成的用户应用业务类型过于单一的问题,能够扩大用户能够使用的业务类型范围,提高激活成功率和用户满意度。

Description

一种 PDP/PDN上下文的激活方法、 设备及系统 技术领域
本发明涉及通信领域, 具体涉及一种 PDP/PDN上下文的激活方法、 设备 及系统。 背景技术
在 GPRS ( General Packet Radio Service, 通用分组无线业务)分组域核心 或 EPS( Evolved Packet System,演进型分组系统)网络中, SGSN( Serving GPRS Support Node, 服务 GPRS支持节点)、 MME ( Mobility Management Entity, 移动管理实体)等控制节点主要完成分组数据包的路由与转发、 加密与鉴权、 会话管理、 移动性管理、 逻辑链路管理、 话单产生和输出等功能。 控制节点实 现业务数据在 MS ( Mobile Station,移动台)用户与 GGSN ( Gate GPRS Support Node, 网关 GPRS支持节点)或 P-GW ( PDN Gateway, PDN网关)之间的路 由及数据转发功能, 需要进行 PDP ( Packet Data Protocol Context, 分组数据协 议上下文) /PDN ( Packet Data Networks, 分组数据网络)激活等操作。
MS用户附着时, 控制节点通过 HLR/HSS ( Home Location Register/ Home Subscriber Server, 归属位置寄存器 /归属用户服务器)等服务器获得 MS用户 的签约信息, 在控制节点根据签约信息激活 PDP/PDN上下文后, MS用户才 能传输业务数据。
控制节点激活 PDP/PDN上下文主要是根据 MS用户发送的激活请求消息 中携带的 PDP类型、 PDP地址以及 APN ( Access Point Name, 接入点名称) 等数据选择出用于激活的签约信息, 进而完成 PDP/PDN上下文的激活操作: 控制节点需要从服务器获取 MS用户的所有签约信息,根据 MS用户在激活请 求消息中对 PDP类型、 PDP地址以及 APN提出的要求对这些签约信息进行筛 选, 当仅存在一组满足要求的非野卡签约信息时, 选择该签约信息用于激活; 当存在至少两组满足要求的非野卡签约信息、 并且其中存在包含默认 Default APN的签约信息时, 选择包含默认 Default APN的该组签约信息用于激活; 当 满足要求的签约信息仅为野卡签约信息时,调用本地配置的用于 MS用户的本 地 Local APN, 结合野卡签约信息来激活; 经筛选, 不存在满足要求的签约信 息时,优先调用与 Local APN相一致的非野卡签约信息,若不存在与 Local APN 相一致的非野卡签约信息,则调用服务器提供的非野卡签约信息中预先指定的 签约信息用于激活。
现有技术中, MS 用户与服务器签约时, 最多只能指定一个 APN作为 Default APN, 故控制节点只能从满足要求的多组数据中选择该包含 Default APN的签约信息进行激活, MS用户无论发送多少次激活请求, 激活后都只能 重复使用该 Default APN所对应的业务, 这种场景下 MS用户所能应用的业务 类型过于单一; 其次, 控制节点本地只为 MS用户配置一个 Local APN, 当需 要通过 Local APN进行激活时, MS用户只能使用 Local APN所对应的业务, 同样带来 MS用户所能应用的业务类型过于单一的问题; 另外, 不存在满足要 求的签约信息的场景下,优先釆用与 Local APN相一致的非野卡签约信息或者 釆用预先指定的签约信息也同样造成 MS 用户所能应用的业务类型过于单一 的问题。 发明内容
为了消除或者减轻至少一个上述技术缺陷, 本申请实施例第一方面提供 的一种控制节点, 包括:
获取模块, 用于获取至少一组用户的签约信息;
第一激活模块, 当不存在满足匹配要求的签约信息时, 用于优先从所述至 少一组用户的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分组数据协议 PDP/分组数据网络 PDN上下文;
第二激活模块, 当存在至少两组满足匹配要求的非野卡签约信息时, 用于 优先从所述至少两组满足匹配要求的非野卡签约信息中选择一组包含未使用 过的 Default APN的签约信息激活所述 PDP/PDN上下文;
第三激活模块, 当仅存在满足匹配要求的野卡签约信息时, 用于从至少一 个 Local APN中选取一个未使用过的 Local APN, 结合所述野卡签约信息激活 所述 PDP/PDN上下文。
结合第一方面, 在第一种可能的实现方式中, 还包括:
添加模块, 用于从所述至少一组用户的签约信息中提取包含 Default APN 的签约信息添加至 Default APN签约信息队列;
所述添加模块, 还用于从所述提取包含 Default APN的签约信息后剩余的 签约信息中提取与所述至少一个 Local APN相一致的签约信息添加至 Local APN签约信息队列;
所述添加模块,还用于将所述提取与所述至少一个 Local APN相一致的签 约信息后剩余的非野卡签约信息添加至其他 other APN签约信息队列。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中, 所 述 Default APN签约信息队列中至少包括第一 Default APN签约信息、 第二 Default APN签约信息, 所述第一 Default APN的优先级高于所述第二 Default APN的优先级,
所述第一激活模块包括:
第一查询单元,用于查询所述第一 Default APN签约信息中的 Default APN 是否存在于已使用 Default APN列表;
所述第一查询单元, 还用于查询出所述第一 Default APN签约信息中的 Default APN存在于所述已使用 Default APN列表时,查询所述第二 Default APN 签约信息中的 Default APN是否存在于所述已使用 Default APN列表;
所述第一查询单元, 还用于查询出所述第二 Default APN签约信息中的 Default APN不存在于所述已使用 Default APN列表时, 发送第一选定提示消 息给第一选定单元;
第一选定单元,用于接收到所述第一选定提示消息后,将所述第二 Default APN签约信息优先选定为用于激活所述 PDP/PDN上下文的签约信息;
第一激活单元, 用于根据所述第二 Default APN 签约信息激活所述 PDP/PDN上下文;
第一添加单元,用于添加所述第二 Default APN签约信息中的 Default APN 至所述已使用 Default APN列表。
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中, 所 述第一激活模块,当所述至少一组用户的签约信息中不存在包含所述未使用过 的 Default APN的签约信息时, 还用于从所述 Local APN签约信息队列中选择 一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上下文。 结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中, 所 述 Local APN签约信息队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息, 所述第一 Local APN的优先级高于所述第二 Local APN的优 先级,
所述第一激活模块包括:
第二查询单元,用于查询所述第一 Local APN签约信息中的 Local APN是 否存在于第一已使用 Local APN列表;
所述第二查询单元, 还用于查询出所述第一 Local APN签约信息中的 Local APN存在于所述第一已使用 Local APN列表时,查询所述第二 Local APN 签约信息中的 Local APN是否存在于所述第一已使用 Local APN列表;
所述第二查询单元, 还用于查询出所述第二 Local APN签约信息中的 Local APN不存在于所述第一已使用 Local APN列表时, 发送第二选定提示消 息给第二选定单元;
第二选定单元, 用于接收到所述第二选定提示消息后, 将所述第二 Local APN签约信息选定为用于激活所述 PDP/PDN上下文的签约信息;
第二激活单元,用于根据所述第二 Local APN签约信息激活所述 PDP/PDN 上下文;
第二添加单元,用于添加所述第二 Local APN签约信息中的 Local APN至 所述第一已使用 Local APN列表。
结合第一方面的第三种可能的实现方式, 在第五种可能的实现方式中, 所述第一激活模块,当不存在所述与未使用过的 Local APN相一致的签约 信息时, 还用于从所述 other APN签约信息队列中选择一组包含未使用过的 other APN的签约信息激活所述 PDP/PDN上下文。
结合第一方面的第五种可能的实现方式, 在第六种可能的实现方式中, 所述 Other APN签约信息队列中至少包括第一 Other APN签约信息、第二
Other APN签约信息, 所述第一 Other APN的优先级高于所述第二 Other APN 的优先级,
所述第一激活模块包括:
第三查询单元,用于查询所述第一 Other APN签约信息中的 Other APN是 否存在于已使用 Other APN列表;
所述第三查询单元, 还用于查询出所述第一 Other APN签约信息中的 Other APN存在于所述已使用 Other APN列表时, 查询所述第二 Other APN签 约信息中的 Other APN是否存在于所述已使用 Other APN列表;
所述第三查询单元, 还用于查询出所述第二 Other APN签约信息中的 Other APN不存在于所述已使用 Other APN列表时, 发送第三选定提示消息给 第三选定单元;
第三选定单元, 用于接收到所述第三选定提示消息后, 将所述第二 Other APN签约信息选定为用于激活所述 PDP/PDN上下文的签约信息;
第三激活单元,用于根据所述第二 Other APN签约信息激活所述 PDP/PDN 上下文;
第三添加单元,用于添加所述第二 Other APN签约信息中的 Other APN至 所述已使用 Other APN列表。
结合第一方面, 在第七种可能的实现方式中, 所述获取模块包括: 发送单元, 用于发送签约信息请求给服务器;
接收单元, 用于接收服务器发送的至少两组用户的签约信息, 所述至少两 组用户的签约信息中任一签约信息中的 Default APN均不同于其他签约信息中 的 Default APN。
结合第一方面的第一种可能的实现方式,在第八种可能的实现方式中, 所 述匹配要求包括 PDP类型、 PDP地址中一种或多种,
所述第二激活模块,当所述至少两组满足所述签约信息要求的非野卡签约 信息中不存在所述包含未使用过的 Default APN的签约信息时, 还用于从所述 至少一组用户的签约信息中选择一个与未使用过的 Local APN相一致的签约 信息激活所述 PDP/PDN上下文;
所述第二激活模块,当不存在所述与未使用过的 Local APN相一致的签约 信息时, 还用于从所述至少一组用户的签约信息中选择一组包含未使用过的 other APN的签约信息激活所述 PDP/PDN上下文。
结合第一方面, 在第九种可能的实现方式中, 所述至少一个 Local APN至 少包括第一 Local APN和第二 Local APN, 所述第一 Local APN的优先级高于 所述第二 Local APN的优先级,
所述第三激活模块包括:
第四查询单元, 用于查询所述第一 Local APN 是否存在于第二已使用 Local APN列表;
所述第四查询单元,还用于查询出所述第一 Local APN存在于所述第二已 使用 Local APN列表时,查询所述第二 Local APN是否存在于所述第二已使用 Local APN列表;
所述第四查询单元,还用于查询出所述第二 Local APN不存在于所述第二 已使用 Local APN列表时, 发送第四选定提示消息给第四选定单元;
第四选定单元, 用于接收到所述第四选定提示消息后, 将所述第二 Local APN 优先选定为用于配合所述野卡签约信息激活所述 PDP/PDN 上下文的 APN;
第四激活单元, 用于基于所述第二 Local APN, 结合所述野卡签约信息激 活所述 PDP/PDN上下文;
第四添加单元, 用于添加所述第二 Local APN 至所述第二已使用 Local APN列表。
结合第一方面的第一种可能的实现方式, 在第十种可能的实现方式中, APN的类型包括 Default APN、 Local APN和其他 other APN, 所述控制节点还 包括:
判断模块, 当存在唯——组满足匹配要求的非野卡签约信息时, 用于判断 所述唯——组满足匹配要求的非野卡签约信息中包含的 APN是否被使用过; 还用于判断出所述唯——组满足匹配要求的非野卡签约信息中包含的 APN被 使用过时, 发送重选提示消息给第四激活模块;
第四激活模块, 用于接收到所述判断模块发送的所述重选提示消息后,优 先从所述至少一组用户的签约信息中选择一组包含未使用过的 Default APN的 签约信息激活所述 PDP/PDN上下文;
所述第四激活模块,当所述至少一组用户的签约信息中不存在所述包含未 使用过的 Default APN的签约信息时, 还用于从所述至少一组用户的签约信息 中选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上 下文;
所述第四激活模块,当所述至少一组用户的签约信息中不存在所述与未使 用过的 Local APN相一致的签约信息时,还用于从所述至少一组用户的签约信 息中选择一组包含未使用过的 other APN的签约信息激活所述 PDP/PDN上下 文。
所述第四激活模块,当所述至少一组用户的签约信息中不存在所述包含未 使用过的 other APN的签约信息时, 还用于基于所述唯——组满足匹配要求的 非野卡签约信息激活所述 PDP/PDN上下文。
第二方面, 本发明实施例提供的一种服务器, 包括:
接收模块, 用于接收控制节点发送的签约信息请求;
查找模块,用于根据所述签约信息请求查找用户签约的至少两组用户的签 约信息, 所述至少两组用户的签约信息中包含的默认接入点名称 Default APN 各不相同;
发送模块, 用于发送所述至少两组用户的签约信息给所述控制节点。
结合第二方面, 在第一种可能的实现方式中, 还包括:
所述接收模块,还用于接收用户的签约请求, 所述签约请求携带至少两个 互不相同的 Default APN指定信息;
生成模块, 用于根据所述指定信息生成所述至少两组用户的签约信息, 所 述至少两组用户的签约信息中任一签约信息中的 Default APN均不同于其他签 约信息中的 Default APN。
第三方面,本发明实施例提供的一种 PDP/PDN上下文的激活方法, 包括: 获取至少一组用户的签约信息;
当不存在满足匹配要求的签约信息时,优先从所述至少一组用户的签约信 息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分 组数据协议 PDP/分组数据网络 PDN上下文;
当存在至少两组满足匹配要求的非野卡签约信息时,优先从所述至少两组 满足匹配要求的非野卡签约信息中选择一组包含未使用过的 Default APN的签 约信息激活所述 PDP/PDN上下文;
当仅存在满足匹配要求的野卡签约信息时,从至少一个 Local APN中选取 一个未使用过的 Local APN, 结合所述野卡签约信息激活所述 PDP/PDN上下 文。
结合第三方面,在第一种可能的实现方式中, 获取至少一组用户的签约信 息之后, 还包括如下步骤中任一个:
从所述至少一组用户的签约信息中提取包含 Default APN的签约信息添加 至 Default APN签约信息队列;
从所述提取包含 Default APN的签约信息后剩余的签约信息中提取与所述 至少一个 Local APN相一致的签约信息添加至 Local APN签约信息队列;
将所述提取与所述至少一个 Local APN相一致的签约信息后剩余的非野 卡签约信息添加至其他 other APN签约信息队列。
结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中, 所 述 Default APN签约信息队列中至少包括第一 Default APN签约信息、 第二 Default APN签约信息, 所述第一 Default APN的优先级高于所述第二 Default APN的优先级,
当不存在满足匹配要求的签约信息时,优先从所述至少一组用户的签约信 息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分 组数据十办议 PDP/PDN上下文包括:
查询所述第一 Default APN签约信息中的 Default APN是否存在于已使用 Default APN列表;
当查询出所述第一 Default APN签约信息中的 Default APN存在于所述已 使用 Default APN列表时, 查询所述第二 Default APN签约信息中的 Default APN是否存在于所述已使用 Default APN列表;
当查询出所述第二 Default APN签约信息中的 Default APN不存在于所述 已使用 Default APN列表时, 将所述第二 Default APN签约信息优先选定为用 于激活所述 PDP/PDN上下文的签约信息;
根据所述第二 Default APN签约信息激活所述 PDP/PDN上下文; 添加所述第二 Default APN签约信息中的 Default APN 至所述已使用 Default APN列表。
结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,优 先从所述至少一组用户的签约信息中选择一组包含未使用过的默认接入点名 称 Default APN的签约信息激活分组数据协议 PDP/PDN上下文之后,还包括: 当所述至少一组用户的签约信息中不存在包含所述未使用过的 Default APN的签约信息时, 从所述 Local APN签约信息队列中选择一个与未使用过 的 Local APN相一致的签约信息激活所述 PDP/PDN上下文。
结合第三方面的第三种可能的实现方式,在第四种可能的实现方式中, 所 述 Local APN签约信息队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息, 所述第一 Local APN的优先级高于所述第二 Local APN的优 先级,
选择与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上下 文包括:
查询所述第一 Local APN签约信息中的 Local APN是否存在于第一已使用 Local APN列表;
当查询出所述第一 Local APN签约信息中的 Local APN存在于所述第一已 使用 Local APN列表时,查询所述第二 Local APN签约信息中的 Local APN是 否存在于所述第一已使用 Local APN列表;
当查询出所述第二 Local APN签约信息中的 Local APN不存在于所述第一 已使用 Local APN列表时,将所述第二 Local APN签约信息选定为用于激活所 述 PDP/PDN上下文的签约信息;
根据所述第二 Local APN签约信息激活所述 PDP/PDN上下文;
添加所述第二 Local APN签约信息中的 Local APN 至所述第一已使用 Local APN列表。
结合第三方面的第三种可能的实现方式,在第五种可能的实现方式中,从 所述 Local APN签约信息队列中选择一个与未使用过的 Local APN相一致的签 约信息激活所述 PDP/PDN上下文之后, 还包括:
当不存在所述与未使用过的 Local APN相一致的签约信息时,从所述 other APN签约信息队列中选择一组包含未使用过的 other APN的签约信息激活所 述 PDP/PDN上下文。
结合第三方面的第五种可能的实现方式,在第六种可能的实现方式中, 所 述 Other APN签约信息队列中至少包括第一 Other APN签约信息、 第二 Other APN签约信息, 所述第一 Other APN的优先级高于所述第二 Other APN的优 先级,
从所述 other APN签约信息队列中选择一组包含未使用过的 other APN的 签约信息激活所述 PDP/PDN上下文包括:
查询所述第一 Other APN签约信息中的 Other APN是否存在于已使用 Other APN列表;
当查询出所述第一 Other APN签约信息中的 Other APN存在于所述已使用 Other APN列表时, 查询所述第二 Other APN签约信息中的 Other APN是否存 在于所述已使用 Other APN列表;
当查询出所述第二 Other APN签约信息中的 Other APN不存在于所述已使 用 Other APN列表时, 将所述第二 Other APN签约信息选定为用于激活所述 PDP/PDN上下文的签约信息;
根据所述第二 Other APN签约信息激活所述 PDP/PDN上下文;
添加所述第二 Other APN签约信息中的 Other APN至所述已使用 Other APN列表。
结合第三方面,在第七种可能的实现方式中, 获取至少一组用户的签约信 息包括:
发送签约信息请求给服务器;
接收服务器发送的至少两组用户的签约信息,所述至少两组用户的签约信 息中任一签约信息中的 Default APN均不同于其他签约信息中的 Default APN。
结合第三方面的第一种可能的实现方式,在第八种可能的实现方式中, 所 述匹配要求包括 PDP类型、 PDP地址中一种或多种,
优先从所述至少两组满足匹配要求的非野卡签约信息中选择一组包含未 使用过的 Default APN的签约信息激活所述 PDP/PDN上下文之后, 还包括: 当所述至少两组满足所述签约信息要求的非野卡签约信息中不存在所述 包含未使用过的 Default APN的签约信息时, 从所述至少一组用户的签约信息 中选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上 下文; 选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN 上下文之后, 还包括:
当不存在所述与未使用过的 Local APN相一致的签约信息时,从所述至少 一组用户的签约信息中选择一组包含未使用过的 other APN的签约信息激活所 述 PDP/PDN上下文。
结合第三方面, 在第九种可能的实现方式中, 所述至少一个 Local APN至 少包括第一 Local APN和第二 Local APN, 所述第一 Local APN的优先级高于 所述第二 Local APN的优先级,
从至少一个 Local APN中选取一个未使用过的 Local APN包括:
查询所述第一 Local APN是否存在于第二已使用 Local APN列表; 当查询出所述第一 Local APN存在于所述第二已使用 Local APN列表时, 查询所述第二 Local APN是否存在于所述第二已使用 Local APN列表;
当查询出所述第二 Local APN不存在于所述第二已使用 Local APN列表 时, 将所述第二 Local APN优先选定为用于配合所述野卡签约信息激活所述
PDP/PDN上下文的 APN;
结合所述野卡签约信息激活所述 PDP/PDN上下文包括:
基于所述第二 Local APN, 结合所述野卡签约信息激活所述 PDP/PDN上 下文;
添加所述第二 Local APN至所述第二已使用 Local APN列表。
结合第三方面的第一种可能的实现方式,在第十种可能的实现方式中, 获 取至少一组用户的签约信息之后, 还包括:
当存在唯——组满足匹配要求的非野卡签约信息时,判断所述唯——组满 足匹配要求的非野卡签约信息中包含的 APN是否被使用过;
若判断出所述唯——组满足匹配要求的非野卡签约信息中包含的 APN被 使用过, 则优先从所述至少一组用户的签约信息中选择一组包含未使用过的 Default APN的签约信息激活所述 PDP/PDN上下文;
当所述至少一组用户的签约信息中不存在所述包含未使用过的 Default APN 的签约信息时, 从所述至少一组用户的签约信息中选择一个与未使用过 的 Local APN相一致的签约信息激活所述 PDP/PDN上下文; 从所述至少一组用户的签约信息中选择一个与未使用过的 Local APN相 一致的签约信息激活所述 PDP/PDN上下文之后, 还包括:
当所述至少一组用户的签约信息中不存在所述与未使用过的 Local APN 相一致的签约信息时,从所述至少一组用户的签约信息中选择一组包含未使用 过的 other APN的签约信息激活所述 PDP/PDN上下文;
从所述至少一组用户的签约信息中选择一组包含未使用过的 other APN的 签约信息激活所述 PDP/PDN上下文之后, 还包括:
当所述至少一组用户的签约信息中不存在所述包含未使用过的 other APN 的签约信息时, 基于所述唯——组满足匹配要求的非野卡签约信息激活所述 PDP/PDN上下文。
第四方面, 本发明实施例提供的一种提供签约信息的方法, 包括: 接收控制节点发送的签约信息请求;
根据所述签约信息请求查找用户签约的至少两组用户的签约信息,所述至 少两组用户的签约信息中包含的默认接入点名称 Default APN各不相同;
发送所述至少两组用户的签约信息给所述控制节点。
结合第四方面,在第一种可能的实现方式中,接收控制节点发送的签约信 息请求之前, 还包括:
接收用户的签约请求, 所述签约请求携带至少两个互不相同的 Default APN指定信息;
根据所述指定信息生成所述至少两组用户的签约信息,所述至少两组用户 的签约信息中任一签约信息中的 Default APN 均不同于其他签约信息中的 Default APNo
第五方面, 本发明实施例提供的一种控制节点, 包括: 输入装置、 输出装 置、 存储器和处理器, 其中, 存储器中存储一组程序代码, 且处理器用于调用 存储器中存储的程序代码, 用于执行以下操作:
获取至少一组用户的签约信息;
当不存在满足匹配要求的签约信息时,优先从所述至少一组用户的签约信 息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分 组数据协议 PDP/分组数据网络 PDN上下文; 当存在至少两组满足匹配要求的非野卡签约信息时,优先从所述至少两组 满足匹配要求的非野卡签约信息中选择一组包含未使用过的 Default APN的签 约信息激活所述 PDP/PDN上下文;
当仅存在满足匹配要求的野卡签约信息时,从至少一个 Local APN中选取 一个未使用过的 Local APN, 结合所述野卡签约信息激活所述 PDP/PDN上下 文。
结合第五方面,在第一种可能的实现方式中, 获取至少一组用户的签约信 息之后, 所述处理器还用于执行如下步骤中任一个:
从所述至少一组用户的签约信息中提取包含 Default APN的签约信息添加 至 Default APN签约信息队列;
从所述提取包含 Default APN的签约信息后剩余的签约信息中提取与所述 至少一个 Local APN相一致的签约信息添加至 Local APN签约信息队列;
将所述提取与所述至少一个 Local APN相一致的签约信息后剩余的非野 卡签约信息添加至其他 other APN签约信息队列。
结合第五方面的第一种可能的实现方式,在第二种可能的实现方式中, 所 述 Default APN签约信息队列中至少包括第一 Default APN签约信息、 第二 Default APN签约信息, 所述第一 Default APN的优先级高于所述第二 Default APN的优先级,
当不存在满足匹配要求的签约信息时,所述处理器执行优先从所述至少一 组用户的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的 签约信息激活分组数据协议 PDP/PDN上下文包括:
查询所述第一 Default APN签约信息中的 Default APN是否存在于已使用 Default APN列表;
当查询出所述第一 Default APN签约信息中的 Default APN存在于所述已 使用 Default APN列表时, 查询所述第二 Default APN签约信息中的 Default APN是否存在于所述已使用 Default APN列表;
当查询出所述第二 Default APN签约信息中的 Default APN不存在于所述 已使用 Default APN列表时, 将所述第二 Default APN签约信息优先选定为用 于激活所述 PDP/PDN上下文的签约信息; 根据所述第二 Default APN签约信息激活所述 PDP/PDN上下文; 添加所述第二 Default APN签约信息中的 Default APN 至所述已使用 Default APN列表。
结合第五方面的第二种可能的实现方式,在第三种可能的实现方式中,优 先从所述至少一组用户的签约信息中选择一组包含未使用过的默认接入点名 称 Default APN的签约信息激活分组数据协议 PDP/PDN上下文之后, 所述处 理器还用于执行以下步骤:
当所述至少一组用户的签约信息中不存在包含所述未使用过的 Default APN的签约信息时, 从所述 Local APN签约信息队列中选择一个与未使用过 的 Local APN相一致的签约信息激活所述 PDP/PDN上下文。
结合第五方面的第三种可能的实现方式,在第四种可能的实现方式中, 所 述 Local APN签约信息队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息, 所述第一 Local APN的优先级高于所述第二 Local APN的优 先级,
所述处理器执行选择与未使用过的 Local APN相一致的签约信息激活所 述 PDP/PDN上下文包括:
查询所述第一 Local APN签约信息中的 Local APN是否存在于第一已使用 Local APN列表;
当查询出所述第一 Local APN签约信息中的 Local APN存在于所述第一已 使用 Local APN列表时,查询所述第二 Local APN签约信息中的 Local APN是 否存在于所述第一已使用 Local APN列表;
当查询出所述第二 Local APN签约信息中的 Local APN不存在于所述第一 已使用 Local APN列表时,将所述第二 Local APN签约信息选定为用于激活所 述 PDP/PDN上下文的签约信息;
根据所述第二 Local APN签约信息激活所述 PDP/PDN上下文;
添加所述第二 Local APN签约信息中的 Local APN 至所述第一已使用 Local APN列表。
结合第五方面的第三种可能的实现方式,在第五种可能的实现方式中,从 所述 Local APN签约信息队列中选择一个与未使用过的 Local APN相一致的签 约信息激活所述 PDP/PDN上下文之后, 所述处理器还用于执行以下步骤: 当不存在所述与未使用过的 Local APN相一致的签约信息时,从所述 other
APN签约信息队列中选择一组包含未使用过的 other APN的签约信息激活所 述 PDP/PDN上下文。
结合第五方面的第五种可能的实现方式,在第六种可能的实现方式中, 所 述 Other APN签约信息队列中至少包括第一 Other APN签约信息、 第二 Other
APN签约信息, 所述第一 Other APN的优先级高于所述第二 Other APN的优 先级,
所述处理器执行从所述 other APN签约信息队列中选择一组包含未使用过 的 other APN的签约信息激活所述 PDP/PDN上下文包括:
查询所述第一 Other APN签约信息中的 Other APN是否存在于已使用 Other APN列表;
当查询出所述第一 Other APN签约信息中的 Other APN存在于所述已使用 Other APN列表时, 查询所述第二 Other APN签约信息中的 Other APN是否存 在于所述已使用 Other APN列表;
当查询出所述第二 Other APN签约信息中的 Other APN不存在于所述已使 用 Other APN列表时, 将所述第二 Other APN签约信息选定为用于激活所述 PDP/PDN上下文的签约信息;
根据所述第二 Other APN签约信息激活所述 PDP/PDN上下文;
添加所述第二 Other APN签约信息中的 Other APN至所述已使用 Other APN列表。
结合第五方面,在第七种可能的实现方式中, 所述处理器执行获取至少一 组用户的签约信息包括:
发送签约信息请求给服务器;
接收服务器发送的至少两组用户的签约信息,所述至少两组用户的签约信 息中任一签约信息中的 Default APN均不同于其他签约信息中的 Default APN。
结合第五方面的第一种可能的实现方式,在第八种可能的实现方式中, 所 述匹配要求包括 PDP类型、 PDP地址中一种或多种,
优先从所述至少两组满足匹配要求的非野卡签约信息中选择一组包含未 使用过的 Default APN的签约信息激活所述 PDP/PDN上下文之后, 所述处理 器还用于执行以下步骤:
当所述至少两组满足所述签约信息要求的非野卡签约信息中不存在所述 包含未使用过的 Default APN的签约信息时, 从所述至少一组用户的签约信息 中选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上 下文;
选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN 上下文之后, 所述处理器还用于执行以下步骤:
当不存在所述与未使用过的 Local APN相一致的签约信息时,从所述至少 一组用户的签约信息中选择一组包含未使用过的 other APN的签约信息激活所 述 PDP/PDN上下文。
结合第五方面, 在第九种可能的实现方式中, 所述至少一个 Local APN至 少包括第一 Local APN和第二 Local APN, 所述第一 Local APN的优先级高于 所述第二 Local APN的优先级,
所述处理器从至少一个 Local APN中选取一个未使用过的 Local APN包 括:
查询所述第一 Local APN是否存在于第二已使用 Local APN列表; 当查询出所述第一 Local APN存在于所述第二已使用 Local APN列表时, 查询所述第二 Local APN是否存在于所述第二已使用 Local APN列表;
当查询出所述第二 Local APN不存在于所述第二已使用 Local APN列表 时, 将所述第二 Local APN优先选定为用于配合所述野卡签约信息激活所述
PDP/PDN上下文的 APN;
所述处理器结合所述野卡签约信息激活所述 PDP/PDN上下文包括: 基于所述第二 Local APN, 结合所述野卡签约信息激活所述 PDP/PDN上 下文;
添加所述第二 Local APN至所述第二已使用 Local APN列表。
结合第五方面的第一种可能的实现方式,在第十种可能的实现方式中, 获 取至少一组用户的签约信息之后, 所述处理器还用于执行以下步骤:
当存在唯——组满足匹配要求的非野卡签约信息时,判断所述唯——组满 足匹配要求的非野卡签约信息中包含的 APN是否被使用过;
若判断出所述唯——组满足匹配要求的非野卡签约信息中包含的 APN被 使用过, 则优先从所述至少一组用户的签约信息中选择一组包含未使用过的
Default APN的签约信息激活所述 PDP/PDN上下文;
当所述至少一组用户的签约信息中不存在所述包含未使用过的 Default
APN 的签约信息时, 从所述至少一组用户的签约信息中选择一个与未使用过 的 Local APN相一致的签约信息激活所述 PDP/PDN上下文;
从所述至少一组用户的签约信息中选择一个与未使用过的 Local APN相 一致的签约信息激活所述 PDP/PDN上下文之后, 所述处理器还用于执行以下 步骤:
当所述至少一组用户的签约信息中不存在所述与未使用过的 Local APN 相一致的签约信息时,从所述至少一组用户的签约信息中选择一组包含未使用 过的 other APN的签约信息激活所述 PDP/PDN上下文;
从所述至少一组用户的签约信息中选择一组包含未使用过的 other APN的 签约信息激活所述 PDP/PDN上下文之后, 所述处理器还用于执行以下步骤: 当所述至少一组用户的签约信息中不存在所述包含未使用过的 other APN 的签约信息时, 基于所述唯——组满足匹配要求的非野卡签约信息激活所述 PDP/PDN上下文。
第六方面,本发明实施例提供的一种服务器, 包括: 输入装置、输出装置、 存储器和处理器, 其中, 存储器中存储一组程序代码, 且处理器用于调用存储 器中存储的程序代码, 用于执行以下操作:
接收控制节点发送的签约信息请求;
根据所述签约信息请求查找用户签约的至少两组用户的签约信息,所述至 少两组用户的签约信息中包含的默认接入点名称 Default APN各不相同;
发送所述至少两组用户的签约信息给所述控制节点。
结合第六方面,在第一种可能的实现方式中,接收控制节点发送的签约信 息请求之前, 所述处理器还用于执行以下步骤:
接收用户的签约请求, 所述签约请求携带至少两个互不相同的 Default APN指定信息; 根据所述指定信息生成所述至少两组用户的签约信息,所述至少两组用户 的签约信息中任一签约信息中的 Default APN 均不同于其他签约信息中的 Default APNo
第七方面, 本发明实施例提供的一种服务器, 包括: 包括控制节点和服务 器, 所述控制节点为第一方面、 第一方面的第一种可能的实现方式、 第一方面 的第二种可能的实现方式、第一方面的第三种可能的实现方式、第一方面的第 四种可能的实现方式、第五方面的第种可能的实现方式、 第一方面的第六种可 能的实现方式、第一方面的第七种可能的实现方式、第一方面的第八种可能的 实现方式、第一方面的第九种可能的实现方式、 第一方面的第十种可能的实现 方式中任意所述的控制节点, 所述服务器为第二方面、第二方面的第一种可能 的实现方式中任一所述的服务器。
本发明实施例的控制节点在激活 PDP/PDN上下文过程中, 当获取到的签 约信息均不满足用户对签约信息的匹配要求时, 优先釆用包含 Default APN的 签约信息激活 PDP/PDN上下文; 另外, 当存在至少两组满足匹配要求的非野 卡签约信息时, 可以选择包含未使用过的 Default APN 的签约信息来激活 PDP/PDN 上下文; 此外, 当仅存在满足匹配要求的野卡签约信息时, 可以选 择未使用过的 Local APN、结合所述野卡签约信息激活所述 PDP/PDN上下文, 由此, 本发明实施例的控制节点在多次激活 PDP/PDN上下文时可以釆用包含 不同 APN的签约信息,从而解决由于 APN重复使用所造成的用户应用业务类 型过于单一的问题, 能够扩大用户能够使用的业务类型范围,提高激活成功率 和用户满意度。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 la为本发明提供的一种控制节点的第一实施例结构示意图;
图 lb为本发明提供的一种控制节点的第二实施例结构示意图; 图 lc为本发明提供的一种控制节点的第三实施例结构示意图; 图 Id为本发明提供的一种控制节点的第四实施例结构示意图;
图 le为本发明提供的一种控制节点的第五实施例结构示意图;
图 If为本发明提供的一种控制节点的第六实施例结构示意图;
图 lg为本发明提供的一种控制节点的第七实施例结构示意图;
图 lh为本发明提供的一种控制节点的第八实施例结构示意图;
图 2a为本发明提供的一种服务器的第一实施例结构示意图;
图 2b为本发明提供的一种服务器的第二实施例结构示意图;
图 3为本发明提供的一种 PDP/PDN上下文的激活方法的一实施例流程示 意图;
图 4为本发明提供的一种提供签约信息的方法的一实施例流程示意图; 图 5a为本发明提供的一种控制节点的第一实施例流程示意图;
图 5b 为本发明提供的一种控制节点的第一实施例流程示意图的补充部 分;
图 6为本发明提供的一种控制节点的第二实施例流程示意图;
图 7为本发明提供的一种控制节点的第三实施例流程示意图;
图 8为本发明提供的一种控制节点的第四实施例流程示意图;
图 9为本发明提供的一种系统的一实施例结构示意图;
图 10为本发明提供的一种系统的一实施例流程示意图;
图 11为本发明提供的另一种控制节点的一实施例流程示意图;
图 12为本发明提供的另一种服务器的一实施例流程示意图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
请参见图 la, 图 la为本发明实施例提供的一种控制节点的结构示意图。 如图 la所示, 本发明实施例的控制节点至少可以包括: 获取模块 11, 用于获取至少一组用户的签约信息;
第一激活模块 12, 当不存在满足匹配要求的签约信息时, 用于优先从至 少一组用户的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分组数据协议 PDP/PDN上下文;
第二激活模块 13, 当存在至少两组满足匹配要求的非野卡签约信息时, 用于优先从至少两组满足匹配要求的非野卡签约信息中选择一组包含未使用 过的 Default APN的签约信息激活 PDP/PDN上下文;
第三激活模块 14, 当仅存在满足匹配要求的野卡签约信息时, 用于从至 少一个 Local APN中选取一个未使用过的 Local APN, 结合野卡签约信息激活 PDP/PDN上下文。
本发明实施例中,控制节点可以为服务 GPRS支持节点 SGSN或者移动管 理实体 MME, 用户附着时需要控制节点激活对应的 PDP/PDN上下文后, 用 户才能传输业务数据。
进一步可选地, 用户在附着时, 会发送一个激活请求给控制节点。 当控制 节点接收到用户的激活请求时, 控制节点执行步骤 S301可通过发送签约信息 请求给服务器,使服务器根据签约信息请求查找服务器中用户的签约信息; 然 后, 控制节点接收服务器发送的用户的签约信息。
进一步可选地, 用户的激活请求中可以进一步包含匹配要求,控制节点应 根据匹配要求从服务器提供的签约信息中选取一组用于激活 PDP/PDN上下文 的签约信息。 用户在激活请求中提出的匹配要求可以包括指定的 PDP类型、 指定的 PDP地址以及指定的 APN, 当用户提出的匹配要求至少包括指定的 PDP类型、指定的 PDP地址以及指定的 APN中至少一种时, 控制节点应找出 一组与匹配要求相一致的签约信息用于激活 PDP/PDN上下文。
进一步可选地, 签约信息结构中可以至少包括 PDP类型、 PDP地址以及 APN等信息, 本发明实施例是基于 APN提出签约信息选择方法改进的, 本发 明实施例中涉及到的 APN类型可以包括 Default APN、 Local APN以及 Other APN, 其中 Default APN是用户与服务器签约时指定的默认接入点名称, 本发 明实施例中提及的服务器中可以存储多于一组包含 Default APN的签约信息, Local APN是用户与控制节点本地签约的本地接入点名称, 主要用于用于签约 个 APN, Other APN则是用户与服务器签约过程中涉及到的 Default APN以外 的、 不与 Local APN相重复的 APN, 请一并参照图 lb, 控制节点可以通过添 加模块 15执行根据 APN的类型对获取到的签约信息进行分类的具体操作: 添加模块 15,用于从至少一组用户的签约信息中提取包含 Default APN的 签约信息添加至 Default APN签约信息队列;
添加模块 15,还用于从提取包含 Default APN的签约信息后剩余的签约信 息中提取与至少一个 Local APN相一致的签约信息添加至 Local APN签约信息 队列;
添加模块 15, 还用于将提取与至少一个 Local APN相一致的签约信息后 剩余的非野卡签约信息添加至其他 other APN签约信息队列。
由此可知, 当用户与服务器的签约信息足够的情况下, Default APN签约 信息队列可以至少包括两组包含不相同 Default APN的签约信息, Local APN 签约信息队列可以至少包括两组包含不相同 Local APN 的签约信息, Other APN签约信息队列可以至少包括两组包含不相同 Other APN的签约信息, 另 外, 同一类型的签约信息之间也可以设置排列顺序, 以方便选取, 设置排列顺 序的方式可以包括为各个签约信息设置优先级, 以及为各个签约信息设置编 号。
进一步可选地, 为了增强用户的业务适用范围, 本发明实施例在根据签约 信息激活 PDP/PDN上下文后, 记录用于激活 PDP/PDN上下文的签约信息中 的 APN, 例如, 生成已使用 APN列表, 以供查询, 在第 N次(N>1 )进行激 活时,根据已使用 APN列表来选择未使用的 APN所对应的签约信息进行激活, 本发明实施例下述的内容, 均是基于满足匹配要求中对 PDP类型、 PDP地址 的要求, 或者匹配要求未对 PDP类型、 PDP地址作出要求的情况下实施的。
进一步可选的, 请一并参照图 lc, 当服务器提供的至少一组签约信息中 没有满足匹配要求的签约信息时, 需要进行签约匹配纠正, 具体实现中, 当从 服务器接收到的签约信息中有至少两组包含 Default APN的签约信息时, 控制 节点需要从这至少两组签约信息中选择出一组签约信息用于激活 PDP/PDN上 下文。 例如, 当 Default APN签约信息队列中至少包括第一 Default APN签约 信息、 第二 Default APN签约信息, 并且预先设置的第一 Default APN的优先 级高于第二 Default APN的优先级时, 第一激活模块 12可以进一步通过第一 查询单元 1201、 第一选定单元 1202、 第一激活单元 1203 以及第一添加单元 1204实施从 Default APN签约信息队列中选择签约信息并激活 PDP/PDN上下 文:
第一查询单元 1201,用于查询第一 Default APN签约信息中的 Default APN 是否存在于已使用 Default APN列表;
第一查询单元 1201,还用于查询出第一 Default APN签约信息中的 Default APN存在于已使用 Default APN列表时, 查询第二 Default APN签约信息中的 Default APN是否存在于已使用 Default APN列表;
第一查询单元 1201,还用于查询出第二 Default APN签约信息中的 Default APN不存在于已使用 Default APN列表时,发送第一选定提示消息给第一选定 单元 1202;
第一选定单元 1202,用于接收到第一选定提示消息后,将第二 Default APN 签约信息优先选定为用于激活 PDP/PDN上下文的签约信息;
第一激活单元 1203, 用于根据第二 Default APN签约信息激活 PDP/PDN 上下文;
第一添加单元 1204,用于添加第二 Default APN签约信息中的 Default APN 至已使用 Default APN列表。
进一步可选地, 经第一激活模块 12确认, 发现服务器提供的至少一组用 户的签约信息中不存在包含未使用过的 Default APN的签约信息, 即服务器提 供的签约信息中没有包含 Default APN 的签约信息、 或者服务器提供的包含 Default APN的签约信息已经使用过了,那么第一激活模块 12可以进一步通过 Local APN签约信息队列中的签约信息执行激活 PDP/PDN上下文的操作。 例 如, 当 Local APN签约信息队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息,并且预先设置的第一 Local APN的优先级高于第二 Local APN的优先级时, 进一步可选的, 请一并参照图 ld, 第一激活模块 12可以进 一步通过第二查询单元 1205、第二选定单元 1206、第二激活单元 1207以及第 二添加单元 1208 实施从 Local APN签约信息队列中选择签约信息并激活 PDP/PDN上下文:
第二查询单元 1205, 用于查询第一 Local APN签约信息中的 Local APN 是否存在于第一已使用 Local APN列表;
第二查询单元 1205, 还用于查询出第一 Local APN签约信息中的 Local APN存在于第一已使用 Local APN列表时, 查询第二 Local APN签约信息中 的 Local APN是否存在于第一已使用 Local APN列表;
第二查询单元 1205, 还用于查询出第二 Local APN签约信息中的 Local APN不存在于第一已使用 Local APN列表时, 发送第二选定提示消息给第二 选定单元;
第二选定单元 1206, 用于接收到第二选定提示消息后,将第二 Local APN 签约信息选定为用于激活 PDP/PDN上下文的签约信息;
第二激活单元 1207,用于根据第二 Local APN签约信息激活 PDP/PDN上 下文;
第二添加单元 1208, 用于添加第二 Local APN签约信息中的 Local APN 至第一已使用 Local APN列表。
进一步可选地, 经第一激活模块 12进一步确认, 发现服务器提供的至少 一组用户的签约信息中不存在包含未使用过的 Local APN的签约信息,即服务 器提供的签约信息中没有包含 Local APN的签约信息、或者服务器提供的包含 Local APN的签约信息已经使用过了, 那么第一激活模块 12可以进一步通过 Other APN签约信息队列中的签约信息执行激活 PDP/PDN上下文的操作。 例 如, 当 Other APN签约信息队列中至少包括第一 Other APN签约信息、 第二 Other APN签约信息,并且预先设置的第一 Other APN的优先级高于第二 Other APN的优先级时, 进一步可选的, 请一并参照图 le, 第一激活模块 12可以进 一步通过第三查询单元 1209、 第三选定单元 12010、 第三激活单元 1211 以及 第三添加单元 1212 实施从 Local APN签约信息队列中选择签约信息并激活 PDP/PDN上下文:
第三查询单元 1209, 用于查询第一 Other APN签约信息中的 Other APN 是否存在于已使用 Other APN列表;
第三查询单元 1209, 还用于查询出第一 Other APN签约信息中的 Other APN存在于已使用 Other APN列表时,查询第二 Other APN签约信息中的 Other APN是否存在于已使用 Other APN列表;
第三查询单元 1209, 还用于查询出第二 Other APN签约信息中的 Other APN不存在于已使用 Other APN列表时, 发送第三选定提示消息给第三选定 单元;
第三选定单元 1210, 用于接收到第三选定提示消息后,将第二 Other APN 签约信息选定为用于激活 PDP/PDN上下文的签约信息;
第三激活单元 1211, 用于根据第二 Other APN签约信息激活 PDP/PDN上 下文;
第三添加单元 1212, 用于添加第二 Other APN签约信息中的 Other APN 至已使用 Other APN列表。
进一步可选的,请一并参照图 lf,控制节点获取到签约信息的获取来源可 以为服务器, 获取模块 11可以包括:
发送单元 1101, 用于发送签约信息请求给服务器;
接收单元 1102, 用于接收服务器发送的至少两组用户的签约信息, 至少 两组用户的签约信息中任一签约信息中的 Default APN均不同于其他签约信息 中的 Default APN。
进一步可选的, 当存在至少两组满足匹配要求的非野卡签约信息时,优先 从至少两组满足匹配要求的非野卡签约信息中选择一组包含未使用过的 Default APN的签约信息激活 PDP/PDN上下文。存在至少两组满足匹配要求的 非野卡签约信息的情况可以为: 激活请求中的匹配要求并未提出对 PDP地址、 PDP类型以及 APN的要求, 或者仅对 PDP地址、 PDP类型中至少一种提出要 求的同时, 并未对 APN作出要求, 此时可能出现多组满足匹配要求的非野卡 签约信息:
第二激活模块 13, 当至少两组满足签约信息要求的非野卡签约信息中不 存在包含未使用过的 Default APN的签约信息时, 还用于从至少一组用户的签 约信息中选择一个与未使用过的 Local APN相一致的签约信息激活 PDP/PDN 上下文。
进一步可选地, 经第二激活模块 13确认, 发现服务器提供的至少一组用 户的签约信息中不存在包含未使用过的 Default APN的签约信息, 即服务器提 供的签约信息中没有包含 Default APN 的签约信息、 或者服务器提供的包含 Default APN的签约信息已经使用过了, 那么可以进一步通过 Local APN签约 信息队列中的签约信息执行激活 PDP/PDN上下文的操作,
第二激活模块 13, 当不存在与未使用过的 Local APN相一致的签约信息 时, 还用于从至少一组用户的签约信息中选择一组包含未使用过的 other APN 的签约信息激活 PDP/PDN上下文。
进一步可选的, 本发明实施例的控制节点与用户可以至少签约一个 Local APN, 即用户签约到野卡时,控制节点可以从本地提供的多个 Local APN中选 择一个 APN, 用以配合野卡签约信息进行 PDP/PDN上下文激活。 控制节点为 用户配置多个 Local APN时,可以进一步配置 APN优先级,以快速指定 APN, 例如,当存储于本地的 Local APN至少包括第一 Local APN和第二 Local APN, 并且第一 Local APN的优先级高于第二 Local APN的优先级时,请一并参照图 lg,第三激活模块 14可以进一步通过第四查询单元 1401、第四选定单元 1402、 第四激活单元 1403以及第四添加单元 1404执行从本地选择一个 Local APN、 结合野卡签约信息激活 PDP/PDN上下文:
第四查询单元 1401, 用于查询第一 Local APN是否存在于第二已使用 Local APN列表;
第四查询单元 1401, 还用于查询出第一 Local APN存在于第二已使用 Local APN列表时, 查询第二 Local APN是否存在于第二已使用 Local APN列 表;
第四查询单元 1401, 还用于查询出第二 Local APN不存在于第二已使用 Local APN列表时, 发送第四选定提示消息给第四选定单元;
第四选定单元 1402, 用于接收到第四选定提示消息后,将第二 Local APN 优先选定为用于配合野卡签约信息激活 PDP/PDN上下文的 APN;
第四激活单元 1403, 用于基于第二 Local APN, 结合野卡签约信息激活 PDP/PDN上下文;
第四添加单元 1404, 用于添加第二 Local APN至第二已使用 Local APN 列表。 进一步可选的,当匹配要求对 PDP类型、 PDP地址以及 APN做出了要求, 并且经分析发现, 只存在一组满足匹配要求的非野卡签约信息时,请一并参照 图 lh, 本发明实施例还对签约信息的选择做出了改进:
判断模块 16, 当存在唯——组满足匹配要求的非野卡签约信息时, 用于 判断唯——组满足匹配要求的非野卡签约信息中包含的 APN是否被使用过; 还用于判断出唯——组满足匹配要求的非野卡签约信息中包含的 APN被使用 过时, 发送重选提示消息给第四激活模块;
第四激活模块 17, 用于接收到判断模块发送的重选提示消息后, 优先从 至少一组用户的签约信息中选择一组包含未使用过的 Default APN的签约信息 激活 PDP/PDN上下文;
第四激活模块 17, 当至少一组用户的签约信息中不存在包含未使用过的 Default APN的签约信息时, 还用于从至少一组用户的签约信息中选择一个与 未使用过的 Local APN相一致的签约信息激活 PDP/PDN上下文;
第四激活模块 17, 当至少一组用户的签约信息中不存在与未使用过的 Local APN相一致的签约信息时, 还用于从至少一组用户的签约信息中选择一 组包含未使用过的 other APN的签约信息激活 PDP/PDN上下文。
第四激活模块 17, 当至少一组用户的签约信息中不存在包含未使用过的 other APN的签约信息时, 还用于基于唯——组满足匹配要求的非野卡签约信 息激活 PDP/PDN上下文。
本发明实施例提供的控制节点在激活 PDP/PDN上下文过程中, 当获取到 的签约信息均不满足用户对签约信息的匹配要求时, 优先釆用包含 Default APN的签约信息激活 PDP/PDN上下文; 另夕卜, 当存在至少两组满足匹配要求 的非野卡签约信息时, 选择包含未使用过的 Default APN 的签约信息来激活 PDP/PDN 上下文; 此外, 当仅存在满足匹配要求的野卡签约信息时, 选择未 使用过的 Local APN、 结合所述野卡签约信息激活所述 PDP/PDN上下文, 由 此, 本发明实施例的控制节点在多次激活 PDP/PDN上下文时能够釆用包含不 同 APN的签约信息,从而解决由于 APN重复使用所造成的用户应用业务类型 过于单一的问题, 能够扩大用户能够使用的业务类型范围,提高了激活成功率 和用户满意度。 请参见图 2a, 图 2a为本发明实施例提供的一种服务器的结构示意图。 如 图 2a所示, 本发明实施例的服务器至少可以包括:
接收模块 21, 用于接收控制节点发送的签约信息请求;
查找模块 22, 用于根据签约信息请求查找用户签约的至少两组用户的签 约信息, 至少两组用户的签约信息中包含的默认接入点名称 Default APN各不 相同;
发送模块 23, 用于发送至少两组用户的签约信息给控制节点。
进一步可选地, 请一并参照图 2b, 本发明实施例的服务器还可以包括: 接收模块 21, 还用于接收用户的签约请求, 签约请求携带至少两个互不 相同的 Default APN指定信息;
生成模块 24, 用于根据指定信息生成至少两组用户的签约信息, 至少两 组用户的签约信息中任一签约信息中的 Default APN均不同于其他签约信息中 的 Default APN。
本发明实施例中,签约信息时用户在服务器签约时产生的, 具体实施可以 包括: 接收用户的签约请求; 根据指定信息生成用户的签约信息。
现有技术中, 服务器生成的签约信息中最多只能有一组签约信息中的 APN被设置为 Default APN, 本发明实施例对此提出了改进, 服务器可以配置 至少两个互不相同的 Default APN, 并生成相应的签约信息。 例如, 用户与月良 务器进行签约时, 可以签约至少两个 Default APN, 相应地, 服务器可生成至 少两组签约信息, 至少两组用户的签约信息中任一签约信息中的 Default APN 均不同于其他签约信息中的 Default APN, 各个 Default APN均配置有优先级。
进一步可选地,服务器可以将生成的所有签约信息提供给控制节点, 以供 控制节点选择出一组签约信息用于激活 PDP/PDN上下文。 其中, 服务器提供 的签约信息可以包括至少两组包含 Default APN的签约信息, 以及其他的签约 信息。
本发明实施例提供的服务器能够为控制节点提供至少两组包含 Default APN的签约信息的签约信息, 使控制节点可以有余地选择用于激活 PDP/PDN 上下文的签约信息, 服务器中可以指定的 Default APN有多个, 故控制节点选 择不同的包含 Default APN的签约信息可以使用户体验不同的业务, 从而解决 由于 APN重复使用所造成的用户应用业务类型过于单一的问题, 扩大了用户 能够使用的业务类型范围, 进一步地提高了控制节点激活 PDP/PDN上下文的 激活成功率, 提高了用户满意度。
请参见图 3, 图 3为本发明实施例提供的一种 PDP/PDN上下文的激活方 法流程图; 其中, 图 3所示的分组数据协议上下文的激活方法是从一控制节点 的角度进行描述的。如图 3所示,本发明实施例提供的方法具体包括以下步骤: 步骤 S301, 获取至少一组用户的签约信息;
步骤 S302, 当不存在满足匹配要求的签约信息时, 优先从至少一组用户 的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的签约信 息激活分组数据协议 PDP/PDN上下文;
步骤 S303, 当存在至少两组满足匹配要求的非野卡签约信息时, 优先从 至少两组满足匹配要求的非野卡签约信息中选择一组包含未使用过的 Default APN的签约信息激活 PDP/PDN上下文;
步骤 S304, 当仅存在满足匹配要求的野卡签约信息时, 从至少一个 Local APN中选取一个未使用过的 Local APN, 结合野卡签约信息激活 PDP/PDN上 下文。
本发明实施例中,控制节点可以为服务 GPRS支持节点 SGSN或者移动管 理实体 MME, 用户附着时需要控制节点激活对应的 PDP/PDN上下文后, 用 户才能传输业务数据。
进一步可选地, 用户在附着时, 会发送一个激活请求给控制节点, 控制节 点接收到用户的激活请求时, 执行步骤 S301可通过发送签约信息请求给服务 器, 使服务器根据签约信息请求查找服务器中用户的签约信息; 然后, 控制节 点接收服务器发送的用户的签约信息。
进一步可选地, 用户的激活请求中可以进一步包含匹配要求,控制节点应 根据匹配要求从服务器提供的签约信息中选取一组用于激活 PDP/PDN上下文 的签约信息。 用户在激活请求中提出的匹配要求可以包括指定的 PDP类型、 指定的 PDP地址以及指定的 APN, 当用户提出的匹配要求至少包括指定的 PDP类型、指定的 PDP地址以及指定的 APN中至少一种时, 控制节点应找出 一组与匹配要求相一致的签约信息用于激活 PDP/PDN上下文。
进一步可选地, 签约信息结构中可以至少包括 PDP类型、 PDP地址以及 APN等信息, 本发明实施例是基于 APN提出签约信息选择方法改进的, 本发 明实施例中涉及到的 APN类型可以包括 Default APN、 Local APN以及 Other APN, 其中 Default APN是用户与服务器签约时指定的默认接入点名称, 本发 明实施例中提及的服务器中可以存储多于一组包含 Default APN的签约信息, Local APN是用户与控制节点本地签约的本地接入点名称, 主要用于用于签约 个 APN, Other APN则是用户与服务器签约过程中涉及到的 Default APN以外 的、 不与 Local APN相重复的 APN, 控制节点可以根据 APN的类型对获取到 的签约信息进行分类, 具体操作可以包括:
从至少一组用户的签约信息中提取包含 Default APN 的签约信息添加至 Default APN签约信息队列;
从上述提取后剩余的签约信息中提取与至少一个 Local APN相一致的签 约信息添加至 Local APN签约信息队列;
将上述提取后剩余的签约信息添加至 Other APN签约信息队列。
由此可知, 当用户与服务器的签约信息足够的情况下, Default APN签约 信息队列可以至少包括两组包含不相同 Default APN 的签约信息, 例如包含 Default APNi的签约信息、 包含 Default APN2的签约信息、 包含 Default APNn 的签约信息等, 各个 Default APN均有各自的优先级; Local APN签约信息队 列可以至少包括两组包含不相同 Local APN的签约信息,例如包含 Local APNi 的签约信息、 包含 Local APN2的签约信息、 包含 Local APNn的签约信息等, 各个 Local APN均有各自的优先级; Other APN签约信息队列可以至少包括两 组包含不相同 Other APN的签约信息, 例如包含 Other APN 的签约信息、 包 含 Other APN2的签约信息、 包含 Other APNn的签约信息等, 各个 Other APN 均有各自的优先级。 另外, 同一类型的签约信息之间也可以设置排列顺序, 以 方便选取,设置排列顺序的方式可以包括为各个签约信息设置优先级, 以及为 各个签约信息设置编号。
进一步可选地, 为了增强用户的业务适用范围, 本发明实施例在根据签约 信息激活 PDP/PDN上下文后, 记录用于激活 PDP/PDN上下文的签约信息中 的 APN, 例如, 生成已使用 APN列表, 以供查询, 在第 N次(N>1 )进行激 活时,根据已使用 APN列表来选择未使用的 APN所对应的签约信息进行激活, 本发明实施例下述的内容, 均是基于满足匹配要求中对 PDP类型、 PDP地址 的要求, 或者匹配要求未对 PDP类型、 PDP地址作出要求的情况下实施的。
如步骤 S302所述的内容, 当服务器提供的至少一组签约信息中没有满足 匹配要求的签约信息时, 需要进行签约匹配纠正, 具体实现中, 当从服务器接 收到的签约信息中有至少两组包含 Default APN的签约信息时, 控制节点需要 从这至少两组签约信息中选择出一组签约信息用于激活 PDP/PDN上下文。 例 如, 当 Default APN签约信息队列中至少包括第一 Default APN签约信息、 第 二 Default APN签约信息, 并且预先设置的第一 Default APN的优先级高于第 二 Default APN的优先级时, 从 Default APN签约信息队列中选择签约信息并 激活 PDP/PDN上下文的具体实施可以包括: 查询第一 Default APN签约信息 中的 Default APN是否存在于已使用 Default APN列表; 若查询出第一 Default APN并未存在于已使用 Default APN列表, 则可以选用第一 Default APN所对 应的签约信息; 当查询出第一 Default APN签约信息中的 Default APN存在于 已使用 Default APN列表时, 继续查询第二 Default APN签约信息中的 Default APN是否存在于已使用 Default APN列表; 当查询出第二 Default APN签约信 息中的 Default APN不存在于已使用 Default APN列表时,将第二 Default APN 签约信息优先选定为用于激活 PDP/PDN上下文的签约信息;根据第二 Default APN签约信息激活 PDP/PDN上下文; 添加第二 Default APN签约信息中的 Default APN至已使用 Default APN列表。
进一步可选地, 经确认,发现服务器提供的至少一组用户的签约信息中不 存在包含未使用过的 Default APN的签约信息, 即服务器提供的签约信息中没 有包含 Default APN的签约信息、 或者服务器提供的包含 Default APN的签约 信息已经使用过了,那么可以进一步通过 Local APN签约信息队列中的签约信 息执行激活 PDP/PDN上下文的操作, 具体实施可以包括: 当 Local APN签约 信息队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息, 并 且预先设置的第一 Local APN的优先级高于第二 Local APN的优先级时, 从 Local APN签约信息队列中选择签约信息并激活 PDP/PDN上下文的具体实施 可以包括: 查询第一 Local APN签约信息中的 Local APN是否存在于已使用 Local APN列表;若查询出第一 Local APN并未存在于已使用 Local APN列表, 则可以选用第一 Local APN所对应的签约信息; 当查询出第一 Local APN签约 签约信息中的 Local APN是否存在于已使用 Local APN列表; 当查询出第二 Local APN签约信息中的 Local APN不存在于已使用 Local APN列表时, 将第 二 Local APN签约信息优先选定为用于激活 PDP/PDN上下文的签约信息; 根 据第二 Local APN签约信息激活 PDP/PDN上下文; 添加第二 Local APN签约 信息中的 Local APN至已使用 Local APN列表。
进一步可选地, 经进一步确认,发现服务器提供的至少一组用户的签约信 息中不存在包含未使用过的 Local APN的签约信息,即服务器提供的签约信息 中没有包含 Local APN的签约信息、或者服务器提供的包含 Local APN的签约 信息已经使用过了,那么可以进一步通过 Other APN签约信息队列中的签约信 息执行激活 PDP/PDN上下文的操作, 具体实施可以包括: 当 Other APN签约 信息队列中至少包括第一 Other APN签约信息、 第二 Other APN签约信息, 并 且预先设置的第一 Other APN的优先级高于第二 Other APN的优先级时, 从 Other APN签约信息队列中选择签约信息并激活 PDP/PDN上下文的具体实施 可以包括: 查询第一 Other APN签约信息中的 Other APN是否存在于已使用 Other APN列表;若查询出第一 Other APN并未存在于已使用 Other APN列表, 则可以选用第一 Other APN所对应的签约信息; 当查询出第一 Other APN签约 信息中的 Other APN存在于已使用 Other APN列表时,继续查询第二 Other APN 签约信息中的 Other APN是否存在于已使用 Other APN列表; 当查询出第二 Other APN签约信息中的 Other APN不存在于已使用 Other APN列表时, 将第 二 Other APN签约信息优先选定为用于激活 PDP/PDN上下文的签约信息; 根 据第二 Other APN签约信息激活 PDP/PDN上下文; 添加第二 Other APN签约 信息中的 Other APN至已使用 Other APN列表。
如步骤 S303所述的内容, 当存在至少两组满足匹配要求的非野卡签约信 息时,优先从至少两组满足匹配要求的非野卡签约信息中选择一组包含未使用 过的 Default APN的签约信息激活 PDP/PDN上下文。 存在至少两组满足匹配 要求的非野卡签约信息的情况可以为:激活请求中的匹配要求并未提出对 PDP 地址、 PDP类型以及 APN的要求, 或者仅对 PDP地址、 PDP类型中至少一种 提出要求的同时, 并未对 APN作出要求, 此时可能出现多组满足匹配要求的 非野卡签约信息, 具体实现中, 当从服务器接收到的签约信息中有至少两组包 含 Default APN的签约信息时, 控制节点需要从这至少两组签约信息中选择出 一组签约信息用于激活 PDP/PDN 上下文, 其中, 控制节点选择包含 Default APN的签约信息的选择方法可以如前述的选择方案, 在此不作赘述。
进一步可选地, 经确认,发现服务器提供的至少一组用户的签约信息中不 存在包含未使用过的 Default APN的签约信息, 即服务器提供的签约信息中没 有包含 Default APN的签约信息、 或者服务器提供的包含 Default APN的签约 信息已经使用过了,那么可以进一步通过 Local APN签约信息队列中的签约信 息执行激活 PDP/PDN上下文的操作, 其中, 控制节点选择包含 Local APN的 签约信息的选择方法可以如前述的选择方案, 在此不作赘述。
进一步可选地, 经进一步确认,发现服务器提供的至少一组用户的签约信 息中不存在包含未使用过的 Local APN的签约信息,即服务器提供的签约信息 中没有包含 Local APN的签约信息、或者服务器提供的包含 Local APN的签约 信息已经使用过了,那么可以进一步通过 Other APN签约信息队列中的签约信 息执行激活 PDP/PDN上下文的操作, 其中, 控制节点选择包含 Other APN的 签约信息的选择方法可以如前述的选择方案, 在此不作赘述。
如步骤 S302所述的内容, 当仅存在满足匹配要求的野卡签约信息时, 从 至少一个 Local APN中选取一个未使用过的 Local APN, 结合野卡签约信息激 活 PDP/PDN上下文。本发明实施例的控制节点与用户可以至少签约一个 Local APN, 即用户签约到野卡时,控制节点可以从本地提供的多个 Local APN中选 择一个 APN, 用以配合野卡签约信息进行 PDP/PDN上下文激活。 控制节点为 用户配置多个 Local APN时,可以进一步配置 APN优先级,以快速指定 APN, 例如, Local APNi , Local APN2、 Local APNn等, 各个 Local APN均配置有本 地的优先级。当存储于本地的 Local APN至少包括第一 Local APN和第二 Local APN, 并且第一 Local APN的优先级高于第二 Local APN的优先级时, 从本地 选择一个 Local APN、 结合野卡签约信息激活 PDP/PDN上下文的具体实施可 以为: 查询第一 Local APN是否存在于第二已使用 Local APN列表; 当查询出 第一 Local APN存在于第二已使用 Local APN列表时,查询第二 Local APN是 否存在于第二已使用 Local APN列表; 当查询出第二 Local APN不存在于第二 已使用 Local APN列表时,将第二 Local APN优先选定为用于配合野卡签约信 息激活 PDP/PDN上下文的 APN; 基于第二 Local APN, 结合野卡签约信息激 活 PDP/PDN上下文; 添加第二 Local APN至第二已使用 Local APN列表。
具体实施中,上述提及的第一已使用 Local APN列表与当前提及的第二已 使用 Local APN列表可以为同一个。
进一步可选地,当匹配要求对 PDP类型、 PDP地址以及 APN做出了要求, 并且经分析发现, 只存在一组满足匹配要求的非野卡签约信息时, 本发明实施 例还对签约信息的选择做出了改进:
当存在唯——组满足匹配要求的非野卡签约信息时,判断唯——组满足匹 配要求的非野卡签约信息中包含的 APN是否被使用过; 若判断出唯——组满 足匹配要求的非野卡签约信息中包含的 APN被使用过, 则优先从至少一组用 户的签约信息中选择一组包含未使用过的 Default APN 的签约信息激活 PDP/PDN 上下文。 虽然当前存在这样一组完全匹配的签约信息, 然而, 本发 明实施例的改进可以进一步地扩大用户可以使用的业务范围。具体实现中, 当 从服务器接收到的签约信息中有至少两组包含 Default APN的签约信息时, 控 制节点需要从这至少两组签约信息中选择出一组签约信息用于激活 PDP/PDN 上下文, 其中, 控制节点选择包含 Default APN的签约信息的选择方法可以如 前述的选择方案, 在此不作赘述。
进一步可选地, 若经确认,发现服务器提供的至少一组用户的签约信息中 不存在包含未使用过的 Default APN的签约信息, 即服务器提供的签约信息中 没有包含 Default APN的签约信息、 或者服务器提供的包含 Default APN的签 约信息已经使用过了,那么可以进一步通过 Local APN签约信息队列中的签约 信息执行激活 PDP/PDN上下文的操作, 其中, 控制节点选择包含 Local APN 的签约信息的选择方法可以如前述的选择方案, 在此不作赘述。
进一步可选地, 经进一步确认,发现服务器提供的至少一组用户的签约信 息中不存在包含未使用过的 Local APN的签约信息,即服务器提供的签约信息 中没有包含 Local APN的签约信息、或者服务器提供的包含 Local APN的签约 信息已经使用过了,那么可以进一步通过 Other APN签约信息队列中的签约信 息执行激活 PDP/PDN上下文的操作, 其中, 控制节点选择包含 Other APN的 签约信息的选择方法可以如前述的选择方案, 在此不作赘述。
进一步可选地, 若经进一步确认, 不存在包含未使用过的 other APN的签 约信息时, 可以基于唯——组满足匹配要求的非野卡签约信息激活 PDP/PDN 上下文。
根据上述给出的选择策略,本发明实施例进一步给出几个实例实际地加以 说明:
实例一: 用户签约到服务器后有三组签约信息, 三组签约信息各自釆用的 APN为 {APNa, APNb, APNc} , 其中指定 Default APN为 APNa和 APNb, APNa 优先于 APNb; 其次, 本地未为用户配置 Local APN。 同一个用户依次在各场景 下发起激活请求时,控制节点的选择方案如下所示(在此认为上述签约信息已 经满足匹配要求中对 PDP类型以及 PDP地址的要求、 或者匹配要求中未提出相 关要求) :
场景 1 : 用户第一次发起激活请求, 匹配要求未指定 APN, 经过匹配, 最 终选择包含 Default优先级最高的 APNa的签约信息激活 PDP/PDN上下文。
场景 2: 用户第二次发起激活请求, 匹配要求未指定 APN, 经过匹配, 最 终选择包含未使用过的 Default APNb的签约信息激活 PDP/PDN上下文。
场景 3: 用户第三次发起激活请求, 匹配要求指定了 APNd, 则首次匹配失 败, 经过纠正后, 由于 Default均已被使用过, 并且没有可供参考的 Local APN, 故最终选择了包含其他优先级最高的 APNc的签约信息激活 PDP/PDN上下文。 实例二: 用户签约到服务器后有四组签约信息, 四组签约信息各自釆用的
APN为 {APNa, APNb, APNc, *} , 其中 Default APN为 APNb, *为野卡签约信 息的野卡标识; 其次, 本地为用户配置有两个 Local APN, 分别为 Local APNa, Local APNc, 其中 Local APNa的优先级高于 Local APNc的优先级。 同一个用户 依次在各场景下发起激活请求时,控制节点的选择方案如下所示(在此认为上 述签约信息已经满足匹配要求中对 PDP类型以及 PDP地址的要求、 或者匹配要 求中未提出相关要求) :
场景 1 : 用户第一次发起激活请求, 匹配要求未指定 APN, 经过匹配, 最 终选择 Default APNb所对应的签约信息激活 PDP/PDN上下文。
场景 2: 用户第二次发起激活请求, 匹配要求未指定 APN, 由于 Default APNa已经被使用, 经过匹配, 最终选择包含最高 Local优先级的 APNa所对应 的签约信息激活 PDP/PDN上下文。
场景 3: 用户第三次发起激活请求, 匹配要求指定了 APNd, 由于签约的 APN以及本地配置的 APN均不包含 APNd, 则首次匹配失败, 经过纠正后, 由 于 Default APNa已经被使用, 最终选择未使用的 Local APN中优先级最高的 APNc所对应的签约信息激活 PDP/PDN上下文。
实例三: 用户签约到服务器后有三组签约信息, 三组签约信息各自釆用的 APN为 {APNa, APNb, APNc} , 其中没有 Default APN; 其次, 本地为用户配 置有两个 Local APN, 分别为 Local APNb, Local APNc, 其中 Local APNb的优 先级高于 Local APNc的优先级。 同一个用户依次在各场景下发起激活请求时, 控制节点的选择方案如下所示(在此认为上述签约信息已经满足匹配要求中对 PDP类型以及 PDP地址的要求、 或者匹配要求中未提出相关要求) :
场景 1 : 用户第一次发起激活请求, 匹配要求未指定 APN,经过签约匹配, 由于不存在 Default APN, 最终选择优先级最高的 Local APNb所对应的签约信 息激活 PDP/PDN上下文。
场景 2: 用户第二次发起激活请求, 匹配要求未指定 APN,经过签约匹配, 由于不存在 Default APN, 最终选择未使用的 Local APN中优先级最高的 APNc 所对应的签约信息激活 PDP/PDN上下文。
场景 3: 用户第三次发起激活请求, 匹配要求指定了 APNd, 由于签约的 APN以及本地配置的 APN均不包含 APNd, 则首次匹配失败, 经过纠正后, 由 于不存在 Default APN和未使用过的 Local APN, 最终选择 Other APN签约信息 队列中的包含 APNa的签约信息激活 PDP/PDN上下文。
实例四: 用户签约到服务器后有四组签约信息, 四组签约信息各自釆用的 APN为 {APNa, APNb, APNc, APNd} , 其中 Default APN为 APNa和 APNb, 其 中 Default APNa的优先级高于 Default APNb的优先级; 其次, 本地为用户配置 有两个 Local APN, 分别为 Local APNb, Local APNd, 其中 Local APNb的优先 级高于 Local APNd的优先级。 同一个用户依次在各场景下发起激活请求时,控 制节点的选择方案如下所示 (在此认为上述签约信息已经满足匹配要求中对 PDP类型以及 PDP地址的要求、 或者匹配要求中未提出相关要求) :
场景 1 : 用户第一次发起激活请求, 匹配要求未指定 APN,经过签约匹配, 最终选择具有最高 Default优先级的 APNa所对应的签约信息激活 PDP/PDN上下 文。
场景 2: 用户第二次发起激活请求, 匹配要求未指定 APN,经过签约匹配, 最终选择未使用过的 Default APNb所对应的签约信息激活 PDP/PDN上下文。
场景 3: 用户第三次发起激活请求, 匹配要求指定了 APNe, 由于签约的 APN以及本地配置的 APN均不包含 APNe, 则首次匹配失败, 经过纠正后, 由 于不存在未使用过的 Default APN, 最终选择未使用过的 Local APNd所对应的 签约信息激活 PDP/PDN上下文。 场景 4:用户第四次发起激活请求,匹配要求指定了 APNf,由于签约的 APN 以及本地配置的 APN均不包含 APNf, 则首次匹配失败, 经过纠正后, 由于不 存在未使用过的 Default APN和未使用过的 Local APN, 最终选择 Other APN签 约信息队列中的包含 APNc的签约信息激活 PDP/PDN上下文。
本发明实施例方案中控制节点在激活 PDP/PDN上下文过程中, 当获取到 的签约信息均不满足用户对签约信息的匹配要求时, 优先釆用包含 Default APN的签约信息激活 PDP/PDN上下文; 另夕卜, 当存在至少两组满足匹配要求 的非野卡签约信息时, 选择包含未使用过的 Default APN 的签约信息来激活 PDP/PDN 上下文; 此外, 当仅存在满足匹配要求的野卡签约信息时, 选择未 使用过的 Local APN、 结合所述野卡签约信息激活所述 PDP/PDN上下文, 由 此, 本发明实施例的控制节点在多次激活 PDP/PDN上下文时能够釆用包含不 同 APN的签约信息,从而解决由于 APN重复使用所造成的用户应用业务类型 过于单一的问题, 能够扩大用户能够使用的业务类型范围,提高了激活成功率 和用户满意度。
请参见图 4,图 4为本发明实施例提供的一种提供签约信息的方法流程图; 其中, 图 4所示的提供签约信息的方法是从一服务器的角度进行描述的。如图 4所示, 本实施例提供的提供签约信息的方法具体包括以下步骤:
步骤 S401, 接收控制节点发送的签约信息请求;
步骤 S402,根据签约信息请求查找用户签约的至少两组用户的签约信息, 至少两组用户的签约信息中包含的默认接入点名称 Default APN各不相同; 步骤 S403, 发送至少两组用户的签约信息给控制节点。
本发明实施例中,签约信息时用户在服务器签约时产生的, 具体实施可以 包括: 接收用户的签约请求; 根据指定信息生成用户的签约信息。
现有技术中, 服务器生成的签约信息中只能有一组签约信息中的 APN被 设置为 Default APN, 本发明实施例对此提出了改进, 服务器可以配置至少两 个互不相同的 Default APN, 并生成相应的签约信息。 例如, 用户与服务器进 行签约时, 可以签约至少两个 Default APN, 相应地, 服务器可生成至少两组 签约信息, 至少两组用户的签约信息中任一签约信息中的 Default APN均不同 于其他签约信息中的 Default APN, 各个 Default APN均配置有优先级。
进一步可选地,服务器可以将生成的所有签约信息提供给控制节点, 以供 控制节点选择出一组签约信息用于激活 PDP/PDN上下文。 其中, 服务器提供 的签约信息可以包括至少两组包含 Default APN的签约信息, 以及其他的签约 信息。
本发明实施例中服务器能够为控制节点提供至少两组包含 Default APN的 签约信息的签约信息, 使控制节点可以有余地选择用于激活 PDP/PDN上下文 的签约信息, 服务器中可以指定的 Default APN有多个, 故控制节点选择不同 的包含 Default APN 的签约信息可以使用户体验不同的业务, 从而解决由于 APN 重复使用所造成的用户应用业务类型过于单一的问题, 扩大了用户能够 使用的业务类型范围, 进一步地提高了控制节点激活 PDP/PDN上下文的激活 成功率, 提高了用户满意度。
请参见图 9, 图 9为本发明实施例提供的一种系统结构图。 如图 9所示, 本发明实施例提供的系统包括: 控制节点 91和服务器 92。 其中, 本发明实施 例的系统所釆用的控制节点 91为图 la、 图 lb、 图 lc、 图 ld、 图 le、 图 lf、 图 lg、 图 lh任一所述的控制节点 91, 其与图 3所示的分组数据协议上下文的 激活方法相对应,为基于图 3所示的分组数据协议上下文的激活方法的执行主 体, 本发明实施例的系统所釆用的服务器 92为图 2a、 图 2b任一所述的服务 器 92, 其与图 4所示的提供签约信息的方法相对应, 为基于图 4所示的提供 签约信息的方法的执行主体。
系统可用于为用户实现分组数据协议上下文激活操作, 请一并参照图 10, 本发明实施例的系统进行分组数据协议上下文激活操作的具体实施过程可以 包括以下步骤:
步骤 S101, 控制节点 91发送签约信息请求给服务器 92, 其中, 签约信息 请求可以携带用户标识; 步骤 S102, 服务器 92发送用户的签约信息给控制节点 91, 其中, 服务器 92 是根据用户标识查找到用户的签约信息的, 服务器可提供至少两组包含 Default APN的签约信息( { Default APN 1, Default APN2,... Default APNn } ),还 可以包括用户签约列表( {PDP/PDN Type, PDP/PDN Addr, APN等)。 ;
步骤 S103,控制节点 91根据用户的激活请求选择签约信息进行 PDP/PDN 上下文激活。 具体的选择方式可以参照前述步骤 S301-S304所述的内容, 在此 不作赘述。
本发明实施例中服务器能够为控制节点提供至少两组包含 Default APN的 签约信息的签约信息, 使控制节点可以有余地选择用于激活 PDP/PDN上下文 的签约信息, 服务器中可以指定的 Default APN有多个, 故控制节点选择不同 的包含 Default APN的签约信息可以使用户体验不同的业务; 本发明实施例的 控制节点在多次激活 PDP/PDN上下文时能够釆用包含不同 APN的签约信息, 从而解决由于 APN重复使用所造成的用户应用业务类型过于单一的问题, 扩 大了用户能够使用的业务类型范围, 提高了激活成功率和用户满意度。 请一并参照图 5a和图 5b, 图 5a和图 5b是本发明实施例系统中控制节点 91的一实施例流程示意图, 该图展示了控制节点 91根据用户的激活请求从服 务器 92获取签约信息后选择用于激活 PDP/PDN上下文的签约信息的选择过 程, 具体过程可以包括:
步骤 S501,根据 Default APN签约信息队列选择签约信息。 当匹配要求中 未对 APN作出指示、或者不存在满足匹配要求的签约信息时,需要根据 Default APN签约信息队列选择可用的签约信息。
步骤 S502, 是否成功选择 Sub [x]。 其中, 若找到了这样的 Sub [x], 则继 续执行步骤 S503; 若未能找到这样的 Sub [x], 则继续执行步骤 S509。 具体的 选择方式可参照前述的内容, 在此不作赘述。
步骤 S503, Act Flag 为 Tme。
步骤 S504, 是否开启重复 PDP/PDN纠正功能。 若此时需要开启, 则继续 执行步骤 S505; 若经检测, 当前不需要开启, 则继续执行步骤 S508。
步骤 S505, 根据 Local APN签约信息队列选择签约信息。 具体的选择方 式可参照前述的内容, 在此不作赘述。
步骤 S506, 是否成功选择 Sub [y]并且 Act Flag为 False。 其中, 若成功选 择了这样的 Sub [y], 则继续执行步骤 S503; 若未能成功选择这样的 Sub [y], 则继续执行步骤 S509。
步骤 S507, 使用 Sub [y]。
步骤 S508, 使用 Sub [x]。
步骤 S509, 是否存在野卡签约信息 Sub [x]。 若判断出存在这样的野卡签 约信息 Sub [x], 则继续执行步骤 S510; 若判断出不存在这样的野卡签约信息 Sub [x] , 则跳转至图 5b所示的步骤 S513。
步骤 S510, 使用野卡签约信息 Sub [x]。
步骤 S511,根据本地提供的 Local APN选择使用的 Local APN。具体的选 择方式可参照前述的内容, 在此不作赘述。
步骤 S512,是否成功选择 Local APN[y]。其中,若成功选择了这样的 Local APN[y], 则跳转到激活程序, 通过该 Local APN[y], 结合野卡签约信息激活 PDP/PDN上下文; 若未能成功选择这样的 Local APN[y], 则认为匹配失败, 跳转至匹配糾错步骤。
步骤 S513, 是否只存在一组非野卡签约信息 Sub [x]。 若判断出只存在一 组非野卡签约信息 Sub [x], 则继续执行步骤 S527; 若判断出不是只存在一组 非野卡签约信息 Sub [x] , 则继续执行步骤 S514。
步骤 S514, 是否开启根据 Local APN签约信息队列进行纠正的功能。 若 此时需要开启, 则继续执行步骤 S515; 若经检测, 当前不需要开启, 则跳转 到其他的选择步骤。
步骤 S515, 根据 Local APN签约信息队列选择签约信息。 具体的选择方 式可参照前述的内容, 在此不作赘述。
步骤 S516, 是否成功选择 Sub [x]。 其中, 若成功选择了这样的 Sub [x], 则继续执行步骤 S517;若未能成功选择这样的 Sub [x] ,则继续执行步骤 S523。
步骤 S517, 是否 Act Flag == True?其中, 若判断结果为是, 则继续执行步 骤 S518; 若判断结果为否, 则继续执行步骤 S522。
步骤 S518, 是否开启重复 PDP/PDN纠正功能。 若此时需要开启, 则继续 执行步骤 S519; 若经检测, 当前不需要开启, 则继续执行步骤 S522。
步骤 S519, 根据 Other APN签约信息队列选择签约信息。 具体的选择方 式可参照前述的内容, 在此不作赘述。
步骤 S520, 是否成功选择 Sub [y]并且 Act Flag为 False。 其中, 若成功选 择了这样的 Sub [y], 则继续执行步骤 S521 ; 若未能成功选择这样的 Sub [y], 则继续执行步骤 S522。
步骤 S521, 使用 Sub [y]。
步骤 S522, 使用 Sub [x]。
步骤 S523, 是否开启根据 Other APN签约信息队列进行纠正的功能。 若 此时需要开启, 则继续执行步骤 S524; 若经检测, 当前不需要开启, 则跳转 至其他匹配步骤或返回失败。
步骤 S524, 根据 Other APN签约信息队列选择签约信息。 具体的选择方 式可参照前述的内容, 在此不作赘述。
步骤 S525, 是否成功选择 Sub [y]。 其中, 若成功选择了这样的 Sub [y], 则继续执行步骤 S526; 若未能成功选择这样的 Sub [y], 则跳转至其他匹配步 骤或返回失败。 步骤 S526, 使用 Sub [y]。
步骤 S527, 使用 Sub [x]。
步骤 S528, 是否 Sub [x]存在已激活的 PDP/PDN。 若判断出存在这样的 Sub [x] , 则继续执行步骤 S529; 若判断出不存在这样的 Sub [x], 则跳转至图 5b所示的步骤 S530。
步骤 S529, Act Flag = Tme。
步骤 S530, Act Flag = False。
在图 5 所示的实施例中, 控制节点本地配置了三个开关, 分别为重复 PDP/PDN纠正功能开关、 根据 Local APN签约信息列表纠正功能开关以及根 据 Other APN签约信息列表纠正功能开关,这三个开关分别在图 5所示的位置 起到了不同的作用, 重复 PDP/PDN纠正功能开关主要用于使本次用于激活的 签约信息的 APN尽量是未重复使用过的, 以提高用户所能使用业务类型的范 围;根据 Local APN签约信息列表纠正功能开关以及根据 Other APN签约信息 列表纠正功能开关均是基于前一级列表未能成功地进行匹配纠正的情况下给 出的进一步选择。
请一并参照图 6, 图 6是本发明实施例系统中控制节点 91的一实施例流 程示意图, 该图展示了控制节点 91决定选用包含 Default APN的签约信息激 活 PDP/PDN上下文后, 选择签约信息的具体过程。 本实施例的流程可以包括 以下步骤:
步骤 S601, 是否 k= 0。 其中, 对签约信息进行分类后, 可以得到 Default APN签约信息队列, 在这里, k是 Default APN签约信息队列的长度, 也可以 是包含 Default APN的签约信息的个数。 当判断出 k=0时, 代表当前 Default APN签约信息队列为空, 此时需要跳转到其他选择步骤, 考虑其他签约信息 队列中的签约信息; 当判断出 k不等于 0时, 代表 Default APN签约信息队列 不为空, 继续执行步骤 S602。
步骤 S602, i = i+l。 其中, 本步骤是用于轮询 Default APN签约信息队列 中的签约信息, 结合步骤 S603、 S604来判断 Default APN签约信息队列中的 签约信息是否被使用过。
步骤 S603, 是否 i > k。 若判断出 i大于 k, 则继续执行步骤 S607; 若判 断出 i不大于 k, 则继续执行步骤 S604。
步骤 S604, 是否 Sub [i]存在已激活的 PDP/PDN。 其中, 若判断出存在已 激活的 PDP/PDN, 则代表当前轮询到的签约信息已经被使用过, 则返回执行 步骤 S602; 若判断出不存在已激活的 PDP/PDN, 则代表当前轮询到的签约信 息未被使用过, 则继续执行步骤 S605。
步骤 S605, 选择 Sub [i]签约信息。
步骤 S606, Act Flag = False。
步骤 S607, 选择队列中的一组签约信息。 本次选择可以是按照预设信息 进行选择, 如, 控制节点认为, 当出现 Default APN签约信息队列中所有签约 信息均被使用过后,选择 Default APN签约信息队列中位于第一位的签约信息。 步骤 S608, Act Flag = True。 请一并参照图 7, 图 7是本发明实施例系统中控制节点 91的一实施例流 程示意图, 该图展示了控制节点 91决定选用包含 Local APN的签约信息激活 PDP/PDN 上下文后, 选择签约信息的具体过程。 具体的, 本实施例的流程可 以包括以下步骤:
步骤 S701,是否 m = 0。其中,对签约信息进行分类后,可以得到 Local APN 签约信息队列, 在这里, m是 Local APN签约信息队列的长度, 也可以是包含 Local APN的签约信息的个数。 当判断出 m=0时,代表当前 Local APN签约信 息队列为空, 此时需要跳转到其他选择步骤, 考虑其他签约信息队列中的签约 信息; 当判断出 m不等于 0时, 代表 Local APN签约信息队列不为空, 继续 执行步骤 S702。
步骤 S702, i = i+l。 其中, 本步骤是用于轮询 Local APN签约信息队列中 的签约信息, 结合步骤 S703、 S704来判断 Local APN签约信息队列中的签约 信息是否被使用过。
步骤 S703, 是否 i > m。 若判断出 i大于 m, 则继续执行步骤 S706; 若判 断出 i不大于 m, 则继续执行步骤 S704。
步骤 S704, 是否存在已激活的 PDP/PDN使用 Local APN[i]。 其中, 若判 断出存在已激活的 PDP/PDN使用 Local APN[i], 则代表当前轮询到的签约信 息已经被使用过, 则返回执行步骤 S702; 若判断出不存在已激活的 PDP/PDN 使用 Local APN[i], 则代表当前轮询到的签约信息未被使用过, 则继续执行步 骤 S705。
步骤 S705, 选择 Local APN[i]。
步骤 S706, 选择 Local APN签约信息队列中的一个 APN。
请一并参照图 8, 图 5是本发明实施例系统中控制节点 91的一实施例流 程示意图, 该图展示了当匹配要求中提出了对 APN 的要求后, 控制节点 91 根据匹配要求进行签约信息选择的过程。具体的, 本实施例的流程可以包括以 下步骤:
步骤 S801,是否存在签约信息 Sub [x]的 APN是 UE请求的 APN。 当存在 这样的签约信息 Sub [X] 时,继续执行步骤 S802; 若判断出不存在这样的签约 信息 Sub [X] 时, 继续执行步骤 S809。
步骤 S802,是否该签约信息已存在激活的 PDP /PDN。其中,若判断为是, 则继续执行步骤 S803; 若判断为否, 则继续执行步骤 S808。
步骤 S803, 是否开启重复 PDP/PDN纠正功能。 开启重复 PDP/PDN纠正 功能可以提高用户业务类型的范围, 当选择开启时, 继续执行步骤 S804; 若 不选择开启, 则继续执行步骤 S808。
步骤 S804, 忽略 UE请求的 APN。
步骤 S805, 执行 UE未请求 APN的匹配过程。 即忽略匹配要求中对 APN 的指定要求, 仅保留对 PDP地址以及 PDP类型的指定要求。
步骤 S806, 是否成功选择 Sub [y]并且 Act Flag为 False。 本步骤是按照前 述图 6的方案, 按照从 Default APN签约信息队列到 Local APN签约信息队列 到 Other APN签约信息队列的顺序, 选择出一组包含未使用过的 APN的签约 信息。 若成功地找到了这样的签约信息 Sub [y], 则继续执行步骤 S807; 若未 能成功地找到这样的签约信息 Sub [y], 则继续执行步骤 S808。
步骤 S807, 使用 Sub [y]。
步骤 S808, 使用 Sub [x]。
步骤 S809,是否存在野卡签约信息 Sub [x]。若判断出存在野卡签约信息, 则继续执行步骤 S810; 若判断出不存在野卡签约信息,则继续执行步骤 S818。
步骤 S810, 是否该签约信息已存在与 UE请求的 APN相同 APN的 PDP /PDN。若判断为是,则继续执行步骤 S811 ;若判断为否,则继续执行步骤 S816。
步骤 S811, 是否开启重复 PDP/PDN纠正功能。 若此时需要开启, 则继续 执行步骤 S812; 若经检测, 当前不需要开启, 则继续执行步骤 S816。
步骤 S812, 忽略 UE请求的 APN。
步骤 S813, 执行 UE未请求 APN的匹配过程。
步骤 S814, 是否成功选择 Sub [y]并且 Act Flag为 False。 本步骤是按照前 述图 6的方案, 按照从 Default APN签约信息队列到 Local APN签约信息队列 到 Other APN签约信息队列的顺序, 选择出一组包含未使用过的 APN的签约 信息。 若成功地找到了这样的签约信息 Sub [y], 则继续执行步骤 S815; 若未 能成功地找到这样的签约信息 Sub [y], 则继续执行步骤 S816。
步骤 S815, 使用 Sub [y]。
步骤 S816, 使用 Sub [x]。
步骤 S817, 使用 UE请求的 APN作为使用的 APN。
步骤 S818, 是否开启用户请求信息纠正功能。 若此时需要开启, 则继续 执行步骤 S819; 若经检测, 当前不需要开启, 则需要进行跳转, 切换到按照 匹配不成功的场景下进行匹配纠错的步骤。
步骤 S819, 忽略 UE请求的 APN。
步骤 S820, 执行 UE未请求 APN的匹配过程。
步骤 S821, 是否成功选择 Sub [y]。 本步骤是按照前述图 6的方案, 按照 从 Default APN签约信息队列到 Local APN签约信息队列到 Other APN签约信 息队列的顺序, 选择出一组包含未使用过的 APN的签约信息。 若成功地找到 了这样的签约信息 Sub [y], 则继续执行步骤 S822; 若未能成功地找到这样的 签约信息 Sub [y], 则需要进行跳转, 切换到按照匹配不成功的场景下进行匹 配纠错的步骤。
步骤 S822, 使用 Sub [y]。
请参见图 11, 图 11为本发明实施例提供的另一种控制节点结构图。其中, 本实施例提供的控制节点与图 3 所示的分组数据协议上下文的激活方法相对 应, 为基于图 3所示的分组数据协议上下文的激活方法的执行主体。具体的实 现形式如图 11所示, 本实施例提供的呼叫消息处理装置包括: 输入装置 111、 输出装置 112、 存储器 113和处理器 114, 其中, 存储器 113中存储一组程序 代码, 且处理器 114用于调用存储器 113中存储的程序代码, 用于执行以下操 作:
获取至少一组用户的签约信息; 当不存在满足匹配要求的签约信息时,优先从至少一组用户的签约信息中 选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分组数 据协议 PDP/PDN上下文;
当存在至少两组满足匹配要求的非野卡签约信息时,优先从至少两组满足 匹配要求的非野卡签约信息中选择一组包含未使用过的 Default APN的签约信 息激活 PDP/PDN上下文;
当仅存在满足匹配要求的野卡签约信息时,从至少一个 Local APN中选取 一个未使用过的 Local APN, 结合野卡签约信息激活 PDP/PDN上下文。
作为一种可选的实施方式, 获取至少一组用户的签约信息之后, 处理器 114还用于执行如下步骤中任一个:
从至少一组用户的签约信息中提取包含 Default APN 的签约信息添加至 Default APN签约信息队列;
从提取包含 Default APN的签约信息后剩余的签约信息中提取与至少一个 Local APN相一致的签约信息添加至 Local APN签约信息队列;
将提取与至少一个 Local APN相一致的签约信息后剩余的非野卡签约信 息添加至其他 other APN签约信息队列。
作为一种可选的实施方式, Default APN签约信息队列中至少包括第一 Default APN签约信息、 第二 Default APN签约信息, 第一 Default APN的优先 级高于第二 Default APN的优先级,
当不存在满足匹配要求的签约信息时,处理器 114执行优先从至少一组用 户的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的签约 信息激活分组数据协议 PDP/分组数据网络 PDN上下文包括:
查询第一 Default APN签约信息中的 Default APN 是否存在于已使用 Default APN列表;
当查询出第一 Default APN签约信息中的 Default APN存在于已使用 Default APN列表时, 查询第二 Default APN签约信息中的 Default APN是否存 在于已使用 Default APN列表;
当查询出第二 Default APN签约信息中的 Default APN不存在于已使用 Default APN 列表时, 将第二 Default APN 签约信息优先选定为用于激活 PDP/PDN上下文的签约信息;
根据第二 Default APN签约信息激活 PDP/PDN上下文;
添加第二 Default APN签约信息中的 Default APN至已使用 Default APN列 表。
作为一种可选的实施方式,优先从至少一组用户的签约信息中选择一组包 含未使用过的默认接入点名称 Default APN 的签约信息激活分组数据协议 PDP/PDN上下文之后, 处理器 114还用于执行以下步骤:
当至少一组用户的签约信息中不存在包含未使用过的 Default APN的签约 信息时,从 Local APN签约信息队列中选择一个与未使用过的 Local APN相一 致的签约信息激活 PDP/PDN上下文。
作为一种可选的实施方式, Local APN签约信息队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息, 第一 Local APN的优先级高于第 二 Local APN的 ύ先级,
处理器 114执行选择与未使用过的 Local APN相一致的签约信息激活 PDP/PDN上下文包括:
查询第一 Local APN签约信息中的 Local APN是否存在于第一已使用 Local APN列表;
当查询出第一 Local APN签约信息中的 Local APN存在于第一已使用 Local APN列表时, 查询第二 Local APN签约信息中的 Local APN是否存在于 第一已使用 Local APN列表;
当查询出第二 Local APN签约信息中的 Local APN不存在于第一已使用 Local APN列表时, 将第二 Local APN签约信息选定为用于激活 PDP/PDN上 下文的签约信息;
根据第二 Local APN签约信息激活 PDP/PDN上下文;
添加第二 Local APN签约信息中的 Local APN至第一已使用 Local APN列 表。
作为一种可选的实施方式,从 Local APN签约信息队列中选择一个与未使 用过的 Local APN相一致的签约信息激活 PDP/PDN上下文之后, 处理器 114 还用于执行以下步骤: 当不存在与未使用过的 Local APN相一致的签约信息时, 从 other APN签 约信息队列中选择一组包含未使用过的 other APN的签约信息激活 PDP/PDN 上下文。
作为一种可选的实施方式, Other APN签约信息队列中至少包括第一 Other APN签约信息、 第二 Other APN签约信息, 第一 Other APN的优先级高于第 二 Other APN的 ύ先级,
处理器 114执行从 other APN签约信息队列中选择一组包含未使用过的 other APN的签约信息激活 PDP/PDN上下文包括:
查询第一 Other APN签约信息中的 Other APN是否存在于已使用 Other APN列表;
当查询出第一 Other APN签约信息中的 Other APN存在于已使用 Other APN列表时, 查询第二 Other APN签约信息中的 Other APN是否存在于已使 用 Other APN列表;
当查询出第二 Other APN签约信息中的 Other APN不存在于已使用 Other APN列表时,将第二 Other APN签约信息选定为用于激活 PDP/PDN上下文的 签约信息;
根据第二 Other APN签约信息激活 PDP/PDN上下文;
添加第二 Other APN签约信息中的 Other APN至已使用 Other APN列表。 作为一种可选的实施方式,处理器 114执行获取至少一组用户的签约信息 包括:
发送签约信息请求给服务器;
接收服务器发送的至少两组用户的签约信息,至少两组用户的签约信息中 任一签约信息中的 Default APN均不同于其他签约信息中的 Default APN。
作为一种可选的实施方式, 匹配要求包括 PDP类型、 PDP地址中一种或 多种,
优先从至少两组满足匹配要求的非野卡签约信息中选择一组包含未使用 过的 Default APN的签约信息激活 PDP/PDN上下文之后, 处理器 114还用于 执行以下步骤:
当至少两组满足签约信息要求的非野卡签约信息中不存在包含未使用过 的 Default APN的签约信息时, 从至少一组用户的签约信息中选择一个与未使 用过的 Local APN相一致的签约信息激活 PDP/PDN上下文;
选择一个与未使用过的 Local APN相一致的签约信息激活 PDP/PDN上下 文之后, 处理器 114还用于执行以下步骤:
当不存在与未使用过的 Local APN相一致的签约信息时,从至少一组用户 的签约信息中选择一组包含未使用过的 other APN的签约信息激活 PDP/PDN 上下文。
作为一种可选的实施方式, 至少一个 Local APN至少包括第一 Local APN 和第二 Local APN, 第一 Local APN的优先级高于第二 Local APN的优先级, 处理器 114从至少一个 Local APN中选取一个未使用过的 Local APN包 括:
查询第一 Local APN是否存在于第二已使用 Local APN列表;
当查询出第一 Local APN存在于第二已使用 Local APN列表时,查询第二
Local APN是否存在于第二已使用 Local APN列表;
当查询出第二 Local APN不存在于第二已使用 Local APN列表时,将第二
Local APN优先选定为用于配合野卡签约信息激活 PDP/PDN上下文的 APN; 处理器 114结合野卡签约信息激活 PDP/PDN上下文包括:
基于第二 Local APN, 结合野卡签约信息激活 PDP/PDN上下文; 添加第二 Local APN至第二已使用 Local APN列表。
作为一种可选的实施方式, 获取至少一组用户的签约信息之后, 处理器 114还用于执行以下步骤:
当存在唯——组满足匹配要求的非野卡签约信息时,判断唯——组满足匹 配要求的非野卡签约信息中包含的 APN是否被使用过;
若判断出唯——组满足匹配要求的非野卡签约信息中包含的 APN被使用 过, 则优先从至少一组用户的签约信息中选择一组包含未使用过的 Default APN的签约信息激活 PDP/PDN上下文;
当至少一组用户的签约信息中不存在包含未使用过的 Default APN的签约 信息时,从至少一组用户的签约信息中选择一个与未使用过的 Local APN相一 致的签约信息激活 PDP/PDN上下文; 从至少一组用户的签约信息中选择一个与未使用过的 Local APN相一致 的签约信息激活 PDP/PDN上下文之后, 处理器 114还用于执行以下步骤: 当至少一组用户的签约信息中不存在与未使用过的 Local APN相一致的 签约信息时, 从至少一组用户的签约信息中选择一组包含未使用过的 other APN的签约信息激活 PDP/PDN上下文;
从至少一组用户的签约信息中选择一组包含未使用过的 other APN的签约 信息激活 PDP/PDN上下文之后, 处理器 114还用于执行以下步骤:
当至少一组用户的签约信息中不存在包含未使用过的 other APN的签约信 息时, 基于唯——组满足匹配要求的非野卡签约信息激活 PDP/PDN上下文。
请参见图 12, 图 12为本发明实施例提供的另一种服务器结构图。 其中, 本实施例提供的服务器与图 4所示的提供签约信息的方法相对应, 为基于图 4 所示的提供签约信息的方法的执行主体。 具体的实现形式如图 12所示, 本实 施例提供的被叫客户端包括: 输入装置 121、 输出装置 122、 存储器 123和处 理器 124, 其中, 存储器 123中存储一组程序代码, 且处理器 124用于调用存 储器 123中存储的程序代码, 用于执行以下操作:
接收控制节点发送的签约信息请求;
根据签约信息请求查找用户签约的至少两组用户的签约信息,至少两组用 户的签约信息中包含的默认接入点名称 Default APN各不相同;
发送至少两组用户的签约信息给控制节点。
作为一种可选的实施方式,接收控制节点发送的签约信息请求之前, 处理 器 124还用于执行以下步骤:
接收用户的签约请求, 签约请求携带至少两个互不相同的 Default APN指 定信息;
根据指定信息生成至少两组用户的签约信息,至少两组用户的签约信息中 任一签约信息中的 Default APN均不同于其他签约信息中的 Default APN。 在本申请所提供的几个实施例中, 应该理解到, 所揭露的装置和方法, 可 以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性的, 例 如, 模块或单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的 划分方式, 例如多个单元或模块可以结合或者可以集成到另一个系统, 或一些 特征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的耦合或直接辆合 或通信连接可以是通过一些接口、 装置、 模块或单元的间接辆合或通信连接, 也可以是电的, 机械的或其它的形式连接。
作为分离部件说明的模块或单元可以是或者也可以不是物理上分开的,作 为模块或单元显示的部件可以是或者也可以不是物理模块或单元,即可以位于 一个地方, 或者也可以分布到多个网络模块或单元上。可以根据实际的需要选 择其中的部分或者全部模块或单元来实现本申请实施例方案的目的。
另外,在本申请各个实施例中的各功能模块或单元可以集成在一个处理模 块或单元中,也可以是各个模块或单元单独物理存在,也可以是两个或两个以 上模块或单元集成在一个模块或单元中。上述集成的模块或单元既可以釆用硬 件的形式实现, 也可以釆用软件功能单元的形式实现。
集成的模块或单元如果以软件功能模块或单元的形式实现并作为独立的 产品销售或使用时, 可以存储在一个计算机可读取存储介质中。基于这样的理 解, 本申请的技术方案本质上或者说对现有技术做出贡献的部分, 或者该技术 方案的全部或部分可以软件产品的形式体现出来,该计算机软件产品存储在一 个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。 而 前述的存储介质包括: U盘、移动硬盘、只读存储器( ROM, Read-Only Memory )、 随机存取存储器 (RAM, Random Access Memory ) 、 磁碟或者光盘等各种可 以存储程序代码的介质。
以上, 仅为本申请的具体实施方式, 但本申请的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种 等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此, 本申请的保护范围应以权利要求的保护范围为准。

Claims

权利 要求
1、 一种控制节点, 其特征在于, 包括:
获取模块, 用于获取至少一组用户的签约信息;
第一激活模块, 当不存在满足匹配要求的签约信息时, 用于优先从所述至 少一组用户的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分组数据协议 PDP/分组数据网络 PDN上下文;
第二激活模块, 当存在至少两组满足匹配要求的非野卡签约信息时, 用于 优先从所述至少两组满足匹配要求的非野卡签约信息中选择一组包含未使用 过的 Default APN的签约信息激活所述 PDP/PDN上下文;
第三激活模块, 当仅存在满足匹配要求的野卡签约信息时, 用于从至少一 个 Local APN中选取一个未使用过的 Local APN, 结合所述野卡签约信息激活 所述 PDP/PDN上下文。
2、 如权利要求 1所述的控制节点, 其特征在于, 还包括:
添加模块, 用于从所述至少一组用户的签约信息中提取包含 Default APN 的签约信息添加至 Default APN签约信息队列;
所述添加模块, 还用于从所述提取包含 Default APN的签约信息后剩余的 签约信息中提取与所述至少一个 Local APN相一致的签约信息添加至 Local APN签约信息队列;
所述添加模块,还用于将所述提取与所述至少一个 Local APN相一致的签 约信息后剩余的非野卡签约信息添加至其他 other APN签约信息队列。
3、 如权利要求 2所述的控制节点, 其特征在于, 所述 Default APN签约 信息队列中至少包括第一 Default APN签约信息、第二 Default APN签约信息, 所述第一 Default APN的优先级高于所述第二 Default APN的优先级,
所述第一激活模块包括:
第一查询单元,用于查询所述第一 Default APN签约信息中的 Default APN 是否存在于已使用 Default APN列表; 所述第一查询单元, 还用于查询出所述第一 Default APN签约信息中的 Default APN存在于所述已使用 Default APN列表时,查询所述第二 Default APN 签约信息中的 Default APN是否存在于所述已使用 Default APN列表;
所述第一查询单元, 还用于查询出所述第二 Default APN签约信息中的 Default APN不存在于所述已使用 Default APN列表时, 发送第一选定提示消 息给第一选定单元;
第一选定单元,用于接收到所述第一选定提示消息后,将所述第二 Default APN签约信息优先选定为用于激活所述 PDP/PDN上下文的签约信息;
第一激活单元, 用于根据所述第二 Default APN 签约信息激活所述 PDP/PDN上下文;
第一添加单元,用于添加所述第二 Default APN签约信息中的 Default APN 至所述已使用 Default APN列表。
4、 如权利要求 2所述的控制节点, 其特征在于,
所述第一激活模块,当所述至少一组用户的签约信息中不存在包含所述未 使用过的 Default APN的签约信息时, 还用于从所述 Local APN签约信息队列 中选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上 下文。
5、 如权利要求 4所述的控制节点, 其特征在于, 所述 Local APN签约信 息队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息, 所述 第一 Local APN的优先级高于所述第二 Local APN的优先级,
所述第一激活模块包括:
第二查询单元,用于查询所述第一 Local APN签约信息中的 Local APN是 否存在于第一已使用 Local APN列表;
所述第二查询单元, 还用于查询出所述第一 Local APN签约信息中的 Local APN存在于所述第一已使用 Local APN列表时,查询所述第二 Local APN 签约信息中的 Local APN是否存在于所述第一已使用 Local APN列表;
所述第二查询单元, 还用于查询出所述第二 Local APN签约信息中的 Local APN不存在于所述第一已使用 Local APN列表时, 发送第二选定提示消 息给第二选定单元;
第二选定单元, 用于接收到所述第二选定提示消息后, 将所述第二 Local APN签约信息选定为用于激活所述 PDP/PDN上下文的签约信息;
第二激活单元,用于根据所述第二 Local APN签约信息激活所述 PDP/PDN 上下文;
第二添加单元,用于添加所述第二 Local APN签约信息中的 Local APN至 所述第一已使用 Local APN列表。
6、 如权利要求 4所述的控制节点, 其特征在于,
所述第一激活模块,当不存在所述与未使用过的 Local APN相一致的签约 信息时, 还用于从所述 other APN签约信息队列中选择一组包含未使用过的 Other APN的签约信息激活所述 PDP/PDN上下文。
7、 如权利要求 6所述的控制节点, 其特征在于, 所述 Other APN签约信 息队列中至少包括第一 Other APN签约信息、 第二 Other APN签约信息, 所述 第一 Other APN的优先级高于所述第二 Other APN的优先级,
所述第一激活模块包括:
第三查询单元,用于查询所述第一 Other APN签约信息中的 Other APN是 否存在于已使用 Other APN列表;
所述第三查询单元, 还用于查询出所述第一 Other APN签约信息中的 Other APN存在于所述已使用 Other APN列表时, 查询所述第二 Other APN签 约信息中的 Other APN是否存在于所述已使用 Other APN列表;
所述第三查询单元, 还用于查询出所述第二 Other APN签约信息中的 Other APN不存在于所述已使用 Other APN列表时, 发送第三选定提示消息给 第三选定单元;
第三选定单元, 用于接收到所述第三选定提示消息后, 将所述第二 Other APN签约信息选定为用于激活所述 PDP/PDN上下文的签约信息;
第三激活单元,用于根据所述第二 Other APN签约信息激活所述 PDP/PDN 上下文;
第三添加单元,用于添加所述第二 Other APN签约信息中的 Other APN至 所述已使用 Other APN列表。
8、 如权利要求 1所述的控制节点, 其特征在于, 所述获取模块包括: 发送单元, 用于发送签约信息请求给服务器;
接收单元, 用于接收服务器发送的至少两组用户的签约信息, 所述至少两 组用户的签约信息中任一签约信息中的 Default APN均不同于其他签约信息中 的 Default APN。
9、 如权利要求 2所述的控制节点, 其特征在于, 所述匹配要求包括 PDP 类型、 PDP地址中一种或多种,
所述第二激活模块,当所述至少两组满足所述签约信息要求的非野卡签约 信息中不存在所述包含未使用过的 Default APN的签约信息时, 还用于从所述 至少一组用户的签约信息中选择一个与未使用过的 Local APN相一致的签约 信息激活所述 PDP/PDN上下文;
所述第二激活模块,当不存在所述与未使用过的 Local APN相一致的签约 信息时, 还用于从所述至少一组用户的签约信息中选择一组包含未使用过的 other APN的签约信息激活所述 PDP/PDN上下文。
10、如权利要求 1所述的控制节点,其特征在于,所述至少一个 Local APN 至少包括第一 Local APN和第二 Local APN, 所述第一 Local APN的优先级高 于所述第二 Local APN的优先级,
所述第三激活模块包括:
第四查询单元, 用于查询所述第一 Local APN 是否存在于第二已使用 Local APN列表;
所述第四查询单元,还用于查询出所述第一 Local APN存在于所述第二已 使用 Local APN列表时,查询所述第二 Local APN是否存在于所述第二已使用 Local APN列表; 所述第四查询单元,还用于查询出所述第二 Local APN不存在于所述第二 已使用 Local APN列表时, 发送第四选定提示消息给第四选定单元;
第四选定单元, 用于接收到所述第四选定提示消息后, 将所述第二 Local APN 优先选定为用于配合所述野卡签约信息激活所述 PDP/PDN 上下文的 APN;
第四激活单元, 用于基于所述第二 Local APN, 结合所述野卡签约信息激 活所述 PDP/PDN上下文;
第四添加单元, 用于添加所述第二 Local APN 至所述第二已使用 Local APN列表。
11、如权利要求 2所述的控制节点,其特征在于, APN的类型包括 Default APN、 Local APN和其他 other APN, 所述控制节点还包括:
判断模块, 当存在唯——组满足匹配要求的非野卡签约信息时, 用于判断 所述唯——组满足匹配要求的非野卡签约信息中包含的 APN是否被使用过; 还用于判断出所述唯——组满足匹配要求的非野卡签约信息中包含的 APN被 使用过时, 发送重选提示消息给第四激活模块;
第四激活模块, 用于接收到所述判断模块发送的所述重选提示消息后,优 先从所述至少一组用户的签约信息中选择一组包含未使用过的 Default APN的 签约信息激活所述 PDP/PDN上下文;
所述第四激活模块,当所述至少一组用户的签约信息中不存在所述包含未 使用过的 Default APN的签约信息时, 还用于从所述至少一组用户的签约信息 中选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上 下文;
所述第四激活模块,当所述至少一组用户的签约信息中不存在所述与未使 用过的 Local APN相一致的签约信息时,还用于从所述至少一组用户的签约信 息中选择一组包含未使用过的 other APN的签约信息激活所述 PDP/PDN上下 文。
所述第四激活模块,当所述至少一组用户的签约信息中不存在所述包含未 使用过的 other APN的签约信息时, 还用于基于所述唯——组满足匹配要求的 非野卡签约信息激活所述 PDP/PDN上下文。
12、 一种服务器, 其特征在于, 包括:
接收模块, 用于接收控制节点发送的签约信息请求;
查找模块,用于根据所述签约信息请求查找用户签约的至少两组用户的签 约信息, 所述至少两组用户的签约信息中包含的默认接入点名称 Default APN 各不相同;
发送模块, 用于发送所述至少两组用户的签约信息给所述控制节点。
13、 如权利要求 12所述的服务器, 其特征在于, 还包括:
所述接收模块,还用于接收用户的签约请求, 所述签约请求携带至少两个 互不相同的 Default APN指定信息;
生成模块, 用于根据所述指定信息生成所述至少两组用户的签约信息, 所 述至少两组用户的签约信息中任一签约信息中的 Default APN均不同于其他签 约信息中的 Default APN。
14、 一种 PDP/PDN上下文的激活方法, 其特征在于, 包括:
获取至少一组用户的签约信息;
当不存在满足匹配要求的签约信息时,优先从所述至少一组用户的签约信 息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分 组数据协议 PDP/分组数据网络 PDN上下文;
当存在至少两组满足匹配要求的非野卡签约信息时,优先从所述至少两组 满足匹配要求的非野卡签约信息中选择一组包含未使用过的 Default APN的签 约信息激活所述 PDP/PDN上下文;
当仅存在满足匹配要求的野卡签约信息时,从至少一个 Local APN中选取 一个未使用过的 Local APN, 结合所述野卡签约信息激活所述 PDP/PDN上下 文。
15、 如权利要求 14所述的方法, 其特征在于, 获取至少一组用户的签约 信息之后, 还包括如下步骤中任一个:
从所述至少一组用户的签约信息中提取包含 Default APN的签约信息添加 至 Default APN签约信息队列;
从所述提取包含 Default APN的签约信息后剩余的签约信息中提取与所述 至少一个 Local APN相一致的签约信息添加至 Local APN签约信息队列;
将所述提取与所述至少一个 Local APN相一致的签约信息后剩余的非野 卡签约信息添加至其他 other APN签约信息队列。
16、 如权利要求 15所述的方法, 其特征在于, 所述 Default APN签约信 息队列中至少包括第一 Default APN签约信息、 第二 Default APN签约信息, 所述第一 Default APN的优先级高于所述第二 Default APN的优先级,
当不存在满足匹配要求的签约信息时,优先从所述至少一组用户的签约信 息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分 组数据十办议 PDP/PDN上下文包括:
查询所述第一 Default APN签约信息中的 Default APN是否存在于已使用 Default APN列表;
当查询出所述第一 Default APN签约信息中的 Default APN存在于所述已 使用 Default APN列表时, 查询所述第二 Default APN签约信息中的 Default APN是否存在于所述已使用 Default APN列表;
当查询出所述第二 Default APN签约信息中的 Default APN不存在于所述 已使用 Default APN列表时, 将所述第二 Default APN签约信息优先选定为用 于激活所述 PDP/PDN上下文的签约信息;
根据所述第二 Default APN签约信息激活所述 PDP/PDN上下文; 添加所述第二 Default APN签约信息中的 Default APN 至所述已使用 Default APN列表。
17、 如权利要求 15所述的方法, 其特征在于, 优先从所述至少一组用户 的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的签约信 息激活分组数据协议 PDP/PDN上下文之后, 还包括: 当所述至少一组用户的签约信息中不存在包含所述未使用过的 Default APN的签约信息时, 从所述 Local APN签约信息队列中选择一个与未使用过 的 Local APN相一致的签约信息激活所述 PDP/PDN上下文。
18、 如权利要求 17所述的方法, 其特征在于, 所述 Local APN签约信息 队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息, 所述第 一 Local APN的优先级高于所述第二 Local APN的优先级,
选择与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上下 文包括:
查询所述第一 Local APN签约信息中的 Local APN是否存在于第一已使用 Local APN列表;
当查询出所述第一 Local APN签约信息中的 Local APN存在于所述第一已 使用 Local APN列表时,查询所述第二 Local APN签约信息中的 Local APN是 否存在于所述第一已使用 Local APN列表;
当查询出所述第二 Local APN签约信息中的 Local APN不存在于所述第一 已使用 Local APN列表时,将所述第二 Local APN签约信息选定为用于激活所 述 PDP/PDN上下文的签约信息;
根据所述第二 Local APN签约信息激活所述 PDP/PDN上下文;
添加所述第二 Local APN签约信息中的 Local APN 至所述第一已使用 Local APN列表。
19、 如权利要求 17所述的方法, 其特征在于, 从所述 Local APN签约信 息队列中选择一个与未使用过的 Local APN 相一致的签约信息激活所述 PDP/PDN上下文之后, 还包括:
当不存在所述与未使用过的 Local APN相一致的签约信息时,从所述 other APN签约信息队列中选择一组包含未使用过的 other APN的签约信息激活所 述 PDP/PDN上下文。
20、 如权利要求 19所述的方法, 其特征在于, 所述 Other APN签约信息 队列中至少包括第一 Other APN签约信息、 第二 Other APN签约信息, 所述第 一 Other APN的优先级高于所述第二 Other APN的优先级,
从所述 other APN签约信息队列中选择一组包含未使用过的 other APN的 签约信息激活所述 PDP/PDN上下文包括:
查询所述第一 Other APN签约信息中的 Other APN是否存在于已使用 Other APN列表;
当查询出所述第一 Other APN签约信息中的 Other APN存在于所述已使用 Other APN列表时, 查询所述第二 Other APN签约信息中的 Other APN是否存 在于所述已使用 Other APN列表;
当查询出所述第二 Other APN签约信息中的 Other APN不存在于所述已使 用 Other APN列表时, 将所述第二 Other APN签约信息选定为用于激活所述 PDP/PDN上下文的签约信息;
根据所述第二 Other APN签约信息激活所述 PDP/PDN上下文;
添加所述第二 Other APN签约信息中的 Other APN至所述已使用 Other APN列表。
21、 如权利要求 14所述的方法, 其特征在于, 获取至少一组用户的签约 信息包括:
发送签约信息请求给服务器;
接收服务器发送的至少两组用户的签约信息,所述至少两组用户的签约信 息中任一签约信息中的 Default APN均不同于其他签约信息中的 Default APN。
22、 如权利要求 15所述的方法, 其特征在于, 所述匹配要求包括 PDP类 型、 PDP地址中一种或多种,
优先从所述至少两组满足匹配要求的非野卡签约信息中选择一组包含未 使用过的 Default APN的签约信息激活所述 PDP/PDN上下文之后, 还包括: 当所述至少两组满足所述签约信息要求的非野卡签约信息中不存在所述 包含未使用过的 Default APN的签约信息时, 从所述至少一组用户的签约信息 中选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上 下文;
选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN 上下文之后, 还包括:
当不存在所述与未使用过的 Local APN相一致的签约信息时,从所述至少 一组用户的签约信息中选择一组包含未使用过的 other APN的签约信息激活所 述 PDP/PDN上下文。
23、 如权利要求 14所述的方法, 其特征在于, 所述至少一个 Local APN 至少包括第一 Local APN和第二 Local APN, 所述第一 Local APN的优先级高 于所述第二 Local APN的优先级,
从至少一个 Local APN中选取一个未使用过的 Local APN包括: 查询所述第一 Local APN是否存在于第二已使用 Local APN列表; 当查询出所述第一 Local APN存在于所述第二已使用 Local APN列表时, 查询所述第二 Local APN是否存在于所述第二已使用 Local APN列表;
当查询出所述第二 Local APN不存在于所述第二已使用 Local APN列表 时, 将所述第二 Local APN优先选定为用于配合所述野卡签约信息激活所述
PDP/PDN上下文的 APN;
结合所述野卡签约信息激活所述 PDP/PDN上下文包括:
基于所述第二 Local APN, 结合所述野卡签约信息激活所述 PDP/PDN上 下文;
添加所述第二 Local APN至所述第二已使用 Local APN列表。
24、 如权利要求 15所述的方法, 其特征在于, 获取至少一组用户的签约 信息之后, 还包括:
当存在唯——组满足匹配要求的非野卡签约信息时,判断所述唯——组满 足匹配要求的非野卡签约信息中包含的 APN是否被使用过;
若判断出所述唯——组满足匹配要求的非野卡签约信息中包含的 APN被 使用过, 则优先从所述至少一组用户的签约信息中选择一组包含未使用过的 Default APN的签约信息激活所述 PDP/PDN上下文; 当所述至少一组用户的签约信息中不存在所述包含未使用过的 Default APN 的签约信息时, 从所述至少一组用户的签约信息中选择一个与未使用过 的 Local APN相一致的签约信息激活所述 PDP/PDN上下文;
从所述至少一组用户的签约信息中选择一个与未使用过的 Local APN相 一致的签约信息激活所述 PDP/PDN上下文之后, 还包括:
当所述至少一组用户的签约信息中不存在所述与未使用过的 Local APN 相一致的签约信息时,从所述至少一组用户的签约信息中选择一组包含未使用 过的 other APN的签约信息激活所述 PDP/PDN上下文;
从所述至少一组用户的签约信息中选择一组包含未使用过的 other APN的 签约信息激活所述 PDP/PDN上下文之后, 还包括:
当所述至少一组用户的签约信息中不存在所述包含未使用过的 other APN 的签约信息时, 基于所述唯——组满足匹配要求的非野卡签约信息激活所述 PDP/PDN上下文。
25、 一种提供签约信息的方法, 其特征在于, 包括:
接收控制节点发送的签约信息请求;
根据所述签约信息请求查找用户签约的至少两组用户的签约信息,所述至 少两组用户的签约信息中包含的默认接入点名称 Default APN各不相同;
发送所述至少两组用户的签约信息给所述控制节点。
26、 如权利要求 25所述的方法, 其特征在于, 接收控制节点发送的签约 信息请求之前, 还包括:
接收用户的签约请求, 所述签约请求携带至少两个互不相同的 Default APN指定信息;
根据所述指定信息生成所述至少两组用户的签约信息,所述至少两组用户 的签约信息中任一签约信息中的 Default APN 均不同于其他签约信息中的 Default APNo
27、 一种控制节点, 其特征在于, 包括: 输入装置、 输出装置、 存储器和 处理器, 其中, 存储器中存储一组程序代码, 且处理器用于调用存储器中存储 的程序代码, 用于执行以下操作:
获取至少一组用户的签约信息;
当不存在满足匹配要求的签约信息时,优先从所述至少一组用户的签约信 息中选择一组包含未使用过的默认接入点名称 Default APN的签约信息激活分 组数据协议 PDP/PDN上下文;
当存在至少两组满足匹配要求的非野卡签约信息时,优先从所述至少两组 满足匹配要求的非野卡签约信息中选择一组包含未使用过的 Default APN的签 约信息激活所述 PDP/PDN上下文;
当仅存在满足匹配要求的野卡签约信息时,从至少一个 Local APN中选取 一个未使用过的 Local APN, 结合所述野卡签约信息激活所述 PDP/PDN上下 文。
28、 如权利要求 27所述的方法, 其特征在于, 获取至少一组用户的签约 信息之后, 所述处理器还用于执行如下步骤中任一个:
从所述至少一组用户的签约信息中提取包含 Default APN的签约信息添加 至 Default APN签约信息队列;
从所述提取包含 Default APN的签约信息后剩余的签约信息中提取与所述 至少一个 Local APN相一致的签约信息添加至 Local APN签约信息队列; 将所述提取与所述至少一个 Local APN相一致的签约信息后剩余的非野 卡签约信息添加至其他 other APN签约信息队列。
29、 如权利要求 28所述的方法, 其特征在于, 所述 Default APN签约信 息队列中至少包括第一 Default APN签约信息、 第二 Default APN签约信息, 所述第一 Default APN的优先级高于所述第二 Default APN的优先级,
当不存在满足匹配要求的签约信息时,所述处理器执行优先从所述至少一 组用户的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的 签约信息激活分组数据协议 PDP/PDN上下文包括:
查询所述第一 Default APN签约信息中的 Default APN是否存在于已使用 Default APN列表;
当查询出所述第一 Default APN签约信息中的 Default APN存在于所述已 使用 Default APN列表时, 查询所述第二 Default APN签约信息中的 Default APN是否存在于所述已使用 Default APN列表;
当查询出所述第二 Default APN签约信息中的 Default APN不存在于所述 已使用 Default APN列表时, 将所述第二 Default APN签约信息优先选定为用 于激活所述 PDP/PDN上下文的签约信息;
根据所述第二 Default APN签约信息激活所述 PDP/PDN上下文; 添加所述第二 Default APN签约信息中的 Default APN 至所述已使用 Default APN列表。
30、 如权利要求 28所述的方法, 其特征在于, 优先从所述至少一组用户 的签约信息中选择一组包含未使用过的默认接入点名称 Default APN的签约信 息激活分组数据协议 PDP/PDN上下文之后,所述处理器还用于执行以下步骤: 当所述至少一组用户的签约信息中不存在包含所述未使用过的 Default APN的签约信息时, 从所述 Local APN签约信息队列中选择一个与未使用过 的 Local APN相一致的签约信息激活所述 PDP/PDN上下文。
31、 如权利要求 30所述的方法, 其特征在于, 所述 Local APN签约信息 队列中至少包括第一 Local APN签约信息、 第二 Local APN签约信息, 所述第 一 Local APN的优先级高于所述第二 Local APN的优先级,
所述处理器执行选择与未使用过的 Local APN相一致的签约信息激活所 述 PDP/PDN上下文包括:
查询所述第一 Local APN签约信息中的 Local APN是否存在于第一已使用 Local APN列表;
当查询出所述第一 Local APN签约信息中的 Local APN存在于所述第一已 使用 Local APN列表时,查询所述第二 Local APN签约信息中的 Local APN是 否存在于所述第一已使用 Local APN列表;
当查询出所述第二 Local APN签约信息中的 Local APN不存在于所述第一 已使用 Local APN列表时,将所述第二 Local APN签约信息选定为用于激活所 述 PDP/PDN上下文的签约信息;
根据所述第二 Local APN签约信息激活所述 PDP/PDN上下文;
添加所述第二 Local APN签约信息中的 Local APN 至所述第一已使用
Local APN列表。
32、 如权利要求 30所述的方法, 其特征在于, 从所述 Local APN签约信 息队列中选择一个与未使用过的 Local APN 相一致的签约信息激活所述 PDP/PDN上下文之后, 所述处理器还用于执行以下步骤:
当不存在所述与未使用过的 Local APN相一致的签约信息时,从所述 other APN签约信息队列中选择一组包含未使用过的 other APN的签约信息激活所 述 PDP/PDN上下文。
33、 如权利要求 32所述的方法, 其特征在于, 所述 Other APN签约信息 队列中至少包括第一 Other APN签约信息、 第二 Other APN签约信息, 所述第 一 Other APN的优先级高于所述第二 Other APN的优先级,
所述处理器执行从所述 other APN签约信息队列中选择一组包含未使用过 的 other APN的签约信息激活所述 PDP/PDN上下文包括:
查询所述第一 Other APN签约信息中的 Other APN是否存在于已使用 Other APN列表;
当查询出所述第一 Other APN签约信息中的 Other APN存在于所述已使用 Other APN列表时, 查询所述第二 Other APN签约信息中的 Other APN是否存 在于所述已使用 Other APN列表;
当查询出所述第二 Other APN签约信息中的 Other APN不存在于所述已使 用 Other APN列表时, 将所述第二 Other APN签约信息选定为用于激活所述 PDP/PDN上下文的签约信息;
根据所述第二 Other APN签约信息激活所述 PDP/PDN上下文;
添加所述第二 Other APN签约信息中的 Other APN至所述已使用 Other APN列表。
34、 如权利要求 27所述的方法, 其特征在于, 所述处理器执行获取至少 一组用户的签约信息包括:
发送签约信息请求给服务器;
接收服务器发送的至少两组用户的签约信息,所述至少两组用户的签约信 息中任一签约信息中的 Default APN均不同于其他签约信息中的 Default APN。
35、 如权利要求 28所述的方法, 其特征在于, 所述匹配要求包括 PDP类 型、 PDP地址中一种或多种,
优先从所述至少两组满足匹配要求的非野卡签约信息中选择一组包含未 使用过的 Default APN的签约信息激活所述 PDP/PDN上下文之后, 所述处理 器还用于执行以下步骤:
当所述至少两组满足所述签约信息要求的非野卡签约信息中不存在所述 包含未使用过的 Default APN的签约信息时, 从所述至少一组用户的签约信息 中选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN上 下文;
选择一个与未使用过的 Local APN相一致的签约信息激活所述 PDP/PDN 上下文之后, 所述处理器还用于执行以下步骤:
当不存在所述与未使用过的 Local APN相一致的签约信息时,从所述至少 一组用户的签约信息中选择一组包含未使用过的 other APN的签约信息激活所 述 PDP/PDN上下文。
36、 如权利要求 27所述的方法, 其特征在于, 所述至少一个 Local APN 至少包括第一 Local APN和第二 Local APN, 所述第一 Local APN的优先级高 于所述第二 Local APN的优先级,
所述处理器从至少一个 Local APN中选取一个未使用过的 Local APN包 括:
查询所述第一 Local APN是否存在于第二已使用 Local APN列表; 当查询出所述第一 Local APN存在于所述第二已使用 Local APN列表时, 查询所述第二 Local APN是否存在于所述第二已使用 Local APN列表; 当查询出所述第二 Local APN不存在于所述第二已使用 Local APN列表 时, 将所述第二 Local APN优先选定为用于配合所述野卡签约信息激活所述
PDP/PDN上下文的 APN;
所述处理器结合所述野卡签约信息激活所述 PDP/PDN上下文包括: 基于所述第二 Local APN, 结合所述野卡签约信息激活所述 PDP/PDN上 下文;
添加所述第二 Local APN至所述第二已使用 Local APN列表。
37、 如权利要求 28所述的方法, 其特征在于, 获取至少一组用户的签约 信息之后, 所述处理器还用于执行以下步骤:
当存在唯——组满足匹配要求的非野卡签约信息时,判断所述唯——组满 足匹配要求的非野卡签约信息中包含的 APN是否被使用过;
若判断出所述唯——组满足匹配要求的非野卡签约信息中包含的 APN被 使用过, 则优先从所述至少一组用户的签约信息中选择一组包含未使用过的 Default APN的签约信息激活所述 PDP/PDN上下文;
当所述至少一组用户的签约信息中不存在所述包含未使用过的 Default APN 的签约信息时, 从所述至少一组用户的签约信息中选择一个与未使用过 的 Local APN相一致的签约信息激活所述 PDP/PDN上下文;
从所述至少一组用户的签约信息中选择一个与未使用过的 Local APN相 一致的签约信息激活所述 PDP/PDN上下文之后, 所述处理器还用于执行以下 步骤:
当所述至少一组用户的签约信息中不存在所述与未使用过的 Local APN 相一致的签约信息时,从所述至少一组用户的签约信息中选择一组包含未使用 过的 other APN的签约信息激活所述 PDP/PDN上下文;
从所述至少一组用户的签约信息中选择一组包含未使用过的 other APN的 签约信息激活所述 PDP/PDN上下文之后, 所述处理器还用于执行以下步骤: 当所述至少一组用户的签约信息中不存在所述包含未使用过的 other APN 的签约信息时, 基于所述唯——组满足匹配要求的非野卡签约信息激活所述 PDP/PDN上下文 (
38、 一种服务器, 其特征在于, 包括: 输入装置、 输出装置、 存储器和处 理器, 其中, 存储器中存储一组程序代码, 且处理器用于调用存储器中存储的 程序代码, 用于执行以下操作:
接收控制节点发送的签约信息请求;
根据所述签约信息请求查找用户签约的至少两组用户的签约信息,所述至 少两组用户的签约信息中包含的默认接入点名称 Default APN各不相同;
发送所述至少两组用户的签约信息给所述控制节点。
39、 如权利要求 38所述的方法, 其特征在于, 接收控制节点发送的签约 信息请求之前, 所述处理器还用于执行以下步骤:
接收用户的签约请求, 所述签约请求携带至少两个互不相同的 Default APN指定信息;
根据所述指定信息生成所述至少两组用户的签约信息,所述至少两组用户 的签约信息中任一签约信息中的 Default APN 均不同于其他签约信息中的 Default APNo
40、 一种系统, 包括控制节点和服务器, 所述控制节点为权利要求 1-11 任一项所述的控制节点, 所述服务器为权利要求 12-13任一项所述的服务器。
PCT/CN2014/085016 2014-08-22 2014-08-22 一种pdp/pdn上下文的激活方法、设备及系统 WO2016026138A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
EP14899930.3A EP3171643A4 (en) 2014-08-22 2014-08-22 Method, device and system for activating pdp/pdn context
PCT/CN2014/085016 WO2016026138A1 (zh) 2014-08-22 2014-08-22 一种pdp/pdn上下文的激活方法、设备及系统
CN201480033934.3A CN105519218A (zh) 2014-08-22 2014-08-22 一种pdp/pdn上下文的激活方法、设备及系统
KR1020177007034A KR101784902B1 (ko) 2014-08-22 2014-08-22 Pdp/pdn 콘텍스트 활성화 방법, 장치 및 시스템
BR112017003526A BR112017003526A2 (pt) 2014-08-22 2014-08-22 método, dispositivo e sistema de ativação de contexto de pdp/pdn.
US15/437,905 US20170164276A1 (en) 2014-08-22 2017-02-21 Pdp/pdn context activation method, device, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/085016 WO2016026138A1 (zh) 2014-08-22 2014-08-22 一种pdp/pdn上下文的激活方法、设备及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/437,905 Continuation US20170164276A1 (en) 2014-08-22 2017-02-21 Pdp/pdn context activation method, device, and system

Publications (1)

Publication Number Publication Date
WO2016026138A1 true WO2016026138A1 (zh) 2016-02-25

Family

ID=55350124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/085016 WO2016026138A1 (zh) 2014-08-22 2014-08-22 一种pdp/pdn上下文的激活方法、设备及系统

Country Status (6)

Country Link
US (1) US20170164276A1 (zh)
EP (1) EP3171643A4 (zh)
KR (1) KR101784902B1 (zh)
CN (1) CN105519218A (zh)
BR (1) BR112017003526A2 (zh)
WO (1) WO2016026138A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008116804A1 (en) * 2007-03-23 2008-10-02 Nokia Siemens Networks Gmbh & Co. Kg Method for providing subscriptions to packet-switched networks
CN101483904A (zh) * 2008-01-10 2009-07-15 华为技术有限公司 网络选择方法、网元设备和网络系统
CN101729978A (zh) * 2009-05-26 2010-06-09 中兴通讯股份有限公司 一种实现制定业务计费策略的方法及系统
CN101990280A (zh) * 2009-08-04 2011-03-23 华为技术有限公司 选择默认接入点名称及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100464595C (zh) * 2006-07-06 2009-02-25 华为技术有限公司 获取用户接入归属地ggsn的方法及网元设备
US7733980B2 (en) 2006-07-14 2010-06-08 International Business Machines Corporation Quadrature modulation circuits and systems supporting multiple modulation modes at gigabit data rates
CN101540995B (zh) * 2008-03-21 2011-06-08 华为技术有限公司 一种获取信息的方法、用户设备及网络侧设备
CN101783904A (zh) 2010-03-12 2010-07-21 青岛海信电器股份有限公司 Epg获取方法及装置
GB2512532B (en) * 2010-11-08 2014-11-26 Samsung Electronics Co Ltd Providing access of a user equipment to a data network
US20130007286A1 (en) * 2011-06-29 2013-01-03 Juniper Networks, Inc. User session routing between mobile network gateways

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008116804A1 (en) * 2007-03-23 2008-10-02 Nokia Siemens Networks Gmbh & Co. Kg Method for providing subscriptions to packet-switched networks
CN101483904A (zh) * 2008-01-10 2009-07-15 华为技术有限公司 网络选择方法、网元设备和网络系统
CN101729978A (zh) * 2009-05-26 2010-06-09 中兴通讯股份有限公司 一种实现制定业务计费策略的方法及系统
CN101990280A (zh) * 2009-08-04 2011-03-23 华为技术有限公司 选择默认接入点名称及装置

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
US20170164276A1 (en) 2017-06-08
CN105519218A (zh) 2016-04-20
EP3171643A4 (en) 2017-08-09
KR101784902B1 (ko) 2017-10-12
EP3171643A1 (en) 2017-05-24
KR20170041910A (ko) 2017-04-17
BR112017003526A2 (pt) 2018-06-26

Similar Documents

Publication Publication Date Title
US11477726B2 (en) Apparatus, system and method for dedicated core network
WO2015184722A1 (zh) 专用网络选择方法及装置
US20200383023A1 (en) Dedicated Network Handover Method, Dedicated Network Type Notification Method, and Device
EP2836025B1 (en) Connection establishment method and device for packet data network
EP3046351B1 (en) Method and system for realizing a walkie-talkie function over wifi
WO2017156706A1 (zh) 用于处理数据包的方法及设备
EP3490280B1 (en) Session management entity relocation
CN104541492A (zh) 用于域名系统查询的系统和方法
US20140355589A1 (en) Feedback method for active scanning of user terminal, and access point
TW201141157A (en) User equipment (UE), home agent node (HA), methods, and telecommunications system for home network prefix (HNP) assignment
WO2012034468A1 (zh) 重启移动性管理单元的处理方法及移动性管理单元
WO2016179966A1 (zh) 一种实现网络接入的方法、终端及计算机存储介质
WO2011054294A1 (zh) 连接建立方法和装置
US20140302812A1 (en) Access method, mobility management device, and user equipment
WO2015085491A1 (zh) 一种流表的生成方法和装置
CN109219005A (zh) 一种数据包传输的方法和设备
WO2013159310A1 (zh) 用于接入分组交换网络的方法、wlan接入系统和用户设备
WO2018112745A1 (zh) 获取网络切片实例信息的方法、实体及系统
CN103813395A (zh) 终端用户在不同网络间进行无缝移动的方法及wog
WO2014040464A1 (zh) 资源的释放方法、消息的处理方法、twag及终端
CN103167461A (zh) 会话处理方法及装置
WO2016000095A1 (zh) 一种在线附着用户总量控制方法、设备及系统
WO2016004581A1 (zh) 一种共享网络的用户管理方法、相应的设备和系统
WO2010012189A1 (zh) 一种gtp消息传输的方法及装置
WO2013178178A2 (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: 14899930

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014899930

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014899930

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20177007034

Country of ref document: KR

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112017003526

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112017003526

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20170221