Embodiment
For above-mentioned the problems of the prior art, the embodiment of the invention provides a kind of PDN to connect the technical scheme of setting up.In this technical scheme, when network equipment receives the PDN connection request of UE transmission, network equipment obtains APN, the PDN type(type of carrying in this PDN connection request) and the precedence information that connects of the PDN that asks to set up, and according to the APN that gets access to, PDN type(type) and institute ask the precedence information of the PDN connection of foundation to determine to accept this PDN connection request or refuse this PDN connection request; When network equipment determines that APN that the APN that carries in this PDN connection request and PDN type and the PDN that UE has set up connect and PDN type are identical, network equipment is determined to accept this PDN connection request or is refused this PDN connection request according to the precedence information of the PDN connection of the foundation of asking of carrying in the described PDN connection request, reduce PDN and connected the time delay of setting up, and can not interrupt the current business data flow that is using the PDN that has set up to connect the transmission of data.
Below in conjunction with the accompanying drawing among the application, the technical scheme among the application is carried out clear, complete description, obviously, described embodiment is a part of embodiment of the application, rather than whole embodiment.Based on the embodiment among the application, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work belongs to the scope that the application protects.Wherein, for convenience of description and understand, in following examples, take network equipment as MME(Mobility Management Entity, mobile management entity) be described for example.But should be realized that, in the technical scheme that the embodiment of the invention provides, network equipment is not limited to MME, also can be other have the network equipment of similar or identical function to MME.
Embodiment one
As shown in Figure 1, a kind of PDN that provides for the embodiment of the invention connects the schematic flow sheet of method for building up, can may further comprise the steps:
Step 101, MME receive the PDN connection request that UE sends, and obtain the precedence information of the PDN connection of APN, the PDN type that carries in this PDN connection request and the foundation of asking.
Concrete, when MME received the PDN connection request of UE transmission, MME can obtain the precedence information of the PDN connection of APN, the PDN type that carries in this PDN connection request and the foundation of asking.The precedence information that the PDN of the foundation of asking of wherein, carrying in this PDN connection request connects can be the precedence information in the device attribute (Device properties) of carrying in this PDN connection request.
Step 102, MME judge whether the APN that carries in this PDN connection request and PDN type be identical with APN and PDN type that the PDN that this UE has set up connects; Then to go to step 103 if be judged as; Otherwise, go to step 104.
Concrete, after MME gets access to the precedence information that the APN, the PDN type that carry in the PDN connection request that receives and the PDN that asks to set up connect, MME can judge whether this PDN connects APN and the PDN type of the PDN connection that the APN that carries in the request of foundation and PDN type and this UE set up identical, if identical, the precedence information that then further connects according to the PDN that asks to set up is determined to accept this PDN connection request or is refused this PDN connection request; If different, then accept this PDN connection request.
Wherein, MME can determine APN and the PDN type that PDN that UE has set up connects by the bearer context information (Bearer Context) of UE of self storage.
Step 103, MME determine to accept this PDN connection request or refuse this PDN connection request according to the precedence information of the PDN connection of the foundation of asking of carrying in this PDN connection request.
Concrete, when MME determines that APN that the APN that carries in this PDN connection request and PDN type and the PDN that this UE has set up connect and PDN type are identical, MME can further judge the priority that the priority that the PDN that asks to set up connects has been connected with the PDN that this UE has set up, and determines to accept this PDN connection or refuse this PDN connection according to comparative result.Wherein, the priority of the MME PDN connection that can indicate to determine that UE has set up according to the low priority in the bearer context information of UE of self storage.
Wherein, when MME determines that the priority of the PDN connection that priority that institute ask the PDN connection of setting up and this UE have set up is identical, MME can refuse this PDN connection request, sends the PDN that carries corresponding cause value to UE and connects refusal (PDN connectivity reject) message.In this case, this cause value can be " #55 ", namely " multiple PDN connections for a given APN not allowed(does not allow for same APN and sets up many PDN connections) ", its concrete meaning can referring to the existing protocol relevant regulations, not repeat them here.
When determining institute, MME ask priority that the priority of the PDN connection of foundation is connected with PDN that this UE has set up not simultaneously, MME can judge whether to allow for the PDN connection that this UE sets up the foundation of asking, if be judged as be, then accept this PDN connection request, initiate default EPS (Evolved Packet System, evolved packet system) bearer context activation; If be judged as noly, then refuse this PDN connection request, send the PDN connection refused message of corresponding cause value to UE.
Wherein, MME can judge whether to allow for this UE and sets up institute and ask the PDN connection of foundation can comprise at least following two kinds of situations:
PDN connections that situation one, foundation are correlated with from same APN, that PDN type is identical, that priority is different are a kind of subscription data.
In this case, MME at first needs to search the CAMEL-Subscription-Information of UE, and judges whether it has contracted " setting up PDN that be correlated with from same APN, that PDN type is identical, that priority is different connects ".
This attribute if UE has contracted, then MME can judge whether to allow for this UE according to the priority that the congestion condition of current network and the PDN that asks to set up connect and set up the PDN connection that institute ask foundation, if judged result is yes, then accept this PDN connection request, send " request of Activate default EPS bearer context request(default EPS bearing context activation) message " to UE, initiate default EPS bearing context activation process; If the determination result is NO, then refuse this PDN connection request, send the PDN connection refused message of carrying corresponding cause value to UE.In this case, this cause value can be " #26 ", and namely " insufficient resources(inadequate resource) ", its concrete meaning can referring to the regulation in the relevant existing protocol, not repeat them here.
Wherein, the priority that MME connects according to the congestion condition of current network and the PDN that asks to set up judges whether to allow for this UE and sets up institute and ask the realization of PDN connection of foundation identical with relevant treatment in the prior art, does not repeat them here.
If not signatory this attribute of UE is then refused this PDN connection request, send the PDN connection refused message of carrying corresponding cause value to UE.In this case, this cause value can be " not signatory multipriority PDN connection attribute ".
PDN connections that situation two, foundation are correlated with from same APN, that PDN type is identical, that priority is different are not a kind of subscription data.
In this case, the priority that MME can connect according to the PDN of the congestion condition of current network and the foundation of asking judges whether to allow for the PDN connection that this UE sets up the foundation of asking, if judged result is yes, then accept this PDN connection request, send " request of Activate default EPS bearer context request(default EPS bearing context activation) message " to UE, initiate default EPS bearing context activation process; If the determination result is NO, then refuse this PDN connection request, send the PDN connection refused message of carrying corresponding cause value to UE.
Step 104, MME accept this PDN connection request.
Concrete, the APN that the APN that connects as the PDN that asks to set up and PDN type are connected with the PDN that UE has set up and PDN type are not simultaneously, MME thinks and can ask the PDN that sets up to connect for this UE sets up it, send default EPS bearing context activation request message to UE, initiate default EPS bearing context activation process, its specific implementation flow process is identical with related procedure of the prior art, does not repeat them here.
Should be realized that; in embodiments of the present invention; the cause value that carries in the PDN connection refused message is not limited to the cause value described in above-described embodiment; on the basis of the technical scheme that the embodiment of the invention provides, those skilled in the art all should belong to protection range of the present invention not paying the other reasons value of expecting under the creative work prerequisite.In addition, in embodiments of the present invention, the priority that UE asks the PDN that sets up to connect might not need to determine by the precedence information in the device attribute of carrying in the PDN connection request, also can by the mode of new field, in the PDN connection request, carry the priority of the PDN connection of the foundation of asking; Correspondingly, the priority that the PDN that UE has set up connects also is not limited to indicate to judge according to the low priority in the bearer context information of this UE that stores among the MME, can determine by other new fields or sign, its specific implementation flow process does not repeat them here yet.
Below in conjunction with concrete application scenarios the technical scheme that the embodiment of the invention provides is further described in more detail.
Embodiment two
In this embodiment, setting up PDN connection relevant, that PDN type is identical, priority is different from same APN is subscription data, and this subscription data is stored in HSS(Home Subscriber Server, home subscriber server) in.It is IPv4(Internet Protocol Version 4 that UE has set up relevant with APN1, a PDN type, internet protocol version 4), priority is 1 PDN connection, UE execution use APN1 priority is 2 application program, but the PDN relevant with APN1 that has set up connects the demand that can not satisfy this application program, UE sends the PDN connection request to MME, and that request is set up is relevant with APN1, PDN type is that IPv4, priority are 2 PDN connection.
As shown in Figure 2, the PDN under a kind of concrete application scenarios that provides for the embodiment of the invention connects the schematic flow sheet of method for building up, can may further comprise the steps:
Step 201, UE send PDN connection request (PDN connectivity request) to MME.Wherein, the APN that carries in this PDN connection request is APN1, and PDN type is IPv4, and priority is the priority of application program.
Step 202, MME receive the PDN connection request that UE sends, determine that APN that PDN that institute ask to set up connects and PDN type are identical with APN and PDN type that the PDN that UE has set up connects, but the priority of the PDN connection of the foundation of asking is different from the priority of this PDN connection of having set up.
Step 203, MME judge whether UE has contracted " setting up PDN relevant, that PDN type is identical, priority is different from same APN connects ".Then to go to step 204 if be judged as; Otherwise, go to step 206.
Step 204, MME judge whether to allow for this UE according to the congestion condition of current network and the PDN connection priority of asking to set up and set up it and ask the PDN connection of setting up.Then to go to step 205 if be judged as; Otherwise, go to step 206.
Step 205, MME send default EPS bearing context activation request (Activate default EPS bearer context request) to UE, initiate default EPS bearing context activation process.
Step 206, MME send the PDN that carries corresponding cause value to UE and connect refusal (PDN connectivity reject) message.
Wherein, contract when MME determines UE " setting up PDN relevant, that PDN type is identical, priority is different from same APN connects ", then this cause value can be " signatory multipriority PDN connection attribute "; When MME determined not allow for this UE and sets up the PDN connection that it asks to set up according to the congestion condition of current network and the PDN connection priority of asking to set up, this cause value can be " inadequate resource (insufficient resources) ".
Embodiment three
In this embodiment, set up relevant with same APN, PDN type is identical, the PDN that priority is different connects and does not belong to subscription data, the PDN that network can support any UE to set up the different priorities relevant with same APN connects, UE set up one relevant with APN1, PDN type is IPv6(internet protocol version 6), priority is 1 PDN connection, UE execution use APN1 priority is 2 application program, but the PDN relevant with APN1 that has set up connects the demand that can not satisfy this application program, UE sends the PDN connection request to MME, and request is set up relevant with APN1, PDN type is IPv6, priority is 2 PDN connection.
Step 301, UE send PDN connection request (PDN connectivity request) to MME.Wherein, the APN that carries in this PDN connection request is APN1, and PDN type is IPv6, and priority is the priority of application program.
Step 302, MME receive the PDN connection request that UE sends, determine that APN that PDN that institute ask to set up connects and PDN type are identical with APN and PDN type that the PDN that UE has set up connects, but the priority of the PDN connection of the foundation of asking is different from the priority of this PDN connection of having set up.
Step 303, MME judge whether to allow for this UE according to the congestion condition of current network and the PDN connection priority of asking to set up and set up it and ask the PDN connection of setting up.Then to go to step 304 if be judged as; Otherwise, go to step 305.
Step 304, MME send default EPS bearing context activation request (Activate default EPS bearer context request) to UE, initiate default EPS bearing context activation process.
Step 305, MME send the PDN that carries corresponding cause value to UE and connect refusal (PDN connectivity reject) message.
Can find out by above description, in embodiments of the present invention, when MME receives the PDN connection request that UE sends, and when determining that the APN of the PDN connection that the APN that carries in this PDN connection request and PDN type and UE have set up and PDN type are identical, MME determines to accept this PDN connection request or refuses this PDN connection request according to the precedence information of the PDN connection of the foundation of asking of carrying in the described PDN connection request, realized setting up relevant with same APN for UE, PDN type is identical, the PDN that priority is different connects, reduce PDN and connected the time delay of setting up, and can not interrupt the current business data flow that is using the PDN that has set up to connect the transmission of data.
Based on the identical inventive concept of said method embodiment, the embodiment of the invention also provides a kind of network equipment, can be applied to said method embodiment.
Embodiment four
As shown in Figure 4, the structural representation of a kind of network equipment that provides for the embodiment of the invention can comprise:
Receiver module 41 is used for receiving the PDN connection request that UE sends;
Acquisition module 42 is used for obtaining the precedence information of the PDN connection that APN, PDN type that PDN connection request that described receiver module 41 receives carries and institute ask foundation;
Determination module 43, be used for when described network equipment determines that APN that APN that described PDN connection request carries and PDN type and the PDN that described UE has set up connect and PDN type are identical, determine to accept this PDN connection request or refuse this PDN connection request according to the precedence information of the PDN connection of the foundation of asking of carrying in the described PDN connection request.
Wherein, described determination module 43 can specifically be used for, when described network equipment determines that the priority of the PDN connection that priority that PDN that institute ask to set up connects and described UE have set up is identical, the PDN connection refused message of carrying corresponding cause value to described UE transmission.
Wherein, described determination module 43 can specifically be used for, determine priority that the priority that institute ask the PDN connection of setting up has been connected with the PDN that described UE has set up not simultaneously when described network equipment, judge whether to allow for described UE and set up it and ask the PDN connection of setting up; Then to initiate acquiescence evolved packet system EPS bearer context activation if be judged as; Otherwise, send the PDN connection refused message of carrying corresponding cause value to described UE.
Wherein, described determination module 43 can specifically be used for, and the priority that connects according to the congestion condition of current network and the PDN that asks to set up judges whether to allow for described UE and sets up it and ask the PDN connection of setting up.
Wherein, described determination module 43 can specifically be used for, when set up be correlated with same APN, PDN that PDN type is identical, that priority is different are connected to a kind of subscription data, and described network equipment according to the CAMEL-Subscription-Information of described UE determine described UE contracted set up relevant with same APN, when PDN that PDN type is identical, that priority is different connect, the priority of the PDN connection of ask foundation according to congestion condition and the institute of current network judges whether to allow for described UE and sets up it and ask the PDN connection of setting up; When described network equipment according to the CAMEL-Subscription-Information of described UE determine described UE signatory set up relevant with same APN, when PDN that PDN type is identical, that priority is different connect, determine not allow for described UE and set up it and ask the PDN connection of setting up.
The precedence information that the PDN of the foundation of asking of wherein, carrying in the described PDN connection request connects can be specially:
Precedence information in the device attribute of carrying in the described PDN connection request.
Wherein, described determination module 43 can specifically be used for, and determines the priority that PDN that described UE has set up connects according to the low priority indication information in the bearer context information of the UE of described network equipment storage.
Wherein, preferably, described network equipment is MME.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.