Disclosure of Invention
The technical problem to be solved by the present invention is to provide a handover method and apparatus, a storage medium, and a user terminal, which can maintain a connection with a source base station when a downlink synchronization failure or an uplink synchronization failure occurs, and improve communication quality.
To solve the foregoing technical problem, an embodiment of the present invention provides a handover method, including the following steps: receiving a switching notification; establishing downlink synchronization with a target base station; if the downlink synchronization is successfully established, establishing uplink synchronization with the target base station, otherwise, keeping data transmission with the source base station; if the uplink synchronization is successfully established, resetting switching configuration information to the target base station, and stopping receiving the data of the source base station, otherwise, keeping data transmission with the source base station.
Optionally, the handover method further includes: and carrying out data transmission with the target base station according to the reset switching configuration information.
Optionally, the handover configuration information is selected from one or more of the following: MAC configuration information, RLC configuration information, and PDCP configuration information.
Optionally, after maintaining data transmission with the source base station, the handover method further includes: transmitting a first status report to the source base station.
Optionally, the first status report is selected from one or more of: RLC status report and PDCP status report.
Optionally, the first status report includes status information of a downlink synchronization failure or an uplink synchronization failure; and/or the first status report comprises a starting point of error data and a data length.
Optionally, after performing data transmission with the target base station according to the reset handover configuration information, the handover method further includes: and sending a second status report to the target base station.
Optionally, the second status report includes a starting point of the error data and a data length.
To solve the above technical problem, an embodiment of the present invention provides a switching device, including: a receiving module adapted to receive a handover notification; the downlink synchronization module is suitable for establishing downlink synchronization with the target base station; the uplink synchronization module is suitable for establishing uplink synchronization with the target base station when the downlink synchronization is successfully established, and otherwise, maintaining data transmission with the source base station; and the resetting module is suitable for resetting the switching configuration information to the target base station when the uplink synchronization is successfully established, stopping receiving the data of the source base station, and otherwise, keeping data transmission with the source base station.
To solve the foregoing technical problem, an embodiment of the present invention provides a storage medium, on which computer instructions are stored, and when the computer instructions are executed, the steps of the foregoing switching method are executed.
In order to solve the foregoing technical problem, an embodiment of the present invention provides a user terminal, which includes a memory and a processor, where the memory stores computer instructions capable of being executed on the processor, and the processor executes the steps of the handover method when executing the computer instructions.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
in an embodiment of the present invention, a handover notification is received; establishing downlink synchronization with a target base station; if the downlink synchronization is successfully established, establishing uplink synchronization with the target base station, otherwise, keeping data transmission with the source base station; if the uplink synchronization is successfully established, resetting switching configuration information to the target base station, and stopping receiving the data of the source base station, otherwise, keeping data transmission with the source base station. By adopting the scheme, when receiving the switching notification, the downlink synchronization with the target base station is established first, and because the switching configuration information is not reset, the data transmission can be maintained with the source base station when the downlink synchronization is failed to be established, and then the uplink synchronization with the target base station is established.
Further, after maintaining data transmission with the source base station, the first status report may be sent to the source base station to report status information of downlink synchronization or uplink synchronization failure, so that the source base station performs more accurate configuration.
Further, after data transmission with the source base station is maintained, a first status report can be sent to the source base station to report a starting point and a data length of error data, so that the source base station knows which data need to be retransmitted, and the accuracy of data transmission is improved.
Further, after performing data transmission with the target base station according to the reset handover configuration information, a second status report may be sent to the target base station to report a starting point and a data length of erroneous data, so that the target base station knows which data needs to be retransmitted, thereby improving accuracy of data transmission.
Detailed Description
In the prior art, the handover process is to reset handover configuration information to a target base station after receiving a handover notification, then establish downlink synchronization and uplink synchronization with the target base station, and complete handover after the downlink synchronization is successful and the uplink synchronization is successful. Once downlink synchronization failure or uplink synchronization failure occurs, the reestablishment of the user is triggered, and the satisfaction degree of user experience is affected.
Specifically, the optimization of the handover parameters is mainly aimed at the optimization of all users in most scenes, so that the problem of handover failure in a certain mobile phone or a certain place is inevitably caused due to the specificity of a specific user or scene. The switching failure can be classified as: too early a handover, too late a handover, or a handover to the wrong cell. A handover failure may trigger a user re-establishment, both signaling and traffic channels need to be re-established. Wherein premature handover is defined as: in the process of switching, due to the problem of measurement accuracy or parameter configuration, a switching command occurs prematurely at the network side, and in the process of switching, synchronization fails or random access fails, so that switching fails and a source cell for switching is reestablished.
More specifically, the method for improving the handover success rate mainly optimizes handover parameters and adjusts cell power to optimize coverage. The main means is to trigger parameters through a large number of switching events to adjust, and improve the success rate of switching through a parameter optimization method. This optimization is aimed at optimizing the main scenario of all users in a cell, and there is a definition and description of Self-Organizing Networks (SON) in the standard protocol 32.521, and handover failure cannot be avoided in some scenarios for a specific user.
Referring to fig. 1, fig. 1 is a flowchart of a handover method in the prior art. The handover method may be used for a user equipment, and may include steps S101 to S108, which are described below.
In step S101, a handover notification is received.
Specifically, if the Source base station (Source eNB) transmits a handover notification, the terminal may enter a handover execution phase.
The handover notification may be, for example, a Radio Resource Control (RRC) Connection configuration (Connection Re-configuration) message.
In step S102, the handover configuration information is reset and reception of data of the source base station is stopped.
The handover configuration information is configuration information of parameters applicable to a destination cell, when the handover configuration information is applicable to configuration parameters of a source base station, the terminal may receive data of the source base station, and when the handover configuration information is reset to a target base station, the terminal may not receive data of the source base station.
Specifically, the step of resetting the handover configuration information may be to cover the configuration information of the source base station with the configuration information of the target base station, or to re-input the configuration information of the target base station after resetting (Reset) the configuration information.
In step S103, downlink synchronization with the target base station is established.
In step S104, it is determined whether downlink synchronization is established successfully; when the judgment result is yes, step S106 may be performed; otherwise, step S105 may be performed.
In step S105, cell re-establishment is triggered.
Specifically, since the handover configuration information is reset to the target base station, the user terminal cannot receive data of the source base station, so that the user terminal can only select cell re-establishment when downlink synchronization with the target base station is not successfully established.
In step S106, uplink synchronization with the target base station is established.
Specifically, when the downlink synchronization with the target base station is successfully established, the user needs to establish uplink synchronization with the target base station.
In step S107, it is determined whether uplink synchronization is established successfully; when the judgment result is yes, step S108 may be performed; otherwise, step S105 may be performed.
In step S108, the handover is completed.
Specifically, since the handover configuration information is reset to the target base station, the user terminal cannot receive data of the source base station, so that the user terminal can only select cell re-establishment when uplink synchronization with the target base station is not successfully established.
The inventor of the present invention has found through research that, in the prior art, when receiving a handover notification, handover configuration information is reset first, and since the handover configuration information is reset to a target base station, a user terminal cannot receive data of a source base station, once a downlink synchronization failure or an uplink synchronization failure occurs, reconstruction must be performed, signaling and a traffic channel need to be re-established, which affects satisfaction of user experience.
In an embodiment of the present invention, a handover notification is received; establishing downlink synchronization with a target base station; if the downlink synchronization is successfully established, establishing uplink synchronization with the target base station, otherwise, keeping data transmission with the source base station; if the uplink synchronization is successfully established, resetting switching configuration information to the target base station, and stopping receiving the data of the source base station, otherwise, keeping data transmission with the source base station. By adopting the scheme, when receiving the switching notification, the downlink synchronization with the target base station is established first, and because the switching configuration information is not reset, the data transmission can be maintained with the source base station when the downlink synchronization is failed to be established, and then the uplink synchronization with the target base station is established.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 2, fig. 2 is a flowchart of a handover method according to an embodiment of the present invention. The switching method may include steps S21 to S24:
step S21: receiving a switching notification;
step S22: establishing downlink synchronization with a target base station;
step S23: if the downlink synchronization is successfully established, establishing uplink synchronization with the target base station, otherwise, keeping data transmission with the source base station;
step S24: if the uplink synchronization is successfully established, resetting switching configuration information to the target base station, and stopping receiving the data of the source base station, otherwise, keeping data transmission with the source base station.
In the specific implementation of step S21, if the Source eNB sends the handover notification, the terminal may enter the handover execution phase.
The handover notification may be, for example, an RRC Connection Re-config message.
It should be noted that, compared with the prior art, in the embodiment of the present invention, the handover configuration information is not reset first after receiving the handover notification, but downlink synchronization with the target base station is established before resetting the handover configuration information, so that there is an opportunity to maintain connection with the source base station.
In a specific implementation, when the ue receives the handover reconfiguration message and carries the preset field, the ue may be configured to maintain downlink reception of data during the handover process.
The preset field may be a Make-Before-Break (Make-Before-Break) field.
In a specific implementation of step S22, the terminal may perform synchronization with the target cell according to the synchronization information of the target base station.
In this process, the source base station side may select to perform time division scheduling and Transmission Time Interval (TTI) bundling (bundle) feedback or normal scheduling of non-TTI bundle based on Physical Random Access Channel (PRACH) and Physical Downlink Shared Channel (PDSCH) feedback.
In the specific implementation of step S23, if the downlink synchronization establishment fails, the ue may maintain data transmission with the source base station.
Further, after maintaining data transmission with the source base station, the handover method may further include: transmitting a first status report to the source base station.
Specifically, the ue may report a first STATUS report (STATUS PDU) to the source base station, resume normal scheduling of data transmission, and remain in the source cell.
Further, the first status report may be selected from one or more of: RLC status report and PDCP status report.
Wherein, the Radio Link Control protocol (RLC) is used to provide segmentation and retransmission services for users and Control data; the Packet Data Convergence Protocol (PDCP) is used to compress, decompress, and transmit user Data and maintain a sequence number of a radio bearer set for a lossless radio network service subsystem to guarantee an ordered delivery service.
Further, the first status report includes status information of a downlink synchronization failure or an uplink synchronization failure; and/or the first status report comprises a starting point of error data and a data length.
In a specific implementation manner of the embodiment of the present invention, the first status report may include status information of a downlink synchronization failure.
In the embodiment of the invention, the user terminal can report the state information of the downlink synchronization failure to the source base station, so that the source base station can know the downlink synchronization failure of the user terminal, thereby recovering the normal scheduling of data transmission and keeping the user terminal in the source cell.
In another specific implementation manner of the embodiment of the present invention, the first status report may include a starting point of error data and a data length.
Specifically, the first status report may indicate information of the error data, for example, may include a starting point and a data length, and may further include other information for indicating the error data.
In the embodiment of the present invention, the user terminal may report the information of the erroneous data to the source base station, so that the source base station knows that the downlink synchronization of the user terminal fails, and knows which data transmission errors occur, thereby recovering the normal scheduling of data transmission, so that the user terminal remains in the source cell, and may further retransmit the erroneous data, so as to improve the data transmission accuracy.
In a specific implementation, if the downlink synchronization is successfully established, the user equipment may continue to perform the next step, that is, establish uplink synchronization with the target base station.
In the specific implementation of step S24, if the downlink synchronization establishment fails, the ue may maintain data transmission with the source base station.
Further, after maintaining data transmission with the source base station, the handover method may further include: transmitting a first status report to the source base station.
Specifically, the ue may report the first status report to the source base station, resume normal scheduling of data transmission, and remain in the source cell.
Further, the first status report may be selected from one or more of: RLC status report and PDCP status report.
Further, the first status report may include status information of uplink synchronization failure; and/or the first status report comprises a starting point of error data and a data length.
In a specific implementation manner of the embodiment of the present invention, the first status report may include status information of uplink synchronization failure.
In the embodiment of the invention, the user terminal can report the uplink synchronization failure state information to the source base station, so that the source base station can know the uplink synchronization failure of the user terminal, thereby recovering the normal scheduling of data transmission and keeping the user terminal in the source cell.
In another specific implementation manner of the embodiment of the present invention, the first status report may include a starting point of error data and a data length.
Specifically, the first status report may indicate information of the error data, for example, may include a starting point and a data length, and may further include other information for indicating the error data.
In the embodiment of the present invention, the user terminal may report the information of the erroneous data to the source base station, so that the source base station knows that the uplink synchronization of the user terminal fails, and knows which data transmission errors occur, thereby recovering the normal scheduling of data transmission, so that the user terminal remains in the source cell, and may further retransmit the erroneous data, so as to improve the data transmission accuracy.
In a specific implementation, if the uplink synchronization is successfully established, the ue may continue to perform the next step, that is, reset the handover configuration information to the target base station, and stop receiving the data of the source base station.
The handover configuration information is configuration information of parameters applicable to a destination base station, when the handover configuration information is applicable to a source base station, the terminal may receive data of the source base station, and when the handover configuration information is reset to the destination base station, the terminal may not receive the data of the source base station.
Specifically, the step of resetting the handover configuration information may be to cover the configuration information of the source base station with the configuration information of the target base station, or to re-input the configuration information of the target base station after resetting (Reset) the configuration information.
Further, the handover configuration information may be selected from one or more of: MAC configuration information, RLC configuration information, and PDCP configuration information.
The Media Access Control Address (MAC Address) may be used for transceiving, controlling, and retransmitting uplink and downlink data, and the RLC may be used for providing a segmentation and retransmission service for a user and Control data; the PDCP may be used to compress, decompress, transmit user data and maintain sequence numbers of radio bearers set for lossless radio network service subsystems, ensuring ordered delivery of services.
In the embodiment of the invention, when receiving the switching notification, the downlink synchronization with the target base station is established first, and because the switching configuration information is not reset, the downlink synchronization is established in failure, the data transmission with the source base station can be maintained, and further the uplink synchronization with the target base station is established.
Further, if both the downlink synchronization and the uplink synchronization are successfully established, it is determined that the handover is completed, and the handover method may further include: and carrying out data transmission with the target base station according to the reset switching configuration information.
Specifically, in the embodiment of the present invention, the handover configuration information is not reset to the target base station until both the downlink synchronization and the uplink synchronization are successfully established, and the reception of the data of the source base station is stopped, which is beneficial to improving the accuracy of data transmission.
Further, after performing data transmission with the target base station according to the reset handover configuration information, the handover method may further include: and sending a second status report to the target base station.
The ue may report the second status report to the target base station to perform normal scheduling of data transmission with the target base station.
Further, the second status report may be selected from one or more of: RLC status report and PDCP status report.
Further, the second status report may include a starting point of error data and a data length.
Specifically, the second status report may indicate information of the error data, for example, may include a starting point and a data length, and may further include other information for indicating the error data.
In the embodiment of the present invention, the user terminal may report the information of the erroneous data to the target base station, so that the target base station knows the target cell to which the user terminal has switched to the target base station, and knows which data transmission errors, thereby performing normal scheduling of data transmission, and may further retransmit the erroneous data, so as to improve the data transmission accuracy.
In the embodiment of the present invention, after performing data transmission with the target base station according to the reset handover configuration information, a second status report may be sent to the target base station to report a starting point and a data length of erroneous data, so that the target base station knows which data needs to be retransmitted, thereby improving accuracy of data transmission.
Referring to fig. 3, fig. 3 is a flowchart of another handover method according to an embodiment of the present invention. The other switching method may include steps S301 to S308, and the steps are described below.
In step S301, a handover notification is received.
In step S302, downlink synchronization with the target base station is established.
In step S303, it is determined whether downlink synchronization is established successfully; when the judgment result is yes, step S305 may be performed; otherwise, step S304 may be performed.
In step S304, data transmission is maintained with the source base station.
In step S305, uplink synchronization with the target base station is established.
In step S306, it is determined whether uplink synchronization is established successfully; when the judgment result is yes, step S307 may be performed; otherwise, step S304 may be performed.
In step S307, the handover configuration information is reset to the target base station and the data reception of the source base station is stopped.
In step S308, the handover is completed.
In the specific implementation, more details about steps S301 to S308 are performed with reference to the description of steps in fig. 2, and are not described herein again.
Referring to fig. 4, fig. 4 is a flowchart of another handover method according to an embodiment of the present invention. The still another handover method may include steps S401 to S410, and the respective steps are explained below.
In step S401, a handover notification is received.
In step S402, downlink synchronization with the target base station is established.
In step S403, it is determined whether uplink synchronization is established successfully; when the judgment result is yes, step S405 may be performed; otherwise, step S404 may be performed.
In step S404, data transmission is maintained with the source base station.
In step S405, uplink synchronization with the target base station is established.
In step S406, it is determined whether uplink synchronization is successfully established; when the judgment result is yes, step S407 may be performed; otherwise, step S404 may be performed.
In step S407, the handover configuration information is reset to the target base station and the data reception of the source base station is stopped.
In step S408, the handover is completed.
In step S409, a first status report is transmitted to the source base station.
In step S410, a second status report is transmitted to the target base station.
In the specific implementation, more details about steps S401 to S410 are described with reference to steps in fig. 2 and 3 for execution, and are not described herein again.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a switching device according to an embodiment of the present invention. The switching means may comprise:
a receivingmodule 51 adapted to receive a handover notification;
adownlink synchronization module 52 adapted to establish downlink synchronization with the target base station;
anuplink synchronization module 53, adapted to establish uplink synchronization with the target base station when the downlink synchronization is successfully established, and otherwise maintain data transmission with the source base station;
aresetting module 54, adapted to reset the handover configuration information to the target base station when the uplink synchronization is successfully established, and stop receiving the data of the source base station, otherwise, keep data transmission with the source base station.
In the embodiment of the invention, when receiving the switching notification, the downlink synchronization with the target base station is established first, and because the switching configuration information is not reset, the downlink synchronization is established in failure, the data transmission with the source base station can be maintained, and further the uplink synchronization with the target base station is established.
For the principle, specific implementation and beneficial effects of the switching device, please refer to the description related to the switching method shown in fig. 1 to fig. 4, which is not repeated herein.
An embodiment of the present invention further provides a storage medium, on which computer instructions are stored, and when the computer instructions are executed, the steps related to the handover method shown in fig. 1 to 4 are executed. The storage medium may be a computer-readable storage medium, and may include, for example, a non-volatile (non-volatile) or non-transitory (non-transitory) memory, and may further include an optical disc, a mechanical hard disk, a solid state hard disk, and the like.
An embodiment of the present invention further provides a user terminal, which includes a memory and a processor, where the memory stores computer instructions capable of being executed on the processor, and the processor executes the steps related to the handover method shown in fig. 1 to 4 when executing the computer instructions. The user terminal includes, but is not limited to, a mobile phone, a computer, a tablet computer and other terminal devices.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.