Background technology
As a subscriber equipment (User Equipment who normally is attached to network, UE) UE is by initiation packet data network (Packet Data Network in the time of will initiating urgency traffic, PDN) connecting the process of setting up sets up and urgent APN (Access Point Name, PDN connection APN).
In the process that urgency traffic keeps, UE or network can be initiated the connection procedure that goes of other non-emergent APN, and only keep urgent APN to connect.In this course, UE also can initiate new PDN connection.
If the UE that is under the limit service pattern will initiate urgency traffic, UE directly initiates the emergency attached process, and this moment, UE can not initiate new PDN establishment of connection process, and can only keep current urgent APN to connect.
Processing when the UE that the UE that normally adheres to switches to unrestricted sub-district and emergency attached switches to unrestricted sub-district has different,
Emergency bearing business be used to provide support IP multimedia system (IP Multimedia Subsystem, IMS) emergent session.The UE that the emergency bearing business can be used for normally adhering to also can be used to be in the UE of unrestricted model state.
For the UE that normally adheres to, the professional and local configuration of its emergency bearing is relevant.When receiving urgency traffic, the UE that is in the limit service state has nothing to do with CAMEL-Subscription-Information.
When UE was in the limit service pattern, MME may accept also may refuse the emergency attached request of UE.The limit service pattern is meant the state of the UE that only allows the initiation urgent call.UE carry out resident when can not find a proper cell (suitable cell), perhaps UE does not insert user identification module (Subscriber Identity Module, SIM) card, perhaps UE received some Location Registration response message (as, indication UE is the message of " illegal UE ") time, UE attempts resident public land mobile communication network sign (the Public Land Mobile-communicationNetwork Identify that ignores this sub-district to a sub-district, PLMN ID) time, UE enters this state.
At present protocol definition four kinds of network types of supporting urgent calls:
1, only supports the network (Valid UEs only) of validated user equipment
The network of this type is not supported the UE of limit service pattern, only has effective CAMEL-Subscription-Information, authentication and authorize normal UE successfully just to allow to initiate urgent call in attaching process.Normal UE must be attached to network earlier, when UE detects the IMS emergent session, initiates PDN connection request process again.
2, only support the network (Only UEs that are authenticated areallowed) of verifying user equipment
In this case, UE must have effective international mobile subscriber identity (InternationalMobile Subscriber Identity, IMSI), but, though the success of UE authentication may occur, but limit the situation that the sub-district of serving is in the limit service state owing to being positioned at, the UE of failed authentication then can be refused by network.
3, support to have IMSI, but the network (IMSI required, authentication optional) of the subscriber equipment that must not verify
UE must have IMSI, even failed authentication, UE still can be linked into network, preserves the not IMSI of authentication success in the network.Network uses IMEI sign UE, but the UE that only has an IMEI will be refused by network.
4, support the network (All UEs are allowed) of whole subscriber equipmenies
Except the UE of authentication success, but the UE of IMSI failed authentication is arranged and have only the UE of IMEI also to allow to support urgency traffic.If but UE provides IMSI failed authentication, network is still preserved the not IMSI of authentication success, and this moment, network used IMEI sign UE.
The UE that normally adheres to, UE can initiate the PDN connection and set up request message in the time will initiating urgency traffic, and in the request type of this message, be designated as emergency, for the UE that normally adheres to, the PDN that this moment, UE or network all can be initiated new non-emergent APN connects and sets up process, also can initiate the connection procedure that goes of non-emergent APN.When UE normally switched to unrestriced sub-district, urgent APN connects carried higher priority, but switching flow is with normally switching flow is identical.
When UE was in the limit service state, if UE will initiate urgency traffic and will initiate the emergency attached process, UE was designated as emergency in the Attach Request message of initiating.In this case, UE can not initiate new PDN and connect the process of setting up, and when receiving new PDN connection request as if MME, MME will refuse this request message.
In the process that realizes the embodiment of the invention, the applicant finds that there is following problem at least in prior art:
There is not the method differentiation to have only the UE that normally adheres to of urgent APN connection and the APN of emergency attached at present in the agreement.
When how the MME of the UE service stylish MME that changes judges that UE is in regular traffic state or the limit service status protocol and do not describe.Connect because the UE that normally adheres to also may delete the APN of all non-emergent business, connect, just judge that UE is in the emergency attached state so new MME can not only have only urgent PDN to connect according to UE and only keep urgent PDN.In addition, possible configuration is the urgency traffic of only supporting this type of Valid UEs only in old MME, even this moment emergency attached UE, in old MME, also have effective IMSI, information such as authentication parameter, therefore, new MME also can't judge that UE is in restriction state or normal condition in old MME according to these information.
Summary of the invention
The embodiment of the invention provides a kind of recognition methods and equipment of user equipment registration state, login state that can the effective recognition subscriber equipment, and, carry out corresponding service processing according to recognition result.
For achieving the above object, the embodiment of the invention provides a kind of recognition methods of user equipment registration state on the one hand, when mobile management entity MME judges that subscriber equipment belongs to the limit service sub-district or is in the emergency attached state, described MME adds the limit service sign in the context of described subscriber equipment, described method comprises:
When MME judged that receiving new PDN connection sets up request, described MME judged sending described new PDN connection sets up whether comprise the limit service sign in the pairing context of requesting users equipment;
Comprise the limit service sign in the pairing context of described subscriber equipment if described MME judges, described MME refuses the new PDN connection foundation request that described subscriber equipment sends.
Preferably, described MME judges that subscriber equipment belongs to the limit service sub-district, is specially:
Described MME judges that according to the mobile restricted information or the access restricted information of described subscriber equipment described subscriber equipment belongs to the limit service sub-district.
Preferably, described method also comprises:
Do not comprise the limit service sign in the pairing context of described subscriber equipment if described MME judges, described MME accepts the new PDN connection foundation request that described subscriber equipment sends, and sets up new PDN with described subscriber equipment and is connected.
Preferably, the subscriber equipment under described MME switches to new following time of MME, and described method also comprises:
Described MME sends to the pairing new MME of described subscriber equipment with the pairing context of described subscriber equipment, and preserves described context by described new MME;
Wherein, if comprise the limit service sign in the pairing context of described subscriber equipment, described MME sends to the pairing new MME of described subscriber equipment with described restriction sign.
On the other hand, the embodiment of the invention also provides a kind of MME, comprising:
Judge module is used to judge whether subscriber equipment belongs to the limit service sub-district or be in the emergency attached state, is used for also judging that sending new PDN connects and set up the pairing context of requesting users equipment and whether comprise the limit service sign;
Identification module is used for adding the limit service sign in the context of described subscriber equipment when described judge module judges that subscriber equipment belongs to the limit service sub-district or is in the emergency attached state;
Processing module is used for when described judge module judges that the pairing context of described subscriber equipment comprises the limit service sign, refuses the new PDN connection foundation request that described subscriber equipment sends.
Preferably, described processing module, also be used for when described judge module judges that the pairing context of described subscriber equipment does not comprise the limit service sign, accept the new PDN connection foundation request that described subscriber equipment sends, set up new PDN with described subscriber equipment and be connected.
Preferably, described MME also comprises:
Communication module, the subscriber equipment that is used under described MME switches to new following time of MME, and the pairing context of described subscriber equipment is sent to the pairing new MME of described subscriber equipment, and preserves described context by described new MME;
Wherein, if comprise the limit service sign in the pairing context of described subscriber equipment, described communication module sends to the pairing new MME of described subscriber equipment with described restriction sign.
On the other hand, the embodiment of the invention also provides a kind of recognition methods of user equipment registration state, when subscriber equipment after adhering to successfully on the MME, described MME preserves the type of attachment of described subscriber equipment, described method comprises:
When the MME judgement received new PDN connection foundation request, described MME judged whether the pairing type of attachment of requesting users equipment is set up in the described new PDN connection of transmission is emergency attached;
Pairing type of attachment is an emergency attached if described MME judges described subscriber equipment, and described MME refuses the new PDN connection foundation request that described subscriber equipment sends.
Preferably, pairing type of attachment is normally to adhere to if described MME judges described subscriber equipment, and described method also comprises:
Described MME judges whether described subscriber equipment belongs to the limit service sub-district;
When described MME judged that described subscriber equipment belongs to the limit service sub-district, described MME refused the new PDN connection foundation request that described subscriber equipment sends.
Preferably, when described MME judged that described subscriber equipment does not belong to the limit service sub-district, described method also comprised:
Described MME accepts the new PDN connection foundation request that described subscriber equipment sends, and sets up new PDN with described subscriber equipment and is connected.
Preferably, the subscriber equipment under described MME switches to new following time of MME, and described method also comprises:
Described MME sends to the pairing new MME of described subscriber equipment with the pairing type of attachment information of described subscriber equipment, and preserves described type of attachment information by described new MME.
On the other hand, the embodiment of the invention also provides a kind of MME, comprising:
Identification module, be used for when subscriber equipment after adhering to successfully on the MME, discern the type of attachment of described subscriber equipment;
Memory module is used to preserve the type of attachment information of the subscriber equipment that described identification module discerns;
Judge module, be used for when MME judges that receiving new PDN connects the foundation request, according to the type of attachment information that described memory module is stored, judge whether the pairing type of attachment of requesting users equipment is set up in the described new PDN connection of transmission is emergency attached;
Processing module is used for when described judge module judges that the pairing type of attachment of described subscriber equipment is emergency attached, refuses the new PDN connection foundation request that described subscriber equipment sends.
Preferably, pairing type of attachment is normally to adhere to if described judge module is judged described subscriber equipment, and described judge module is used to also judge whether described subscriber equipment belongs to the limit service sub-district;
Described processing module, also be used for when described judge module judges that described subscriber equipment belongs to the limit service sub-district, refuse the new PDN connection foundation request that described subscriber equipment sends, or when described MME judges that described subscriber equipment does not belong to the limit service sub-district, accept the new PDN connection foundation request that described subscriber equipment sends, set up new PDN with described subscriber equipment and be connected.
Preferably, described MME also comprises
Communication module, the subscriber equipment that is used under described MME switches to new following time of MME, the type of attachment information of described subscriber equipment is sent to the pairing new MME of described subscriber equipment, and preserve described type of attachment information by described new MME.
Compared with prior art, the embodiment of the invention has the following advantages:
By using the technical scheme of the embodiment of the invention, make network to carry out different processing procedures according to the state difference of UE registration.
Embodiment
As stated in the Background Art, the expression and the identifying schemes that do not have clear and definite user equipment registration state in the existing technical scheme, the information that just relies on the current PDN of subscriber equipment to connect situation or authentication information is discerned, but all there is limitation separately in such identification, can not accurately distinguish the subscriber equipment that is in normal registration state and limit service state in some specific scenes.
In order to make MME under the subscriber equipment can judge the login state of subscriber equipment accurately, when especially the MME under subscriber equipment changes, make new MME still can judge the login state (normal registration state/limit service state) of UE, technical scheme proposed by the invention has proposed to UE adds corresponding identification information, and determines the solution of the login state of subscriber equipment according to this identification information.
Based on different system requirements, the above-mentioned identification information that technical scheme of the present invention proposed also is divided into following two kinds of situations:
Situation one, the limit service sign of in the pairing contextual information of subscriber equipment, adding.
Such processing can make MME judge subscriber equipment whether to be in the limit service state.
The adding conditional of this limit service sign comprises following two kinds:
Condition 1, subscriber equipment are in the limit service sub-district.
In this case, no matter whether subscriber equipment is the emergency attached state, and MME can add the limit service sign in the pairing contextual information of subscriber equipment.
Concrete, whether subscriber equipment is in the limit service sub-district, is that MME discerns by the mobile restriction or the access restricted information of subscriber equipment.
In concrete application scenarios, the difference whether subscriber equipment is in the concrete determination methods of limit service sub-district does not influence protection scope of the present invention.
Condition 2, subscriber equipment carry out network insertion by the mode of emergency attached.
In this case, subscriber equipment can send emergency attached request to MME, if MME has accepted the emergency attached request of this subscriber equipment, just MME can add the limit service sign in the pairing contextual information of this subscriber equipment.
No matter be based on above-mentioned which kind of condition,, represent that promptly this subscriber equipment is in the limit service state as long as MME adds the limit service sign in the pairing contextual information of subscriber equipment.
In this state, so long as comprise the limit service sign in the pairing contextual information of subscriber equipment, no matter the current limit service sub-district that is in of this subscriber equipment still is unrestricted service district, MME can confirm that this subscriber equipment is in the limit service state, for the subscriber equipment that is in the limit service state, MME refuses the every other request except the service request of urgent PDN join dependency that this subscriber equipment sends.
Situation two, the type of attachment information of preserving subscriber equipment.
In this way, MME can the accurate recording subscriber equipment be the network that inserts by emergency attached mode or normal adhering mode.
In this state, if the pairing type of attachment information of subscriber equipment is emergency attached, then no matter the current limit service sub-district that is in of this subscriber equipment still is unrestricted service district, and MME can refuse the every other request except the service request of urgent PDN join dependency that this subscriber equipment sends.
And if the pairing type of attachment information of subscriber equipment is normally to adhere to, then also need to determine that further the current limit service sub-district that is in of this subscriber equipment still is unrestricted service district, if limit service sub-district, MME can refuse the every other request except the service request of urgent PDN join dependency that this subscriber equipment sends, and if unrestricted service district, MME then accepts the service request that this user sends.
It is to be noted; in the situation of the type of attachment information of preserving subscriber equipment; the concrete form that the type of attachment information of subscriber equipment is preserved can be that the part as the contextual information of this user terminal is stored among the MME; can be to store in MME with other and this subscriber equipment information corresponding form, the variation of concrete file layout influence protection scope of the present invention yet.
Based on above-mentioned technical thought, the embodiment of the invention has proposed the recognition methods of two kinds of corresponding user equipment registration states.
Corresponding above-mentioned situation one, the embodiment of the invention has proposed a kind of recognition methods of user equipment registration state, and its schematic flow sheet may further comprise the steps as shown in Figure 1:
Step S101, MME detect subscriber equipment and whether belong to the limit service sub-district or be in the emergency attached state.
Wherein, MME judges that the mode whether subscriber equipment belongs to the limit service sub-district is specially:
MME judges that according to the mobile restricted information or the access restricted information of subscriber equipment subscriber equipment belongs to the limit service sub-district.
When MME judges that subscriber equipment belongs to the limit service sub-district or is in the emergency attached state, execution in step S102;
When MME judges that subscriber equipment does not belong to the limit service sub-district or is not in the emergency attached state, continue execution in step S101, carry out relevant detection.
Step S102, MME add the limit service sign in the context of subscriber equipment.
The realization of above-mentioned two steps comprises following two kinds of situations:
(1) when subscriber equipment is initiated emergency attached (emergency attach) request, if MME has accepted the emergency attached request of this subscriber equipment, MME will increase a sign in the context (context) of subscriber equipment, be used to indicate this subscriber equipment to be in the limit service state.
(2) for the subscriber equipment that normally adheres to, if at tracing section updating (Track Area Update, TAU) in the process, MME is according to moving restriction or inserting restricted information and find the current restricted cell that is in of subscriber equipment, MME will increase this sign in the context of subscriber equipment, indicate this subscriber equipment to be in the limit service state.
After step S102 finishes, when receiving new PDN that subscriber equipment sends, MME connects when setting up request, continue execution in step S103.
Subscriber equipment under MME switches to new following time of MME, execution in step S106.
Step S103, MME judge sending this new PDN connects to set up whether comprise the limit service sign in the pairing context of requesting users equipment.
When MME judges that comprising limit service in the pairing context of this subscriber equipment identifies, execution in step S104;
When MME judges that not comprising limit service in the pairing context of this subscriber equipment identifies, execution in step S105.
The new PDN that step S104, MME refusing user's equipment send connects the request of foundation.
For the subscriber equipment of emergency attached, MME can only support the carrying that subscriber equipment is connected with urgent PDN.Even when subscriber equipment moves to the sub-district of unrestricted business, MME also only provides subscriber equipment and urgent being connected of PDN, and can not accept new PDN connection request.
For the subscriber equipment that normally adheres to, if after subscriber equipment moves to the limit service sub-district, MME will only keep subscriber equipment and urgent being connected of PDN, and all subscriber equipmenies all can be by deexcitation with being connected of non-emergent PDN.In this state, even subscriber equipment continues to move to unrestricted service district, subscriber equipment is initiated new PDN and is connected when setting up process, and MME also will refuse PDN and connect the request of foundation.
Step S105, MME accept the new PDN connection foundation request that subscriber equipment sends, and set up new PDN with subscriber equipment and are connected.
For the subscriber equipment that normally adheres to, when it is mobile between unrestricted service district, even subscriber equipment has only the urgency traffic carrying of activation, when subscriber equipment when the PDN that initiates new non-emergent business connects, because this subscriber equipment is service identification without limits, MME still can receive this request.
Step S106, MME send to the pairing new MME of subscriber equipment with the pairing context of subscriber equipment, and preserve context by new MME.
Wherein, if comprise the limit service sign in the pairing context of subscriber equipment, MME will limit sign and send to the pairing new MME of subscriber equipment.
For identified the subscriber equipment that is in the limit service state by limit service, if the MME of service changes, so, even new MME is according to moving restriction or inserting restricted information and find the current restricted cell that is not in of subscriber equipment, new MME also can continue to keep the limit service sign that the indication subscriber equipment is in the limit service state.
Compared with prior art, the embodiment of the invention has the following advantages:
By using the technical scheme of the embodiment of the invention, make network to carry out different processing procedures according to the state difference of user equipment registration.
In order to realize the technical scheme of the embodiment of the invention, the embodiment of the invention also provides a kind of MME, and its structural representation comprises as shown in Figure 2:
Judge module 21 is used to judge whether subscriber equipment belongs to the limit service sub-district or be in the emergency attached state, is used for also judging that sending new PDN connects and set up the pairing context of requesting users equipment and whether comprise the limit service sign.
Identification module 22 is used for adding the limit service sign in the context of subscriber equipment when judge module 21 judges that subscriber equipment belongs to the limit service sub-district or is in the emergency attached state.
Processing module 23 is used for when judge module 21 judges that the pairing context of subscriber equipment comprises the limit service sign, and the new PDN that refusing user's equipment sends connects the request of foundation.
In concrete application scenarios, processing module 23 also is used for when judge module 21 judges that the pairing context of subscriber equipment does not comprise the limit service sign, accept the new PDN connection foundation request that subscriber equipment sends, set up new PDN with subscriber equipment and be connected.
Need be pointed out that further that in concrete application scenarios, MME also further comprises:
The subscriber equipment that communication module 24 is used under MME switches to new following time of MME, and the pairing context of subscriber equipment is sent to the pairing new MME of subscriber equipment, and preserves context by new MME.
Wherein, if comprise the limit service sign in the pairing context of subscriber equipment, communication module 24 will limit sign and send to the pairing new MME of subscriber equipment.
Corresponding aforesaid situation two, the embodiment of the invention has also proposed a kind of recognition methods of user equipment registration state, and its schematic flow sheet may further comprise the steps as shown in Figure 3:
Step S301, MME receive the request of adhering to of subscriber equipment transmission.
When subscriber equipment after adhering to successfully on the MME, continue execution in step S302.
Step S302, MME preserve the type of attachment of subscriber equipment.
Promptly preserving subscriber equipment is normally to adhere to or emergency attached.
After step S302 finishes, when receiving new PDN that subscriber equipment sends, MME connects when setting up request, continue execution in step S303.
Subscriber equipment under MME switches to new following time of MME, execution in step S307.
Step S303, MME judge whether the pairing type of attachment of requesting users equipment is set up in the new PDN connection of transmission is emergency attached.
If MME judges that the pairing type of attachment of subscriber equipment is an emergency attached, execution in step S305;
If MME judges that the pairing type of attachment of subscriber equipment is normally to adhere to, execution in step S304.
Step S304, MME judge whether subscriber equipment belongs to the limit service sub-district.
When MME judges that subscriber equipment belongs to the limit service sub-district, execution in step S305;
When MME judges that subscriber equipment belongs to unrestricted service district, execution in step S306.
The new PDN that step S305, MME refusing user's equipment send connects the request of foundation.
For type of attachment is the subscriber equipment of emergency attached, and no matter subscriber equipment moves to any sub-district, all can not initiate new PDN connection request, will refuse this request message when MME receives new PDN connection request message.
And for the subscriber equipment of type of attachment for normally adhering to, when subscriber equipment moved to a limit service sub-district, MME was with the PDN connection request message of refusing user's equipment.
Step S306, MME accept the new PDN connection foundation request that subscriber equipment sends, and set up new PDN with subscriber equipment and are connected.
When the subscriber equipment that is in normal attachment state moves to a unrestricted sub-district, even this moment, subscriber equipment had only urgent PDN to connect, when the PDN that initiates new non-emergent business when subscriber equipment connects, MME will carry out normal PDN connection and set up process.
Step S307, MME send to the pairing new MME of subscriber equipment with the pairing type of attachment information of subscriber equipment, and preserve type of attachment information by new MME.
It is to be noted; in the situation of the type of attachment information of preserving subscriber equipment; the concrete form that the type of attachment information of subscriber equipment is preserved can be that the part as the contextual information of this user terminal is stored among the MME; can be to store in MME with other and this subscriber equipment information corresponding form, the variation of concrete file layout influence protection scope of the present invention yet.
Compared with prior art, the embodiment of the invention has the following advantages:
By using the technical scheme of the embodiment of the invention, make network to carry out different processing procedures according to the state difference of user equipment registration.
In order to realize the technical scheme of the embodiment of the invention, the embodiment of the invention also provides a kind of MME, and its structural representation comprises as shown in Figure 4:
Identification module 41, be used for when subscriber equipment after adhering to successfully on the MME, identification subscriber equipment type of attachment;
Memory module 42 is used to preserve the type of attachment information of the subscriber equipment that identification module 41 discerned;
Judge module 43 is used for when the MME judgement receives new PDN connection foundation request, according to the type of attachment information that memory module 42 is stored, judges whether the pairing type of attachment of requesting users equipment is set up in the new PDN connection of transmission is emergency attached;
Processing module 44 is used for when judge module 43 judges that the pairing type of attachment of subscriber equipment is emergency attached, and the new PDN that refusing user's equipment sends connects the request of foundation.
In concrete application scenarios, if judge module 43 judges that the pairing type of attachment of subscriber equipment is normally to adhere to, judge module 43 is used to also judge whether subscriber equipment belongs to the limit service sub-district.
In this case, processing module 44 also is used for when judge module 43 judges that subscriber equipment belongs to the limit service sub-district, the new PDN that refusing user's equipment sends connects the request of foundation, or when MME judges that subscriber equipment does not belong to the limit service sub-district, accept the new PDN connection foundation request that subscriber equipment sends, set up new PDN with subscriber equipment and be connected.
On the other hand, in concrete application scenarios, MME also comprises
The subscriber equipment that communication module 45 is used under MME switches to new following time of MME, and the type of attachment information of subscriber equipment is sent to the pairing new MME of subscriber equipment, and preserves type of attachment information by new MME.
Compared with prior art, the embodiment of the invention has the following advantages:
By using the technical scheme of the embodiment of the invention, make network to carry out different processing procedures according to the state difference of UE registration.
Through the above description of the embodiments, those skilled in the art can be well understood to the embodiment of the invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, the technical scheme of the embodiment of the invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) each implements the described method of scene to carry out the embodiment of the invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred schematic diagram of implementing scene, module in the accompanying drawing or flow process might not be that the enforcement embodiment of the invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of implementing scene just to description.
More than disclosed only be the several concrete enforcement scene of the embodiment of the invention, still, the embodiment of the invention is not limited thereto, any those skilled in the art can think variation all should fall into the traffic limits scope of the embodiment of the invention.