Cell switching method and device, terminal and API (Application Program Interface) server

By introducing an API server to transmit measurement reports between the terminal and the network device, the problem of the terminal being unable to switch cells due to the lack of response from the network device is solved, and the communication quality is improved.

CN120751448APending Publication Date: 2025-10-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510943248.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-08
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

The terminal frequently reports neighboring cell measurement reports but the network equipment does not respond, resulting in the terminal being unable to switch to a suitable cell, causing communication quality to deteriorate and network disconnection.

Method used

When the communication between the terminal and the network device is interrupted, by adding a network API, the API server is used to transmit the measurement report to determine the target cell, thereby realizing data transmission between the terminal and the network device, ensuring that the network device receives the measurement report and selects the appropriate cell for switching.

Benefits of technology

The communication quality of the terminal is improved, and the communication interruption caused by the failure of network equipment to respond and the problem of the terminal staying in an abnormal cell for a long time are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120751448A_ABST
    Figure CN120751448A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a cell switching method, which is applied to a terminal and comprises the following steps: under the condition of determining that network equipment meets the condition that the network equipment cannot respond to the measurement report of the terminal, acquiring the measurement report of the terminal, constructing the measurement report to obtain an API (Application Program Interface) request, sending the API request to an API server through a network API of the terminal, and receiving a target cell, and switching to the target cell. The embodiment of the invention further provides a cell switching device, the terminal and the API server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to communication technology, and in particular to a cell switching method, device, terminal and application programming interface (API) server. Background Art

[0002] In mobile networks, there are situations where terminals frequently report neighboring cell measurements but the network equipment does not respond. Because the terminal cannot predict the load of the target cell, there is a certain probability that it will escape to the target cell with good signal quality but congestion, which ultimately does not improve the terminal's network status. In addition, actively escaping due to Radio Link Failure (RLF) can also cause a period of network disconnection.

[0003] As a result, the terminal stays in an abnormal cell for a long time and cannot switch to another cell, or even loses connection and has to search for a new network, thereby affecting the communication quality of the terminal. Summary of the Invention

[0004] The embodiments of the present application provide a cell switching method, device, terminal and API server, which can improve the communication quality of the terminal.

[0005] The technical solution of this application is achieved as follows:

[0006] In a first aspect, an embodiment of the present application provides a cell handover method, which is applied in a terminal and includes:

[0007] When it is determined that the network device meets the condition of being unable to respond to the measurement report of the terminal, obtaining the measurement report of the terminal;

[0008] Constructing the measurement report to obtain an API request;

[0009] The API request is sent to an API server through a network API of the terminal; the API server is configured to send a measurement report obtained by parsing the API request to the network device to determine a target cell;

[0010] Receive the target cell and switch to the target cell.

[0011] In a second aspect, an embodiment of the present application provides a cell switching method, which is applied to an API server and includes:

[0012] Receive API requests from the terminal;

[0013] Parsing the API request to obtain a measurement report reported by the terminal to the network device;

[0014] The measurement report is sent to the network device; the network device is configured to determine a target cell based on the measurement report, and send the target cell to the terminal, so that the terminal switches to the target cell.

[0015] In a third aspect, an embodiment of the present application provides a cell switching device, which is provided in a terminal and includes:

[0016] an acquiring module, configured to acquire the measurement report of the terminal when it is determined that the network device meets the condition of not responding to the measurement report of the terminal;

[0017] A construction module, configured to construct the measurement report and obtain an API request;

[0018] A first sending module is configured to send the API request to an API server through a network API of the terminal; the API server is configured to send a measurement report obtained by parsing the API request to the network device to determine a target cell;

[0019] The switching module is configured to receive the target cell and switch to the target cell.

[0020] In a fourth aspect, an embodiment of the present application provides a cell switching device, which is provided in an API server and includes:

[0021] Receiving module, used to receive API requests from the terminal;

[0022] A parsing module, configured to parse the API request and obtain a measurement report reported by the terminal to the network device;

[0023] The second sending module is configured to send the measurement report to the network device; the network device is configured to determine a target cell based on the measurement report, and send the target cell to the terminal, so that the terminal switches to the target cell.

[0024] In a fifth aspect, an embodiment of the present application provides a terminal, a processor, and a storage medium storing instructions executable by the processor; the storage medium relies on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the cell switching method performed by the terminal in one or more of the above-mentioned embodiments is executed.

[0025] In a sixth aspect, an embodiment of the present application provides an API server, comprising: a processor and a storage medium storing instructions executable by the processor; the storage medium relies on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the cell switching method performed by the API server in one or more of the above-mentioned embodiments is executed.

[0026] In a seventh aspect, an embodiment of the present application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processor executes the cell switching method described in one or more embodiments.

[0027] An embodiment of the present application provides a cell switching method, device, terminal and API server, which is applied to the terminal, including: when it is determined that the network device meets the condition that it cannot respond to the measurement report of the terminal, obtaining the measurement report of the terminal, constructing the measurement report, obtaining an API request, and sending the API request to the API server through the network API of the terminal. The API server is used to send the measurement report obtained by parsing the API request to the network device to determine the target cell, receive the target cell, and switch to the target cell; that is, in an embodiment of the present application, by adding a network API to the terminal, in addition to direct communication between the terminal and the network device, data can also be transmitted through the API server. Then, if the network device does not receive the measurement report reported by the terminal, the measurement report can be transmitted through the API server, so that the network device can receive the measurement report reported by the terminal, and select a suitable cell for switching for the terminal based on the measurement report, so that the terminal can smoothly switch to the appropriate cell, thereby improving the communication quality of the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic structural diagram of an optional cell switching system provided in an embodiment of the present application;

[0029] Figure 2 A schematic diagram of the process interaction of an optional cell switching method provided in an embodiment of the present application;

