A kind of method for recovering and processing ascription user server fault
Technical field
The present invention relates to IP Multimedia System (IMS), be meant a kind of method for recovering and processing ascription user server fault especially.
Background technology
Along with the development of mechanics of communication, people no longer are satisfied with single voice communication mode, but favor more in brand-new multimedia communication mode.Multimedia communication not only comprise video and audio communication, instant message, with the location browse, business such as collaborative work, Streaming Media, and comprise those that conventional voice communications and new communication mode are merged and the business that produces.
At present, trend based on Internet and telecommunications network fusion, on the basis of packet carrying network, introduced the IMS of all-IP business network framework, IMS is applied to multiple network such as mobile network or fixed network, its target is according to personalized user data, the shielding user mode access, the degree of opening of control professional ability provides multimedia communication experiences.The IMS business is made up of control section and media content portion, and control section is the IMS Signalling exchange between IMS terminal and the IM territory entity, and the IMS business is controlled, and media content portion i.e. various content media streams such as image, voice, data, sound.IMS signaling and Media Stream are all by the Packet Based Network carrying, and Media Stream does not need the territory through IMS.
The structural representation of IMS as shown in Figure 1, the major function entity among the IMS comprises: controlling call entity (CSCF) and home subscriber server (HSS).Wherein, CSCF has three types: service call controlled entity (S-CSCF), agent call controlled entity (P-CSCF), query call controlled entity (I-CSCF).P-CSCF is IMS terminal first contact point at the IMS network, finishes agent functionality, carries out the IMS Signalling exchange with terminal, carries out after the inter-process it being transmitted to I-CSCF or S-CSCF.I-CSCF mainly finishes network concealed function, and when the user registered, I-CSCF was to the HSS inquiry and determine the S-CSCF that the user serves, and then initial user registration request was transmitted to S-CSCF.S-CSCF is the most crucial operation controlling entity of IMS, preserves user signing contract information, and the recording user call state is finished CCF.Different S-CSCF can connect different application server A S, finish the different business function.Home subscriber server HSS is comprehensive concentrated customer data base, preserve user signing contract information and user state information, be used to support of the processing of each network entity, specifically comprise user ID (privately owned sign and public identify), user service information, user security relevant information, routing iinformation, positional information etc. calling and session.Between a plurality of entities interface is arranged in HSS and the network, be used for providing user profile and the user profile of preserving from other network entity to other network entity.
User profile among the HSS comprises static signing information and multidate information.Wherein user ID (privately owned sign and public identify), user service information, user security relevant information etc. belong to static information, can frequently not change.User's routing iinformation and positional information etc. then belong to multidate information, position that recording user is current and the S-CSCF that is registered sign, the frequent change with the variation of customer location and IMS enrollment status.
Preservation information has dual mode among the HSS, a kind of being kept in the permanent storage medias such as disk, and after the HSS fault was restarted, this part information can read again, can not lose; A kind of being kept in the internal memory, the possibility of this part information dropout is very big after the HSS fault is restarted.The importance of considering user's static signing information is higher than dynamical state information, because the influence of dynamical state information is a short-term, the influence of static signing information then is long-term, on the other hand, the preservation of permanent storage media and reading speed are lower than the preservation and the reading speed of internal memory, so most HSS nodes are kept at user's static signing information in the permanent storage media, and user's multidate information is kept in the internal memory.Certainly, exclusive segment producer all is not kept at all user profile in the permanent storage media when realizing HSS, makes the HSS fault restart all user profile of back and does not lose.
After the HSS fault is restarted, user's multidate information is lost or is imperfect probably, comprise user's routing iinformation and positional information etc., this will influence user's IMS business, for example: the registered IMS of certain user, the S-CSCF sign (being addressing information) of this user's registration of record among the HSS, barrier is restarted this information dropout for some reason, when this user of other customer call, I-CSCF can't obtain routing iinformation from HSS, causes service fail like this.So, after the HSS fault is restarted, consider among most of HSS that user's multidate information will be lost or imperfect, need notify other IMS node, and take respective handling, but current I MS network is not considered this point, the IMS business that causes guaranteeing the user is normally carried out.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method for recovering and processing ascription user server fault, be used for solving when the HSS of IMS network node breaks down, the problem that IMS registered user's multidate information recovers.
In order to achieve the above object, the invention provides a kind of method for recovering and processing ascription user server fault, this method comprises the steps:
After a, home subscriber server HSS break down and restart, send the notice of restarting that contains self HSS sign to the service call controlled entity S-CSCF of the user registration that belongs to this HSS;
B, S-CSCF receive after this restarts notice, initiate network re-authentication requests NOTIFY to all user terminals that write down in this S-CSCF and that belong to this HSS; After user terminal is received re-authentication requests, send the heavy register requirement contain self user ID to S-CSCF; After S-CSCF receives described heavy register requirement, obtain and be registered in the user ID that belongs to this HSS among this S-CSCF, and user ID and self S-CSCF sign of obtaining sent to this HSS;
Obtain among the described step b and be registered in the user ID that belongs to this HSS among this S-CSCF, and the step that the user ID obtained and self S-CSCF sign send to this HSS is comprised:
S-CSCF receives the heavy register requirement from the user, according to the user ID in the described heavy register requirement, judge whether this user belongs to send the HSS of restarting notice, if, then send this user ID and the S-CSCF of self sign, execution in step c to this HSS;
C, HSS receive and write down this user ID and S-CSCF sign.
In said method, among the step b, described user ID and S-CSCF sign are that S-CSCF sends to this HSS by S-CSCF registration notification request Server-Assignment-Request.
In said method, after HSS receives S-CSCF registration notification request from S-CSCF, behind the execution of step c, further comprise:
HSS returns registration notification response Server-Assignment-Answer to this S-CSCF.
In said method, in step a, HSS sends the step of restarting notice that contains self HSS sign to the S-CSCF of the user registration that belongs to this HSS and comprises:
A011, HSS all connected S-CSCF in this IMS network send the notice of restarting that contains self HSS sign.
In said method, in step a, HSS sends the step of restarting notice to the S-CSCF of all user's registrations that belong to this HSS and comprises:
The S-CSCF that a021, the HSS home subscriber in being kept at self permanent storage media was in advance once registered sends the notice of restarting that contains self HSS sign.
In said method, among the step b, S-CSCF receive from HSS restart notice after, will be in this S-CSCF that register and user ID and the S-CSCF of self signs all users that belong to this HSS send to this HSS.
In said method, in step b, S-CSCF initiates the network re-authentication requests according to the frequency of setting to the user.
In said method, in step b, S-CSCF sends the request of S-CSCF registration notification according to the frequency of setting to HSS.
In sum, the present invention breaks down by order and the HSS of restarting sends the notice of restarting that contains self HSS sign to the S-CSCF of the user's registration that belongs to this HSS, make S-CSCF in time know the HSS that breaks down and restart, obtain the user ID that belongs to this HSS that is registered among this S-CSCF then, and the user ID obtained and the information such as S-CSCF sign of self sent to this HSS, thereby make HSS recover IMS registered user's multidate information again, guarantee the normal operation of IMS business, improved the reliability of IMS network.
Description of drawings
Fig. 1 is the IMS schematic network structure.
Fig. 2 is the method flow diagram of the embodiment of the invention one.
Fig. 3 is the method flow diagram of the embodiment of the invention two.
Fig. 4 is the method flow diagram of the embodiment of the invention three.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Overall thought of the present invention is: order is broken down and the HSS of restarting sends the notice of restarting that contains self HSS sign to the S-CSCF of the user's registration that belongs to this HSS, S-CSCF is restarted notice according to this, obtain the user ID that belongs to this HSS that is registered among this S-CSCF, and user ID and the S-CSCF of self sign of obtaining sent to this HSS; HSS receives and writes down this user ID and S-CSCF sign, recovers IMS registered user's multidate information.
Below by specific embodiment one in detail technical scheme of the present invention is described in detail.
In the present embodiment, S-CSCF receive from HSS contain self HSS sign restart notice after, will be in this S-CSCF that write down and user ID and the S-CSCF of self sign user that belong to this HSS send to this HSS, make HSS recover user's routing iinformation of losing, i.e. the pairing S-CSCF sign of this user.This case method flow chart specifically comprises the steps: as shown in Figure 2
In step 201, when HSS break down restart after, send to the S-CSCF of all users registration that belongs to this HSS and to contain self HSS sign and restart notice.
Wherein, HSS sends the step of restarting notice to the registered user's who belongs to this HSS S-CSCF and can be: the sign of all S-CSCF among this IMS of static configuration in advance among the HSS, and HSS sends the notice of restarting that contains self HSS sign to these S-CSCF; Also can be: HSS preserves a S-CSCF identification list in self permanent storage media, each user is registered to a new S-CSCF, this S-CSCF sign is increased in the S-CSCF identification list, has guaranteed to comprise in the S-CSCF identification list S-CSCF sign that all users that belong to this HSS once registered.HSS sends the notice of restarting that contains self HSS sign to all S-CSCF in the S-CSCF identification list in self permanent storage media then.
In step 202, after S-CSCF receives and restarts notice, by sending the request of S-CSCF registration notification to HSS, that write down among this S-CSCF and user's that belong to this HSS user ID and self S-CSCF sign are sent to this send the HSS of restarting notice.
Wherein, described S-CSCF with the step that write down among this S-CSCF and user's that belong to this HSS user ID and the S-CSCF of self sign send to this HS S is: S-CSCF is according to restarting the HSS sign that comprises in the notice, whether the user that judgement is registered in this S-CSCF belongs to this HSS, if, then send the S-CSCF registration notification request that comprises this user ID and self S-CSCF sign to HSS, otherwise continue to judge other user who in this S-CSCF, registers, up to finding out in this S-CSCF till all users that register and that belong to this HSS.
In step 203, after HSS receives the request of S-CSCF registration notification, write down this user ID and S-CSCF sign, and return registration notification response (Server Assignment Answer) to S-CSCF.
Below by specific embodiment two in detail technical scheme of the present invention is described in detail.
In the present embodiment, when S-CSCF receive contain self HSS sign restart notice after, wait for that the user initiates heavy register requirement, and after the heavy register requirement that receives from the user, according to user ID wherein, judge whether this user belongs to and send the HSS of restarting notice, if, then sending this user ID and the S-CSCF of self sign to this HSS, HSS receives and writes down this user ID and S-CSCF sign, otherwise, carry out heavy normally register flow path.The method flow diagram of present embodiment specifically comprises the steps: as shown in Figure 3
In step 301, when HSS break down restart after, send the notice of restarting that contains self HSS sign to the S-CSCF of the user registration that belongs to this HSS.It is identical with step 201 that HSS sends the method for restarting notice to the S-CSCF of the user's registration that belongs to this HSS, repeats no more herein.
In step 302, S-CSCF receives after this restarts notice, reception is from user's heavy register requirement, and according to wherein user ID, judge whether this user belongs to send the HSS of restarting notice, if, then send the S-CSCF registration notification request that contains this user ID and self S-CSCF sign to this HSS, execution in step 303 then, otherwise carry out heavy normally register flow path, jump out this flow process.
In step 303, after HSS receives the request of S-CSCF registration notification, write down this user ID and S-CSCF sign, and return the registration notification response to S-CSCF.
Below by specific embodiment three in detail technical scheme of the present invention is described in detail.
After HSS breaks down, because the time that re-registers behind time of restarting and the user terminal IMS registration timeout is inconsistent probably, therefore might restart a period of time afterwards at HSS, the user just carries out the IMS service re-registration, during this period, and when the user is professional as called initiation IMS, then because I-CSCF need arrive HSS inquiry routing iinformation, and this moment the user's routing iinformation among the HSS, the S-CSCF sign that promptly this user registered is lost, and will cause service fail.Therefore at this situation, present embodiment provides a kind of enhancement process method, and method flow specifically comprises the steps: as shown in Figure 4
In step 401, when HSS break down restart after, send the notice of restarting that contains self HSS sign to the S-CSCF of the user registration that belongs to this HSS.It is identical with step 201 that HSS sends the method for restarting notice that contains self HSS sign to the registered user's who belongs to this HSS S-CSCF, repeats no more herein.
In step 402, S-CSCF receive from HSS contain self HSS sign restart notice after, according to the sign of this HSS, initiate network re-authentication requests (NOTIFY) to all users that in S-CSCF, register and that belong to this HSS.Initiate re-authentication requests and cause message traffic excessive and cause that S-CSCF is congested to a large number of users at short notice for fear of S-CSCF, S-CSCF can initiate the network re-authentication requests to the user according to the frequency of setting.
In step 403, after user terminal is received re-authentication requests, send the heavy register requirement contain self user ID to S-CSCF;
In step 404, after S-CSCF receives this heavy register requirement, judge according to user ID wherein whether this user belongs to the HSS that initiates to restart notice, if, then send the S-CSCF registration notification request that contains this user ID and the S-CSCF of self sign to this HSS, execution in step 405, otherwise, jump out this flow process.
In step 405, after HSS receives the request of S-CSCF registration notification, write down this user ID and S-CSCF sign, and return the registration notification response to S-CSCF.
In above-mentioned steps 202,302 and 403, to the excessive S-CSCF registration notification request of HSS transmitted traffic, cause HSS to break down once more in the short time, S-CSCF can send the request of S-CSCF registration notification by the frequency that sets in advance.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.