Embodiment
Mutual by between TWAN and 3GPP aaa server of the present invention, when the NSWO connection status of the UE connecting at the NSWO that contracted changes (as UE sets up that NSWO connects or UE disconnects the NSWO having set up and connects), 3GPP aaa server can be safeguarded the contextual information of this UE of self storage.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
Maintenance of information system shown in Figure 3, the non-seamless WLAN shunting that the embodiment of the present invention provides connects, under the scene that the NSWO connection status of the UE of the NSWO connection that has been applied to contract changes, this system comprises:
TWAN10, for judging whether the NSWO connection status of connected UE changes; And when the NSWO connection status of determining a certain UE changes, to 3GPP aaa server, send indication information, to indicate 3GPP aaa server to carry out respective handling according to this indication information;
3GPP aaa server 20, receives the indication information that TWAN10 sends; And after determining the contextual information of the UE that the identification information that carries in self storing indication information is corresponding, according to the NSWO state information of the UE carrying in indication information, the contextual information of the UE of self storage is carried out to respective handling;
Wherein, in this indication information, carry the NSWO state information of identification information He this UE of UE.
Further, if this UE sets up NSWO, connect, the NSWO state information of this UE connects for setting up NSWO; If this UE has disconnected the NSWO having set up, connect, the NSWO state information of this UE connects for disconnecting the NSWO having set up.
Further, the NSWO state information of UE can represent with Bit data;
Concrete, if the value of NSWO state information is " 1 ", represent that UE sets up NSWO and connects; If the value of NSWO state information is " 0 ", represent that UE disconnects the NSWO having set up and connects;
Certainly, NSWO state information also can adopt other modes to represent, as long as can indicate " setting up NSWO connects " and " disconnecting the NSWO having set up is connected ".
Shown in Figure 4, the TWAN of the maintenance of information connecting for non-seamless WLAN shunting that the embodiment of the present invention provides, under the scene that the NSWO connection status of the UE of the NSWO connection that has been applied to contract changes, this TWAN further comprises:
Judge module 101, for judging whether the NSWO connection status of the UE being connected with TWAN changes;
Sending module 102, while changing for the NSWO connection status determining a certain UE, to 3GPP aaa server, send indication information, wherein, in this indication information, carry the identification information of UE and the NSWO state information of this UE that NSWO connection status changes, to indicate 3GPP aaa server to carry out respective handling according to this indication information.
Further, this TWAN also comprises:
Receiver module 103, the first acknowledge message or the second acknowledge message for receiving 3GPP aaa server, returned;
Wherein, in the first acknowledge message, carry identification information and the result of this UE, and this result is for to process successfully;
In the second acknowledge message, carry identification information and the result of this UE, and this result is for to process unsuccessfully.
Preferably, the second acknowledge message is also carried and is processed failed reason.
Further, the result in first acknowledge message collection the second acknowledge message can be used character representation, and for example, character " Y " represents to process successfully, and character " N " represents to process unsuccessfully; This result also can identify with Bit data, and for example, " 1 " represents to process successfully, and " 0 " represents to process unsuccessfully.
Further, if the NSWO state information of UE connects for setting up NSWO, this receiver module 103, when receiving the first acknowledge message that 3GPP aaa server returns, is carried out: the NSWO that activates this UE connects; And the NSWO link information of storing this UE in the contextual information of this UE storing at this TWAN, wherein, this NSWO link information at least comprises that the NSWO of this TWAN activation UE is the IP address of its distribution while connecting;
If the NSWO state information of UE connects for setting up NSWO, this receiver module 103, when receiving 3GPP aaa server and return to the second acknowledge message, is carried out: all contextual informations of deleting this UE of this TWAN storage.
Further, if the NSWO state information of UE connects for disconnecting the NSWO having set up, receiver module 103 is also carried out following operation:
When receiving the first acknowledge message that 3GPP aaa server returns, in the contextual information of this UE of TWAN storage, delete the NSWO link information of having stored;
When receiving the second acknowledge message that 3GPP aaa server returns, delete all contextual informations of this UE of TWAN storage;
While not receiving any message that 3GPP aaa server returns in setting duration, in the contextual information of this UE of TWAN storage, delete the NSWO link information of having stored.
Shown in Figure 5, the 3GPPAAA server of the maintenance of information connecting for non-seamless WLAN shunting that the embodiment of the present invention provides, under the scene that the NSWO connection status of the UE that the NSWO that has been applied to contract connects changes, this 3GPP aaa server further comprises:
Indication information receiver module 201, the indication information sending for receiving TWAN, wherein, this indication information is to send when TWAN determines that the NSWO connection status of a certain UE changes, and carries the identification information of UE and the NSWO state information of this UE that NSWO connection status changes in this indication information;
Processing module 202, for self storing after the contextual information of UE definite, according to the NSWO state information of the UE carrying in indication information, carries out respective handling to the contextual information of the UE of 3GPP aaa server storage.
Further, processing module 202 also for:
After the contextual information of this UE of 3GPP aaa server storage is carried out to respective handling, to TWAN, return to the first acknowledge message; Wherein, in this first acknowledge message, carry identification information and the result of this UE, and this result is for to process successfully.
Accordingly, the TWAN receiver module 103 of the embodiment of the present invention receives this first acknowledge message, and carries out respective handling.
In the embodiment of the present invention, receive after the indication information of TWAN transmission at indication information receiver module 201, processing module 202 is further used for:
Before the contextual information of this UE of 3GPP aaa server storage is carried out to respective handling, according to the identification information in this indication information, from the user context information of 3GPP aaa server storage, search the contextual information of the UE that this identification information is corresponding.
Further, if processing module 202 is searched unsuccessfully, to TWAN, return to the second acknowledge message, wherein, in this second acknowledge message, carry identification information and the result of this UE, and this result is for to process unsuccessfully.
Preferably, this second acknowledge message is also carried and is processed failed reason, and wherein, this reason can be for searching the contextual information failure of this UE.
Accordingly, the TWAN receiver module 103 of the embodiment of the present invention receives this second acknowledge message, and carries out respective handling.
If processing module 202 is searched successfully, be in 3GPP aaa server, to store the contextual information of the UE that this identification information is corresponding,, according to the NSWO state information of the UE carrying in indication information, the contextual information of this UE of 3GPP aaa server storage is carried out to respective handling.
Further, according to the content of the NSWO state information of UE, the contextual information of this UE of 202 pairs of 3GPP aaa server storages of processing module carries out respective handling and comprises following two kinds of situations:
The first situation, the NSWO state information of UE connects for setting up NSWO;
Accordingly, processing module 202 is stored the information that UE exists NSWO to connect in the contextual information of this UE of 3GPP aaa server storage.
The second situation, the NSWO state information of UE connects for disconnecting the NSWO having set up;
Accordingly, processing module 202 is deleted the information that the UE having stored exists NSWO to connect in the contextual information of this UE of 3GPP aaa server storage.
Further, processing module 202 is deleted after the UE having stored exists the information that NSWO connects in the contextual information of this UE, also carry out: whether the content that judges the contextual information of this UE that 3GPP aaa server is stored is empty, judge in the contextual information of this UE, whether to also have other information, as the information with PDN join dependency etc.;
If so, the content of the contextual information of this UE is empty, and processing module 202 is initiated the registration process of going of this UE to HSS.
If not, the content of the contextual information of this UE is not empty, and processing module 202 is not initiated the registration process of going of this UE.
It should be noted that, 3GPP aaa server is initiated the registration process of going of this UE to HSS, shown in Figure 6, comprises the following steps:
Step 61,3GPP aaa server send UE to HSS and go registration request (UE De-Registration Request) message, carry identification information (User Identity) and the cause value of this UE in this message;
Wherein, cause value can be authentification failure, UE attachment removal, charge system request etc.
Step 62, HSS, by being labeled as of this UE unregistered (not-registered) state, delete the address information into the 3GPP aaa server of this UE storage, and to 3GPP aaa server, return to UE and go registration response (De-Registration Ack) message.
In the embodiment of the present invention, the mutual implementation method between TWAN and 3GPP aaa server, shown in Figure 7, comprising:
Step 71, TWAN determine that a certain UE has set up NSWO connection or UE has disconnected the NSWO connection of having set up;
Step 72, TWAN send indication information to 3GPP AAA Server, be NSWO state notifying (NSWO State Notification) message, in this notification message, carry two parameter informations, i.e. the NSWO state information (State) of the identification information of UE (User Identity) and UE;
Wherein, User Identity can be MN-NAI(Mobile Node Network Access Identity, mobile node network insertion indications) etc.; State is for representing the NSWO connection status of UE, and its value can adopt 2 bit informations to represent;
Concrete, if the value of State is " 1 ", represent that UE sets up NSWO and connects; If the value of State is " 0 ", represent that UE disconnects the NSWO having set up and connects;
Certainly, State also can adopt other modes to represent, as long as can indicate " setting up NSWO connects " and " disconnecting the NSWO having set up is connected ".
Step 73,3GPP aaa server receive the notification message sending from TWAN, according to the parameter information carrying in this notification message, carry out different processing, and return to confirmation (NSWO State Notification Ack) message to TWAN, wherein, the acknowledge message of returning comprises two parameter informations, i.e. the identification information of UE (User Identity) and result (Result);
Concrete, if result for to process successfully, this acknowledge message is the first acknowledge message; If result is for to process unsuccessfully, this acknowledge message is the second acknowledge message;
Wherein, the identification information carrying in the notification message that the identification information in the acknowledge message that 3GPP aaa server returns sends with TWAN is identical; Result in this acknowledge message has reflected the result of 3GPP aaa server processing notice information, processes successfully or processes unsuccessfully.
Preferably, in the second acknowledge message, also carry and process failed reason.
Further, if the NSWO state information of the UE carrying in notification message is " setting up NSWO connects ", shown in Figure 8, step 73 specifically comprises:
The NSWO state notification message that step 731A, reception send from TWAN;
Step 732A, according to the identification information in this notification message, search the contextual information of the UE that this identification information is corresponding;
If search successfully, find the contextual information of this UE, perform step 733A;
If search unsuccessfully, search the contextual information less than this UE, execution step 734A;
Step 733A, in the contextual information of this UE, store the information that UE exists NSWO to connect, and perform step 735A;
Step 734A, to TWAN, return to the second acknowledge message, and process ends;
Step 735A, to TWAN, return to the first acknowledge message, and process ends.
In the present embodiment, for step 734A, corresponding, TWAN deletes all contextual informations of this UE self storing.
In the present embodiment, for step 735A, corresponding, the NSWO that TWAN activates this UE connects, and the NSWO link information of storing this UE in the contextual information of this UE of self storage, wherein, NSWO link information at least comprises that NSWO that TWAN activates this UE is the IP address of its distribution while connecting.
Further, if the NSWO state information of the UE carrying in notification message is " disconnecting the NSWO having set up connects ", shown in Figure 9, step 73 specifically comprises:
The NSWO state notification message that step 731B, reception send from TWAN;
Step 732B, according to the identification information in this notification message, search the contextual information of the UE that this identification information is corresponding;
If search successfully, find the contextual information of this UE, perform step 733B;
If search unsuccessfully, search the contextual information less than this UE, execution step 734B;
The information that step 733B, the UE that deletion has been stored in the contextual information of this UE exist NSWO to connect, and perform step 735B;
Step 734B, to TWAN, return to the second acknowledge message, and process ends;
Step 735B, judge that whether the content of the contextual information of this UE is empty;
If so, perform step 736B;
If not, perform step 737B;
Step 736B, to TWAN, return to the first acknowledge message, and to HSS, initiate the registration process of going of this UE;
Step 737B, to TWAN, return to the first acknowledge message, and process ends.
In the present embodiment, for step 734B, corresponding, TWAN, after receiving the second acknowledge message that 3GPP aaa server returns, deletes all contextual informations of this UE of self storage.
In the present embodiment, for step 736B and step 737B, corresponding, TWAN, after receiving the first acknowledge message that 3GPPAAA server returns, deletes the NSWO link information of having stored in the contextual information of this UE of self storage.
In the present embodiment, if TWAN does not receive any acknowledge message that 3GPP aaa server returns in setting duration, in the contextual information of this UE storing at self, delete the NSWO link information of having stored.
Based on same inventive concept, the information maintenance method that also provides a kind of non-seamless WLAN shunting to connect in the embodiment of the present invention, because the principle that this device is dealt with problems is similar to the device shown in Fig. 4, the enforcement of the device that therefore enforcement of the method can be shown in Figure 4, repeats part and repeats no more.
Information maintenance method shown in Figure 10, a kind of non-seamless WLAN shunting of the embodiment of the present invention connects, comprising:
Step 101, TWAN judge whether the NSWO connection status of connected UE changes;
Step 102, TWAN are when the NSWO connection status of determining a certain UE changes, to 3GPP authentication,authorization,accounting aaa server, send indication information, wherein, in indication information, carry the NSWO state information of identification information He this UE of this UE, to indicate 3GPP aaa server to carry out respective handling according to indication information.
Further, the NSWO state information of the UE carrying in indication information is to set up the NSWO that NSWO connects or disconnection has been set up to connect.
Further, the method also comprises:
TWAN receives the first acknowledge message or the second acknowledge message that 3GPP aaa server returns;
Wherein, in the first acknowledge message, carry identification information and the result of this UE, and result is for to process successfully;
In the second acknowledge message, carry identification information and the result of this UE, and result is for to process unsuccessfully.
Preferably, in the second acknowledge message, also carry and process failed reason.
Further, if the NSWO state information of UE connects for setting up NSWO, the method also comprises:
TWAN is when receiving the first acknowledge message, and the NSWO that activates this UE connects;
The NSWO link information that TWAN stores this UE in the contextual information of this UE of self storage, wherein, NSWO link information at least comprises that NSWO that TWAN activates this UE is the IP address of its distribution while connecting.
Further, if the NSWO state information of UE connects for disconnecting the NSWO set up, and TWAN receives the first acknowledge message, and the method also comprises:
In the contextual information of this UE that TWAN stores at self, delete the NSWO link information of having stored.
Further, if the NSWO state information of UE for disconnecting the NSWO set up and connect and TWAN receiving the second acknowledge message, or the NSWO state information of UE receives the second acknowledge message for setting up NSWO connection and TWAN, the method also comprises:
In the user context information that TWAN stores at self, delete the contextual information of this UE.
Based on same inventive concept, the information maintenance method that also provides a kind of non-seamless WLAN shunting to connect in the embodiment of the present invention, because the principle that this device is dealt with problems is similar to the device shown in Fig. 5, the enforcement of the device that therefore enforcement of the method can be shown in Figure 5, repeats part and repeats no more.
Information maintenance method shown in Figure 11, a kind of non-seamless WLAN shunting of the embodiment of the present invention connects, comprising:
Step 111,3GPPAAA server receive the indication information that TWAN sends, and wherein, indication information is to send when TWAN determines that the NSWO connection status of a certain UE changes, the NSWO state information of carrying identification information He this UE of this UE in indication information;
Step 112,3GPP aaa server self store after the contextual information of this UE definite, and according to the NSWO state information of the UE carrying in indication information, the contextual information of this UE that self is stored carries out respective handling.
Further, in step 112, at 3GPP aaa server, after the contextual information of this UE that self is stored carries out respective handling, also comprise:
3GPP aaa server returns to the first acknowledge message to TWAN, wherein, carry identification information and the result of this UE, and this result is for to process successfully in the first acknowledge message.
Further, after step 111, and before step 112, the method also comprises:
3GPP aaa server, according to the identification information in indication information, the user context information of storing, is searched the contextual information of this UE from self.
Further, the method also comprises:
3GPP aaa server, after searching unsuccessfully, returns to the second acknowledge message to TWAN;
Wherein, in the second acknowledge message, carry identification information and the result of this UE, and this result is for to process unsuccessfully.
Preferably, in the second acknowledge message, also process failed reason.
Further, if the NSWO state information of this UE connects for setting up NSWO, the contextual information of this UE that in step 112,3GPPAAA server is stored self carries out respective handling, comprising:
3GPP aaa server is stored the information that UE exists NSWO to connect in the contextual information of this UE.
Further, the NSWO state information of this UE connects for disconnecting the NSWO having set up, and the contextual information of this UE that in step 112,3GPP aaa server is stored self carries out respective handling, comprising:
3GPP aaa server is deleted the information that the UE having stored exists NSWO to connect in the contextual information of this UE.
Preferably, 3GPP aaa server is deleted after the UE having stored exists the information that NSWO connects in the contextual information of this UE, also comprises:
When 3GPP aaa server is empty in the content of determining the contextual information of this UE, to home subscriber server HSS, initiate the registration process of going of this UE.
It should be noted that, in the processing success message that in the embodiment of the present invention, 3GPP aaa server returns, also carry the identification information of this UE.
Below in conjunction with specific embodiment, the present invention will be described:
Suppose that the UE APN1 that contracted is connected with NSWO, and set up a PDN relevant to APN1 and connect and is connected with NSWO, corresponding, 3GPP aaa server has been stored the information of this PDN connection and the information that UE exists NSWO connection in the context of this UE; After PDN connects deexcitation, there is variation in the CAMEL-Subscription-Information of this UE, and TWAN still can obtain the up-to-date CAMEL-Subscription-Information of this UE by 3GPP aaa server.Detailed process is shown in Figure 12, comprising:
Step 121, UE request are set up the PDN relevant to APN1 and are connected, and 3GPP aaa server, in set up the process of PDN connection for UE, is stored the information that this PDN connects in the contextual information of this UE, and this information comprises APN1 and PDN GW ID;
Step 122, UE request are set up NSWO and are connected; TWAN sets up by the identification information that carries this UE and UE the indication information that NSWO is connected and sends to 3GPP aaa server; In the contextual information of this UE that 3GPP aaa server is stored at self, store the information that UE exists NSWO to connect, and return and carry the identification information of this UE and process successful confirmation message to TWAN; TWAN is after receiving this acknowledge message, and the NSWO that activates this UE connects;
The PDN that step 123, UE request deexcitation have been set up connects, and in the process that 3GPP aaa server connects at this PDN of deexcitation, deletes the information (being APN1 and PDN GW ID) with this PDN join dependency from self the contextual information of this UE storing;
Further, 3GPP aaa server is searched the information that whether has other connections in the contextual information of this UE, because this UE also exists NSWO, connect (in the contextual information of this UE, also storing the information that UE exists NSWO to connect), 3GPP AAA Server does not initiate registration process;
Step 124, the NSWO of this UE is signing while becoming invalid (as user initiatively cancels that NSWO is signing, the signing timeliness etc. that surpassed of the NSWO of this UE), Virtual network operator will be deleted the CAMEL-Subscription-Information relevant to NSWO the contextual information of this UE from HSS storage, HSS sends to 3GPP aaa server by the CAMEL-Subscription-Information in the contextual information of this UE after upgrading, and 3GPP aaa server is responsible for this CAMEL-Subscription-Information to send to TWAN;
Wherein, CAMEL-Subscription-Information comprises: signing APN(Access Point Name, APN), the information such as access limitation, signing peak polymerization rate.
After step 125, the TWAN CAMEL-Subscription-Information that this UE is corresponding after the renewal that receives the transmission of 3GPPAAA server, CAMEL-Subscription-Information in the contextual information of this UE of its storage after storage update, and the NSWO connection of deleting UE according to the CAMEL-Subscription-Information after upgrading, and delete the NSWO link information of storing in the context of this UE (when the NSWO that activates this UE as TWAN connects, being the IP address that this UE distributes).
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, device (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing unit to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing unit is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing unit with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing unit, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Mutual by between TWAN and 3GPP aaa server of the embodiment of the present invention, when the NSWO of UE connection status changes, the contextual information of this UE that 3GPP aaa server can be stored self is safeguarded, thereby solved and at UE, there is NSWO simultaneously and connect while being connected with PDN, because 3GPP aaa server is to safeguarding with the information of NSWO join dependency in the contextual information of UE, and cause TWAN to use invalid user signing contract information to provide the problem of service for this UE.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.