[0030] Figure 3 A schematic diagram of an example process interaction of an optional cell switching method provided in an embodiment of the present application;

[0031] Figure 4 A schematic diagram of an optional cell switching method provided in an embodiment of the present application Figure 1 ;

[0032] Figure 5 A schematic diagram of an optional cell switching method provided in an embodiment of the present application Figure 2 ;

[0033] Figure 6 A schematic diagram of the structure of an optional cell switching device provided in an embodiment of the present application Figure 1 ;

[0034] Figure 7 A schematic diagram of the structure of an optional cell switching device provided in an embodiment of the present application Figure 2 ;

[0035] Figure 8 A schematic diagram of the structure of an optional terminal provided in an embodiment of the present application;

[0036] Figure 9 A schematic diagram of the structure of an optional API server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0038] Currently, there are cases where terminals frequently report neighboring cell measurements but the network equipment does not respond, causing the terminal to be stuck in an abnormal cell for a long time and unable to escape, or even disconnected and having to search for the network again. Possible reasons for the network equipment not responding include:

[0039] 1) The network device does not receive the measurement event reported by the terminal;

[0040] 2) The network equipment determines that the load of the neighboring cell is too high and cannot provide a target cell suitable for the terminal;

[0041] Some improvement measures in related technologies include: when the terminal fails to receive a response from the network device for multiple times, the terminal actively escapes from the current cell to the target cell.

[0042] However, because the terminal cannot predict the load of the target cell, there is a certain probability that it will escape to the target cell with good signal but congestion, which ultimately does not improve the terminal's network status. In addition, active RLF escape can also cause a period of network disconnection, resulting in poor communication quality and affecting the terminal's services.

[0043] To solve the technical problem that the network device cannot respond to the reported measurement report, resulting in poor communication quality of the terminal, the embodiment of the present application provides a cell switching method, which is applied to the cell switching system. Figure 1 A schematic diagram of the structure of an optional cell switching system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the cell switching system 100 may include: a terminal 11, an API server 12 and a network device 13, wherein:

[0044] The terminal 11 is in communication connection with the API server 12 , the API server 12 is in communication connection with the network device 13 , and the terminal 11 is in communication connection with the network device 13 .

[0045] The terminal 11 communicates with the API server 12 via a network API on the terminal 11. The network device 13 may be a base station. The terminal 11 may report measurement reports of the current cell and neighboring cells to the network device 13. After receiving the measurement reports, the network device 13 may determine a target cell for the terminal 11 based on the measurement reports, thereby enabling the terminal 11 to be handed over to the target cell.

[0046] Based on the above Figure 1 A cell switching system, an embodiment of the present application provides a cell switching method, Figure 2 A schematic diagram of an optional cell switching method provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the cell switching method may include:

[0047] S201: When determining that a network device satisfies a condition that the network device cannot respond to a measurement report of the terminal, the terminal obtains a measurement report of the terminal;

[0048] When the terminal sends a measurement report of the terminal to the network device, the network device may not respond to the measurement report. In an embodiment of the present application, the terminal needs to judge the network device to determine whether the network device meets the conditions for being unable to respond to the terminal's measurement report.

[0049] That is to say, the condition for being unable to respond to the terminal's measurement report is pre-set in the terminal, and then the terminal can determine whether the network device meets the condition for being unable to respond to the terminal's measurement report based on its response after reporting the measurement report to the network device, thereby obtaining two results.

[0050] One result is that the network device does not meet the condition for being unable to respond to the terminal's measurement report, then the cell switching method provided in the embodiment of the present application is not executed; another result is that the network device meets the condition for being unable to respond to the terminal's measurement report, then the terminal obtains the terminal's measurement report.

[0051] The condition for being unable to respond to the terminal's measurement report may be: not responding to the terminal's measurement report, or not responding to the terminal's measurement report within a first preset time period after reporting, or the number of times the unresponsive terminal's measurement report is reported within the first preset time period reaches a preset number, etc. This embodiment of the present application does not specifically limit this.

[0052] It should be noted that, in the case where it is determined that the network device meets the condition of being unable to respond to the terminal's measurement report after reporting multiple measurement reports, when obtaining the terminal's measurement report, the terminal's measurement report can be obtained again, or the most recent measurement report among the reported measurement reports can be obtained. Here, the embodiments of the present application do not specifically limit this.

[0053] S202: The terminal constructs a measurement report and obtains an API request;

[0054] S203: The terminal sends the API request to the API server via the terminal's network API;

[0055] After obtaining the measurement report of the terminal through the above S201, the terminal constructs the obtained measurement report, thereby obtaining an API request.

[0056] Here, the terminal pre-stores a construction rule to implement the construction of the measurement report and obtain an API request. In S203, the terminal sends the obtained API request to the API server through the network API set by itself.

[0057] S204: The API server parses the API request and obtains a measurement report of the terminal;

[0058] S205: The API server sends the measurement report to the network device;

[0059] Through the above S202 and S203, the API server can receive the API request. The API server pre-stores parsing rules and uses the parsing rules to parse the API request, thereby parsing to obtain a measurement report and sending it to the network device.

[0060] Among them, the above-mentioned construction rules and the above-mentioned parsing rules are two mutually inverse rules, both of which are related to the network API. Through the above two rules, the measurement report can be sent to the API server through the network API, and then restored through the analysis of the API server, and then sent to the network device, so that the network device receives the measurement report, so as to avoid the problem that the network device cannot receive the measurement report of the terminal, resulting in the terminal being unable to escape from the current cell.

[0061] S206: The network device determines the target cell based on the measurement report and sends the target cell to the terminal;

[0062] S207: The terminal switches to the target cell.

