A kind of data lossless changing method and system
Technical field
The present invention relates to mobile communication technology field, relate in particular to a kind of data lossless changing method and system.
Background technology
UE (User Equipment, user terminal) to eNB (E-UTRAN Node B, evolution base station) send MEASUREMENT REPORT (measurement report), eNB adjudicates whether can also serve this UE according to measurement report, when the result of judgement, think can not continue to serve this UE time, can select another one eNB as the object base station of switching.When eNB detect and selected eNB between there is X2 link, and two eNB are in same MME (Mobility Management Entity, mobile management entity) range of management time, source eNB can switch by the preferential X2 of initiation.Two kinds of scenes that X2 switches in 23.401 agreements, are provided: the X2 without S-GW (Serving Gateway, gateway) reorientation switches (being called for short scene one) and needs the X2 of S-GW reorientation to switch (being called for short scene two).
The switching flow of scene one as shown in Figure 1, specifically comprises following key step:
Source eNB sends Handover Request (handover request) message to destination eNB, and message has been carried transport layer address and the address, tunnel of S-GW; Destination eNB receives that the backward source eNB of message returns to Handover Request Ack (handover request is replied) message, and message has been carried in order to the transport layer address of anti-pass and address, tunnel; Source eNB receives after this response message, to UE, send Handover Command (switching command) message, notice UE switches, UE is cut over and sends Handover Comfirm (switch and confirm) message to destination eNB, inform that the link that destination eNB eats dishes without rice or wine is logical, now UE starts to send upstream data to destination eNB, and destination eNB receives that the backward S-GW of upstream data delivers.Destination eNB sends Path Switch Request (path handover request) message to MME, and transport layer address and the address, tunnel of in message, having carried destination eNB, inform that the data of S-GW can issue to destination eNB; MME does after a series of configuration after receiving message, to destination eNB, returns Path Switch Request Ack (path handover request is replied) message, and UE and S-GW have switched to destination eNB, and can carry out the transmission of up-downgoing data.
The switching flow of scene two as shown in Figure 2, specifically comprises following key step:
Under this scene, before destination eNB sends Path Switch Request message to MME, and the flow process of scene one is identical.MME receives after Path Switch Request message, can distribute new S-GW for destination eNB, and at MME to transport layer address and the address, tunnel of carrying new S-GW in the Path Switch RequestAck message of destination eNB loopback; Destination eNB receives after message, and the upstream data of receiving from UE is no longer delivered to source S-GW, turns to destination S-GW to deliver.So far, UE has switched to destination eNB, and new S-GW also starts to have served destination eNB.
But two kinds of above-mentioned switching flows have all been ignored a problem when initiating: if do not exist IP to connect between S-GW and destination eNB, can handoff failure.For scene one, be specially: UE sends Handover Comfirm message to destination eNB, UE just sends data to destination eNB afterwards, destination eNB receives after the data that UE sends, to deliver to S-GW, but owing to not existing IP to connect between destination eNB and S-GW, upstream is ended at this point, causes handoff failure.For scene two, be specially: UE sends Handover Comfirm message to destination eNB, UE just sends data to destination eNB afterwards, destination eNB receives after the data that UE sends, still to deliver upstream data to source S-GW, until destination eNB receives after Path Switch Request Ack message, can be just that its newly assigned destination S-GW delivers upstream data to MME, but destination eNB all lose to the data of source S-GW delivery, causes handoff failure; And the failure of this switching occurs after UE has been linked into destination eNB, if again initiate S1, switch there's not enough time.
In prior art, " X2 without S-GW reorientation switches " scene is had to following description: supposing has IP to connect between S-GW and source eNB, between S-GW and destination eNB, also have IP to connect simultaneously; In addition " existing the X2 of S-GW reorientation to switch " scene is had to following description: supposing has IP to connect between source S-GW and source eNB, source S-GW also has IP to be connected with destination eNB, it between destination S-GW and destination eNB, is also (if do not have IP to connect between destination eNB and source S-GW, the needing to switch and substitute with S1) that has IP to connect simultaneously.
Therefore, prior art has only been destination eNB and S-GW (corresponding to scene two, for source S-GW) between exist IP to connect hypothesis, if and mention and do not exist IP to connect between them, initiating S1 switches, but in agreement not for source eNB provides selected destination eNB and S-GW (corresponding to scene two, for source S-GW) between whether exist IP to connect determination methods, in other words, source eNB is when initiating X2 handover request, to learn that selected eNB and S-GW are (corresponding to scene two, for source S-GW) between whether exist IP to connect, thereby likely cause follow-up handoff failure.
Summary of the invention
The technical problem that the present invention solves is to provide a kind of data lossless changing method and system, has avoided the possibility of X2 handoff failure, realizes X2 switch data under aforementioned scene and can't harm.
For solving the problems of the technologies described above, the invention provides a kind of data lossless changing method, while there is X2 switching in subscriber equipment (UE),
The upstream data that the destination base station that described UE is switched to sends the described UE receiving in X2 handoff procedure carries out buffer memory, and after receiving the path handoff request acknowledgment message that mobile management entity (MME) returns, the more described upstream data of buffer memory is sent to corresponding gateway (S-GW).
Further, corresponding S-GW, comprising: current S-GW, or the new S-GW of described MME distribution.
Further, described destination base station sends to corresponding S-GW by the described upstream data of buffer memory, specifically refers to:
Described destination base station receives after the path handoff request acknowledgment message that described MME returns, according to whether carrying new S-GW address in the handoff request acknowledgment message of described path, whether decision-making will carry out path modification, if desired carry out path modification,, after completing path modification, to described new S-GW, send the described upstream data of buffer memory; Otherwise, the direct described upstream data that sends buffer memory to current S-GW.
Further, described method also comprises:
Described MME receives after the path handover request message of described destination base station transmission, if judging between described destination base station and current S-GW does not exist IP to be connected, the new S-GW that exists IP to be connected with described destination base station for described destination base station assigns, and described new S-GW address is carried at and in the handoff request acknowledgment message of described path, returns to described destination base station.
The present invention also provides a kind of data lossless switched system, and described system comprises base station, and described base station further comprises upstream data cache module and upstream data delivery module,
Described upstream data is delivered module, and the upstream data sending for the UE that X2 handoff procedure is received carries out buffer memory;
Described upstream data is delivered module, for after receiving the path handoff request acknowledgment message that MME returns, the more described upstream data of buffer memory is sent to corresponding S-GW.
Further, described system also comprises MME, and described MME further comprises S-GW distribution module,
Described S-GW distribution module, the new S-GW that is used to destination base station assigns that described UE is switched to exist IP to be connected with described destination base station, and described new S-GW address is carried at and in the handoff request acknowledgment message of described path, returns to described destination base station.
Further, described upstream data is delivered module, for receiving after the path handoff request acknowledgment message that described MME returns, according to whether carrying new S-GW address in the handoff request acknowledgment message of described path, whether decision-making will carry out path modification, if desired carry out path modification,, after completing path modification, to described new S-GW, send the described upstream data of buffer memory; Otherwise, the direct described upstream data that sends buffer memory to current S-GW.
Adopt the present invention program, the handoff failure having produced while effectively having avoided not existing IP to connect between S-GW and destination eNB, realizes X2 switch data harmless.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the X2 switching flow figure without S-GW reorientation;
Fig. 2 is the X2 switching flow figure that has S-GW reorientation;
Fig. 3 is according to the schematic flow sheet of the data lossless changing method of the embodiment of the present invention.
Embodiment
Present embodiment provides a kind of data lossless changing method, adopts following technical scheme:
In X2 handoff procedure, UE is linked into destination eNB, to destination eNB, sends upstream data;
The upstream data that the described UE that destination eNB receives sends carries out buffer memory, and after receiving the Path Switch Request Ack that MME returns, the more described upstream data of buffer memory is sent to corresponding S-GW.
Wherein, destination eNB receives after the Path Switch Request Ack that MME returns, according to whether carrying new S-GW address in this message, whether decision-making will carry out path modification: if desired carry out after the modification of ,Ze path is revised in path starting to deliver upstream data to S-GW; Otherwise, directly to S-GW, deliver upstream data.
For the ease of setting forth the present invention, below with reference to drawings and the specific embodiments, the enforcement of technical solution of the present invention is described in further detail.It should be noted that, in the situation that not conflicting, the embodiment in the application and the feature in embodiment be combination in any mutually.
The data lossless hand-off process flow process of the embodiment of the present invention as shown in Figure 3, specifically comprises the steps:
Step 301, X2 switches UE and is successfully linked into destination eNB.
Step 302, destination eNB is cached ,Bu Xiang upper strata by the upstream data of receiving and delivers.
Step 303, destination eNB sends Path Switch Request message to MME.
Step 304, destination eNB receives Path Switch Request Ack message.
Step 305, if carry the address of new S-GW in this message, destination eNB revises routing information.
Step 306, if do not carry the address of new S-GW, without the routing information of revising destination eNB in this message.
Step 307, destination eNB sends upstream data to S-GW.
Step 308, subsequent treatment is consistent with existing procedure.
In addition, also provide a kind of data lossless switched system in the embodiment of the present invention, this system mainly comprises base station, and described base station further comprises upstream data cache module and upstream data delivery module, wherein:
Described upstream data is delivered module, and the upstream data sending for the UE that X2 handoff procedure is received carries out buffer memory;
Described upstream data is delivered module, for after receiving the path handoff request acknowledgment message that MME returns, the more described upstream data of buffer memory is sent to corresponding S-GW.
Further, described system also comprises MME, and described MME further comprises S-GW distribution module,
Described S-GW distribution module, the new S-GW that is used to destination base station assigns that described UE is switched to exist IP to be connected with described destination base station, and described new S-GW address is carried at and in the handoff request acknowledgment message of described path, returns to described destination base station.
Further, described upstream data is delivered module, for receiving after the path handoff request acknowledgment message that described MME returns, according to whether carrying new S-GW address in the handoff request acknowledgment message of described path, whether decision-making will carry out path modification, if desired carry out path modification,, after completing path modification, to described new S-GW, send the described upstream data of buffer memory; Otherwise, the direct described upstream data that sends buffer memory to current S-GW.
These are only preferred case study on implementation of the present invention; be not limited to the present invention; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.