Disclosure of Invention
Based on the defects and shortcomings of the prior art, the invention provides a method and a device for switching a serving cell, which can ensure that the serving cell is switched in time and avoid the interruption of terminal service caused by the untimely switching of the serving cell.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for switching a service cell is applied to a base station, and comprises the following steps:
sending measurement configuration information to a terminal, enabling the terminal to continuously monitor the signal intensity of a serving cell and the signal intensity of a set target serving cell when detecting that the signal intensity of the serving cell is smaller than a set first threshold value, and sending the monitored signal intensity information of the serving cell and the set signal intensity information of the target serving cell to the base station according to a set period;
receiving signal intensity information of a serving cell and signal intensity information of a target serving cell sent by a terminal;
calculating to obtain a signal intensity difference between the signal intensity of the serving cell and the signal intensity of the target serving cell according to the signal intensity information of the serving cell and the signal intensity information of the target serving cell;
if the value of the signal intensity difference meets the preset requirement, performing service cell switching preparation processing;
after receiving the switching request information sent by the terminal, if the service cell switching preparation is confirmed to be successful, sending switching reconfiguration information to the terminal, and sending the state information of a Packet Data Convergence Protocol (PDCP) to the target service cell or a base station where the target service cell is located, so that the terminal switches the service cell to the target service cell according to the switching reconfiguration information.
Preferably, the sending measurement configuration information to the terminal, so that the terminal continuously monitors the signal strength of the serving cell and the signal strength of the set target serving cell when detecting that the signal strength of the serving cell is smaller than the set first threshold value, includes:
calculating to obtain a forward adjacent service cell of a service cell when the terminal moves according to the historical information of the terminal and the configuration data in the base station;
and sending measurement configuration information to the terminal, so that the terminal continuously monitors the signal strength of the serving cell and the signal strength of a forward adjacent serving cell of the serving cell when detecting that the signal strength of the serving cell is smaller than a set first threshold value.
Preferably, the method further comprises:
if the preparation for the serving cell switching fails, the preparation for the serving cell switching is performed again, or the set exception processing is performed.
Preferably, the method further comprises:
and if the base station only receives the signal intensity information of the serving cell sent by the terminal and does not receive the signal intensity information of the target serving cell sent by the terminal, performing preset first exception processing when the signal intensity of the serving cell is smaller than a preset first intensity value.
Preferably, the method further comprises:
if the signal intensity of the serving cell sent by the terminal is smaller than a preset second intensity value and the signal intensity of the target serving cell sent by the terminal is larger than a preset third intensity value, the handover request information sent by the terminal is still not received, and then preset second exception processing is performed; wherein the second intensity value is less than the third intensity value.
An apparatus for switching a serving cell, applied to a base station, the apparatus comprising:
the configuration processing unit is used for sending measurement configuration information to a terminal, enabling the terminal to continuously monitor the signal intensity of a serving cell and the signal intensity of a set target serving cell when detecting that the signal intensity of the serving cell is smaller than a set first threshold value, and sending the monitored signal intensity information of the serving cell and the set signal intensity information of the target serving cell to the base station according to a set period;
the data receiving unit is used for receiving the signal intensity information of the serving cell and the signal intensity information of the target serving cell sent by the terminal;
a calculating unit, configured to calculate, according to the signal strength information of the serving cell and the signal strength information of the target serving cell, a signal strength difference between the signal strength of the serving cell and the signal strength of the target serving cell;
the processing unit is used for carrying out service cell switching preparation processing when the value of the signal intensity difference meets a preset requirement;
an information sending unit, configured to send handover reconfiguration information to the terminal and send state information of a packet data convergence protocol PDCP to the target serving cell or a base station where the target serving cell is located, so that the terminal switches the serving cell to the target serving cell according to the handover reconfiguration information, if it is determined that the serving cell handover preparation is successful after receiving the handover request information sent by the terminal.
Preferably, the configuration processing unit sends measurement configuration information to the terminal, so that when the terminal detects that the signal strength of the serving cell is smaller than a set first threshold value, and continuously monitors the signal strength of the serving cell and the signal strength of a set target serving cell, the configuration processing unit is specifically configured to:
calculating to obtain a forward adjacent service cell of a service cell when the terminal moves according to the historical information of the terminal and the configuration data in the base station;
and sending measurement configuration information to the terminal, so that the terminal continuously monitors the signal strength of the serving cell and the signal strength of a forward adjacent serving cell of the serving cell when detecting that the signal strength of the serving cell is smaller than a set first threshold value.
Preferably, the processing unit is further configured to:
if the preparation for the serving cell switching fails, the preparation for the serving cell switching is performed again, or the set exception processing is performed.
Preferably, the data receiving unit is further configured to:
and if the base station only receives the signal intensity information of the serving cell sent by the terminal and does not receive the signal intensity information of the target serving cell sent by the terminal, performing preset first exception processing when the signal intensity of the serving cell is smaller than a preset first intensity value.
Preferably, the information sending unit is further configured to:
if the signal intensity of the serving cell sent by the terminal is smaller than a preset second intensity value and the signal intensity of the target serving cell sent by the terminal is larger than a preset third intensity value, the handover request information sent by the terminal is still not received, and then preset second exception processing is performed; wherein the second intensity value is less than the third intensity value.
The technical scheme of the invention is that before the terminal sends a switching request to the base station, the base station configures the terminal to monitor the signal intensity of the service cell and the signal intensity of the set target service cell and periodically reports the signal intensity information of the service cell and the target service cell, the base station can constantly observe the measurement data of the terminal in a switching zone, and the base station determines whether to carry out preparation processing for switching the service cell according to the signal intensities of the service cell and the target service cell. Therefore, when the terminal initiates the service cell switching request, the base station finishes the service cell switching preparation processing, and can directly execute the service cell switching, so that the service cell switching speed is higher and more timely, and the service interruption of the terminal caused by the untimely service cell switching is avoided.
Detailed Description
The technical scheme of the embodiment of the invention is suitable for the application scene of the terminal switching service cell in urban rail transit. By adopting the technical scheme of the embodiment of the invention, the terminal can be ensured to be faster and more timely when the service cell is switched.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a method for switching a service cell, which is applied to a base station and shown in figure 1, and comprises the following steps:
s101, sending measurement configuration information to a terminal, enabling the terminal to continuously monitor the signal intensity of a serving cell and the signal intensity of a set target serving cell when detecting that the signal intensity of the serving cell is smaller than a set first threshold value, and sending the monitored signal intensity information of the serving cell and the set signal intensity information of the target serving cell to a base station according to a set period;
specifically, as the terminals in the train move with the train, the terminals may shuttle to different serving cells. When the terminal is in a certain serving cell, the signal strength of the serving cell detected by the terminal changes with the movement of the terminal due to the mobility of the terminal, and when the terminal detects that the signal strength of the current serving cell is weak, the serving cell should be switched to ensure the continuity of terminal services. Therefore, the terminal should monitor the signal quality of the serving cell in real time so as to switch to the serving cell with better signal quality in time when the signal quality of the serving cell is degraded.
The embodiment of the invention sets that the base station configures the measurement information for the terminal, namely sets the time when the terminal monitors the signal strength of which service cells. Specifically, in the embodiment of the present invention, it is configured that the base station sends the measurement configuration information to the terminal, and instructs the terminal to start to continuously monitor the signal strength of the serving cell where the terminal is located and the signal strength of the set target serving cell when detecting that the signal strength of the serving cell where the terminal is located is smaller than the set first threshold, and instruct the terminal to send the monitored signal strength information of the serving cell where the terminal is located and the monitored signal strength information of the target serving cell to the base station.
The set target serving cell specifically refers to a target serving cell for the terminal to perform serving cell handover preselected by the base station according to the moving route of the terminal.
S102, receiving signal intensity information of a serving cell and signal intensity information of a target serving cell, which are sent by a terminal;
s103, calculating to obtain a signal intensity difference between the signal intensity of the serving cell and the signal intensity of the target serving cell according to the signal intensity information of the serving cell and the signal intensity information of the target serving cell;
specifically, the terminal gradually moves away from the current serving cell and enters the target serving cell along with the movement of the train in which the terminal is located. In this process, the signal strength of the current serving cell received by the base station becomes weaker, and the signal strength of the target serving cell becomes stronger. Therefore, the signal strength difference between the signal strength of the current serving cell and the signal strength of the target serving cell varies with the movement of the terminal. In the embodiment of the present invention, whenever the base station receives the signal strength information of the serving cell and the signal strength information of the target serving cell once, the signal strength difference between the signal strength of the serving cell and the signal strength of the target serving cell is calculated once.
If the value of the signal intensity difference meets the preset requirement, executing step S104 and carrying out service cell switching preparation processing;
specifically, the above-mentioned meeting the preset requirement means that the value of the signal strength difference is within a preset value range.
In the embodiment of the present invention, when the difference between the signal strength value of the serving cell where the terminal is currently located and the signal strength value of the target serving cell is within the preset value range, the base station performs the serving cell handover preparation process.
After the preparation for the service cell handover is successful, if receiving the handover request information sent by the terminal, executing step S105, sending handover reconfiguration information to the terminal, and sending status information of a packet data convergence protocol PDCP to the target service cell or the base station where the target service cell is located, so that the terminal switches the service cell to the target service cell according to the handover reconfiguration information.
Specifically, the handover reconfiguration information is obtained by the base station from the target serving cell or the base station where the target serving cell is located in the serving cell handover preparation process. And the base station sends the switching reconfiguration information to the terminal, so that the terminal is switched to the target serving cell which finishes the switching preparation according to the information.
Meanwhile, according to the Protocol requirement, the base station sends the state information of a Packet Data Convergence Protocol (PDCP) to the target serving cell or the base station where the target serving cell is located, so that the target serving cell or the base station where the target serving cell is located is ready to receive the serving cell switching of the terminal according to the state information.
The embodiment of the invention sets that before the terminal sends the switching request to the base station, the base station configures the terminal to monitor the signal intensity of the service cell and the signal intensity of the set target service cell and periodically reports the signal intensity information of the service cell and the target service cell, the base station can observe the measurement data of the terminal in the switching zone at any time, and the base station determines whether to carry out the preparation processing of the switching of the service cell according to the signal intensities of the service cell and the target service cell. Therefore, when the terminal initiates the service cell switching request, the base station finishes the service cell switching preparation processing, and can directly execute the service cell switching, so that the service cell switching speed is higher and more timely, and the service interruption of the terminal caused by the untimely service cell switching is avoided.
Corresponding to the method for switching the serving cell shown in fig. 1, the embodiment of the present invention also discloses a method for switching a serving cell applied to a terminal. It can be understood that the method for switching serving cells disclosed in the embodiment of the present invention is performed by a terminal corresponding to a base station that performs the technical solution shown in fig. 1. Referring to fig. 2, a method for switching serving cells applied to a terminal disclosed in the embodiment of the present invention includes:
when detecting that the signal strength of the serving cell is smaller than a set first threshold value, executing step S201, and continuously monitoring the signal strength of the serving cell and the signal strength of the target serving cell;
the terminal comprises a fixed communication terminal on the train, a handheld communication terminal used by train staff and a communication terminal held by a train user.
The serving cell refers to a serving cell in which the terminal is located when the train moves to a certain location, that is, a serving cell that provides communication service for the terminal at the present time.
The target serving cell is a serving cell selected by the base station for the terminal and switched to during serving cell switching. According to the embodiment of the invention, when the terminal detects that the signal intensity of the current service cell is smaller than the set first threshold value, the signal intensities of the service cell and the target service cell set by the base station are continuously and simultaneously monitored.
S202, sending the monitored signal intensity information of the serving cell and the monitored signal intensity information of the target serving cell to a base station according to a set period, and enabling the base station to start serving cell switching preparation work according to the signal intensity information of the serving cell and the signal intensity information of the target serving cell;
specifically, the terminal sends the monitored signal strength information of the serving cell and the signal strength information of the target serving cell to the base station in a periodic measurement reporting mode. And the base station determines whether to start the preparation work of the service cell switching according to the received signal strength information of the service cell and the target service cell.
When the signal strength of the serving cell is smaller than a set second threshold value, executing step S203, and sending handover request information to the base station; wherein the second threshold value is less than the first threshold value;
specifically, the second threshold value is a signal strength threshold value smaller than the first threshold value. When the terminal detects that the signal intensity of the current service cell is reduced to a second threshold value from a first threshold value, the service cell switching is started, and at the moment, switching request information is sent to the base station to request for switching the service cell.
S204, receiving the switching reconfiguration information sent by the base station, and switching the service cell to the target service cell according to the switching reconfiguration information.
Specifically, the handover reconfiguration information is obtained by the base station from the target serving cell or the base station where the target serving cell is located in the serving cell handover preparation process. After receiving the switching reconfiguration information sent by the base station, the terminal can switch to the target serving cell according to the received switching reconfiguration information to complete the serving cell switching.
The embodiment of the invention sets that before the terminal sends the switching request to the base station, the terminal periodically reports the signal intensity information of the serving cell and the target serving cell, and the base station determines whether to carry out the preparation processing of the switching of the serving cell or not according to the signal intensity of the serving cell and the target serving cell. Therefore, when the terminal initiates the service cell switching request, the base station finishes the service cell switching preparation processing, and can directly execute the service cell switching, so that the service cell switching speed is higher and more timely, and the service interruption of the terminal caused by the untimely service cell switching is avoided.
The solutions shown in fig. 1 and fig. 2 are solutions for performing a serving cell handover on the base station side and the terminal side, respectively. In fact, when the terminal switches the serving cell, the terminal and the base station are required to cooperate to complete the serving cell switching. Fig. 3 shows a specific implementation procedure of the method for switching serving cells disclosed in conjunction with the embodiments of the present invention shown in fig. 1 and fig. 2. Referring to fig. 3, a method for switching a serving cell disclosed in the embodiment of the present invention specifically includes:
s301, the base station calculates to obtain a forward adjacent service cell of the service cell when the terminal moves according to the historical information of the terminal and the configuration data in the base station;
specifically, in the normal connection communication process between the base station and the terminal, the base station may record history information of the terminal and record configuration data information, and according to the recorded history information of the terminal and configuration data inside the base station, the base station may calculate a forward neighboring serving cell of the serving cell where the terminal is located when moving. It can be understood that the forward neighboring serving cell is a handover target serving cell when the terminal performs cell handover.
S302, the base station sends measurement configuration information to the terminal;
specifically, the measurement configuration information is used to instruct the terminal to continuously monitor the signal strength of the serving cell and the signal strength of the set target serving cell when detecting that the signal strength of the serving cell is smaller than the set first threshold, and send the monitored signal strength information of the serving cell and the set signal strength information of the target serving cell to the base station.
Specifically, as the terminals in the train move with the train, the terminals may shuttle to different serving cells. When the terminal is in a certain serving cell, the signal strength of the serving cell detected by the terminal changes with the movement of the terminal due to the mobility of the terminal, and when the terminal detects that the signal strength of the current serving cell is weak, the serving cell should be switched to ensure the continuity of terminal services. Therefore, the terminal should monitor the signal quality of the serving cell in real time so as to switch to the serving cell with better signal quality in time when the signal quality of the serving cell is degraded.
The embodiment of the invention sets that the base station configures the measurement information for the terminal, namely sets the time when the terminal monitors the signal strength of which service cells. Specifically, in the embodiment of the present invention, it is configured that the base station sends the measurement configuration information to the terminal, and instructs the terminal to start to continuously monitor the signal strength of the serving cell where the terminal is located and the signal strength of the set target serving cell when detecting that the signal strength of the serving cell where the terminal is located is smaller than the set first threshold, and instruct the terminal to send the monitored signal strength information of the serving cell where the terminal is located and the monitored signal strength information of the target serving cell to the base station.
It should be noted that, the base station configures the terminal to report the signal strength information of the serving cell and the target serving cell according to the above-mentioned manner, and actually configures the terminal to perform periodic measurement reporting. And the terminal executes periodic measurement reporting according to a mode configured by the base station, namely, signal strength information of the monitored serving cell and the target serving cell according to a set period.
The set target serving cell specifically refers to a target serving cell for the terminal to perform serving cell handover preselected by the base station according to the moving route of the terminal.
For the selection of the target serving cell, an alternative mode is that the base station selects a serving cell which is forward adjacent to the serving cell where the terminal is currently located as the target serving cell. The forward adjacent serving cell refers to a serving cell adjacent to the serving cell where the terminal is located in the direction in which the terminal moves. The terminal moves along with the running of the train, so that the terminal is certainly separated from the current service cell along the moving direction of the terminal, and therefore, the embodiment of the invention selects the forward adjacent service cell as the target service cell, can ensure that the terminal is switched to the correct service cell, and avoids the influence on the communication service of the terminal due to the error of the switched service cell. At this time, when the base station instructs the terminal to continuously monitor the signal strengths of the serving cell and the target serving cell, specifically, the terminal continuously monitors the signal strengths of the serving cell and the forward neighboring serving cell of the serving cell.
The terminal detects the signal intensity of the current serving cell, and when the signal intensity of the serving cell is detected to be smaller than a set first threshold value, the step S303 is executed to continuously monitor the signal intensity of the serving cell and the signal intensity of a target serving cell;
specifically, the terminal includes a fixed communication terminal on the train, a handheld communication terminal used by train staff, and a communication terminal held by a train user.
The serving cell refers to a serving cell in which the terminal is located when the train moves to a certain location, that is, a serving cell that provides communication service for the terminal at the present time.
The target serving cell is a serving cell to which the base station selects to perform serving cell handover for the terminal. According to the embodiment of the invention, when the terminal detects that the signal intensity of the current serving cell is smaller than the set first threshold value, the signal intensities of the serving cell and the target serving cell are continuously and simultaneously monitored.
S304, the terminal sends the monitored signal intensity information of the serving cell and the monitored signal intensity information of the target serving cell to a base station according to a set period;
specifically, the terminal sends the monitored signal strength information of the serving cell and the signal strength information of the target serving cell to the base station in a periodic measurement reporting mode. In the process that the terminal continuously monitors the signal strength of the serving cell and the target serving cell, the terminal sends the monitored signal strength information of the serving cell and the monitored signal strength information of the target serving cell to the base station whenever a cycle time node is reached; and then, continuing to monitor the signal strength of the serving cell and the target serving cell, and when the next cycle time node is reached, sending the signal strength information of the monitored serving cell and the target serving cell to the base station by the terminal, and so on.
S305, the base station receives the signal intensity information of the serving cell and the signal intensity information of the target serving cell sent by the terminal;
s306, the base station calculates the signal intensity difference between the signal intensity of the serving cell and the signal intensity of the target serving cell according to the received signal intensity information of the serving cell and the signal intensity information of the target serving cell;
specifically, the terminal gradually moves away from the current serving cell and enters the target serving cell along with the movement of the train in which the terminal is located. In this process, the signal strength of the current serving cell received by the base station becomes weaker, and the signal strength of the target serving cell becomes stronger. Therefore, the signal strength difference between the signal strength of the current serving cell and the signal strength of the target serving cell varies with the movement of the terminal. The embodiment of the invention sets that when the base station receives the signal strength information of the serving cell and the target serving cell once, the signal strength difference between the signal strength of the serving cell and the signal strength of the target serving cell is calculated once.
In another embodiment of the present invention, it is further configured that if the base station receives only the signal strength information of the serving cell sent by the terminal, but does not receive the signal strength information of the target serving cell sent by the terminal, and does not receive the signal strength information of the target serving cell sent by the terminal until the signal strength of the serving cell is smaller than a preset first strength value, the base station performs a preset first exception processing;
specifically, if only the signal strength information of the serving cell where the terminal is currently located is reported in the periodic reporting process of the terminal, but the signal strength information of the target serving cell is not reported all the time, and the reported signal strength of the current serving cell is getting weaker, it indicates that the terminal does not monitor the radio signal of the target serving cell, and a typical fault is that the radio frequency unit RRU is abnormal in operation. And when the base station receives that the signal intensity of the current service cell reported by the terminal is smaller than a preset first intensity value, the base station executes preset first exception processing. The first exception handling is a handling procedure set in advance for the exception condition.
If the value of the signal intensity difference calculated by the base station meets the preset requirement, the base station executes the step S307 and performs service cell switching preparation processing;
specifically, the above-mentioned meeting the preset requirement means that the value of the signal strength difference is within a preset value range.
In the embodiment of the present invention, when the difference between the signal strength value of the serving cell where the terminal is currently located and the signal strength value of the target serving cell is within the preset value range, the base station performs the serving cell handover preparation process.
For example, when the signal strength of the current serving cell of the terminal is close to or equal to the signal strength of the target serving cell, that is, when the value of the signal strength difference calculated in step S306 is small or 0, the serving cell handover preparation process may be started.
The embodiment of the invention prepares to set the starting condition for the service cell switching, and particularly sets the starting condition according to the difference between the signal intensity of the current cell of the terminal and the signal intensity of the target service cell. Since the execution timing of the serving cell handover preparation can be freely set, it is possible to set the start of the serving cell handover preparation in advance. The effect is equivalent to that in the prior art, the preparation process of the service cell switching after the terminal initiates the service cell switching request is put before the terminal formally initiates the service cell switching request, so that the switching process can be directly executed after the terminal initiates the service cell switching request, the service cell switching is more timely, and the service interruption is avoided.
In the process of handover preparation, the base station first determines whether the target serving cell is an intra-base-station cell or an inter-base-station cell, and for the inter-base-station cell, determines the X2 and S1 interface states, determines intra-selection/S1/X2 handover, and normally selects S1 handover for inter-station handover. Secondly, the base station sends a switching preparation request message to the target base station or the target service cell, and when the target base station or the target service cell receives the request message, the target base station or the target service cell configures a radio bearer and a forwarding bearer locally, and returns a response message.
Fig. 4 shows a processing flow of the serving cell handover preparation, and referring to fig. 4, a process of the serving cell handover preparation specifically includes:
s401, a switching source base station or a switching source service cell sends switching request information to a switching target base station or a switching target service cell, wherein the switching request information carries a history information list of a terminal;
s402, after receiving the switching request information, the switching target base station or the switching target service cell determines a moving route of the terminal before the service cell is switched according to a terminal history information list carried in the switching request information;
s403, determining a measurement target cell by the switching target base station or the switching target service cell according to the moving route of the terminal, the adjacent cell relation maintained by local configuration and a related algorithm;
s404, the switching target base station or the switching target service cell constructs measurement configuration and switching reconfiguration information according to the determined measurement target cell;
s405, the switching target base station or the switching target service cell sends response information to the switching source base station or the switching source service cell; and if the configuration is successful in the switching target base station or the switching target service cell, sending switching success information, and if the configuration is failed in the switching target base station or the switching target service cell, sending switching failure information.
If the preparation for switching the service cell by the base station fails, the base station executes the step S308, and performs the preparation for switching the service cell again or performs the set abnormal processing;
specifically, since the serving cell handover preparation process is moved to before the terminal initiates the serving cell handover request in the embodiment of the present invention, when the base station fails to perform the serving cell handover preparation, sufficient time is available for performing the remedy, and the specific remedy includes performing the serving cell handover preparation process again or performing the set exception process directly, and also can set the number of times of repeatedly performing the serving cell handover preparation process. One typical cause of the failure of the preparation for serving cell handover is that the base station of the target serving cell operates abnormally, and in this case, the exception handling may be to handover the terminal to an adjacent standby cell.
The technical scheme of the embodiment of the invention ensures that the base station has sufficient time to remedy when the preparation for the service cell switching fails, thereby basically ensuring the success of the preparation for the service cell switching.
In the process of preparing for switching the service cell by the base station, when the terminal detects that the signal intensity of the current service cell is smaller than a set second threshold value, the terminal executes the step S309 and sends switching request information to the base station;
specifically, the second threshold value is a signal strength threshold value smaller than the first threshold value. When the terminal detects that the signal intensity of the current service cell is reduced to a second threshold value from a first threshold value, the service cell switching is started, and at the moment, switching request information is sent to the base station to request for switching the service cell.
The handover request information is not necessarily the request information, but may be handover event information agreed between the terminal and the base station, and the nature of the handover request information is handover intention information. For example, assume that the terminal and the base station agree that when the terminal detects that the signal strength of the current serving cell is lower than the set threshold, the signal strength information of the serving cell is sent to the base station, and the base station immediately starts to prepare for the terminal to switch the serving cell. Then, when the base station receives the signal strength information, it may be determined that the signal strength of the serving cell where the terminal is located is weak, and the serving cell needs to be switched for the terminal, and at this time, the base station starts the processing of switching the serving cell for the terminal. In the above description, the handover event information agreed by the terminal and the base station, although not the explicit handover request information, has a similar function to the handover request information, so that the base station can determine the intention of the terminal to handover to the serving cell. For convenience of unified presentation, the handover intention information is collectively referred to as handover request information in the embodiments of the present invention.
The terminal sends the handover request information to the base station, which is also referred to as the terminal executing event measurement reporting in the embodiment of the present invention, where the event measurement reporting refers to sending the event measurement reporting information to the base station when the terminal detects that the signal strength of the current serving cell meets the requirement of switching the serving cell, so as to notify the base station that the terminal needs to switch the serving cell, that is, sending the handover request information. And the base station performs service cell switching according to the event measurement report information sent by the terminal.
After receiving the handover request information sent by the terminal, the base station firstly confirms whether the handover preparation of the serving cell is successful, if the handover preparation is successful, the base station executes step S310, sends handover reconfiguration information to the terminal, and sends the state information of the packet data convergence protocol PDCP to the target serving cell or the base station where the target serving cell is located;
specifically, the handover reconfiguration information is obtained by the base station from the target serving cell or the base station where the target serving cell is located in the serving cell handover preparation process. And the base station sends the switching reconfiguration information to the terminal, so that the terminal is switched to the target serving cell which finishes the switching preparation according to the information.
Meanwhile, according to the Protocol requirement, the base station sends the state information of a Packet Data Convergence Protocol (PDCP) to the target serving cell or the base station where the target serving cell is located, so that the target serving cell or the base station where the target serving cell is located is ready to receive the serving cell switching of the terminal according to the state information.
In another embodiment of the present invention, it is further configured that, if the signal strength of the serving cell sent by the terminal is smaller than the preset second strength value and the signal strength of the target serving cell sent by the terminal is greater than the preset third strength value, the handover request information sent by the terminal is still not received, a preset second exception handling is performed;
specifically, as the terminal moves, the signal strength of the current serving cell reported by the terminal becomes weaker and weaker, and the signal strength of the target serving cell becomes stronger and stronger. The embodiment of the invention sets the second intensity value to be smaller than the third intensity value, when the signal intensity of the serving cell is smaller than the preset second intensity value and the signal intensity of the target serving cell is larger than the preset third intensity value, the terminal actually reaches the situation that the serving cell needs to be switched, at this time, if the base station does not receive the switching request information sent by the terminal, the cell measurement configuration may be in a problem or the terminal works abnormally, and the base station performs the preset second abnormal processing to eliminate the fault. The preset second exception handling is a countermeasure set in advance, for example, a forced triggering of serving cell handover, and the like.
S311, the terminal receives the switching reconfiguration information sent by the base station, and switches the serving cell to the target serving cell according to the received switching reconfiguration information.
Specifically, after receiving the handover reconfiguration information sent by the base station, the terminal may switch to the target serving cell according to the received handover reconfiguration information, thereby completing the serving cell handover.
As can be seen from the above description, in the embodiments of the present invention, before the terminal sends the handover request to the base station, the base station configures the terminal to monitor the signal strength of the serving cell and the signal strength of the set target serving cell, and periodically reports the signal strength information of the serving cell and the target serving cell, and the base station determines whether to perform the preparation process for handover of the serving cell according to the signal strengths of the serving cell and the target serving cell. Therefore, when the terminal initiates the service cell switching request, the base station finishes the service cell switching preparation processing, and can directly execute the service cell switching, so that the service cell switching speed is higher and more timely, and the service interruption of the terminal caused by the untimely service cell switching is avoided.
Fig. 5 is a schematic structural diagram of an apparatus for switching a serving cell according to an embodiment of the present invention, where the apparatus is applied to a terminal, and includes:
a signal monitoring unit 100, configured to continuously monitor a signal strength of a serving cell and a signal strength of a target serving cell when it is detected that the signal strength of the serving cell is smaller than a set first threshold;
a data sending unit 110, configured to send the monitored signal strength information of the serving cell and the monitored signal strength information of the target serving cell to a base station according to a set period, so that the base station starts a serving cell handover preparation according to the signal strength information of the serving cell and the signal strength information of the target serving cell;
a request sending unit 120, configured to send handover request information to the base station when the signal strength of the serving cell is smaller than a set second threshold; wherein the second threshold value is less than the first threshold value;
the handover processing unit 130 is configured to receive the handover reconfiguration information sent by the base station, and switch the serving cell to the target serving cell according to the handover reconfiguration information.
When the signal monitoring unit 100 continuously monitors the signal strength of the serving cell and the signal strength of the target serving cell, the following steps are specifically performed: the signal strength of the serving cell and the signal strength of the forward neighbor serving cell are continuously monitored.
For details of the operation of each unit in the above embodiments, please refer to the contents of the above method embodiments, which are not described herein again.
Fig. 6 is another apparatus for switching serving cells, which is applied to a base station and includes:
a configuration processing unit 200, configured to send measurement configuration information to a terminal, so that when detecting that the signal strength of a serving cell is smaller than a set first threshold, the terminal continuously monitors the signal strength of the serving cell and the signal strength of a set target serving cell, and sends the monitored signal strength information of the serving cell and the set signal strength information of the target serving cell to the base station according to a set period;
a data receiving unit 210, configured to receive signal strength information of a serving cell and signal strength information of a target serving cell sent by a terminal;
a calculating unit 220, configured to calculate, according to the signal strength information of the serving cell and the signal strength information of the target serving cell, a signal strength difference between the signal strength of the serving cell and the signal strength of the target serving cell;
a processing unit 230, configured to perform serving cell handover preparation processing when the value of the signal strength difference meets a preset requirement;
an information sending unit 240, configured to send handover reconfiguration information to the terminal and send status information of a packet data convergence protocol PDCP to the target serving cell or a base station where the target serving cell is located, so that the terminal switches the serving cell to the target serving cell according to the handover reconfiguration information, if it is determined that the serving cell handover preparation is successful after receiving the handover request information sent by the terminal.
The configuration processing unit 200 sends measurement configuration information to the terminal, so that when the terminal detects that the signal strength of the serving cell is smaller than the set first threshold value, and continuously monitors the signal strength of the serving cell and the signal strength of the set target serving cell, the configuration processing unit is specifically configured to:
calculating to obtain a forward adjacent service cell of a service cell when the terminal moves according to the historical information of the terminal and the configuration data in the base station; and sending measurement configuration information to the terminal, so that the terminal continuously monitors the signal strength of the serving cell and the signal strength of a forward adjacent serving cell of the serving cell when detecting that the signal strength of the serving cell is smaller than a set first threshold value.
The processing unit 230 is also configured to perform the serving cell handover preparation process again or perform the set exception process if the serving cell handover preparation fails.
The data receiving unit 210 is further configured to: and if the base station only receives the signal intensity information of the serving cell sent by the terminal and does not receive the signal intensity information of the target serving cell sent by the terminal, performing preset first exception processing when the signal intensity of the serving cell is smaller than a preset first intensity value.
The information sending unit 240 is further configured to: if the signal intensity of the serving cell sent by the terminal is smaller than a preset second intensity value and the signal intensity of the target serving cell sent by the terminal is larger than a preset third intensity value, the handover request information sent by the terminal is still not received, and then preset second exception processing is performed; wherein the second intensity value is less than the third intensity value.
For details of the operation of each unit in the above embodiments, please refer to the contents of the above method embodiments, which are not described herein again.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.