[0063] Through the above S204 and S205, the API server obtains the measurement report, so that the network device can receive the measurement report of the terminal. After receiving the measurement report, the network device can select a suitable target cell for the terminal based on the situation of the neighboring cells in the measurement report, and can also reconfigure a new neighboring cell for the user to select a suitable target cell for the terminal.

[0064] In this way, the measurement report is transmitted through the API server, so that when the network device cannot receive the measurement report for some reason, the measurement report can be transmitted through the terminal-API server-network device path, thereby preventing the problem of poor communication quality of the terminal due to communication interruption between the terminal and the network device.

[0065] Regarding the above measurement report, in an optional embodiment, the measurement report may include at least one of the following:

[0066] Physical Cell Identity PCI of the current cell, PCI of the adjacent cell, frequency of the current cell, frequency of the adjacent cell, signal quality parameters of the current cell, signal quality parameters of the adjacent cell, service bandwidth used by the terminal, and service bandwidth required by the terminal.

[0067] It can be understood that the above-mentioned measurement report may include one or more of the PCI of the current cell, the PCI of the adjacent cell, the frequency of the current cell, the frequency of the adjacent cell, the signal quality parameter of the current cell, the signal quality parameter of the adjacent cell, the service bandwidth used by the terminal, and the service bandwidth required by the terminal, wherein the above-mentioned signal quality parameter may be a reference signal received power (RSRP), a received signal strength indicator (RSSI), a received signal code power (RSCP), a signal to interference plus noise ratio (SINR), a signal to noise ratio (SNR), and the like. Here, the embodiment of the present application does not specifically limit this.

[0068] The service bandwidth used by the terminal can be perceived by the user in real time, and the service bandwidth required by the terminal can be determined based on the interaction between the terminal and the network.

[0069] In this way, the terminal's measurement report includes one or more of the above items, so that the network device can obtain the above one or more items through the API server, which is conducive to knowing the current cell and adjacent cells of the terminal, and can also know the service bandwidth used by the terminal and the required service bandwidth, which helps to determine the adjacent cell that meets its actual needs for the terminal, so as to maximize the communication quality of the terminal.

[0070] In order to determine whether the network device meets the condition of not responding to the measurement report of the terminal, in an optional embodiment, the method may further include:

[0071] When the terminal does not receive a response message from the network device to the measurement report of the terminal within a first preset time period, it is determined that the network device meets the condition of not responding to the measurement report of the terminal.

[0072] The terminal needs to determine whether the network device has not received a response message to the terminal's measurement report within the first preset time period. After judgment, if no response message to the measurement report is received within the first preset time period after reporting the measurement report, it means that the network device and the terminal may be in a communication disconnection state at this time. Therefore, the terminal determines that the network device meets the conditions for not responding to the terminal's measurement report, so as to execute the cell switching method provided in the embodiment of the present application.

[0073] If a response message to the measurement report is received within the first preset time period after the report is submitted, it indicates that the communication between the network device and the terminal is normal at this time, so the cell switching can be performed according to the response of the network device.

[0074] In this way, by judging whether a response message to the measurement report is received within the first preset time period after reporting, situations where the network device and the terminal may be in a communication disconnection state can be screened out, which is beneficial to improving the communication quality of the terminal.

[0075] In addition, in order to determine whether the network device meets the condition of not responding to the measurement report of the terminal, in an optional embodiment, the above method may further include:

[0076] When the number of times that the terminal reports the measurement report of the terminal that is not responded to to the network device within the first preset time period is greater than the preset number, it is determined that the network device meets the condition of not responding to the measurement report of the terminal.

[0077] The terminal needs to determine the relationship between the number of measurement reports that are not responded to within the first preset time period and the preset number of times. After judgment, if the relationship between them is greater than, it means that the terminal has reported measurement reports many times and the network device has not responded. Then there is a high possibility that communication between the terminal and the network device is disconnected. Therefore, the terminal determines that the network device meets the conditions for not responding to the terminal's measurement report, so as to execute the cell switching method provided in the embodiment of the present application.

[0078] If the relationship between is less than, it means that the communication between the network device and the terminal is normal at this time, so the cell switching can be performed according to the response of the network device.

[0079] If the relationship between is equal, it can be determined that the network device meets the condition of not responding to the terminal's measurement report, or it can be determined that the network device does not meet the condition of not responding to the terminal's measurement report. Here, the embodiment of the present application does not make specific limitations on this.

[0080] In this way, by comparing the relationship between the number of measurement reports of the terminal that were not responded to the network device within the first preset time period and the preset number, situations where the network device and the terminal are most likely to be in a communication disconnection state can be screened out, which is beneficial to improving the communication quality of the terminal.

[0081] Furthermore, in order to determine whether the network device meets the condition of not responding to the measurement report of the terminal, in an optional embodiment, the method may further include:

[0082] When the number of times the terminal reports the measurement report of the unresponsive terminal to the network device within the first preset time period is greater than the preset number and the fluctuation value of the signal quality parameter of the terminal within the first preset time period is greater than the preset fluctuation threshold, it is determined that the network device meets the conditions for not responding to the measurement report of the terminal.

[0083] In addition to determining the relationship between the number of measurement reports reported but not responded to within the first preset time period and the preset number of times, the terminal also needs to determine the relationship between the fluctuation value of the signal quality parameter of the current cell measured by the terminal within the first preset time period and the preset fluctuation threshold. After judgment, if the relationship between them is greater than, it means that the terminal has reported measurement reports many times and the network device has not responded, and the degree of deterioration of the signal quality of the terminal is large, then there is a great possibility that the communication between the terminal and the network device is disconnected. Therefore, the terminal determines that the network device meets the conditions for not responding to the measurement report of the terminal to execute the cell switching method provided in the embodiment of the present application.

