Network switching method and device, equipment, storage medium and program product
Through real-time monitoring of terminal equipment and database cell table updates and target cells are determined in combination with ephemeris calculations, smooth and fast switching between cellular and satellite networks is achieved, solving the problem of unstable network switching in the prior art, and improving the network continuity and service stability of terminal equipment.
Patent Information
- Application Number
- CN202510420171.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2045-04-03
AI Technical Summary
In the prior art, in the process of cell transformation, due to the large difference between the historical registration and pre-configured cell information provided by the network side and the actual network situation, the stability and continuity of network handover of terminal equipment are insufficient, especially when the network signal quality is poor, it is difficult to quickly and smoothly switch cells.
The terminal equipment uses real-time monitoring of the signal quality and duration of the current serving cell, builds a list of available cells, uses real-time updated database cell tables and ephemeris calculations to determine the target cell, and performs network handover based on preset measurement strategies, including handover between cellular and satellite cells.
It improves the network transformation stability and continuity of terminal equipment between cellular networks and non-terrestrial networks, and ensures business stability and service quality in mobile scenarios.
Smart Images

Figure CN120282232A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication network technologies, and in particular, to a network switching method, apparatus, device, storage medium, and program product. Background Art
[0002] With the development of technologies, when the coverage of the terrestrial network by a terminal device is insufficient or unavailable, in order to maintain communication continuity and service quality, it is necessary to perform a cell transformation in a mobile communication network.
[0003] The prior art obtains the cell information registered by a terminal device historically and the pre-configured cell information (such as cell ID and signal quality) through the network side, selects an optimal cell according to the current location of the terminal device, and generates a transformation instruction to be sent to the terminal device to control the terminal device to perform a cell transformation.
[0004] However, since there are likely to be differences between the historically registered and pre-configured cell information and the actual network conditions of the cell, the accuracy of the optimal cell determined by the network side is reduced, and after the network side controls the terminal device to switch the network, the service stability and continuity of the terminal device are further reduced. Summary of the Invention
[0005] Embodiments of this application provide a network switching method, apparatus, device, storage medium, and program product, which are used to improve the stability and reliability of the network transformation process of a terminal device, achieve a smooth and fast cell transformation, and enhance the continuity and service stability of terminal services.
[0006] In a first aspect, an embodiment of this application provides a network switching method, which is applied to a terminal device and includes:
[0007] Perform network registration based on a power-on instruction, and perform real-time monitoring on the network of the current serving cell to obtain the signal quality data and duration of the current serving cell;
[0008] Determine whether the current serving cell meets a preset transformation condition. When it is determined that the serving cell meets the preset transformation condition, construct a list of available cells; the preset transformation condition means that the signal quality data is lower than a first preset threshold and the duration exceeds a first preset time;
[0009] Measure the signal quality of the cells in the list of available cells based on a preset measurement strategy to determine a target cell; perform a network switch based on the target cell. When the target cell is a cellular cell, switch the network to the cellular network corresponding to the cellular cell, and when the target cell is a satellite cell, switch the network to the non-terrestrial network corresponding to the satellite cell.
[0010] Optionally, constructing the list of available cells specifically includes:
[0011] Obtain the current location information, determine the public land mobile network identifier corresponding to the location information based on the database cell table updated in real time, and determine the corresponding available cellular cell information based on the public land mobile network identifier; the database cell table is constructed and updated by the terminal device;
[0012] Determine the target over-the-top satellite ID based on the location information, determine the satellite cell information corresponding to the target over-the-top satellite ID based on the database cell table, and obtain the available satellite cell information;
[0013] Generate an available cell list according to the available cellular cell information and the available satellite cell information.
[0014] Optionally, before generating the available cell list, it further includes:
[0015] If real-time system information is received, generate an available cell list according to the system information, the available cellular cell information and the available satellite cell information.
[0016] Optionally, the construction and update of the database cell table include:
[0017] Obtain the preset configuration information, and generate the database cell table according to the preset configuration information; the preset configuration information includes historical registered cell information, cellular operation network information and non-terrestrial operation network information;
[0018] Based on the registered network, receive the system information of the current serving cell sent by the network side in real time, and obtain the serving cell information and neighbor cell information at the current moment; update the database cell table according to the serving cell information and the neighbor cell information.
[0019] Optionally, after generating the database cell table, it further includes:
[0020] If an instruction to enter the C-V2X service scenario is received, obtain the terminal sharing information within a preset range based on the current location information, and the terminal sharing information includes the cell information shared by multiple adjacent terminal devices within the preset range;
[0021] Update the database cell table according to the terminal sharing information.
[0022] Optionally, after generating the database cell table, it further includes:
[0023] If OTA information pushed by the cloud database is received, update the database cell table based on the OTA information.
[0024] Optionally, determining the target over-the-top satellite ID based on the location information specifically includes:
[0025] Obtain the current time information and ephemeris data; perform ephemeris calculations on the location information, time information, and ephemeris data to obtain and store the ephemeris calculation results; the location information includes altitude information and longitude and latitude information, and the ephemeris calculation results include the satellite ID and orbit data corresponding to each satellite respectively;
[0026] Perform ephemeris estimation on the ephemeris calculation results to obtain and store the ephemeris estimation results; the ephemeris estimation results include the satellite ID, arrival time, and departure time corresponding to each satellite respectively;
[0027] Based on the orbit data corresponding to each satellite in the ephemeris calculation results, determine the surrounding satellite IDs corresponding to the location information; obtain the arrival time and departure time corresponding to the surrounding satellite IDs based on the ephemeris estimation results, and determine the target over-the-top satellite ID corresponding to the terminal device.
[0028] Optionally, after generating the database cell table, it further includes:
[0029] Update the non-terrestrial operating network information in the database cell table according to the ephemeris calculation results and ephemeris estimation results.
[0030] Optionally, if the preset measurement strategy is the sequential measurement strategy, poll and measure the cells in the available cell list; when obtaining the signal quality data and duration of a cell in each measurement, determine whether the signal quality of the cell meets the preset communication conditions; the preset communication conditions refer to that the network signal quality data is higher than the second preset threshold and the duration exceeds the second preset time;
[0031] Determine the cell whose signal quality meets the preset communication conditions obtained from the poll measurement as the target cell;
[0032] If there is no cell in the available cell list whose signal quality meets the preset communication conditions during the poll measurement, continue to monitor the signal quality of the current serving cell.
[0033] Optionally, if the preset measurement strategy is the full measurement strategy, measure the signal quality of each cell in the available cell list respectively to obtain the signal quality data and duration corresponding to each cell in the available cell list;
[0034] According to the signal quality data and duration of each cell, determine whether the signal quality of the corresponding cell meets the preset communication conditions, and sort the cells that meet the preset communication conditions to obtain the sorting result; determine the target cell according to the sorting result.
[0035] In a second aspect, an embodiment of the present application provides a network switching device applied to a terminal device, including:
[0036] An acquisition module, configured to perform network registration based on a power-on instruction, and perform real-time monitoring on the network of the current serving cell to obtain signal quality data and duration of the current serving cell;
[0037] A processing module, configured to determine whether the current serving cell meets a preset transformation condition, and construct a list of available cells when it is determined that the serving cell meets the preset transformation condition; the preset transformation condition means that the signal quality data is lower than a first preset threshold and the duration exceeds a first preset time;
[0038] The processing module is further configured to measure the signal quality of the cells in the available cell list based on a preset measurement strategy to determine a target cell; perform network switching based on the target cell, where when the target cell is a cellular cell, switch the network to the cellular network corresponding to the cellular cell, and when the target cell is a satellite cell, switch the network to the non-terrestrial network corresponding to the satellite cell.
[0039] Optionally, the processing module is further configured to obtain the current location information, determine the public land mobile network identifier corresponding to the location information based on the database cell table updated in real time, and determine the corresponding available cellular cell information based on the public land mobile network identifier; the database cell table is constructed and updated by the terminal device;
[0040] Determine the target over-the-top satellite ID based on the location information, and determine the satellite cell information corresponding to the target over-the-top satellite ID based on the database cell table to obtain available satellite cell information;
[0041] Generate an available cell list according to the available cellular cell information and the available satellite cell information.
[0042] Optionally, the processing module is further configured to, before generating the available cell list, if receiving real-time system information, generate the available cell list according to the system information, the available cellular cell information, and the available satellite cell information.
[0043] Optionally, the processing module is further configured to obtain preset configuration information and generate a database cell table according to the preset configuration information; the preset configuration information includes historical registered cell information, cellular operating network information, and non-terrestrial operating network information;
[0044] Based on the registered network, receive the system information of the current serving cell sent by the network side in real time to obtain the serving cell information and neighbor cell information at the current moment; update the database cell table according to the serving cell information and the neighbor cell information.
[0045] Optionally, the processing module is further configured to, after generating the database cell table, if receiving an instruction to enter the C-V2X service scenario, obtain terminal sharing information within a preset range based on the current location information, where the terminal sharing information includes cell information shared by multiple adjacent terminal devices within the preset range;
[0046] Update the database cell table according to the terminal sharing information.
[0047] Optionally, the processing module is further configured to, after generating the database cell table, if receiving OTA information pushed by the cloud database, update the database cell table based on the OTA information.
[0048] Optionally, the processing module is further configured to obtain the current time information and ephemeris data; perform ephemeris calculation on the location information, time information, and ephemeris data to obtain an ephemeris calculation result and store it; the location information includes altitude information and longitude and latitude information, and the ephemeris calculation result includes the satellite ID and the operating trajectory data corresponding to each satellite;
[0049] Perform ephemeris estimation on the ephemeris calculation result to obtain an ephemeris estimation result and store it; the ephemeris estimation result includes the satellite ID, arrival time, and departure time corresponding to each satellite;
[0050] Determine the surrounding satellite IDs corresponding to the location information according to the operating trajectory data corresponding to each satellite in the ephemeris calculation result; obtain the arrival time and departure time corresponding to the surrounding satellite IDs based on the ephemeris estimation result, and determine the target overhead satellite ID corresponding to the terminal device.
[0051] Optionally, the processing module is further configured to, after generating the database cell table, update the non-terrestrial operating network information in the database cell table according to the ephemeris calculation result and the ephemeris estimation result.
[0052] Optionally, when the preset measurement strategy is a sequential measurement strategy, the processing module performs polling measurement on the cells in the available cell list; when obtaining the signal quality data and duration of a cell in each measurement, determine whether the signal quality of the cell meets the preset communication conditions; the preset communication conditions mean that the network signal quality data is higher than the second preset threshold and the duration exceeds the second preset time;
[0053] Determine the cell whose signal quality meets the preset communication conditions obtained from the polling measurement as the target cell;
[0054] If there is no cell in the available cell list whose signal quality meets the preset communication conditions during the polling measurement, continue to monitor the signal quality of the current serving cell.
[0055] Optionally, the processing module is further configured to measure the signal quality of each cell in the available cell list respectively when the preset measurement policy is the full measurement policy, so as to obtain the signal quality data and duration respectively corresponding to each cell in the available cell list;
[0056] Determine whether the signal quality of the corresponding cell meets the preset communication condition according to the signal quality data and duration of each cell, and sort the cells that meet the preset communication condition to obtain a sorting result; determine the target cell according to the sorting result.
[0057] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0058] The memory stores computer-executable instructions;
[0059] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementation manners of the first aspect.
[0060] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the above first aspect and / or various possible implementation manners of the first aspect.
[0061] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the above first aspect and / or various possible implementation manners of the first aspect.
[0062] The network switching method, device, equipment, storage medium and program product provided by the embodiments of the present application perform network registration after the terminal device is powered on, and perform real-time monitoring on the network of the current serving cell after registration to obtain the signal quality data and duration of the current serving cell. When it is determined that the signal quality data of the current serving cell is lower than the first preset threshold and the duration exceeds the first preset time, an available cell list is constructed based on the real-time updated database cell table, where the real-time updated database cell table is dynamically updated according to the system information sent by the network side in real time, the terminal shared information, and the OTA information pushed by the cloud, so as to provide a reliable data basis for the construction of the available cell list. After obtaining the available cell list, the signal quality of the cells in the available cell list is measured based on the preset measurement policy to determine the target cell. When the target cell is a cellular cell, the network is switched to the cellular network corresponding to the cellular cell. When the target cell is a satellite cell, the network is switched to the non-terrestrial network corresponding to the satellite cell. The present application improves the stability and reliability of the network transformation of the terminal device, realizes smooth and fast cell transformation, and enhances the continuity and service stability of the terminal service. Description of the Drawings
[0063] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.
[0064] Figure 1 Schematic diagram of the application scenario of the network switching method provided for this application;
[0065] Figure 2 Schematic flow chart of the network switching method provided for this application Figure 1 ;
[0066] Figure 3 Schematic flow chart of constructing a list of available cells provided for this application;
[0067] Figure 4 Schematic flow chart of constructing a database cell table provided for this application;
[0068] Figure 5 Schematic diagram of the structure of the database cell table provided for this application;
[0069] Figure 6 Schematic flow chart of calculating the target overhead satellite ID provided for this application;
[0070] Figure 7 Schematic flow chart of the network switching method provided for this application Figure 2 ;
[0071] Figure 8 Schematic flow chart of the network switching method provided for this application Figure 3 ;
[0072] Figure 9 Schematic diagram of the structure of the network switching device provided for this application;
[0073] Figure 10 Schematic diagram of the structure of the electronic device provided for this application.
[0074] Through the above accompanying drawings, specific embodiments of this application have been shown, and there will be more detailed descriptions hereinafter. These accompanying drawings and written descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0075] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying 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 application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0076] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties. Moreover, the processing of relevant data, such as collection, storage, use, processing, transmission, provision, disclosure, and application, complies with the relevant laws, regulations, and standards of the relevant regions, adopts necessary confidentiality measures, does not violate public order and good customs, and provides corresponding operation entrances for users to choose to authorize or reject.
[0077] First, the terms involved in the present application are explained:
[0078] C-V2X (Cellular Vehicle-to-Everything): It refers to a communication system based on cellular network technology, aiming to support communication between vehicles and the surrounding environment;
[0079] Cell: It refers to the basic unit in a cellular communication system, which is the geographical area covered by a base station. In a cellular network, the entire service area is divided into multiple cells, and each cell is provided with wireless coverage and communication services by a base station;
[0080] Satellite cell: It refers to the geographical area covered by a satellite communication system. Different from traditional terrestrial cellular cells, satellite cells use satellites as base stations to provide wide-area wireless communication coverage; Satellite base station refers to the communication equipment installed on a satellite, which is responsible for wireless communication with ground terminals (such as satellite phones, satellite communication modules, etc.);
[0081] Cell change: It refers to the handover of a mobile device between different cells (Cells) to maintain network connection and service quality, and ensure that the user terminal does not interrupt communication during the movement process through cell change;
[0082] NTN (Non-Terrestrial Networks): It refers to a non-terrestrial network that uses non-ground communication infrastructures such as satellites and high-altitude platforms (such as drones, stratospheric balloons, etc.) to achieve global communication coverage;
[0083] Cellular network: Refers to a wireless communication network based on terrestrial base stations, usually composed of multiple cells, and each cell is covered by a base station;
[0084] NR (New Radio): Refers to the 5G radio access technology, which is used to provide high data rate, low latency, and large-scale device connection capabilities;
[0085] PLMN (Public Land Mobile Network): Refers to the public land mobile network, which is composed of multiple cellular technologies;
[0086] RSRP (Reference Signal Received Power): In LTE and 5G networks, it refers to the average power of the reference signal received by the terminal, which is a key indicator for determining signal strength and is used for cell selection, handover decision-making, and network optimization. Among them, a higher RSRP value usually indicates stronger signal coverage;
[0087] RSRQ (Reference Signal Received Quality): It refers to the reference signal reception quality, which combines RSRP and RSSI (Received Signal Strength Indicator) to determine signal quality and is used to determine the signal quality and interference level. It plays an important role in cell reselection and handover processes, especially in high-interference environments;
[0088] SINR (Signal-to-Interference-plus-Noise Ratio): It is the signal-to-interference-plus-noise ratio, which is an indicator for measuring signal quality and represents the ratio of the useful signal power to the sum of the interference and noise powers. It is used to determine the actual communication quality of the network. Among them, a higher SINR value indicates better signal quality and higher data transmission rate;
[0089] RSSI (Received Signal Strength Indicator): RSSI is the received signal strength indicator, which represents all the power received by the terminal, including the useful signal, interference, and noise, and is used to determine the total signal strength. However, since it includes interference and noise, it cannot be used alone to determine signal quality and is usually used in combination with other indicators.
[0090] With the development of technology, in the case where the ground network coverage is insufficient or unavailable, in order to maintain the continuity of communication and service quality, the terminal device needs to perform cell transformation in the mobile communication network to ensure the service stability and continuity in various mobile scenarios. For example, in the C-V2X scenario supported by the cellular network (such as 3G, 4G, 5G network) and the 5G NTN network, it can provide extensive communication coverage and stable connection for terrestrial, marine, low-altitude and space terminals, which is crucial for realizing various application scenarios in high-level autonomous driving (such as advanced driving, remote driving, cooperative driving, environmental perception and vehicle platooning). Therefore, it is necessary to ensure the network continuity in the C-V2X scenario to enhance the service quality.
[0091] In the prior art, during the cell transformation process, the network side determines the optimal cell where the terminal device is currently located based on the cell information registered by the terminal device history and the pre-configured cell information (such as cell ID and signal quality), and generates a transformation instruction for this cell and sends it to the terminal device. The terminal device performs cell transformation when it receives this transformation instruction. However, the cell information on which the transformation instruction sent by the network side is based has lag, and it is difficult to reflect the actual cell information, which is likely to reduce the network signal quality after the terminal device transforms the cell, further reducing the service stability and continuity of the terminal device. In addition, since the terminal device relies on the transformation instruction from the network side to perform cell switching, it is difficult for the terminal device to quickly and smoothly switch cells when the network signal quality is poor, thus further reducing the service quality of the terminal device in various scenarios.
[0092] The network switching method provided by this application enables the terminal device to perform network registration according to the power-on instruction, monitor the network of the current serving cell, obtain the signal quality data and duration of the current serving cell. When the signal quality data is lower than the first preset threshold and the duration exceeds the first preset time, ephemeris calculation and ephemeris estimation are performed based on the current location information, time information, and ephemeris data to obtain the ID of the target over-the-top satellite that can reach the terminal device fastest. Based on the real-time updated database cell table, the corresponding available satellite cell information is searched in the database cell table according to the ID of the target over-the-top satellite. At the same time, the corresponding public land mobile network identifier is determined in the database cell table according to the current location information, so as to further determine the corresponding available cellular cell information, construct an available cell list, and generate an available cell list according to the available satellite cell information, available cellular cell information, and the system information received in real time. The above real-time updated database cell table is obtained by dynamically updating according to the system information sent by the network side in real time, terminal shared information, and OTA information (Over-The-Air technology) pushed by the cloud, so as to ensure the accuracy and comprehensiveness of the data. After obtaining the available cell list, the signal quality of the cells in the available cell list is measured based on a preset measurement strategy, and it is judged whether the cell meets the preset communication conditions according to the measured signal quality data and duration of the cell, so as to determine the target cell according to the judgment result. When the target cell is a cellular cell, the current network is switched to the cellular network corresponding to the cellular cell, and when the target cell is a satellite cell, the current network is switched to the non-terrestrial network corresponding to the satellite cell. This application provides a reliable basis for constructing an available cell list through a dynamically updated database cell table, and realizes the accuracy and reliability of the cell transformation of the terminal device between the cellular network and the non-terrestrial network based on the obtained available cell list, thereby improving the stability and continuity of the network communication of the terminal device, and ensuring the stability, continuity, and service quality of the services in various mobile scenarios.
[0093] The following uses specific embodiments to elaborate in detail on the technical solutions of this application and how the technical solutions of this application solve the above technical problems. These several specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The following will describe the embodiments of this application with reference to the accompanying drawings.
[0094] The specific application scenarios of this application include the network side and the terminal side. The terminal side includes multiple terminal devices. Among them, for any one terminal device, Figure 1 is a schematic diagram of the application scenario of the network switching method provided by this application, as Figure 1As shown, after the terminal device is powered on, it registers the network of the current serving cell, and when entering the C-V2X service scenario, it determines whether the network of the current cell meets the preset transformation condition according to the data provided by the network side. When the preset transformation condition is met, it switches the mobile communication network from the current cell to a new cell, such as a cellular cell or a satellite cell. The terminal device of the present application can be a ground mobile terminal or an airborne mobile terminal, and the present application does not limit this.
[0095] Figure 2 Schematic flow of the network switching method provided by the present application Figure 1 , such as Figure 2 As shown, the method includes:
[0096] S201. Perform network registration based on the power-on instruction, and monitor the network of the current serving cell in real time to obtain the signal quality data and duration of the current serving cell.
[0097] More specifically, perform network registration based on the power-on instruction, and monitor the network of the current serving cell in real time to obtain the signal quality data and duration of the current serving cell.
[0098] In a possible embodiment, after the terminal device is powered on, it performs network registration and connects to a cellular network or a non-terrestrial network. When entering a service scenario (such as, the C-V2X service scenario), it monitors the signal quality of the current serving cell in real time to obtain the signal quality data and duration of the current serving cell. Exemplarily, the signal quality data of the current serving cell includes RSRP data, RSRQ data, SINR data, and RSSI data.
[0099] Optionally, a total switch is constructed for the network switching method of the present application, and the control strategy corresponding to the total switch can be adjusted through the control panel or through macro definition in the code. In this embodiment, the control strategy of the total switch is default to the on state. For example, based on the power-on instruction, the terminal device loads the control strategy corresponding to the total switch A during the power-on process, and starts the network switching process of the present solution based on the control strategy in the default on state.
[0100] S202. Determine whether the current serving cell meets the preset transformation condition. When it is determined that the current serving cell meets the preset transformation condition, construct a list of available cells.
[0101] More specifically, determine whether the current serving cell meets the preset transformation condition. When it is determined that the current serving cell meets the preset transformation condition, construct a list of available cells; the preset transformation condition means that the signal quality data is lower than the first preset threshold and the duration exceeds the first preset time.
[0102] Optionally, after obtaining the RSRP data, RSRQ data, SINR data, and RSSI data of the current serving cell, determine whether the current serving cell meets the preset transformation condition, that is, determine whether the RSRP data, RSRQ data, SINR data, and RSSI data of the current serving cell are lower than the first preset threshold Threshold1, and whether the duration of being lower than the first preset threshold exceeds the first preset time.
[0103] Optionally, the first preset threshold Threshold1 includes the threshold marking bits corresponding to RSRP, RSRQ, SINR, and RSSI respectively. By configuring the threshold marking bits corresponding to the RSRP, RSRQ, SINR, and RSSI parameters when the cell network signal quality is poor, the first preset threshold is obtained.
[0104] Optionally, developers optimize the setting of the first preset threshold according to the cell density, coverage area, number of cells, cell priority (including RAT priority), and actual network measurement results in each region to avoid problems of power consumption and ping-pong handover caused by being too large or too small. Among them, the threshold marking bits of the first preset threshold are adjusted and configured through the control panel.
[0105] Exemplarily, since the service continuity is affected when the RSRP data is lower than -120 dBm in the 4G network or lower than -130 dBm in the 5G network, the threshold marking bit of the RSRP parameter in the first preset threshold Threshold1 of the current serving cell is set to -118 dBm (4G) and -128 dBm (5G). The determination method of the threshold marking bits of the RSRQ, SINR, and RSSI parameters in the first preset threshold is similar to that of the RSRP parameter in the first preset threshold, and this embodiment will not elaborate. Among them, the setting of the first preset threshold Threshold1 can be a single index (RSRP) or a combined index [RSRP&&||RSRQ&&||SINR&&||RSSI].
[0106] Optionally, in this embodiment, the timer Time1 is used to determine the duration for which the signal quality data of the current serving cell is lower than the threshold marking bit of the corresponding parameter in the first preset threshold Threshold1.
[0107] Optionally, the terminal device constructs a database cell table and updates the database cell table in real time.
[0108] Optionally, the construction and update of the database cell table include: obtaining preset configuration information, generating a database cell table according to the preset configuration information; the preset configuration information includes historical registered cell information, cellular operating network information, and non-terrestrial operating network information; based on the registered network, receiving in real time the system information of the current serving cell sent by the network side, obtaining the serving cell information and neighbor cell information at the current moment; updating the database cell table according to the serving cell information and neighbor cell information.
[0109] In a possible embodiment, as Figure 3 shown, the terminal device writes the preset configuration information into the database. More specifically, as Figure 4 shown, the terminal device obtains the preset configuration information based on the cellular operating network information (i.e., cellular network information) and non-terrestrial operating network information (i.e., non-terrestrial network information) sent in real time by the network side, writes the preset configuration information into the database in advance, and saves it to obtain the database cell table. The ways of storing the preset cellular operating network information and non-terrestrial operating network information in the terminal device in this application include but are not limited to various storage methods such as database storage and XML storage, so as to adapt to different device resource limitations.
[0110] In a possible embodiment, the terminal device writes the historical registered cell information, cellular operating network information, and non-terrestrial operating network information into the database and saves them to obtain the completed database cell table.
[0111] Exemplarily, in this embodiment, the cells belonging to the non-terrestrial network in the database cell table are marked with satellite IDs (or corresponding TA areas), and the cells belonging to the cellular network are marked with PLMN (Public Land Mobile Network) identifiers (or corresponding TA areas). This application does not limit the identification fields corresponding to each cell in the database cell table. Among them, TA (Tracking Area) refers to the location area of the LTE packet domain.
[0112] Exemplarily, Figure 5 is the structural schematic diagram of the database cell table provided by this application. As Figure 5 shown, the database cell table includes fields corresponding to the non-terrestrial network and the cellular network respectively. There is an identification field of satellite ID under the non-terrestrial network field, and the corresponding satellite cell information is determined based on the identification field of the satellite ID. At the same time, there is an identification field of the public land mobile network under the cellular network field, and the corresponding cellular cell information is determined based on the identification field of the public land mobile network. Among them, the satellite cell information includes but is not limited to cell ID, frequency point, base station information, beam, satellite ID, satellite overpass time, and the cellular cell information includes but is not limited to cell ID, frequency point, base station information.
[0113] In a possible embodiment, asFigure 3 As shown, after the terminal device registers with the network, it receives the system message of the current serving cell sent by the network side, obtains the latest serving cell information and neighbor cell information at the current moment based on this system message, and updates the serving cell information and neighbor cell information to the database cell table in the database.
[0114] Optionally, after generating the database cell table, it further includes: if an instruction to enter the C-V2X service scenario is received, obtaining terminal sharing information within a preset range based on the current location information, where the terminal sharing information includes cell information shared by multiple adjacent terminal devices within the preset range; and updating the database cell table according to the terminal sharing information.
[0115] Exemplarily, as Figure 3 shown, when an instruction to enter the C-V2X service scenario is received, obtaining the terminal sharing information sent by multiple adjacent terminal devices within a preset range based on the current location information, and updating the terminal sharing information to the database cell table in the database. The multiple adjacent terminal devices are terminal devices that support registering for both the cellular network and the non-terrestrial network and enter the C-V2X service scenario. Among them, the preset range is determined according to the communication distance and communication quantity specified in the 3GPP protocol.
[0116] Optionally, after generating the database cell table, it further includes: if OTA information pushed by the cloud database is received, updating the database cell table based on the OTA information.
[0117] Exemplarily, as Figure 3 shown, when the OTA information pushed by the cloud database is received, determining the cell information that needs to be updated in the database cell table based on this OTA information and performing the update.
[0118] Optionally, determining an available cell list according to the updated database cell table, where the number of the available cell list is configured by the developer according to the actual situation.
[0119] In this embodiment, a database cell table is generated and saved according to the preset configuration information, and the database cell table is updated according to the system information and terminal sharing information sent by the network side in real time to ensure the authenticity and accuracy of the database cell table, and the stored cell information is updated in a timely manner by pushing information from the cloud data, further improving the comprehensiveness and reliability of each cell information in the database of the terminal device.
[0120] Optionally, a list of available cells is constructed, specifically including: obtaining the current location information, determining the public land mobile network identifier corresponding to the location information based on the database cell table updated in real time, and determining the corresponding available cellular cell information based on the public land mobile network identifier; the database cell table is constructed and updated by the terminal device; determining the target over-the-top satellite ID based on the location information, determining the satellite cell information corresponding to the target over-the-top satellite ID based on the database cell table, and obtaining the available satellite cell information; generating a list of available cells according to the available cellular cell information and the available satellite cell information.
[0121] Optionally, before generating the list of available cells, it further includes: if receiving real-time system information, generating a list of available cells according to the system information, the available cellular cell information, and the available satellite cell information.
[0122] In a possible embodiment, when the terminal device determines the available cellular cell information and the available satellite cell information based on the current database cell table, if receiving the system information sent by the network side in real time, generating a list of available cells according to the system information, the available cellular cell information, and the available satellite cell information. In this embodiment, when the database cell table is not updated in time, the list of available cells is preferentially generated according to the valid system information, improving the reliability and accuracy of the list of available cells.
[0123] Optionally, determining the target over-the-top satellite ID based on the location information specifically includes: obtaining the current time information and ephemeris data; performing ephemeris calculation on the location information, the time information, and the ephemeris data, obtaining the ephemeris calculation result and storing it; the location information includes altitude information and longitude and latitude information, and the ephemeris calculation result includes the satellite ID and the running trajectory data corresponding to each satellite respectively; performing ephemeris estimation on the ephemeris calculation result, obtaining the ephemeris estimation result and storing it; the ephemeris estimation result includes the satellite ID, the arrival time, and the departure time corresponding to each satellite respectively; determining the surrounding satellite IDs corresponding to the location information according to the running trajectory data corresponding to each satellite in the ephemeris calculation result; obtaining the arrival time and the departure time corresponding to the surrounding satellite IDs based on the ephemeris estimation result, and determining the target over-the-top satellite ID corresponding to the terminal device.
[0124] Exemplarily, the running trajectory data includes longitude information, latitude information, azimuth information, elevation angle information, time information, and orbit information during real-time operation. The location information includes the current longitude information, latitude information, and altitude information.
[0125] In a possible embodiment, Figure 6 is a schematic flowchart of the process for calculating the target over-the-top satellite ID provided by this application, as Figure 6As shown, obtain the location information, time information, and ephemeris data of the current location of the terminal device, and store the obtained ephemeris data in the ephemeris data table of the database. Perform ephemeris calculation processing on the location information, time information, and ephemeris data stored in the ephemeris data table through an ephemeris calculation algorithm to obtain an ephemeris calculation result, that is, the satellite ID and operating trajectory data of each satellite. Store the ephemeris calculation result in the ephemeris calculation table of the database. Among them, the ephemeris calculation algorithm in this embodiment is an open-source algorithm or open-source model. By inputting the current time information, location information, and ephemeris data into the corresponding model, the ephemeris calculation result is obtained. The ephemeris calculation principle and technical effect of this embodiment are similar to those of the prior art, and will not be elaborated here.
[0126] In a possible embodiment, as Figure 6 shown, after obtaining the ephemeris calculation result, perform ephemeris estimation processing on the data in the ephemeris calculation table through an ephemeris estimation algorithm to obtain an ephemeris estimation result, that is, the satellite ID corresponding to each satellite and the arrival time and departure time corresponding to reaching this terminal device. Store the ephemeris estimation result in the ephemeris estimation table of the database. Among them, the ephemeris estimation algorithm in this embodiment is recorded in the publicly disclosed technology and will not be elaborated here.
[0127] In a possible embodiment, as Figure 6 shown, determine the surrounding satellite IDs around the current location of the terminal device according to the satellite IDs and operating trajectory data of each satellite in the ephemeris calculation table. According to the ephemeris estimation result in the ephemeris estimation table, determine the arrival time and departure time of the surrounding satellite IDs reaching this terminal device, and obtain the over-the-top duration of the surrounding satellite IDs. Determine the satellite ID with the fastest over-the-top based on this terminal device according to the arrival time and over-the-top duration, and obtain the target over-the-top satellite ID corresponding to the terminal device.
[0128] Exemplarily, the ways for the terminal device to obtain the current location information include, but are not limited to, positioning satellites through the GNSS module in the terminal device, non-terrestrial network base stations, and map application software in the terminal device operating system. The ways for the terminal device to obtain the current time information include, but are not limited to, obtaining it through cellular base stations, non-terrestrial network base stations, or the mobile network on the network side. The ways for the terminal device to obtain the current ephemeris data include, but are not limited to, obtaining it through the non-terrestrial network or mobile network issued by the network side.
[0129] In this embodiment, the terminal device performs ephemeris calculation and ephemeris estimation processing according to the current location information, time information, and ephemeris data to obtain the target over-the-top satellite ID with the fastest over-the-top, which solves the problem of poor accuracy of the data on which the network side generates transformation instructions, and further enhances the service stability, continuity, and service quality in various mobile scenarios.
[0130] In a possible embodiment, based on Figure 5 the database cell table structure shown, after obtaining the database cell table and the current location information of the terminal device and the target over-the-top satellite ID, query the corresponding target public land mobile network identification field under the cellular network field in the database cell table according to the location information, and determine the corresponding cellular cell based on the target public land mobile network identification field, so as to obtain the available cellular cell information. At the same time, query the corresponding target satellite ID identification field under the non-terrestrial network (such as, 5G non-terrestrial network) field in the database cell table according to the target over-the-top satellite ID, and determine the corresponding satellite cell based on the target satellite ID identification field, so as to obtain the available satellite cell information. Generate an available cell list according to the available satellite cell information and the available cellular cell information. In this embodiment, the terminal device queries the corresponding cell in the real-time updated database cell table according to the current location information and the target over-the-top satellite ID to generate an available cell list that includes both cellular cells and satellite cells, and provides a basis for cell transformation through the available cell list, realizing the fast and smooth handover between the cellular network and the non-terrestrial network, and improving the network continuity and transmission stability of the terminal device.
[0131] Optionally, after generating the database cell table, it further includes: updating the non-terrestrial operating network information in the database cell table according to the ephemeris calculation result and the ephemeris estimation result.
[0132] Exemplarily, the satellite cell information (such as, satellite ID, beam coverage range, effective service time window, etc.) in the database is dynamically updated through the ephemeris calculation result and the ephemeris estimation result.
[0133] Optionally, when the database cell table is updated, the available cell list is synchronously updated based on the updated database cell table.
[0134] In this embodiment, by dynamically updating the satellite cell information in the database, the key parameters such as the satellite over-the-top time and signal strength in the database are corrected in real time, avoiding relying on static or lagged satellite parameters, reducing the failure rate of signal handover of the terminal device, and improving the network continuity and transmission stability of the terminal device.
[0135] S203. Measure the signal quality of the cells in the available cell list based on a preset measurement strategy, and determine the target cell; perform network handover based on the target cell.
[0136] More specifically, measure the signal quality of the cells in the available cell list based on a preset measurement strategy, and determine the target cell; perform network handover based on the target cell, where when the target cell is a cellular cell, the network is switched to the cellular network corresponding to the cellular cell, and when the target cell is a satellite cell, the network is switched to the non-terrestrial network corresponding to the satellite cell.
[0137] Optionally, the preset measurement strategy includes, but is not limited to, a sequential measurement strategy and a full measurement strategy.
[0138] Optionally, if the preset measurement strategy is a sequential measurement strategy, polling measurements are performed on the cells in the available cell list; when the signal quality data and duration of a cell are obtained in each measurement, it is determined whether the signal quality of the cell meets the preset communication conditions; the preset communication conditions refer to that the network signal quality data is higher than the second preset threshold and the duration exceeds the second preset time; the cell whose signal quality meets the preset communication conditions obtained from the polling measurement is determined as the target cell; if there is no cell in the available cell list whose signal quality meets the preset communication conditions in the polling measurement, the signal quality of the current serving cell is continuously monitored.
[0139] Optionally, if the preset measurement strategy is a full measurement strategy, the signal quality of each cell in the available cell list is measured separately to obtain the signal quality data and duration corresponding to each cell in the available cell list; according to the signal quality data and duration of each cell, it is determined whether the signal quality of the corresponding cell meets the preset communication conditions, and the cells that meet the preset communication conditions are sorted to obtain a sorting result; the target cell is determined according to the sorting result.
[0140] Optionally, the preset measurement strategy can be determined by the user of the terminal device, or the developer can configure the corresponding measurement strategy for different scenarios for the user to select the corresponding measurement strategy in the target scenario. For example, for a scenario with high network requirements, the preset measurement strategy is selected as the full measurement strategy, and for an emergency communication scenario, the preset measurement strategy is selected as the sequential measurement strategy.
[0141] Optionally, after obtaining the target cell, the terminal device performs a cell transformation operation based on the target cell, where the cell transformation operation includes, but is not limited to, handover, reselection, redirection, active network search, and background network search.
[0142] In this embodiment, by adopting a sequential measurement strategy in an emergency communication scenario, when the first cell that meets the preset communication conditions is obtained based on the available cell list, the corresponding cell transformation is performed, and in a scenario with high network requirements, a full measurement strategy is adopted to select the optimal cell for cell transformation when the signal quality of each cell in the current available cell list is obtained, so as to achieve a fast and smooth handover of the network in different scenarios, and improve the continuity, stability, and reliability of the network.
[0143] Optionally, the second preset threshold Threshold2 includes threshold flag bits corresponding to RSRP, RSRQ, SINR, and RSSI parameters respectively. By configuring the threshold flag bits corresponding to RSRP, RSRQ, SINR, and RSSI parameters when the cell network signal quality is good, the second preset threshold is obtained.
[0144] Exemplarily, since the service continuity is not affected when the RSRP data is higher than -90 dBm in the 4G network or higher than -100 dBm in the 5G network, the threshold flag bit of the RSRP parameter in the second preset threshold Threshold2 corresponding to the current serving cell is set to -90 dBm (4G) and -100 dBm (5G). The determination methods of the threshold flag bits of the RSRQ, SINR, and RSSI parameters in the second preset threshold are similar to those of the RSRP parameter in the second preset threshold, and will not be elaborated in this embodiment. Among them, the setting of the second preset threshold Threshold2 can be a single indicator (RSRP) or a combined indicator [RSRP && || RSRQ && || SINR && || RSSI].
[0145] Optionally, in this embodiment, the timer Time2 is used to determine the duration for which the target cell is higher than the threshold flag bit of the corresponding parameter in the second preset threshold Threshold2.
[0146] Optionally, the configuration of the threshold flag bits corresponding to the first preset threshold Threshold1, the second preset threshold Threshold2, the timer Time1, and the timer Time2 in the embodiments of the present application needs to be adjusted according to the network environment of the current cell. The configuration items of the above parameters are different in different regions and different markets, and developers adjust and set the above parameters according to the specific network environment. Among them, the above parameters can be saved through one configuration item or multiple configurations. In this embodiment, the above parameters are adjusted and configured through the control panel.
[0147] The network switching method provided by the embodiments of the present application enables the terminal device to construct a list of available cells when determining that the signal quality data of the current serving cell is lower than the first preset threshold and the duration exceeds the first preset time, measure the signal quality of the cells in the list of available cells based on a preset measurement strategy, determine the target cell according to the measurement results, and thus switch the current network to the cellular network corresponding to the cellular cell and switch the current network to the non-terrestrial network corresponding to the satellite cell when the target cell is a satellite cell, realizing fast and smooth switching of the terminal device between the cellular network and the non-terrestrial network, improving the stability and continuity of the network communication of the terminal device, and reducing the impact on the user experience during the cell transformation process.
[0148] Figure 7 Schematic diagram of the network switching method provided in this application Figure 2 ,like Figure 7 As shown, in this embodiment Figure 2 On the basis of the embodiment, when the preset measurement strategy is a sequential measurement strategy, a network switching method is described in detail, and the method includes:
[0149] S701. Register the network.
[0150] More specifically, the terminal device registers with the network of the current serving cell after being powered on.
[0151] S702. Enter the C-V2X business scenario.
[0152] More specifically, the terminal device enters the C-V2X service scenario based on an instruction to enter the C-V2X service scenario.
[0153] S703: Determine whether the main switch is turned on.
[0154] More specifically, the terminal device determines that the control main switch corresponding to the present solution is in the on state, wherein the state of the main switch is the on state by default.
[0155] S704: Determine whether the network meets a preset transformation condition.
[0156] More specifically, the network of the current service cell is monitored in real time to obtain the signal quality data and duration of the network of the current service cell. When it is determined that the signal quality data is lower than a first preset threshold and the duration exceeds a first preset time, it is determined that the network meets the preset transformation conditions; otherwise, it is determined that the network does not meet the preset transformation conditions.
[0157] Optionally, when it is determined that the preset transformation condition is met, step S705 is executed.
[0158] Optionally, when it is determined that the preset conversion condition is not met, step S704 is executed to continue to monitor the network in real time.
[0159] S705: When a preset change condition is met, construct an available cell list.
[0160] More specifically, when it is determined that the preset transformation conditions are met, the current location information, time information, and ephemeris data are obtained and processed through an ephemeris calculation algorithm to obtain the satellite ID and trajectory data corresponding to each satellite. The ephemeris of each satellite is estimated through an ephemeris estimation algorithm to obtain the satellite ID, the time of arrival at the terminal device, and the time of departure from the terminal device corresponding to each satellite. The overflight duration of each satellite is determined according to the time of arrival at the terminal device and the time of departure from the terminal device of each satellite, and the target overflight satellite ID that reaches the terminal device fastest is determined according to the current location information of the terminal device, the time of arrival of each satellite at the terminal device, and the overflight duration. The corresponding available satellite cell information is queried in the database cell table according to the target overflight satellite ID, and the corresponding available cellular cell information is queried in the database cell table according to the location information, so as to obtain an available cell list.
[0161] S706. Sequentially measure the signal quality of the cells in the available cell list.
[0162] More specifically, based on the sequential measurement strategy, the signal quality of the cells in the available cell list is polled for measurement. For example, after measuring the signal quality of the first cell in the available cell list and obtaining the signal quality data and duration corresponding to the first cell, step S707 is executed.
[0163] S707. Determine whether the cell meets the preset communication conditions.
[0164] More specifically, based on the signal quality of the first cell obtained in step S706, when it is determined that the signal quality data of the first cell is higher than the second preset threshold and the duration exceeds the second preset time, it is determined that the cell meets the preset communication conditions, and step S708 is executed. Otherwise, it is determined that the cell does not meet the preset communication conditions. At this time, step S706 is executed to poll and measure the signal quality of the next cell (the second cell) in the available cell list until a cell that meets the preset communication conditions is obtained.
[0165] Optionally, if no cell that meets the preset communication conditions is obtained after polling the available cell list, continue to monitor the network of the current serving cell.
[0166] S708. When the preset communication conditions are met, determine whether it is the current serving cell.
[0167] More specifically, when it is determined in step S707 that the first cell meets the preset communication conditions, determine whether the first cell is the current serving cell.
[0168] S709. When it is not the current registered cell, perform cell transformation.
[0169] More specifically, when it is determined that it is not the current serving cell, cell transformation is performed according to the cell information corresponding to the first cell.
[0170] Optionally, if the current serving cell is cellular cell 1 and the first cell is cellular cell 2, transformation between different cellular cells is achieved.
[0171] Optionally, if the current serving cell is cellular cell 1 and the first cell is satellite cell 1, transformation between a cellular cell and a satellite cell is achieved.
[0172] Optionally, if the current serving cell is satellite cell 1 and the first cell is satellite cell 2, transformation between different satellite cells is achieved.
[0173] The network switching method provided by the embodiments of the present application is based on an ordered measurement strategy. When a cell that meets the preset communication conditions is obtained by polling the available cell list, the measurement is stopped, and cell transformation is performed according to this cell, meeting the cell transformation requirements in the scenario of emergency communication, improving the cell transformation rate, and enhancing service continuity and stability.
[0174] Figure 8 For the flowchart of the network switching method provided by the present application Figure 3 , as Figure 8 shown, on the basis of the Figure 7 embodiment, based on a full measurement strategy, the network switching method after constructing the available cell list is described in detail. The method includes:
[0175] S801. Perform a full measurement of the signal quality of each cell in the available cell list.
[0176] More specifically, after the terminal device constructs the available cell list, based on the full measurement strategy, it performs a full measurement of the signal quality of each cell in the available cell list to obtain the signal quality data and duration respectively corresponding to each cell in the available cell list.
[0177] S802. Determine the cells that meet the preset communication conditions, and perform sorting to obtain the target cell.
[0178] More specifically, determine whether each cell meets the preset communication conditions respectively, and sort multiple cells whose signal quality data is higher than the second preset threshold and whose duration exceeds the second preset time, and use the cell ranked first as the target cell.
[0179] Optionally, after obtaining multiple cells whose signal quality data is higher than the second preset threshold and whose duration exceeds the second preset time, perform sorting according to the signal quality data and duration of the cells.
[0180] S803. Perform cell transformation.
[0181] More specifically, when it is determined that the target cell is not the current serving cell of the terminal device, the current serving cell is switched to the target cell.
[0182] The network switching method provided by the embodiments of the present application is based on a full measurement strategy. After measuring all available cells in the full measurement available cell list, one or more cells that meet the preset communication conditions are obtained. By sorting the above cells, the cell of the optimal network is obtained, and thus cell switching is performed based on this cell, meeting the cell switching requirements in scenarios with high network requirements and enhancing the user experience.
[0183] Figure 9 It is a schematic structural diagram of the network switching device provided by the present application, which is applied to a terminal device, such as Figure 9 As shown, the network switching device 90 provided in this embodiment includes:
[0184] An acquisition module 901, configured to perform network registration based on a power-on instruction, and perform real-time monitoring on the network of the current serving cell to obtain the signal quality data and duration of the current serving cell;
[0185] A processing module 902, configured to determine whether the current serving cell meets the preset switching conditions. When it is determined that the serving cell meets the preset switching conditions, an available cell list is constructed; the preset switching conditions refer to that the signal quality data is lower than a first preset threshold and the duration exceeds a first preset time;
[0186] The processing module 902 is further configured to measure the signal quality of the cells in the available cell list based on a preset measurement strategy to determine the target cell; perform network switching based on the target cell. When the target cell is a cellular cell, the network is switched to the cellular network corresponding to the cellular cell. When the target cell is a satellite cell, the network is switched to the non-terrestrial network corresponding to the satellite cell.
[0187] Optionally, the processing module 902 is further configured to obtain the current location information, determine the public land mobile network identifier corresponding to the location information based on the database cell table updated in real time, and determine the corresponding available cellular cell information based on the public land mobile network identifier; the database cell table is constructed and updated by the terminal device;
[0188] Determine the target over-the-top satellite ID based on the location information, and determine the satellite cell information corresponding to the target over-the-top satellite ID based on the database cell table to obtain the available satellite cell information;
[0189] Generate an available cell list according to the available cellular cell information and the available satellite cell information.
[0190] Optionally, the processing module 902 is further configured to, before generating the available cell list, if receiving real-time system information, generate an available cell list according to the system information, available cellular cell information, and available satellite cell information.
[0191] Optionally, the processing module 902 is further configured to obtain preset configuration information and generate a database cell table according to the preset configuration information; the preset configuration information includes historical registered cell information, cellular operating network information, and non-terrestrial operating network information;
[0192] Based on the registered network, real-time receive the system information of the current serving cell sent by the network side to obtain the serving cell information and neighbor cell information at the current moment;
[0193] Update the database cell table according to the serving cell information and neighbor cell information.
[0194] Optionally, after generating the database cell table, if the processing module 902 receives an instruction to enter the C-V2X service scenario, it is further configured to obtain terminal sharing information within a preset range based on the current location information, where the terminal sharing information includes cell information shared by multiple adjacent terminal devices within the preset range;
[0195] Update the database cell table according to the terminal sharing information.
[0196] Optionally, after generating the database cell table, if the processing module 902 receives OTA information pushed by the cloud database, it is further configured to update the database cell table based on the OTA information.
[0197] Optionally, the processing module 902 is further configured to obtain the current time information and ephemeris data; perform ephemeris calculation on the location information, time information, and ephemeris data to obtain and store the ephemeris calculation result; the location information includes altitude information and longitude and latitude information, and the ephemeris calculation result includes the satellite ID and orbit data corresponding to each satellite;
[0198] Perform ephemeris estimation on the ephemeris calculation result to obtain and store the ephemeris estimation result; the ephemeris estimation result includes the satellite ID, arrival time, and departure time corresponding to each satellite;
[0199] According to the orbit data corresponding to each satellite in the ephemeris calculation result, determine the surrounding satellite IDs corresponding to the location information; obtain the arrival time and departure time corresponding to the surrounding satellite IDs based on the ephemeris estimation result, and determine the target over-the-top satellite ID corresponding to the terminal device.
[0200] Optionally, after generating the database cell table, the processing module 902 is further configured to update the non-terrestrial operating network information in the database cell table according to the ephemeris calculation result and the ephemeris estimation result.
[0201] Optionally, the processing module 902 is further configured to perform polling measurements on the cells in the available cell list when the preset measurement strategy is the sequential measurement strategy; when the signal quality data and duration of a cell are obtained in each measurement, determine whether the signal quality of the cell meets the preset communication conditions; the preset communication conditions refer to that the network signal quality data is higher than the second preset threshold and the duration exceeds the second preset time;
[0202] Determine the cell whose signal quality meets the preset communication conditions obtained by the polling measurement as the target cell;
[0203] If there is no cell in the available cell list whose signal quality meets the preset communication conditions in the polling measurement, continue to monitor the signal quality of the current serving cell.
[0204] Optionally, the processing module 902 is further configured to perform measurements on the signal quality of each cell in the available cell list respectively when the preset measurement strategy is the full measurement strategy, and obtain the signal quality data and duration corresponding to each cell in the available cell list;
[0205] According to the signal quality data and duration of each cell, determine whether the signal quality of the corresponding cell meets the preset communication conditions, and sort the cells that meet the preset communication conditions to obtain a sorting result; determine the target cell according to the sorting result.
[0206] The network switching device provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here in this embodiment.
[0207] Figure 10 It is a schematic structural diagram of an electronic device provided in the present application. As Figure 10 shown, the electronic device 100 provided in this embodiment includes: at least one processor 1001 and a memory 1002. Optionally, the device 100 further includes a communication component 1003. Among them, the processor 1001, the memory 1002, and the communication component 1003 are connected through a bus 1004.
[0208] In the specific implementation process, at least one processor 1001 executes the computer execution instructions stored in the memory 1002, so that at least one processor 1001 executes the above method.
[0209] The specific implementation process of the processor 1001 can refer to the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here in this embodiment.
[0210] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU for short), or other general-purpose processors, digital signal processors (DSP for short), application specific integrated circuits (ASIC for short), etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly implemented by the execution of the hardware processor, or implemented by the combination of hardware and software modules in the processor.
[0211] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0212] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0213] This application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0214] This application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the processor executes the computer-executable instructions, the above method is implemented.
[0215] The above-readable storage medium can 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, a magnetic disk or an optical disc. The readable storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0216] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be part of the processor. The processor and the readable storage medium can be located in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in a device.
[0217] The division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the couplings or direct couplings or communication connections shown or discussed among each other can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0218] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0219] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0220] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in each embodiment of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks or optical discs that can store program codes.
[0221] Those of ordinary skill in the art will understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments; and the foregoing storage medium includes various media that can store program codes, such as ROM, RAM, magnetic disks, or optical discs.
[0222] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include known common knowledge or conventional technical means in the technical field not disclosed by the present invention. It is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. A network switching method, characterized in that, Applied to a terminal device, including: Performing network registration based on a power-on instruction, and performing real-time monitoring on the network of the current serving cell to obtain signal quality data and duration of the current serving cell; Determining whether the current serving cell meets a preset transformation condition, and constructing a list of available cells when it is determined that the serving cell meets the preset transformation condition; the preset transformation condition means that the signal quality data is lower than a first preset threshold and the duration exceeds a first preset time; Measuring the signal quality of the cells in the list of available cells based on a preset measurement strategy to determine a target cell; performing network handover based on the target cell, wherein when the target cell is a cellular cell, switching the network to the cellular network corresponding to the cellular cell, and when the target cell is a satellite cell, switching the network to the non-terrestrial network corresponding to the satellite cell.
2. The method according to claim 1, wherein Constructing the list of available cells specifically includes: Obtaining current location information, determining a public land mobile network identifier corresponding to the location information based on a database cell table updated in real time, and determining corresponding available cellular cell information based on the public land mobile network identifier; the database cell table is constructed and updated by the terminal device; Determining a target over-the-top satellite ID based on the location information, and determining satellite cell information corresponding to the target over-the-top satellite ID based on the database cell table to obtain available satellite cell information; Generating the list of available cells according to the available cellular cell information and the available satellite cell information.
3. The method according to claim 2, wherein Before generating the list of available cells, it further includes: If receiving real-time system information, generating the list of available cells according to the system information, the available cellular cell information and the available satellite cell information.
4. The method according to claim 2, wherein The construction and update of the database cell table include: Obtaining preset configuration information, and generating a database cell table according to the preset configuration information; the preset configuration information includes historical registered cell information, cellular operating network information and non-terrestrial operating network information; Based on the registered network, receiving system information of the current serving cell sent by the network side in real time to obtain serving cell information and neighbor cell information at the current moment; updating the database cell table according to the serving cell information and the neighbor cell information.
5. The method according to claim 4, characterized in that After generating the database cell table, it further includes: If receiving an instruction to enter the C-V2X service scenario, obtaining terminal sharing information within a preset range based on the current location information, where the terminal sharing information includes cell information shared by multiple adjacent terminal devices within the preset range; Updating the database cell table according to the terminal sharing information.
6. The method according to claim 4, characterized in that, After generating the database cell table, it further includes: If receiving OTA information pushed by a cloud database, updating the database cell table based on the OTA information.
7. The method according to claim 2, characterized in that Determining a target over-the-top satellite ID based on the location information specifically includes: Obtain the current time information and ephemeris data; perform ephemeris calculation on the position information, the time information, and the ephemeris data to obtain an ephemeris calculation result and store it; the position information includes altitude information and longitude and latitude information, and the ephemeris calculation result includes the satellite ID and the trajectory data corresponding to each satellite respectively; Perform ephemeris estimation on the ephemeris calculation result to obtain an ephemeris estimation result and store it; the ephemeris estimation result includes the satellite ID, the arrival time, and the departure time corresponding to each satellite respectively; Determine the surrounding satellite IDs corresponding to the position information based on the trajectory data of each satellite in the ephemeris calculation result; obtain the arrival time and the departure time corresponding to the surrounding satellite IDs based on the ephemeris estimation result, and determine the target over-the-top satellite ID corresponding to the terminal device.
8. The method according to claim 7, characterized in that After generating the database cell table, it further includes: Update the non-terrestrial operating network information in the database cell table according to the ephemeris calculation result and the ephemeris estimation result.
9. The method according to claim 1, characterized in that It further includes: If the preset measurement strategy is a sequential measurement strategy, poll and measure the cells in the available cell list; When the signal quality data and the duration of a cell are obtained in each measurement, determine whether the signal quality of the cell meets the preset communication condition; the preset communication condition means that the network signal quality data is higher than the second preset threshold and the duration exceeds the second preset time; Determine the cell whose signal quality meets the preset communication condition obtained by the polling measurement as the target cell; If there is no cell in the available cell list whose signal quality meets the preset communication condition during the polling measurement, continue to monitor the signal quality of the current serving cell.
10. The method according to claim 1, wherein It further includes: If the preset measurement strategy is a full measurement strategy, measure the signal quality of each cell in the available cell list respectively to obtain the signal quality data and the duration corresponding to each cell in the available cell list respectively; Determine whether the signal quality of the corresponding cell meets the preset communication condition according to the signal quality data and the duration of each cell, and sort the cells that meet the preset communication condition to obtain a sorting result; determine the target cell according to the sorting result.
11. A network switching device, characterized in that, Applied to a terminal device, it includes: An acquisition module, configured to perform network registration based on a power-on instruction and perform real-time monitoring on the network of the current serving cell to obtain the signal quality data and the duration of the current serving cell; A processing module, configured to determine whether the current serving cell meets the preset transformation condition, and construct an available cell list when it is determined that the serving cell meets the preset transformation condition; the preset transformation condition means that the signal quality data is lower than the first preset threshold and the duration exceeds the first preset time; The processing module is further configured to measure the signal quality of the cells in the available cell list based on a preset measurement strategy to determine a target cell; and perform a network handover based on the target cell. When the target cell is a cellular cell, the network is handed over to the cellular network corresponding to the cellular cell, and when the target cell is a satellite cell, the network is handed over to the non-terrestrial network corresponding to the satellite cell.
12. An electronic device, characterized in that, It includes: a memory and a processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method according to any one of claims 1-10.
13. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by the processor, they are used to implement the method according to any one of claims 1-10.
14. A computer program product, characterized in that, It includes a computer program, and when the computer program is executed by the processor, it implements the method according to any one of claims 1-10.
Citation Information
Patent Citations
Communication network switching method and device, electronic equipment and storage medium
CN111711973A
Cell switching method and device, electronic equipment and readable storage medium
CN115442862A
Cell switching method, network equipment and terminal
CN117014974A
Mobile Communication Terminal and Method for performing hand-over in wireless LAN
KR1020120052458A