A kind of heat backup method of Stream Control Transmission Protocol stack of LTE Femto gateway
Technical field
The present invention relates to a kind of LTEFemto gateway, particularly a kind of heat backup method of Stream Control Transmission Protocol stack of LTEFemto gateway.
Background technology
Along with the development of mobile communication technology.The LTE mobile communication adapting to Mobile data, mobile computing and mobile multimedia running needs starts to rise gradually.LTE is based on old GSM/EDGE and UMTS/HSPA network technology, it is the upgrading of GSM/UMTS standard, it is a transition between 3G and 4G technology, the global standards of 3.9G, it improves and enhances the aerial access technology of 3G, realizes High Data Rate, low delay, improves the performance of Cell Edge User, improve cell capacity and reduce system delay, enhancing Consumer's Experience.
Femto is also known as femtocell, and owing to having, transmitting power is low, coverage is little, deployment is convenient, lower-price characteristic, so receive the extensive concern of industry.Femto for backhaul, provides mobile service to user with fixed broadband access network simultaneously, and be a kind of typical fixed estropia technology, Femto will be the important means that full-service operator provides differentiated service.Concerning operator, the application of Femto technology can improve in-door covering quality, promotes Consumer's Experience, reduce user's churn rate, can eat dishes without rice or wine to shunt grand network traffics, alleviate grand network capacity extension pressure simultaneously.Concerning user, because the cost that Femto disposes is low, operator can provide lower post and telecommunication tariff for user, and Femto user can exclusively enjoy Radio Resource and transfer resource in addition, obtains better signal quality and access rate.
SCTP (StreamControlTransmissionProtocol, SCTP) be IETF (InternetEngineeringTaskForce, internet engineering task group) 2000 definition transport layer (TransportLayer) agreement, be to provide the reliable DDP on based on the agreement of unreliable transport service.SCTP is designed for by IP network command transmitting communication network narrow band signalling message.SCTP is a connection-oriented flow host-host protocol, and it can provide stable, orderly data delivery service between the two endpoints.In LTEFemto gateway system, the effect of SCTP is exactly the signaling of transmission LTEFemto gateway.Contrary, if if the SCTP link of LTEFemto gateway disconnects, the signaling of LTEFemto gateway just cannot be transmitted, and business has just been interrupted.
In the LTEFemto gateway system that there is active and standby entity, LTEFemto base station only can be set up SCTP with main LTEFemto gateway and be connected.If main LTEFemto gateway there occurs the machine of delaying, how to ensure that LTEFemto base station is connected with the SCTP of standby LTEFemto gateway and do not interrupt, become the technical problem that must solve in the industry at present.
2009.9.9, disclosed in, the Chinese invention that publication number is CN101527707A provides a kind of real-time consistency check method for Stream Control Transmission Protocol stack Hot Spare and relevant apparatus.The input data as the process of respective Stream Control Transmission Protocol stack in synchronous active/standby entity.The TSN-check information pair of last payload data block of the SCTP packet given coupling is obtained from principal.Obtain the TSN-check information pair of the coupling payload data block described given coupling from standby entity, the TSN-check information of described coupling payload data block is to having and carrying out the TSN-check information of autonomous entity to identical TSN.Utilize TSN-check information to carrying out consistency check, wherein, determine TSN-check information from described principal to whether with the TSN-check information of described coupling payload data block to having identical check information.The Stream Control Transmission Protocol stack of the kernel that this invention uses, but not the Stream Control Transmission Protocol stack (usrSCTP) of application layer. it is the input data by synchronous active/standby entity, thus utilize TSN-check information to the consistency desired result of active/standby entity information, this just determines, the relation that its active/standby entity information not backs up, if the coupling information of standby entity (comprise TSN-check information to) is come from principal backup, active/standby entity information is necessarily consistent.Therefore it cannot realize when main LTEFemto gateway delays machine, and LTEFemto base station is connected unbroken object with the SCTP of LTEFemto gateway system.
Summary of the invention
The technical problem to be solved in the present invention, be to provide a kind of method realizing Stream Control Transmission Protocol stack information back-up between active and standby LTEFemto gateway, ensure that when main LTEFemto gateway delays machine, LTEFemto base station is connected with the SCTP of LTEFemto gateway system does not interrupt, the LTE signaling guaranteed normal mutual, also improves performance and the stability of the process of Stream Control Transmission Protocol stack.
The present invention is achieved in that a kind of heat backup method of Stream Control Transmission Protocol stack of LTEFemto gateway, based on the Stream Control Transmission Protocol stack of application, i.e. usrSCTP protocol stack, by the process of application, the data of the Stream Control Transmission Protocol stack of main LTEFemto gateway are backuped on standby LTEFemto gateway, when main LTEFemto gateway delays machine time, Business Processing in LTEFemto gateway system will be switched to standby LTEFemto gateway, standby LTEFemto gateway takes out backing up the SCTP data of coming from main LTEFemto gateway the controll block information re-creating SCTP, SCTP between LTEFemto base station and LTEFemto gateway is connected can not interrupt.
Further, the data of the Stream Control Transmission Protocol stack of main LTEFemto gateway are backuped to for the process on LTEFemto gateway specifically:
Step (1), LTEFemto base station access main LTEFemto gateway, set up SCTP and connect;
The application program of step (2), main LTEFemto gateway obtains the related protocol stack information of SCTP connection, is sent to standby LTEFemto gateway, is stored in internal memory after standby LTEFemto gateway receives Stream Control Transmission Protocol stack data;
Step (3), LTEFemto base station and main LTEFemto gateway are set up after SCTP is connected, just by the data message of SCTP link transmission SCTP and the heartbeat message of SCTP; Increase progressively the sequence number that LTEFemto base station is connected along with SCTP with the mutual meeting of the data message of main LTEFemto gateway, therefore, main LTEFemto gateway application receive with send each SCTP data message while need to obtain from Stream Control Transmission Protocol stack the transmission sequence number that corresponding SCTP is connected, be sent to standby LTEFemto gateway, after the application program of standby LTEFemto gateway receives the data message of SCTP, upgrade SCTP data corresponding in internal memory;
Step (4), LTEFemto base station and main LTEFemto gateway are set up after SCTP is connected, if there is the interruption that SCTP connects, main LTEFemto gateway sends the message of SCTP data deletion to standby LTEFemto gateway, after standby LTEFemto gateway receives message, from internal memory, delete corresponding SCTP data.
Further, 4 message interactions are had between LTEFemto base station and main LTEFemto gateway in described step (1), INIT respectively, INITACK, COOKIEECHO, COOKIEACK, for initialization and the negotiation of SCTP link, consult successfully, the SCTP link between LTEFemto base station and main LTEFemto gateway has just been successfully established.
Further, in LTEFemto gateway system, when main LTEFemto gateway delays machine time, hot standby switching can be there is once between main LTEFemto gateway and standby LTEFemto gateway, on the standby LTEFemto gateway that LTE business can switch at once, at this moment will read out the data of the SCTP of backup from internal memory for LTEFemto gateway application, and according to the SCTP controll block information that the SCTP information creating of backup makes new advances, SCTP data are set in Stream Control Transmission Protocol stack simultaneously; Hot standby switching can be there is between main LTEFemto gateway and standby LTEFemto gateway after, the IP that the SCTP of LTEFemto gateway system connects will delete from main LTEFemto gateway and come into force at standby LTEFemto gateway, whole process is complete unaware for LTEFemto base station.
Further, there is hot standby switching between main LTEFemto gateway and standby LTEFemto gateway after, the SCTP of LTEFemto base station and LTEFemto gateway system will carry out alternately on standby LTEFemto gateway, the Stream Control Transmission Protocol stack of standby LTEFemto gateway by according to after hot standby switching first time data message the sequence number of sequence number adjustment protocol stack.
Tool of the present invention has the following advantages: the Stream Control Transmission Protocol stack (usrSCTP protocol stack) that the present invention is based on application, and the backup of SCTP data is realized by usrSCTP protocol stack, ensure that the consistent of the Stream Control Transmission Protocol stack data of the active and standby entity of LTEFemto gateway, after guaranteeing that the active and standby entity of LTEFemto gateway is switched, SCTP link can not disconnect, thus can not affect LTE business; Make the performance of LTEFemto gateway more superior, stability is higher, and compatible better, this implementation method has higher realizability and usability simultaneously.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the schematic arrangement schematic diagram of the LTE system networking in the inventive method.
Fig. 2 is the flowage structure schematic diagram of the inventive method.
Embodiment
As shown in Figure 1, be the networking schematic diagram of LTE system, every platform LTEFemto base station, when accessing LTEFemto gateway, all by the 4-Way Handshake of SCTP, can be set up SCTP and connects.Signaling between such LTEFemto base station and LTEFemto gateway just can be transmitted by SCTP link.In LTE system, LTEFemto gateway and the SCTP between core net connect behavior and the SCTP between LTEFemto base station with LTEFemto gateway to be connected behavior are the same.
Again as depicted in figs. 1 and 2, the heat backup method of the Stream Control Transmission Protocol stack of LTEFemto gateway of the present invention, based on the Stream Control Transmission Protocol stack of application, i.e. usrSCTP protocol stack, by the process of application, the data of the Stream Control Transmission Protocol stack of main LTEFemto gateway are backuped on standby LTEFemto gateway, when main LTEFemto gateway delays machine time, Business Processing in LTEFemto gateway system will be switched to standby LTEFemto gateway, standby LTEFemto gateway takes out backing up the SCTP data of coming from main LTEFemto gateway the controll block information re-creating SCTP, SCTP between LTEFemto base station and LTEFemto gateway is connected can not interrupt.
Wherein, the data of the Stream Control Transmission Protocol stack of main LTEFemto gateway are backuped to for the process on LTEFemto gateway specifically:
Step (1), LTEFemto base station access main LTEFemto gateway, set up SCTP and connect; 4 message interactions are had between LTEFemto base station and main LTEFemto gateway, INIT respectively, INITACK, COOKIEECHO, COOKIEACK, for initialization and the negotiation of SCTP link, consult successfully, the SCTP link between LTEFemto base station and main LTEFemto gateway has just been successfully established;
The application program of step (2), main LTEFemto gateway obtains the related protocol stack information such as coupling ID, stream ID, connection identifier, sequence number of SCTP connection, be sent to standby LTEFemto gateway, be stored in internal memory after standby LTEFemto gateway receives Stream Control Transmission Protocol stack data;
Step (3), LTEFemto base station and main LTEFemto gateway are set up after SCTP is connected, just by the data message (LTE signaling) of SCTP link transmission SCTP and the heartbeat message of SCTP; Increase progressively the sequence number that LTEFemto base station is connected along with SCTP with the mutual meeting of the data message of main LTEFemto gateway, therefore, main LTEFemto gateway application receive with send each SCTP data message while need to obtain from Stream Control Transmission Protocol stack the transmission sequence number that corresponding SCTP is connected, be sent to standby LTEFemto gateway, after the application program of standby LTEFemto gateway receives the data message of SCTP, upgrade SCTP data corresponding in internal memory;
Step (4), LTEFemto base station and main LTEFemto gateway are set up after SCTP is connected, if there is the interruption that SCTP connects, comprise graceful interruption SCTP connection (shutdown) to be connected with abnormal end SCTP (abort), main LTEFemto gateway sends the message of SCTP data deletion to standby LTEFemto gateway, after standby LTEFemto gateway receives message, from internal memory, delete corresponding SCTP data.
In LTEFemto gateway system, when main LTEFemto gateway delays machine time, hot standby switching can be there is once between main LTEFemto gateway and standby LTEFemto gateway, on the standby LTEFemto gateway that LTE business can switch at once, at this moment the data of the SCTP of backup will be read out from internal memory for LTEFemto gateway application, and according to the SCTP controll block information that the SCTP information creating of backup makes new advances, SCTP data are set in Stream Control Transmission Protocol stack simultaneously; Hot standby switching can be there is between main LTEFemto gateway and standby LTEFemto gateway after, the IP that the SCTP of LTEFemto gateway system connects will delete from main LTEFemto gateway and come into force at standby LTEFemto gateway, whole process is complete unaware for LTEFemto base station.
There is hot standby switching between main LTEFemto gateway and standby LTEFemto gateway after, the SCTP of LTEFemto base station and LTEFemto gateway system will carry out alternately on standby LTEFemto gateway, for avoiding the moment in hot standby switching, due to the loss of SCTP data message may be there is between LTEFemto base station and LTEFemto gateway system, cause the SCTP of LTEFemto base station and standby LTEFemto gateway alternately because the SCTP caused of sequence numbers is connected to be interrupted, the Stream Control Transmission Protocol stack of standby LTEFemto gateway by according to after hot standby switching first time data message the sequence number of sequence number adjustment protocol stack.
Tool of the present invention has the following advantages: the Stream Control Transmission Protocol stack (usrSCTP protocol stack) that the present invention is based on application, and the backup of SCTP data is realized by usrSCTP protocol stack, ensure that the consistent of the Stream Control Transmission Protocol stack data of the active and standby entity of LTEFemto gateway, after guaranteeing that the active and standby entity of LTEFemto gateway is switched, SCTP link can not disconnect, thus can not affect LTE business; Make the performance of LTEFemto gateway more superior, stability is higher, and compatible better, this implementation method has higher realizability and usability simultaneously.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.