[0084] If at least one of the relationships is less than , it indicates that the communication between the network device and the terminal is normal at this time, so the cell switching can be performed according to the response of the network device.

[0085] If at least one of the relationships is equal, it can be determined that the network device meets the condition of not responding to the terminal's measurement report, or it can be determined that the network device does not meet the condition of not responding to the terminal's measurement report. Here, the embodiment of the present application does not make specific limitations on this.

[0086] In this way, by comparing the relationship between the number of measurement reports of the terminal that were not responded to and reported to the network device within the first preset time period and the preset number of times, and comparing the relationship between the fluctuation value of the signal quality parameter of the current cell measured by the terminal within the first preset time period and the preset fluctuation threshold, it is possible to screen out situations where the network device and the terminal are very likely to be in a communication disconnection state, which is beneficial to improving the communication quality of the terminal.

[0087] When it is determined that the network device meets the condition of not responding to the measurement report, in an optional embodiment, S202 may include:

[0088] The terminal constructs the measurement report according to the preset construction rules and obtains the API request.

[0089] Here, the terminal can construct the measurement report through preset construction rules to obtain an API request, wherein the construction rules are obtained based on the functions, protocols and data structures defined by the network API; the network API is an interface on the terminal for communicating with the API server.

[0090] That is, construction rules can be set in advance based on the functions, protocols and data structures defined by the terminal's network API, so that the terminal can construct an API request after obtaining the measurement report, and the API request can be sent to the API server through the network API.

[0091] In this way, constructing the measurement report in the above manner is beneficial for transmitting the API request to the API server through the network API, so that the measurement report can be transmitted along the path of terminal-API server-network device, thereby improving the communication quality of the terminal.

[0092] In order to implement transmission of the measurement report, the API server may, in an optional embodiment, include:

[0093] The API server parses the API request according to the preset parsing rules and obtains the measurement report reported by the terminal to the network device.

[0094] Here, the API server can parse the API request using preset parsing rules to obtain a measurement report, wherein the parsing rules are based on the functions, protocols, and data structures defined by the network API; the network API is an interface on the terminal for communicating with the API server.

[0095] That is, parsing rules can be set in advance based on the functions, protocols and data structures defined by the terminal's network API, so that the API server can parse and obtain the measurement report after obtaining the API request, so that the measurement report can be received by the network device.

[0096] In this way, parsing the API request in the above manner is beneficial for the API server to send the measurement report to the network device, so that the measurement report can be transmitted along the path of terminal-API server-network device, thereby improving the communication quality of the terminal.

[0097] For the network device, after receiving the measurement report, in an optional embodiment, S206 may include:

[0098] The network device determines whether there is an adjacent cell in the measurement report that meets the required service bandwidth based on the service bandwidth required by the terminal in the measurement report;

[0099] In the case where there are neighboring cells that meet the required service bandwidth, at least one of the neighboring cells that meet the required service bandwidth is used as a target cell and sent to the terminal;

[0100] In the case that there is no neighboring cell that meets the required service bandwidth, a new neighboring cell is determined, and a measurement configuration message of the new neighboring cell is sent to the terminal.

[0101] After the network device receives the measurement report from the API server, since the measurement report may include the service bandwidth required by the terminal, in order to enable the target cell to meet the service bandwidth required by the terminal, here, the network device can check whether there is an adjacent cell with the required service bandwidth in the adjacent cells of the measurement report based on the required service bandwidth.

[0102] If it exists, at least one of the neighboring cells that meets the required service bandwidth can be used as the target cell and sent to the terminal, so that the terminal switches to the target cell; if it does not exist, it means that the neighboring cells in the measurement report cannot meet the needs of the terminal, so the network device can reselect a new neighboring cell and send a measurement configuration message of the new neighboring cell to the terminal, so that the terminal can measure the new neighboring cell and obtain the measurement report again.

[0103] In this way, by determining the target cell in the above manner, the network device can determine a neighboring cell that meets the needs of the terminal, which helps to improve the communication quality of the terminal.

[0104] In order to enable the terminal to switch to a suitable target cell, in an optional embodiment, S207 may include:

[0105] The terminal receives the target cell determined by the network device within a second preset time period from the time when the API request is sent, and switches to the target cell.

[0106] For the target cell sent by the above network device to the terminal, it is necessary to determine whether the target cell is received from the network device within the second preset time from the terminal sending the API request. Only when the target cell is received within the second preset time, the terminal will switch to the target cell.

[0107] In this way, the terminal can receive the target cell within the effective time, preventing the target cell received outside the effective time from being unable to meet the terminal's communication needs due to a long time, thereby further improving the terminal's communication quality.

[0108] In addition, in order to enable the terminal to switch to a suitable cell to improve communication quality, in an optional embodiment, the method may further include:

[0109] When the terminal receives a measurement configuration message of a new neighboring cell from the network device within a second preset time period from the time the API request is sent, the terminal measures the new neighboring cell according to the measurement configuration message of the new neighboring cell, obtains a measurement report of the new neighboring cell, and reports it;

[0110] If the terminal does not receive a response message from the network device within a second preset time period from the moment the API request is sent, the terminal selects a target cell according to the measurement report of the terminal and switches to the target cell.

[0111] It is understandable that there is a situation where the terminal does not receive the target cell within the second preset time period, but receives a measurement configuration message of a new adjacent cell. After receiving the configuration measurement message of the new adjacent cell, the terminal measures the new adjacent cell and obtains a measurement report, which can be sent directly to the network device or sent to the network device through the API server to determine the target cell.

[0112] Another situation is that the target cell is not received within the second preset time period, and the measurement configuration message of the new adjacent cell is not received, which means that the terminal has not received a response message to the measurement report within the second preset time period. Then, it means that the network device is unable to select a suitable adjacent cell for the terminal. Therefore, the terminal can select a cell for itself according to the measurement report and switch to the selected cell.

