Cell switching method and device, electronic equipment and storage medium
By predicting the next location and historical resident cell information of the terminal, the cell handover process is optimized, and the problem of low switching efficiency caused by the large number of neighboring cells is solved, and the handover efficiency and user experience are improved.
Patent Information
- Application Number
- CN202410140052.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2025-08-01
AI Technical Summary
During cell handover, when the number of adjacent cells is large, the measurement time increases, which affects the user experience and leads to inefficient handover efficiency.
By obtaining the terminal's current location and cell information, using the location prediction model to predict the next location, and determining the historical resident cell information, determining the target cell based on the service cell and historical cell information, and switching from the historical resident cell is preferred.
Improves the efficiency of cell handover, reduces measurement time, and improves user experience.
Smart Images

Figure CN120416951A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of mobile terminals, and in particular, to a method, apparatus, electronic device, and storage medium for cell handover. Background Art
[0002] Cell switching refers to the process of a mobile terminal switching from one cell to another, which usually occurs when the mobile terminal moves to a new geographical location. After receiving a measurement instruction sent by a base station, the mobile terminal measures the network quality of adjacent cells included in the measurement instruction and determines the cell to be switched according to the measurement results. Summary of the Invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a method, apparatus, electronic device, and storage medium for cell handover.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for cell handover is provided. The method includes: obtaining first location information of a terminal at a current location and first cell information of a serving cell where the terminal currently camps; determining second location information of the terminal after the next movement according to the first location information; determining second cell information of a historical camping cell where the terminal camped when it was in a target area within a historical period, where the target area is an area within a preset range corresponding to the second location information; and determining a target cell to be switched by the terminal according to the first cell information and the second cell information.
[0005] Optionally, the determining the target cell to be switched by the terminal according to the first cell information and the second cell information includes: determining a cell determination result according to the first cell information and the second cell information, where the cell determination result is used to indicate whether the serving cell is included in the historical camping cells; and determining the target cell to be switched by the terminal according to the cell determination result and the second cell information.
[0006] Optionally, the determining the target cell to be switched by the terminal according to the cell determination result and the second cell information includes: in a case where the cell determination result indicates that the serving cell is not included in the historical camping cells, if a cell measurement instruction sent by a network device is received, determining the target cell to be switched by the terminal according to the cell measurement instruction and the second cell information.
[0007] Optionally, the cell measurement instruction includes third cell information of a plurality of neighboring cells to be measured by the terminal. Determining the target cell to be switched by the terminal according to the cell measurement instruction and the second cell information includes: taking the intersection of the plurality of neighboring cells and the historical resident cell according to the second cell information and the third cell information to obtain candidate cells; and determining the target cell to be switched by the terminal according to the candidate cells.
[0008] Optionally, determining the target cell to be switched by the terminal according to the candidate cells includes: obtaining a signal quality measurement value of the candidate cells; and taking the candidate cells as the target cells when the signal quality measurement value meets a preset handover condition.
[0009] Optionally, the method further includes: increasing the signal quality measurement value according to a preset signal quality value; and taking the candidate cells as the target cells when the signal quality measurement value meets a preset handover condition includes: taking the candidate cells as the target cells when the increased signal quality measurement value meets a preset handover condition.
[0010] Optionally, the method further includes: when the cell determination result indicates that the serving cell is included in the historical resident cell, if a cell measurement instruction sent by a network device is received, controlling the terminal to camp on the current serving cell.
[0011] Optionally, determining the second location information where the terminal is located after the next movement according to the first location information includes: inputting the first location information into a pre-trained location prediction model to obtain the second location information output by the location prediction model.
[0012] Optionally, the location prediction model is trained by the following method: obtaining a plurality of historical location information corresponding to the cells where the terminal camps during a historical time period; training a preset training model according to the plurality of historical location information, and using the trained preset training model as the location prediction model.
[0013] Optionally, the method further includes: determining the number of locations of the plurality of historical location information; and training a preset training model according to the plurality of historical location information, and using the trained preset training model as the location prediction model includes: training a preset training model according to the plurality of historical location information and using the trained preset training model as the location prediction model when the number of locations reaches a target threshold.
[0014] Optionally, the method further includes: increasing the target threshold value according to a preset adjustment value, using the increased target threshold value as a new target threshold value, and using the location prediction model as a new preset training model; repeatedly executing the step of, when the number of locations reaches the target threshold value, training a preset training model according to the multiple historical location information, and using the trained preset training model as the location prediction model; and increasing the target threshold value according to a preset adjustment value, using the increased target threshold value as a new target threshold value, and using the location prediction model as a new preset training model.
[0015] According to a second aspect of the embodiments of the present disclosure, there is provided a handover device for a cell, the device including: an acquisition module configured to acquire first location information of a terminal currently located and first cell information of a serving cell where the terminal is currently camped;
[0016] a first determination module configured to determine second location information of the terminal after the next movement according to the first location information;
[0017] a second determination module configured to determine second cell information of a historical camped cell where the terminal camped in a target area during a historical time, the target area being an area within a preset range corresponding to the second location information;
[0018] a third determination module configured to determine a target cell to be handed over by the terminal according to the first cell information and the second cell information.
[0019] Optionally, the third determination module is configured to determine a cell determination result according to the first cell information and the second cell information, the cell determination result being used to represent whether the serving cell is included in the historical camped cells; and determine the target cell to be handed over by the terminal according to the cell determination result and the second cell information.
[0020] Optionally, the third determination module is configured to, when the cell determination result represents that the serving cell is not included in the historical camped cells, if receiving a cell measurement instruction sent by a network device, determine the target cell to be handed over by the terminal according to the cell measurement instruction and the second cell information.
[0021] Optionally, the cell measurement instruction includes third cell information of a plurality of adjacent cells to be measured by the terminal, and the third determination module is configured to take an intersection of the plurality of adjacent cells and the historical camped cells according to the second cell information and the third cell information to obtain candidate cells; and determine the target cell to be handed over by the terminal according to the candidate cells.
[0022] Optionally, the third determination module is configured to obtain a signal quality measurement value of the candidate cell; and in a case where the signal quality measurement value meets a preset handover condition, use the candidate cell as the target cell.
[0023] Optionally, the third determination module is configured to increase the signal quality measurement value according to a preset signal quality value; and in a case where the increased signal quality measurement value meets a preset handover condition, use the candidate cell as the target cell.
[0024] Optionally, the apparatus further comprises:
[0025] a control module configured to, in a case where the cell determination result indicates that the serving cell is included in the historical resident cells, control the terminal to reside in the current serving cell if a cell measurement instruction sent by a network device is received.
[0026] Optionally, the first determination module is configured to input the first location information into a pre-trained location prediction model to obtain the second location information output by the location prediction model.
[0027] Optionally, the location prediction model is trained by the following method:
[0028] Obtain a plurality of historical location information corresponding to the cells where the terminal has resided during a historical time period;
[0029] Train a preset training model according to the plurality of historical location information, and use the trained preset training model as the location prediction model.
[0030] Optionally, the method further comprises:
[0031] Determine the number of locations of the plurality of historical location information;
[0032] The step of training a preset training model according to the plurality of historical location information and using the trained preset training model as the location prediction model comprises:
[0033] In a case where the number of locations reaches a target threshold value, train a preset training model according to the plurality of historical location information, and use the trained preset training model as the location prediction model.
[0034] Optionally, the method further comprises:
[0035] Increase the target threshold value according to a preset adjustment value, use the increased target threshold value as a new target threshold value, and use the location prediction model as a new preset training model;
[0036] Repeatedly execute the step of training a preset training model according to the multiple historical location information when the number of the positions reaches a target threshold value, and using the trained preset training model as the location prediction model; and increase the target threshold value by a preset adjustment value, using the increased target threshold value as a new target threshold value, and using the location prediction model as a new preset training model.
[0037] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing executable instructions executable by the processor; wherein, the processor is configured to implement the steps of the cell handover method provided in the first aspect of the present disclosure when calling the executable instructions stored on the memory.
[0038] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the cell handover method provided in the first aspect of the present disclosure are implemented.
[0039] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: First, obtain the first location information of the terminal's current location and the first cell information of the serving cell where the terminal currently camps. Then, determine the second location information where the terminal will be located after the next movement according to the first location information. After that, determine the second cell information of the historical camping cell where the terminal camped when it was in the target area within the historical time, and the target area is an area within a preset range corresponding to the location of the second location information. Finally, determine the target cell to be handed over by the terminal according to the first cell information and the second cell information. Through the above solution, it is possible to predict in advance the second location information where the terminal will be located after the next movement according to the current first location information. And determine the second cell information of the historical camping cell where the terminal camped when it was near the location corresponding to the second location information within the historical time, so as to determine the target cell to be handed over by the terminal according to the first cell information of the serving cell and the second cell information of the historical camping cell. In this way, since the historical camping cell that the terminal may camp in at the next location is predicted in advance, it is ensured that the terminal can preferentially determine the target cell from the historical camping cells, assisting the terminal in cell handover and improving the efficiency of cell handover.
[0040] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.
[0042] Figure 1 It is a flowchart of a cell handover method shown according to an exemplary embodiment.
[0043] Figure 2 It is a flowchart of another cell handover method shown according to an exemplary embodiment.
[0044] Figure 3 It is a flowchart of another cell handover method shown according to an exemplary embodiment.
[0045] Figure 4 It is a flowchart of another cell handover method shown according to an exemplary embodiment.
[0046] Figure 5 It is a flowchart of another cell handover method shown according to an exemplary embodiment.
[0047] Figure 6 It is a flowchart of a cell handover method shown according to an exemplary embodiment.
[0048] Figure 7 It is a block diagram of a cell handover device shown according to an exemplary embodiment.
[0049] Figure 8 It is a block diagram of another cell handover device shown according to an exemplary embodiment.
[0050] Figure 9 It is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed implementation
[0051] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0052] It should be noted that all actions of obtaining signals, information, or data in the present disclosure are carried out on the premise of complying with the corresponding data protection regulations and policies of the country where it is located and obtaining authorization from the owner of the corresponding device.
[0053] The terms "first", "second", etc. in the specification and claims of this application and the above drawings are used to distinguish similar objects and do not necessarily need to be understood as a specific order or sequence. In addition, in the description with reference to the drawings, the same reference numerals in different drawings represent the same elements.
[0054] In the description of the present disclosure, unless otherwise specified, "a plurality of" means two or more, and other quantifiers are similar; "at least one (piece)", "one (piece) or more (pieces)" or similar expressions refer to any combination of these items (pieces), including any combination of a single item (piece) or plural items (pieces). For example, at least one (piece) of a can represent any number of a; for another example, one (piece) or more (pieces) of a, b, and c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or plural; "and / or" is a relationship describing associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. Here, A and B can be singular or plural. The character " / " indicates that the associated objects before and after are in an "or" relationship.
[0055] Before introducing a cell handover method, apparatus, electronic device, and storage medium provided by the present disclosure, the application scenarios involved in each embodiment of the present disclosure will be introduced first. The present disclosure is applied to the cell handover scenario. In this scenario, when a mobile terminal moves to a new geographical location, in order to ensure the communication quality of the mobile terminal, the base station will send a cell measurement instruction to the mobile terminal, and the cell measurement instruction contains adjacent cells to be detected by the mobile terminal. The mobile terminal detects the network quality of all adjacent cells one by one according to the cell measurement instruction, and determines the cell to be handed over from the adjacent cells. However, the inventors found that in the above scenario, when the number of adjacent cells is large, the measurement time will also increase accordingly, thereby increasing the cell handover time and affecting the user experience to a certain extent.
[0056] To solve the above technical problems, the present invention provides a cell handover method, apparatus, electronic device, and storage medium, which can predict in advance the second position information where the terminal will be located after the next movement according to the current first position information. And determine the second cell information of the historical resident cell where the terminal stayed near the position corresponding to the second position information within the historical time, so as to determine the target cell to be handed over by the terminal according to the first cell information of the serving cell and the second cell information of the historical resident cell. In this way, since the historical resident cell where the terminal may stay at the next position is predicted in advance, it is ensured that the terminal can preferentially determine the target cell from the historical resident cells, assisting the terminal in cell handover and improving the efficiency of cell handover.
[0057] The following will describe the specific embodiments of the present invention in detail with reference to the accompanying drawings.
[0058] Figure 1It is a flowchart of a handover method for a cell shown according to an exemplary embodiment. This method can be used in a terminal, which can be an electronic device with the ability to camp on a network, such as a mobile terminal like a smart phone, a tablet computer, a smart watch, etc., or can also be a vehicle-mounted device with the ability to camp on a network, such as Figure 1 As shown, the method may include the following steps.
[0059] In step S101, obtain the first location information where the terminal is currently located and the first cell information of the serving cell on which the terminal is currently camping.
[0060] Wherein, the cell information may include the identification information (ID) of the cell and the frequency point information.
[0061] Specifically, the first location information where the terminal is currently located and the first cell information of the serving cell on which the terminal is currently camping can be obtained periodically.
[0062] In a possible implementation manner, obtaining the first location information and the first cell information periodically may be obtaining the first location information and the first cell information according to a preset collection period, and the preset collection period can be specifically set according to the actual situation.
[0063] In another possible implementation, obtaining the first location information and the first cell information of the terminal in this embodiment can be used, on the one hand, to subsequently determine the second location information where the terminal is located after its next movement, and on the other hand, can also be used as a training sample for training the location prediction model (wherein, the second location information where the terminal is located after its next movement can be obtained by inputting the first location information into the location prediction model). To improve the accuracy of model prediction, the location prediction model can be periodically trained and optimized by collecting the first location information of the terminal during use, so that the location prediction model has the ability to predict the movement location corresponding to the terminal. Considering that as the usage time of the terminal increases, the terminal has accumulated a relatively large amount of first location information and first cell information that can comprehensively reflect the user's movement range. At this time, in order to reduce the power consumption of the terminal and save the computing power of the terminal, as the usage time of the terminal increases, the collection period of the first location information and the first cell information can be gradually increased, that is, the collection frequency of the first location information and the first cell information can be reduced. Specifically, periodically obtaining the first location information and the first cell information can be to obtain the first location information and the first cell information according to a target collection period, and the target collection period can be determined according to a first preset correspondence on the one hand. Among them, the first preset correspondence includes the correspondence between the cumulative usage time of the terminal and the collection period, and the cumulative usage time of the terminal can be understood as the time period between the moment when the terminal is first activated and used after leaving the factory and the current moment. The target collection period can also be determined according to a second preset correspondence on the other hand, wherein the second preset correspondence includes the correspondence between the training times of the location prediction model and the collection period. In this embodiment, the location prediction model can be periodically trained and optimized. Correspondingly, whether to increase the collection period of data can be determined by counting the training times of the location prediction model.
[0064] In another possible implementation, considering that in some scenarios, the user may stay at the same location for a long time without significant movement over a large range. For example, during working hours, the user may stay within the workplace for a long time. If the first location information and the first cell information of the terminal are frequently collected at this time, it will increase the energy consumption of the terminal, and the collected data has a high degree of repetition, resulting in a certain degree of waste of resources. Therefore, in this embodiment, it is also possible to determine whether the moving distance corresponding to the first cell information collected within a preset continuous time exceeds a preset moving range. If it does not exceed the preset moving range, it indicates that the user has not made a large-scale movement within a period of time, and the collection period of the terminal can be increased. Among them, the method of increasing the collection period of the terminal can be increased according to a preset value, or can be increased according to a third preset correspondence relationship (the third preset correspondence relationship can include the correspondence relationship between the moving distance and the collection period), or can also be other methods that can increase the collection period. If it exceeds the preset moving range, it indicates that the user has made a large-scale movement within a period of time. At this time, the current collection period can be continued, or restored to the initial collection period, so as to achieve the purpose of flexible sample collection and minimize the energy consumption of the terminal while ensuring the accuracy of data collection.
[0065] It should be noted that the above first preset correspondence relationship, second preset correspondence relationship, and third preset correspondence relationship can all be specifically set in advance according to different scenarios, and the present disclosure does not make specific limitations on this. Moreover, the above implementation methods can be implemented separately or in combination, and the present disclosure does not make specific limitations on this.
[0066] In step S102, according to the first position information, determine the second position information where the terminal will be located after the next movement.
[0067] In this embodiment, the first position information can be input into a pre-trained position prediction model to obtain the second position information output by the position prediction model. The second position information is the position where the terminal may be located after the next movement predicted.
[0068] Among them, the location prediction model can be obtained by training a preset training model according to a plurality of historical location information corresponding to the cells where the terminal has stayed in the historical time. The structure of the preset training model can be, for example, an RNN (Recurrent Neural Networks) structure or an LSTM (Long Short-Term Memory) structure. It can be understood that for the same user, there will be some fixed movement paths during the daily use of the terminal, such as the path from the unit to home, the path from home to school, and so on. In this embodiment, the location prediction model can be used to identify the fixed movement path of the terminal.
[0069] Exemplarily, a Data Collection Service can be established on the terminal side. This service periodically obtains the location information of the terminal (i.e., historical location information) and stores it in a database (such as an SQLite database). Then, the preset training model can be trained according to the historical location information stored in the database to obtain the location prediction model. In one possible implementation, the preset training model can be deployed on the terminal side to directly implement the training of the preset training model on the terminal. In another possible implementation, the terminal side can also send the historical location information stored in the database to the server, and the server can implement the training of the preset training model. After the location prediction model is obtained after the training is completed, the location prediction model is pushed to the corresponding terminal side.
[0070] In step S103, determine the second cell information of the historical resident cell where the terminal stays in the target area during the historical time.
[0071] Among them, the historical time can be a time period between the current moment and any historical moment. For example, the historical time can be within one month before the current moment. The target area is an area within a preset range corresponding to the position of the second position information.
[0072] Exemplarily, when periodically obtaining the location information of the terminal, the cell where the terminal currently stays (i.e., the historical resident cell) can be obtained at the same time and stored in the database. After predicting the second position information where the terminal will be located after the next movement, the cell information of all cells within the radius R of the location of the second position information (i.e., within the target area) can be queried from the database to obtain the second cell information of the historical resident cell.
[0073] In step S104, determine the target cell to be switched by the terminal according to the first cell information and the second cell information.
[0074] Exemplarily, based on the first cell information and the second cell information, it can be determined whether the serving cell is included in the historical resident cells. If the historical serving cell includes the current serving cell, it indicates that when the terminal is at the second location information, it is still within the coverage area of the serving cell. At this moment, the current process can be terminated, that is, the subsequent handover process is not performed. If the historical serving cell does not include the current serving cell, it indicates that when the terminal is at the second location information, it is no longer within the coverage area of the serving cell. At this time, in order to ensure the communication quality of the terminal, the target cell to be handed over by the terminal can be preferentially determined from the historical resident cells. In this way, when the terminal is on a fixed moving path, the method provided in this embodiment can assist in cell handover. Since the historical resident cells are the cells where the terminal stayed when passing through the fixed moving path in the historical time, preferentially determining the target cell to be handed over from the historical resident cells can improve the efficiency of cell handover, and thus improve the user experience.
[0075] By using the above method, the second location information where the terminal will be located after the next movement can be predicted in advance according to the current first location information. And the second cell information of the historical resident cells where the terminal stayed near the location corresponding to the second location information during the historical time can be determined, so as to determine the target cell to be handed over by the terminal according to the first cell information of the serving cell and the second cell information of the historical resident cells. In this way, since the historical resident cells where the terminal may stay at the next location are predicted in advance, it is ensured that the terminal can preferentially determine the target cell from the historical resident cells, assist the terminal in cell handover, and improve the efficiency of cell handover.
[0076] The training method of the above location prediction model will be described in detail below. The location prediction model can be trained on the terminal side or on the server side. The present disclosure does not make specific limitations on this. As Figure 2 shown, the location prediction model can be trained in the following manner:
[0077] S1, obtain a plurality of historical location information corresponding to the cells where the terminal stayed during the historical time.
[0078] The terminal side can periodically obtain the location information of the terminal and the cell information of the cell where the current location is located, and store them in the database to obtain a plurality of historical location information.
[0079] In a possible implementation manner, if the location prediction model is trained on the terminal side, a plurality of historical location information corresponding to the cells where the terminal stayed during the historical time stored in the database can be obtained.
[0080] In another possible implementation, if the location prediction model is trained on the server side, the terminal side can periodically send the historical location information stored in the database to the server, and the server stores the received historical location information. It should be noted that since the movement paths of different terminals have obvious individual differences, and in this embodiment, the data used for training the model are all single-user data, while the server may often need to undertake the training tasks of models corresponding to multiple terminals. Therefore, the server side can create a separate data table for each terminal according to the identifier of the terminal (such as the IMEI number (International Mobile Equipment Identity)) to store the corresponding historical location information.
[0081] S2. Train a preset training model according to the multiple historical location information, and use the trained preset training model as the location prediction model.
[0082] Exemplarily, the historical location information at time t can be used as the input, and the historical location information at time t + 1 can be used as the output, so as to obtain multiple sample inputs and multiple sample outputs. Train the preset training model according to the multiple sample inputs and multiple sample outputs, and after the model converges, use the trained preset training model as the location prediction model.
[0083] As Figure 3 shown, this training step may further include:
[0084] S3. Determine the number of locations of the multiple historical location information.
[0085] Correspondingly, S2. Train a preset training model according to the multiple historical location information, and use the trained preset training model as the location prediction model includes: when the number of locations reaches the target threshold, train the preset training model according to the multiple historical location information, and use the trained preset training model as the location prediction model.
[0086] In this step, in order to improve the efficiency and accuracy of model training, the preset training model can be trained according to the historical location information after the historical location information has accumulated to a certain amount. Exemplarily, after the terminal has completely collected the location information of one day, the preset training model can be trained according to the historical location information stored in the database to obtain the location prediction model.
[0087] It can be understood that during use, the historical location information of the terminal is continuously increasing. In order to improve the prediction accuracy of the location prediction model, the location prediction model can also be trained periodically. Specifically, as Figure 4 shown, this training step may further include:
[0088] S4. Increase the target threshold value according to a preset adjustment value, use the increased target threshold value as the new target threshold value, and use the location prediction model as the new preset training model.
[0089] S5. Repeat the steps of: when the number of locations reaches the target threshold value, training the preset training model according to the multiple historical location information, and using the trained preset training model as the location prediction model; and increasing the target threshold value according to the preset adjustment value, using the increased target threshold value as the new target threshold value, and using the location prediction model as the new preset training model.
[0090] That is to say, in this embodiment, the preset training model can be periodically trained as the historical location information increases, so as to improve the prediction accuracy of the location prediction model.
[0091] The following will give a detailed description of the above step S104. As Figure 5 shown, the steps of determining the target cell to be handed over by the terminal according to the first cell information and the second cell information in step S104 may include the following steps:
[0092] In step S1041, determine a cell determination result according to the first cell information and the second cell information.
[0093] The cell determination result is used to represent whether the serving cell is included in the historical resident cell.
[0094] Exemplarily, if there is the same first cell information and second cell information, it indicates that the historical serving cell is included in the historical resident cell; if there is no same first cell information and second cell information, it indicates that the serving cell is not included in the historical resident cell.
[0095] In step S1042, determine the target cell to be handed over by the terminal according to the cell determination result and the second cell information.
[0096] In this step, when the cell determination result represents that the serving cell is not included in the historical resident cell, if a cell measurement instruction sent by the network device is received, determine the target cell to be handed over by the terminal according to the cell measurement instruction and the second cell information.
[0097] It should be noted that since the step of location prediction and the cell measurement instruction sent by the network device may not occur at the same time, the historical resident cell can be stored locally when the cell determination result represents that the serving cell is not included in the historical resident cell, so that when the cell measurement instruction sent by the network device is received later, the historical resident cell can be retrieved from the local.
[0098] Among them, the cell measurement instruction (such as the RRC Connection Reconfigurtion message) is sent by the network device and includes third cell information of multiple neighboring cells to be measured by the terminal, which is used to instruct the terminal to perform network quality measurement on the multiple neighboring cells according to the cell measurement instruction. Generally, the cell handover process includes the following steps: measurement, reporting, decision-making, and execution. The network device sends a cell measurement instruction to the terminal, the terminal measures the neighboring cells according to the cell measurement instruction, and reports the measurement results to the network device; the network device generates a cell handover instruction according to the measurement results and sends it to the terminal; finally, the terminal executes the cell handover instruction to switch the terminal from the current serving cell to the target cell.
[0099] In the related art, if the terminal receives a cell measurement instruction sent by the network device, it will directly perform network quality measurement on all neighboring cells included in the cell measurement instruction. In this embodiment, in order to improve the efficiency of cell handover, when receiving the cell measurement instruction sent by the network device, the intersection of the multiple neighboring cells and the historical resident cell can be obtained according to the second cell information and the third cell information to obtain candidate cells. Among them, obtaining the candidate cells by taking the intersection of the multiple neighboring cells and the historical resident cell according to the second cell information and the third cell information can be executed by the modem side of the terminal. Then, the target cell to be handed over by the terminal can be determined according to the candidate cells. Since the number of cells that need to perform network quality measurement is reduced, the cell handover time is also shortened.
[0100] Specifically, the signal quality measurement value of the candidate cell can be obtained, that is, the network quality of each candidate cell is detected. The signal quality measurement value can include, for example but not limited to, one or more of the RSRQ value (Reference Signal Received Quality), the RSRP value (Reference Signal Receiving Power), and the RSSI value (Received Signal Strength Indication). Then, when the signal quality measurement value meets the preset handover condition, the candidate cell is used as the target cell. Among them, the preset handover condition can include that the signal quality measurement value is greater than or equal to the preset signal quality value. When there are multiple candidate cells that meet the preset handover condition, the candidate cell with the largest signal quality measurement value can be used as the target cell. In this embodiment, when the signal quality measurement value meets the preset handover condition, the measurement result of the target cell can be sent to the network device, so that the network device generates a cell handover instruction and sends it to the terminal. Then, the terminal can switch from the current serving cell to the target cell according to the cell handover instruction.
[0101] In addition, considering that the terminal may have resided in the candidate cell once or multiple times during the historical time, the reliability and trustworthiness of the candidate cell are relatively high. To accelerate cell handover, the signal quality measurement value can also be increased according to the preset signal quality value. Correspondingly, when the increased signal quality measurement value meets the preset handover condition, the candidate cell is used as the target cell. In this way, it can be ensured that the terminal can preferentially reside in the candidate cell. When the candidate cell meets the preset handover condition, the terminal does not need to detect the remaining adjacent cells, shortening the measurement time of the terminal for the cell and improving the efficiency of cell handover.
[0102] If the signal quality measurement value of the candidate cell does not meet the preset handover condition, the remaining cells in the adjacent cells except the candidate cell can be measured to determine a target cell that meets the preset handover condition from the remaining cells, ensuring the communication quality of the terminal.
[0103] In some embodiments, when the cell determination result indicates that the serving cell is included in the historical resident cells, if a cell measurement instruction sent by the network device is received, the terminal is controlled to reside in the current serving cell. That is, when the cell determination result indicates that the serving cell is included in the historical resident cells, it can be determined that when the terminal is at the second location information, it is still within the coverage area of the serving cell. Then, at this time, the cell handover process can be not continued, and the terminal is kept residing in the current serving cell.
[0104] By adopting the above method, the second position information where the terminal will be located after the next movement can be predicted in advance according to the current first position information. And when it is determined that the terminal is located near the position corresponding to the second position information within the historical time, the second cell information of the historical resident cell where the terminal stays is determined, so as to determine the target cell to be switched by the terminal according to the first cell information of the serving cell and the second cell information of the historical resident cell. In this way, since the historical resident cell where the terminal may stay at the next position is predicted in advance, it is ensured that the terminal can preferentially determine the target cell from the historical resident cells, assisting the terminal in cell switching and improving the efficiency of cell switching.
[0105] Figure 6 It is a flowchart of a cell handover method shown according to an exemplary embodiment. As Figure 6 shown, taking the position prediction model trained by the server as an example for illustration, the method may include the following steps:
[0106] In step S201, the first position information of the terminal and the first cell information of the serving cell where the terminal stays are periodically collected and stored in the database.
[0107] Among them, the database contains multiple historical position information and corresponding historical cell information within the historical time.
[0108] In step S202, it is determined whether there is a trained position prediction model.
[0109] In the case of determining that there is a trained position prediction model, step S203 is executed;
[0110] In the case of determining that there is no trained position prediction model, step S204 is executed.
[0111] In step S203, the first position information is input into the position prediction model to obtain the second position information where the terminal will be located after the next movement output by the position prediction model.
[0112] In step S204, when the historical position information stored in the database reaches the target threshold, the historical position information is sent to the server so that the server trains the preset training model according to the historical position information to obtain the position prediction model.
[0113] In addition, after the server completes the training of the model, the position prediction model is sent to the terminal.
[0114] In step S205, the target threshold is increased.
[0115] Among them, the target threshold can be increased according to the preset adjustment value, and the increased target threshold is used as the new target threshold.
[0116] It should be noted that, when it is determined that there is a trained location prediction model, steps S204 - S205 can also be cyclically executed to achieve periodic optimization of the location prediction model.
[0117] In step S206, second cell information of the historical resident cell where the historical location information is located within the preset range corresponding to the second location information of the terminal within the historical time is obtained from the database.
[0118] In step S207, according to the first cell information and the second cell information, it is determined whether the historical resident cell includes the serving cell.
[0119] When it is determined that the historical resident cell includes the serving cell, step S208 is executed;
[0120] When it is determined that the historical resident cell does not include the serving cell, step S209 is executed.
[0121] In step S208, if a cell measurement instruction sent by the network device is received, the terminal is controlled to reside in the current serving cell.
[0122] In step S209, if a cell measurement instruction sent by the network device is received, the intersection of the multiple neighboring cells and the historical resident cell is taken according to the second cell information and the third cell information to obtain candidate cells.
[0123] Among them, the cell measurement instruction includes third cell information of the multiple neighboring cells to be measured by the terminal.
[0124] In step S210, a signal quality measurement value of the candidate cell is obtained, and the signal quality measurement value is increased according to a preset signal quality value.
[0125] In step S211, when the increased signal quality measurement value meets the preset handover condition, the candidate cell is used as the target cell to be handed over.
[0126] In step S212, the cell measurement result of the target cell is sent to the network device so that the network device generates a corresponding cell handover instruction.
[0127] Among them, the cell measurement result is the signal quality measurement value of the target cell.
[0128] In step S213, if a cell handover instruction sent by the network device is received, the terminal is switched from the serving cell to the target cell.
[0129] Regarding the method in the above embodiments, the specific ways of performing operations in each step have been described in the relevant Figures 1 to 5The embodiments of this method are described in detail, and will not be elaborated here.
[0130] By using the above method, the second location information where the terminal will be located after the next movement can be predicted in advance according to the current first location information. And when it is determined that the terminal is located near the location corresponding to the second location information within the historical time, the second cell information of the historical resident cell where the terminal stays is determined, so as to determine the target cell to be switched by the terminal according to the first cell information of the serving cell and the second cell information of the historical resident cell. In this way, since the historical resident cell where the terminal may stay at the next location is predicted in advance, it is ensured that the terminal can preferentially determine the target cell from the historical resident cells, assisting the terminal in cell switching and improving the efficiency of cell switching.
[0131] Figure 7 It is a block diagram of a cell switching device shown according to an exemplary embodiment. As Figure 7 shown, the device 300 includes:
[0132] An acquisition module 301, configured to acquire the first location information where the terminal is currently located and the first cell information of the serving cell where the terminal is currently resident;
[0133] A first determination module 302, configured to determine the second location information where the terminal will be located after the next movement according to the first location information;
[0134] A second determination module 303, configured to determine the second cell information of the historical resident cell where the terminal stays when it is in the target area within the historical time, where the target area is an area within a preset range of the location corresponding to the second location information;
[0135] A third determination module 304, configured to determine the target cell to be switched by the terminal according to the first cell information and the second cell information.
[0136] Optionally, the third determination module 304 is configured to determine a cell determination result according to the first cell information and the second cell information, where the cell determination result is used to indicate whether the serving cell is included in the historical resident cell; and determine the target cell to be switched by the terminal according to the cell determination result and the second cell information.
[0137] Optionally, the third determination module 304 is configured to, when the cell determination result indicates that the serving cell is not included in the historical resident cell, if a cell measurement instruction sent by the network device is received, determine the target cell to be switched by the terminal according to the cell measurement instruction and the second cell information.
[0138] Optionally, the cell measurement instruction includes third cell information of a plurality of neighboring cells to be measured by the terminal. The third determination module 304 is configured to intersect the plurality of neighboring cells and the historical resident cell according to the second cell information and the third cell information to obtain candidate cells; and determine a target cell to be handed over by the terminal according to the candidate cells.
[0139] Optionally, the third determination module 304 is configured to obtain a signal quality measurement value of the candidate cell; and use the candidate cell as the target cell when the signal quality measurement value meets a preset handover condition.
[0140] Optionally, the third determination module 304 is configured to increase the signal quality measurement value according to a preset signal quality value; and use the candidate cell as the target cell when the increased signal quality measurement value meets a preset handover condition.
[0141] Optionally, as Figure 8 shown, the apparatus 300 further includes:
[0142] A control module 305, configured to control the terminal to reside in the current serving cell if a cell measurement instruction sent by a network device is received when the cell determination result indicates that the serving cell is included in the historical resident cell.
[0143] Optionally, the first determination module 302 is configured to input the first location information into a pre-trained location prediction model to obtain the second location information output by the location prediction model.
[0144] Optionally, the location prediction model is trained by the following method:
[0145] Obtain a plurality of historical location information corresponding to the cells where the terminal has resided during a historical time period;
[0146] Train a preset training model according to the plurality of historical location information, and use the trained preset training model as the location prediction model.
[0147] Optionally, the method further includes:
[0148] Determine the number of locations of the plurality of historical location information;
[0149] The training the preset training model according to the plurality of historical location information and using the trained preset training model as the location prediction model includes:
[0150] When the number of locations reaches a target threshold, train the preset training model according to the plurality of historical location information, and use the trained preset training model as the location prediction model.
[0151] Optionally, the method further includes:
[0152] Increasing the target threshold value according to a preset adjustment value, using the increased target threshold value as the new target threshold value, and using the location prediction model as the new preset training model;
[0153] Repeating the steps of: when the number of locations reaches the target threshold value, training a preset training model according to the multiple historical location information, and using the trained preset training model as the location prediction model; and increasing the target threshold value according to the preset adjustment value, using the increased target threshold value as the new target threshold value, and using the location prediction model as the new preset training model.
[0154] By using the above device, the second location information where the terminal will be located after the next movement can be predicted in advance according to the current first location information. And when it is determined that the terminal is located near the location corresponding to the second location information within the historical time, the second cell information of the historical resident cell where it stays is determined, so as to determine the target cell to be switched by the terminal according to the first cell information of the serving cell and the second cell information of the historical resident cell. In this way, since the historical resident cell where the terminal may stay at the next location is predicted in advance, it is ensured that the terminal can preferentially determine the target cell from the historical resident cells, assisting the terminal in cell switching and improving the efficiency of cell switching.
[0155] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment related to the method, and will not be elaborated here.
[0156] The present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the cell switching method provided by the present disclosure are implemented.
[0157] Figure 9 FIG. 400 is a block diagram of an electronic device 400 shown according to an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0158] Referring to Figure 9 , the electronic device 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an input / output interface 412, a sensor component 414, and a communication component 416.
[0159] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the cell handover method described above. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0160] The memory 404 is configured to store various types of data to support the operation of the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0161] The power component 406 provides power to various components of the electronic device 400. The power component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 400.
[0162] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the electronic device 400 is in an operation mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each of the front camera and the rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0163] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, the audio component 410 further includes a speaker for outputting audio signals.
[0164] The input / output interface 412 provides an interface between the processing component 402 and a peripheral interface module, and the peripheral interface module may be a keyboard, a click wheel, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
[0165] The sensor component 414 includes one or more sensors for providing an assessment of various aspects of the status of the electronic device 400. For example, the sensor component 414 can detect the on / off state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400. The sensor component 414 can also detect a change in the position of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor component 414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 414 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 414 can further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0166] The communication component 416 is configured to facilitate communication between the electronic device 400 and other devices in a wired or wireless manner. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0167] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for performing the cell handover method described above.
[0168] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the above instructions can be executed by a processor 420 of the electronic device 400 to complete the cell handover method described above. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0169] In addition to being an independent electronic device, the above device may also be a part of an independent electronic device. For example, in one embodiment, the device may be an integrated circuit (IC) or a chip. The integrated circuit may be a single IC or a collection of multiple ICs; the chip may include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above integrated circuit or chip may be used to execute executable instructions (or code) to implement the cell handover method described above. The executable instructions may be stored in the integrated circuit or chip, or may be obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions may be stored in the memory, and when the executable instructions are executed by the processor, the cell handover method described above is implemented; or, the integrated circuit or chip may receive the executable instructions through the interface and transmit them to the processor for execution to implement the cell handover method described above.
[0170] In another exemplary embodiment, a computer program product is also provided, which includes a computer program executable by a programmable device, and the computer program has a code portion for performing the above-described cell handover method when executed by the programmable device.
[0171] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include well-known common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0172] It should be understood that the present disclosure is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A handover method for a cell, characterized in that The method includes: Obtaining first location information of the terminal's current location and first cell information of the serving cell where the terminal is currently camped; Determining second location information where the terminal will be located after its next movement according to the first location information; Determining second cell information of a historical camped cell where the terminal was camped in a target area during a historical time, where the target area is an area within a preset range corresponding to the location of the second location information; Determining a target cell to be switched by the terminal according to the first cell information and the second cell information.
2. The method according to claim 1, characterized in that, The determining the target cell to be switched by the terminal according to the first cell information and the second cell information includes: Determining a cell determination result according to the first cell information and the second cell information, where the cell determination result is used to indicate whether the serving cell is included in the historical camped cells; Determining the target cell to be switched by the terminal according to the cell determination result and the second cell information.
3. The method according to claim 2, wherein The determining the target cell to be switched by the terminal according to the cell determination result and the second cell information includes: In the case where the cell determination result indicates that the serving cell is not included in the historical camped cells, if a cell measurement instruction sent by a network device is received, determining the target cell to be switched by the terminal according to the cell measurement instruction and the second cell information.
4. The method according to claim 3, characterized in that, The cell measurement instruction includes third cell information of a plurality of neighboring cells to be measured by the terminal, and the determining the target cell to be switched by the terminal according to the cell measurement instruction and the second cell information includes: Taking the intersection of the plurality of neighboring cells and the historical camped cells according to the second cell information and the third cell information to obtain candidate cells; Determining the target cell to be switched by the terminal according to the candidate cells.
5. The method according to claim 4, characterized in that, The determining the target cell to be switched by the terminal according to the candidate cells includes: Obtaining a signal quality measurement value of the candidate cell; In the case where the signal quality measurement value meets a preset handover condition, using the candidate cell as the target cell.
6. The method according to claim 5, wherein The method further includes: Increasing the signal quality measurement value according to a preset signal quality value; The using the candidate cell as the target cell in the case where the signal quality measurement value meets a preset handover condition includes: In the case where the increased signal quality measurement value meets a preset handover condition, using the candidate cell as the target cell.
7. The method according to claim 2, characterized in that, The method further includes: In the case where the cell determination result indicates that the serving cell is included in the historical camped cells, if a cell measurement instruction sent by a network device is received, controlling the terminal to camp on the current serving cell.
8. The method according to any one of claims 1 to 7, characterized in that, The determining the second location information where the terminal will be located after its next movement according to the first location information includes: Inputting the first location information into a pre-trained location prediction model to obtain the second location information output by the location prediction model.
9. The method according to claim 8, wherein The location prediction model is trained through the following method: Obtaining a plurality of historical location information corresponding to the cells where the terminal was camped during a historical time; Train a preset training model according to the multiple pieces of historical location information, and use the trained preset training model as the location prediction model.
10. The method according to claim 9, wherein The method further includes: Determine the number of locations of the multiple pieces of historical location information; The step of training a preset training model according to the multiple pieces of historical location information and using the trained preset training model as the location prediction model includes: When the number of locations reaches a target threshold, train a preset training model according to the multiple pieces of historical location information, and use the trained preset training model as the location prediction model.
11. The method according to claim 10, wherein The method further includes: Increase the target threshold by a preset adjustment value, use the increased target threshold as the new target threshold, and use the location prediction model as the new preset training model; Repeat the step of training a preset training model according to the multiple pieces of historical location information and using the trained preset training model as the location prediction model when the number of locations reaches the target threshold; and repeat the step of increasing the target threshold by a preset adjustment value, using the increased target threshold as the new target threshold, and using the location prediction model as the new preset training model.
12. A handover device for a cell, characterized in that, The apparatus includes: An acquisition module configured to acquire first location information of the terminal's current location and first cell information of the serving cell where the terminal is currently camped; A first determination module configured to determine second location information of the terminal after its next movement according to the first location information; A second determination module configured to determine second cell information of historical camped cells when the terminal was in a target area during a historical time period, where the target area is an area within a preset range corresponding to the location of the second location information; A third determination module configured to determine a target cell to be switched by the terminal according to the first cell information and the second cell information.
13. An electronic device, characterized in that, Includes: A processor; A memory for storing executable instructions that can be executed by the processor; Wherein, the processor is configured to implement the steps of the method according to any one of claims 1 to 11 when calling the executable instructions stored on the memory.
14. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, the steps of the method according to any one of claims 1 to 11 are implemented.