[0113] In this way, in response to the different response messages to the measurement report within the second preset time period, and the failure to receive a response message, the terminal uses different methods to determine and switch the target cell, which helps to determine the target cell that meets the requirements for the terminal as much as possible, so as to further improve the communication quality of the terminal.

[0114] The cell switching method described in one or more of the above embodiments is described below with examples.

[0115] Figure 3 A schematic diagram of an example process interaction of an optional cell switching method provided in an embodiment of the present application, such as Figure 3 As shown, the user equipment (UE) is equivalent to the above-mentioned terminal, and the network is equivalent to the above-mentioned network device. The cell switching method may include:

[0116] S301: The UE uses artificial intelligence (AI) to perceive whether the service status is abnormal; if so, execute S302; if not, execute S301;

[0117] S302: The UE determines whether the number of reports is greater than N, the duration of the report is greater than T, and the fluctuation value of the signal quality parameter of the current camped cell is greater than P. If all are yes, execute S303; otherwise, execute S302;

[0118] Among them, when the UE perceives through AI that the network quality abnormality affects the service experience, the terminal meets the measurement event of the neighboring cell configured by the network, and reports the measurement report of the neighboring cell. The number of reports is > N, the duration is > T, and the signal fluctuation is > P. Among them, the values ​​of N, T and P can define reasonable thresholds based on statistical data. The network device does not respond to the switching or redirection action sent to the terminal to cut the network to the neighboring cell, and executes S302.

[0119] S303: The UE sends an API request to the API server;

[0120] S304: The API server parses the API request, obtains the measurement report, and sends it to the Network;

[0121] The terminal reports the network API (equivalent to the above API request), carrying the PCI, frequency and signal quality of the current cell and neighboring cells, as well as the real-time service bandwidth (equivalent to the above used service bandwidth) and the required service bandwidth (equivalent to the above required service bandwidth), and waits for the response of the network device.

[0122] S305: Based on the measurement report, the network determines whether the neighboring cell meets the UE's requirements. If yes, execute S306; if not, execute S307.

[0123] S306: The network sends a redirection / handover to the UE; execute S308;

[0124] S307: The network selects a new cell and sends a measurement configuration message to the UE; then executes S312;

[0125] S308: The UE determines whether the Network's response has not timed out. If so, execute S309; ​​if not, or there is no response after timeout, execute S310.

[0126] S309: When the UE determines that the response is redirection / handover, the redirection / handover is completed; and S311 is executed;

[0127] S310: When the UE determines that there is no response after the timeout, the UE selects a network to go to a neighboring cell; and executes S311;

[0128] S311: UE perceives service improvement or enhancement through AI.

[0129] S312: The UE reports a measurement report of the new cell and executes S302.

[0130] Scenario 1: The network device receives a network API and needs to determine:

[0131] a) Whether the signal quality of the adjacent cell meets the threshold for handover / redirection;

[0132] b) Determine whether the available resources in the adjacent cells meet the service bandwidth required by the terminal;

[0133] If all the requirements are met, the network device sends a handover / redirection event to the UE, so that the UE switches to a neighboring cell that meets the requirements.

[0134] If at least one of the conditions is not met, for example, condition b) is not met, the network device selects an adjacent cell that already meets the bandwidth requirement and sends a measurement reconfiguration message to the UE to confirm the signal quality in the measurement report reported by the UE before deciding whether to change the UE to the specified target cell.

[0135] Scenario 2: The network device does not receive the network API, and the terminal waits for a timeout without a response. The terminal then decides to select a better target cell based on existing information.

[0136] Among them, the network can count such network API information, mark problems in the existing network, and make improvements.

[0137] The following example uses T = 3s, N = 2 times, and P = 5dB:

[0138] The first step is terminal perception and judgment:

[0139] 1) The terminal has business needs, and the current network environment cannot meet the business needs;

[0140] 2) The terminal meets the network measurement configuration reporting conditions and reports neighboring cell information. Statistics show that the terminal reports 3 times (>N) within 3 seconds, but the network does not respond to the network change;

[0141] 3) The signal level of the cell where the terminal resides shows a continuous downward trend. The signal level drops by 6dB (>P) within 3 seconds. At the 4th second, 4s>3s (T), 3 times>2 times (N), and 6dB>5dB (P) are satisfied.

[0142] Step 2: Construct an API request (PCI, frequency, signal quality of the serving cell and neighboring cells, real-time maximum throughput of the serving cell, and maximum throughput required by the service) and transmit the AP request to the network device through the API server.

[0143] In the third step, the API server parses the content of the API request and sends it to the network device. The network device determines whether the bandwidth of the neighboring area meets the maximum throughput required by the service based on the content and sends a switching or redirection instruction to the terminal.

[0144] The fourth step is that the terminal stays in the neighboring cell to improve or enhance the service.

[0145] Let's take T = 3s, N = 2 times, and P = 5dB as an example:

[0146] The first step is terminal perception and judgment:

[0147] 1) The terminal has business needs, and the current network environment cannot meet the business needs;

[0148] 2) The terminal meets the network measurement configuration reporting conditions and reports neighboring cell information. Statistics show that the terminal reports 3 times (>N) within 3 seconds, but the network does not respond to the network change;

[0149] 3) The signal level of the cell where the terminal resides shows a continuous downward trend. The signal level drops by 6dB (>P) within 3 seconds. At the 4th second, 4s>3s (T), 3 times>2 times (N), and 6dB>5dB (P) are satisfied.

[0150] Step 2: Construct an API request (PCI, frequency, signal quality of the serving cell and neighboring cells, real-time maximum throughput of the serving cell, and maximum throughput required by the service) and transmit the API request to the network device through the API server.

[0151] In the third step, the API server parses the content of the API request and sends it to the network device. Based on the content, the network device determines that the bandwidth of the neighboring cell does not meet the maximum throughput required by the service. It recalculates the list of other cells under the same base station that meet the maximum throughput required by the service and sends the measurement event configuration for the cell list to the terminal.

[0152] In the fourth step, the terminal reports a new neighboring cell measurement report that matches the measurement event, and the network equipment issues a handover or redirection to move the terminal to the new cell, thereby improving or enhancing the terminal service.

[0153] In this example, the terminal can also identify various service anomaly scenarios, such as low-latency services, primary card congestion, and large file downloads. Different N, T, and P thresholds can be set based on different service requirements. Various optimization strategies can also be implemented through API requests.

[0154] In this example, API technology provides a channel for the terminal to communicate and coordinate resources with the network, resolving the issue of the network not responding to the terminal's measurement report. The terminal submits an API request to the network device to provide feedback on the issue. The network device then helps the terminal select a better cell based on the signal, bandwidth, and other information reported by the terminal.

[0155] In summary, in this example, the terminal reports signal quality and bandwidth requirement information to the network. With the help of network equipment, it can more accurately and quickly select a better cell, improving the terminal's service experience. The network can also repair problems in the existing network based on the problems reported by the terminal.

[0156] An embodiment of the present application provides a cell switching method, which is applied to a terminal and includes: when it is determined that the network device meets the condition that it cannot respond to the measurement report of the terminal, obtaining the measurement report of the terminal, constructing the measurement report, obtaining an API request, and sending the API request to the API server through the network API of the terminal, the API server is used to send the measurement report obtained by parsing the API request to the network device to determine the target cell, receive the target cell, and switch to the target cell; that is, in an embodiment of the present application, by adding a network API to the terminal, in addition to direct communication between the terminal and the network device, data can also be transmitted through the API server, then, if the network device does not receive the measurement report reported by the terminal, the measurement report can be transmitted through the API server, so that the network device can receive the measurement report reported by the terminal, and select a suitable cell for switching for the terminal based on the measurement report, so that the terminal can smoothly switch to the suitable cell, thereby improving the communication quality of the terminal.

[0157] The cell switching method will be described below from the perspective of each device deployed in the cell switching system.

[0158] First, the cell switching method is described from the terminal side.

[0159] The embodiment of the present application provides a cell switching method, which is applied to a terminal. Figure 4 A schematic diagram of an optional cell switching method provided in an embodiment of the present application Figure 1 ,like Figure 4 As shown, the cell switching method may include:

[0160] S401: When it is determined that the network device meets the condition of being unable to respond to the measurement report of the terminal, obtain the measurement report of the terminal;

[0161] S402: Construct the measurement report and obtain an API request;

[0162] S403: Sending the API request to the API server via the terminal's network API;

[0163] The API server is configured to send a measurement report obtained by parsing the API request to the network device to determine the target cell;

[0164] S404: Receive the target cell and switch to the target cell.

[0165] In an optional embodiment, S402 may include: constructing the measurement report according to a preset construction rule to obtain an API request; wherein the construction rule is: obtained based on the functions, protocols and data structures defined by the network API; the network API is an interface on the terminal for communicating with the API server.

[0166] In an optional embodiment, the measurement report includes at least one of the following: PCI of the current cell, PCI of the adjacent cell, frequency of the current cell, frequency of the adjacent cell, signal quality parameters of the current cell, signal quality parameters of the adjacent cell, service bandwidth used by the terminal, and service bandwidth required by the terminal.

[0167] In an optional embodiment, the method further includes: determining that the network device meets the condition of not responding to the terminal's measurement report when no response message from the network device to the terminal's measurement report is received within a first preset time period.

[0168] In an optional embodiment, the above method further includes: when the number of times the measurement report of the unresponsive terminal is reported to the network device within the first preset time period is greater than a preset number, determining that the network device meets the condition of not responding to the measurement report of the terminal.

[0169] In an optional embodiment, the above method also includes: determining that the network device meets the conditions for not responding to the measurement report of the terminal when the number of times the measurement report of the unresponsive terminal is reported to the network device within a first preset time period is greater than a preset number and the fluctuation value of the signal quality parameter of the terminal within the first preset time period is greater than a preset fluctuation threshold.

[0170] In an optional embodiment, S404 may include: receiving a target cell determined by the network device within a second preset time period from the moment the API request is sent to the API server, and switching to the target cell.

[0171] In an optional embodiment, the above method also includes: when a measurement configuration message of a new adjacent cell is received from the network device within a second preset time period from the time the API request is sent, the new adjacent cell is measured according to the measurement configuration message of the new adjacent cell, and a measurement report of the new adjacent cell is obtained and reported; when no response message is received from the network device within the second preset time period from the time the API request is sent, the target cell is selected according to the measurement report of the terminal, and switching to the target cell is performed.

[0172] Secondly, the above cell switching method is described from the API server side.

[0173] The embodiment of the present application provides a cell switching method, which is applied to an API server. Figure 5 A schematic diagram of an optional cell switching method provided in an embodiment of the present application Figure 2 ,like Figure 5 As shown, the cell switching method may include:

[0174] S501: receiving an API request from a terminal;

[0175] S502: Parse the API request to obtain the measurement report reported by the terminal to the network device;

[0176] S503: Send the measurement report to the network device;

[0177] The network device is configured to determine a target cell based on the measurement report and send the target cell to the terminal, so that the terminal switches to the target cell.

[0178] In an optional embodiment, S502 may include: parsing the API request according to preset parsing rules to obtain a measurement report reported by the terminal to the network device; wherein the parsing rules are: obtained based on the functions, protocols and data structures defined by the network API; the network API is an interface on the terminal for communicating with the API server.

[0179] In an optional embodiment, the measurement report includes at least one of the following: PCI of the current cell, PCI of the adjacent cell, frequency of the current cell, frequency of the adjacent cell, signal quality parameters of the current cell, signal quality parameters of the adjacent cell, service bandwidth used by the terminal, and service bandwidth required by the terminal.

[0180] In addition, based on the same inventive concept as the above embodiments, the present embodiment provides a cell switching device, which is provided in a terminal. Figure 6 A schematic diagram of the structure of an optional cell switching device provided in an embodiment of the present application is shown as follows: Figure 6As shown, the cell switching device includes: an acquisition module 61, a construction module 62, a first sending module 63 and a switching module 64; wherein,

[0181] An acquisition module 61 is configured to acquire the measurement report of the terminal when it is determined that the network device meets the condition of not responding to the measurement report of the terminal;

[0182] A construction module 62 is used to construct the measurement report and obtain an API request;

[0183] A first sending module 63 is configured to send the API request to the API server via the network API of the terminal;

[0184] The API server is configured to send a measurement report obtained by parsing the API request to a network device to determine a target cell;

[0185] The handover module 64 is configured to receive a target cell and handover to the target cell.

[0186] In an optional embodiment, the construction module 62 is used to: construct the measurement report according to a preset construction rule to obtain an API request; wherein the construction rule is: obtained based on the functions, protocols and data structures defined by the network API; the network API is an interface on the terminal for communicating with the API server.

[0187] In an optional embodiment, the measurement report includes at least one of the following: PCI of the current cell, PCI of the adjacent cell, frequency of the current cell, frequency of the adjacent cell, signal quality parameters of the current cell, signal quality parameters of the adjacent cell, service bandwidth used by the terminal, and service bandwidth required by the terminal.

[0188] In an optional embodiment, the apparatus is further configured to: determine that the network device meets a condition for not responding to the terminal's measurement report when no response message to the terminal's measurement report is received from the network device within a first preset time period.

[0189] In an optional embodiment, the apparatus is further configured to determine that the network device meets the condition of not responding to the terminal's measurement report when the number of times the measurement report of the terminal that is not responded to is reported to the network device within a first preset time period is greater than a preset number.

[0190] In an optional embodiment, the device is also used to determine that the network device meets the conditions for not responding to the measurement report of the terminal when the number of times the measurement report of the unresponsive terminal is reported to the network device within a first preset time period is greater than a preset number and the fluctuation value of the signal quality parameter of the terminal within the first preset time period is greater than a preset signal quality threshold.

[0191] In an optional embodiment, the switching module 64 is configured to: receive a target cell determined by the network device within a second preset time period from the time the API request is sent, and switch to the target cell.

[0192] In an optional embodiment, the device is also used to: when a measurement configuration message of a new adjacent cell is received from the network device within a second preset time period from the time the API request is sent, measure the new adjacent cell according to the measurement configuration message of the new adjacent cell, obtain a measurement report of the new adjacent cell and report it; when no response message is received from the network device within the second preset time period from the time the API request is sent, select a target cell according to the measurement report of the terminal and switch to the target cell.

[0193] In actual applications, the above-mentioned acquisition module 61, construction module 62, first sending module 63 and switching module 64 can be implemented by a processor located on the cell switching device, specifically a CPU, a microprocessor (Microprocessor Unit, MPU), a digital signal processor (Digital Signal Processing, DSP) or a field programmable gate array (Field Programmable Gate Array, FPGA) and the like.

[0194] The embodiment of the present application provides a cell switching device, which is arranged in an API server. Figure 7 A schematic diagram of the structure of an optional cell switching device provided in an embodiment of the present application Figure 2 ,like Figure 7 As shown, the cell switching device includes: a receiving module 71, an analyzing module 72 and a second sending module 73; wherein,

[0195] Receiving module 71, used for receiving API request from terminal;

[0196] The parsing module 72 is used to parse the API request and obtain the measurement report reported by the terminal to the network device;

[0197] A second sending module 73, configured to send the measurement report to the network device;

[0198] The network device is configured to determine a target cell based on the measurement report and send the target cell to the terminal, so that the terminal switches to the target cell.

[0199] In an optional embodiment, the parsing module 72 is used to: parse the API request according to preset parsing rules to obtain the measurement report reported by the terminal to the network device; wherein the parsing rules are: obtained based on the functions, protocols and data structures defined by the network API; the network API is the interface on the terminal for communicating with the API server.

[0200] In an optional embodiment, the measurement report includes at least one of the following: PCI of the current cell, PCI of the adjacent cell, frequency of the current cell, frequency of the adjacent cell, signal quality parameters of the current cell, signal quality parameters of the adjacent cell, service bandwidth used by the terminal, and service bandwidth required by the terminal.

[0201] In actual applications, the above-mentioned receiving module 71, parsing module 72 and second sending module 73 can be implemented by a processor located on the cell switching device, specifically a CPU, a microprocessor (Microprocessor Unit, MPU), a digital signal processor (Digital Signal Processing, DSP) or a field programmable gate array (Field Programmable Gate Array, FPGA).

[0202] Figure 8 A schematic diagram of the structure of an optional terminal provided in an embodiment of the present application is shown as follows: Figure 8 As shown, an embodiment of the present application provides a terminal 800, which includes:

[0203] A processor 81 and a storage medium 82 storing instructions executable by the processor 81; the storage medium 82 relies on the processor 81 to perform operations through a communication bus 83, and when the instructions are executed by the processor 81, the cell switching method described in one or more of the above embodiments is executed.

[0204] It should be noted that, in actual application, the various components in the computer device are coupled together via the communication bus 83. It is understood that the communication bus 83 is used to achieve connection and communication between these components. In addition to including a data bus, the communication bus 83 also includes a power bus, a control bus, and a status signal bus.

[0205] Figure 9 A schematic diagram of the structure of an optional API server provided in an embodiment of the present application is shown as follows: Figure 9 As shown, the embodiment of the present application provides an API server 900, which includes:

[0206] A processor 91 and a storage medium 92 storing instructions executable by the processor 91; the storage medium 92 relies on the processor 91 to perform operations through a communication bus 93, and when the instructions are executed by the processor 91, the cell switching method described in one or more of the above embodiments is executed.

[0207] It should be noted that, in actual applications, the various components in the computer device are coupled together via a communication bus 93. It is understood that the communication bus 93 is used to enable communication between these components. In addition to the data bus, the communication bus 93 also includes a power bus, a control bus, and a status signal bus.

[0208] An embodiment of the present application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processors execute the cell switching method described in one or more of the above embodiments.

[0209] Among them, the computer-readable storage medium can be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory (Flash Memory), a magnetic surface storage device, an optical disc, or a compact disc read-only memory (CD-ROM) and other memories.

[0210] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage, etc.) containing computer-usable program code.

[0211] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0212] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0213] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0214] The above description is merely a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application.

Claims

1. A cell handover method, characterized in that: The method is applied in a terminal and includes: When it is determined that the network device meets the condition of being unable to respond to the measurement report of the terminal, obtaining the measurement report of the terminal; Constructing the measurement report to obtain an API request; The API request is sent to an API server through a network API of the terminal; the API server is configured to send a measurement report obtained by parsing the API request to the network device to determine a target cell; Receive the target cell and switch to the target cell.

2. The method according to claim 1, characterized in that The constructing the measurement report to obtain an API request includes: Constructing the measurement report according to a preset construction rule to obtain the API request; The construction rule is obtained based on the functions, protocols and data structures defined by the network API; the network API is an interface on the terminal for communicating with the API server.

3. The method according to claim 1 or 2, characterized in that The method further comprises: In a case where no response message from the network device to the measurement report of the terminal is received within a first preset time period, it is determined that the network device meets a condition for not responding to the measurement report of the terminal.

4. The method according to claim 1 or 2, characterized in that The method further comprises: When the number of times that the measurement report of the terminal that is not responded to is reported to the network device within the first preset time period is greater than the preset number, it is determined that the network device meets the condition of not responding to the measurement report of the terminal.

5. The method according to claim 1 or 2, characterized in that The method further comprises: When the number of times that the measurement report of the terminal that is not responded to is reported to the network device within a first preset time period is greater than a preset number and the fluctuation value of the signal quality parameter of the terminal within the first preset time period is greater than a preset fluctuation threshold, it is determined that the network device meets the condition of not responding to the measurement report of the terminal.

6. The method according to claim 1 or 2, characterized in that The receiving the target cell and switching to the target cell includes: The target cell determined by the network device is received within a second preset time period from the time when the API request is sent, and switching to the target cell is performed.

7. The method according to claim 1 or 2, characterized in that The method further comprises: Upon receiving a measurement configuration message of a new neighboring cell determined by the network device within a second preset time period from the time when the API request is sent, measuring the new neighboring cell according to the measurement configuration message of the new neighboring cell, obtaining a measurement report of the new neighboring cell, and reporting the measurement report; If no response message is received from the network device within a second preset time period from the moment the API request is sent, the target cell is selected according to the measurement report of the terminal, and the terminal is switched to the target cell.

8. A cell handover method, characterized in that: The method is applied to the API server and includes: Receive API requests from the terminal; Parsing the API request to obtain a measurement report reported by the terminal to the network device; The measurement report is sent to the network device; the network device is configured to determine a target cell based on the measurement report, and send the target cell to the terminal, so that the terminal switches to the target cell.

9. The method according to claim 8, characterized in that The parsing the API request to obtain a measurement report reported by the terminal to the network device includes: Parsing the API request according to a preset parsing rule to obtain a measurement report reported by the terminal to the network device; The parsing rules are obtained based on the functions, protocols and data structures defined by the network API; the network API is an interface on the terminal for communicating with the API server.

10. A cell switching device, characterized in that: The device is provided in a terminal and includes: an acquiring module, configured to acquire the measurement report of the terminal when it is determined that the network device meets the condition of not responding to the measurement report of the terminal; A construction module, configured to construct the measurement report and obtain an API request; A first sending module is configured to send the API request to an API server through a network API of the terminal; the API server is configured to send a measurement report obtained by parsing the API request to the network device to determine a target cell; The switching module is configured to receive the target cell and switch to the target cell.

11. A cell switching device, characterized in that: The device is set in the API server and includes: Receiving module, used to receive API requests from the terminal; A parsing module, configured to parse the API request and obtain a measurement report reported by the terminal to the network device; The second sending module is configured to send the measurement report to the network device; the network device is configured to determine a target cell based on the measurement report, and send the target cell to the terminal, so that the terminal switches to the target cell.

12. A terminal, characterized in that: include: A processor and a storage medium storing instructions executable by the processor; The storage medium relies on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the cell switching method according to any one of claims 1 to 8 is executed.

13. An API server, characterized in that: include: A processor and a storage medium storing instructions executable by the processor; The storage medium relies on the processor to perform operations through a communication bus, and when the instructions are executed by the processor, the cell switching method described in any one of claims 9 to 11 is executed.

14. A computer storage medium, characterized in that Executable instructions are stored. When the executable instructions are executed by one or more processors, the processors execute the cell switching method according to any one of claims 1 to 7, or execute the cell switching method according to claim 8 or 9.