Network switching method and device, electronic equipment and vehicle
By obtaining the quality data of cellular and satellite networks and dynamically switching network channels, the problem of cellular and satellite network switching is solved, and high-quality and low-cost network services are provided to meet user needs.
Patent Information
- Application Number
- CN202410102168.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-24
- Publication Date
- 2025-07-25
AI Technical Summary
How to efficiently and reasonably realize the switching between cellular networks and satellite networks, solve the problem of low communication rates and high costs of satellite networks, and provide higher quality and lower cost network services.
By obtaining the network channel and network service operation status of the communication terminal, determining the network operation status, and obtaining the quality data of the cellular and satellite networks under the preset conditions, dynamically switch the network channels according to network requirements and quality data, and controlling the communication terminal to communicate with the target network channel.
It realizes dynamic switching of network channels according to business needs and network needs, provides high-quality network services, saves network costs and improves user experience.
Smart Images

Figure CN120378977A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network technologies, and particularly to a network switching method, apparatus, electronic device, and vehicle. Background Art
[0002] The space-ground integrated network architecture is a network environment that integrates satellite networks and cellular networks, aiming to provide global seamless coverage of communication services. This architecture utilizes the wide coverage and high reliability characteristics of satellite networks, combined with the high-speed data transmission capabilities of cellular networks, to provide users with more efficient, stable, and reliable communication services. As a communication technology for achieving global seamless coverage, satellite networks have many advantages: First, the coverage range of satellite networks is very wide, covering all corners of the earth, including areas such as the ocean and deserts where it is difficult to establish ground communication facilities; Second, satellite networks are not easily affected by terrestrial disasters and can maintain stable communication during disasters such as earthquakes and tsunamis. However, the communication rate of satellite networks is relatively low, and the cost is relatively high, which is the main disadvantage compared to cellular networks.
[0003] To solve the problem of the satellite network rate, low-earth orbit satellite broadband communication technology has been developed. This technology can provide higher communication rates and lower latency by using low-orbit satellites, enabling satellite networks to better meet the needs of users. However, the cost of satellite networks is still expensive, far exceeding that of cellular networks, which makes how to efficiently and reasonably achieve the switching between cellular networks and satellite networks a hot topic. Summary of the Invention
[0004] In view of the above problems, embodiments of the present invention provide a network switching method, apparatus, electronic device, and vehicle to overcome or at least partially solve the above problems.
[0005] In a first aspect, embodiments of the present invention propose a network switching method, the method including:
[0006] Determine the network operating state according to the obtained network channels of the communication terminal and the running conditions of each network service;
[0007] When the network operating state meets a preset condition, obtain cellular network quality data and satellite network quality data;
[0008] Determine the network requirements according to each network service and a preset requirement rule;
[0009] Determine the target network channel according to the cellular network quality data, the satellite network quality data, and the network requirements;
[0010] Control the communication terminal to communicate via the target network channel according to the target network channel.
[0011] Optionally, the determining the target network channel according to the cellular network quality data, the satellite network quality data, and the network requirements includes:
[0012] Compare the cellular network quality data with the network requirements, and compare the satellite network quality data with the network requirements to obtain comparison results;
[0013] When the comparison results indicate that the cellular network quality data meets the network requirements, determine the cellular network as the target network channel;
[0014] When the comparison results indicate that the cellular network quality data does not meet the network requirements and the satellite network quality data meets the network requirements, determine the satellite network as the target network channel;
[0015] When the comparison results indicate that both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel.
[0016] Optionally, the method further includes:
[0017] Determine the priorities of the respective network services;
[0018] When the respective network services include a network service with the highest priority, in the case where the comparison results indicate that both the cellular network quality data and the satellite network quality data do not meet the network requirements, the determining the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel includes:
[0019] In the case where the comparison results indicate that both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel;
[0020] When the respective network services do not include a network service with the highest priority, in the case where the comparison results indicate that both the cellular network quality data and the satellite network quality data do not meet the network requirements, the determining the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel includes:
[0021] In the case that both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the cellular network as the target network channel.
[0022] Optionally, in the case that the cellular network quality data includes historical cellular network quality and the satellite network quality data includes historical satellite network quality, the obtaining of the cellular network quality data and the satellite network quality data when the network operating state meets a preset condition includes:
[0023] When the network operating state meets a preset condition, obtain the navigation path of the communication terminal;
[0024] According to the navigation path, obtain the historical cellular network quality and the historical satellite network quality corresponding to the navigation path from the target database;
[0025] The determining of the target network channel according to the cellular network quality data, the satellite network quality data, and the network requirements includes:
[0026] Determine the target network channel according to the historical cellular network quality and the historical satellite network quality corresponding to the navigation path and the network requirements.
[0027] Optionally, the determining of the target network channel according to the historical cellular network quality and the historical satellite network quality corresponding to the navigation path and the network requirements includes:
[0028] Determine the cellular network qualification rate according to the historical cellular network quality and the network requirements;
[0029] Determine the satellite network qualification rate according to the historical satellite network quality and the network requirements;
[0030] Determine the target network channel according to the cellular network qualification rate and the satellite network qualification rate.
[0031] Optionally, the method further includes:
[0032] Obtain the cellular network quality data and the satellite network quality data of the communication terminal at the current geographical location;
[0033] Upload the obtained cellular network quality data and satellite network quality data at the current geographical location to the target database storing historical information of the network status.
[0034] Optionally, the determining of the network requirements according to the respective network services and the preset requirement rules includes:
[0035] Determine each network requirement threshold corresponding to each network service in the preset requirement rule according to each network service;
[0036] Determine the network requirement according to each network requirement threshold.
[0037] In a second aspect, an embodiment of the present invention provides a network switching device, and the device includes:
[0038] A network operating state determination module, configured to determine the network operating state according to the network channels of the communication terminal obtained and the operating conditions of each network service;
[0039] A network quality data acquisition module, configured to acquire cellular network quality data and satellite network quality data when the network operating state meets a preset condition;
[0040] A network requirement determination module, configured to determine the network requirement according to each network service and the preset requirement rule;
[0041] A target network channel determination module, configured to determine a target network channel according to the cellular network quality data, the satellite network quality data, and the network requirement;
[0042] A communication control module, configured to control the communication terminal to communicate through the target network channel according to the target network channel.
[0043] Optionally, the target network channel determination module includes:
[0044] A network quality data comparison module, configured to compare the cellular network quality data with the network requirement, and compare the satellite network quality data with the network requirement to obtain a comparison result;
[0045] A first sub-module for determining the target network channel, configured to determine the cellular network as the target network channel when the comparison result indicates that the cellular network quality data meets the network requirement;
[0046] A second sub-module for determining the target network channel, configured to determine the satellite network as the target network channel when the comparison result indicates that the cellular network quality data does not meet the network requirement and the satellite network quality data meets the network requirement;
[0047] A third sub-module for determining the target network channel, configured to determine the network with better network quality in the cellular network quality data and the satellite network quality data as the target network channel when the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirement.
[0048] Optionally, the device further includes:
[0049] A priority determination module, configured to determine the priorities of the respective network services;
[0050] In the case where the network service with the highest priority is included in the respective network services, the third sub-module for determining the target network channel includes:
[0051] A better target network channel determination sub-module, configured to, in the case where the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the network with better network quality in the cellular network quality data and the satellite network quality data as the target network channel;
[0052] In the case where the network service with the highest priority is not included in the respective network services, the third sub-module for determining the target network channel includes:
[0053] A cellular target network channel determination sub-module, configured to, in the case where both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the cellular network as the target network channel.
[0054] Optionally, in the case where the cellular network quality data includes historical cellular network quality and the satellite network quality data includes historical satellite network quality, the network quality data acquisition module includes:
[0055] A navigation path acquisition sub-module, configured to acquire the navigation path of the communication terminal in the case where the network operating state meets a preset condition;
[0056] A historical network quality acquisition sub-module, configured to acquire the historical cellular network quality and the historical satellite network quality corresponding to the navigation path from a target database according to the navigation path;
[0057] The target network channel determination module includes:
[0058] A target network channel determination fourth sub-module, configured to determine the target network channel according to the historical cellular network quality and the historical satellite network quality corresponding to the navigation path and the network requirements.
[0059] Optionally, the target network channel determination fourth sub-module includes:
[0060] A cellular network qualification rate determination sub-module, configured to determine the cellular network qualification rate according to the historical cellular network quality and the network requirements;
[0061] A satellite network qualification rate determination sub-module, configured to determine the satellite network qualification rate according to the historical satellite network quality and the network requirements;
[0062] A qualification rate comparison and determination sub-module, configured to determine the target network channel according to the cellular network qualification rate and the satellite network qualification rate.
[0063] Optionally, the apparatus further includes:
[0064] A location network quality data acquisition module, configured to acquire the cellular network quality data and the satellite network quality data of the communication terminal at the current geographical location;
[0065] A network quality data upload module, configured to upload the acquired cellular network quality data and satellite network quality data at the current geographical location to the target database storing the historical information of the network status.
[0066] Optionally, the network requirement determination module includes:
[0067] A network requirement threshold determination sub-module, configured to determine the respective network requirement thresholds corresponding to the respective network services in the preset requirement rules according to the respective network services;
[0068] A network requirement determination sub-module, configured to determine the network requirements according to the respective network requirement thresholds.
[0069] In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the electronic device executes the computer program to implement the network switching method according to any one of the first aspects of the embodiments of the present invention.
[0070] In a fourth aspect, an embodiment of the present invention provides a vehicle, where the vehicle includes a network switching module, and the network switching module is configured to implement the network switching method according to any one of the first aspects of the embodiments of the present invention.
[0071] Advantages of the present invention:
[0072] The network switching method provided by the present invention determines the network operating state based on the operating conditions of network channels and network services; then, when the network operating state meets a preset condition, it obtains cellular network quality data and satellite network quality data; then, according to the network service and the preset demand rule, it determines the network demand; according to the cellular network quality data, satellite network quality data, and network demand, it determines the target network channel; finally, it controls the communication terminal to communicate through the target network channel. The method provided by the present invention dynamically switches the network channel of the communication terminal to a suitable cellular network or satellite network based on the cellular network quality data, satellite network quality data, and network demand, making the network channel more in line with the user's service demand and network demand, providing high-quality network services for users, and providing a better user experience. Description of the Drawings
[0073] Figure 1 It is a step diagram of a network switching method proposed in an embodiment of the present invention;
[0074] Figure 2 It is a step flowchart of a network switching method proposed in an embodiment of the present invention;
[0075] Figure 3 It is a module block diagram of a network switching device proposed in an embodiment of the present invention;
[0076] Figure 4 It is a module connection diagram of a network switching device proposed in an embodiment of the present invention. Detailed Embodiments
[0077] The following will illustrate the embodiments of the present invention with reference to the drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, rather than for limiting the protection scope of the present invention.
[0078] It should be noted that the diagrams provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner. Therefore, only the components related to the present invention are shown in the diagrams, rather than being drawn according to the number, shape, and size of the components in actual implementation. The type, quantity, and ratio of each component in actual implementation can be arbitrarily changed, and the component layout type may also be more complex.
[0079] In a first aspect, an embodiment of the present invention proposes a network switching method, as Figure 1 shown, Figure 1The flowchart of a network switching method proposed in an embodiment of the present invention, the method comprising the following steps:
[0080] Step S101: Determine the network operation state according to the obtained network channels of the communication terminal and the operation conditions of each network service.
[0081] In this embodiment, the communication terminal is an important device in the communication system, responsible for transmitting and receiving information. In the communication system, the terminal device can be various types of devices, such as telephones, mobile phones, computers, vehicles, etc. These devices can be connected and interact with the communication network through various communication protocols and interfaces, such as cellular networks, satellite networks, etc. That is, the network channels of the communication terminal can include cellular networks and satellite networks. The network service refers to various services that the communication terminal can run, such as voice calls, video conferences, autonomous driving, data upload, data download, and so on. The operation conditions of each network service refer to the network operation conditions of the network services that are running. The operation conditions can specifically include normal operation and abnormal operation (non-normal operation). The way to judge the operation conditions can be to determine whether there are abnormal conditions such as network packet loss, service jamming, and excessive delay in each network service. If at least one of the abnormal conditions such as network packet loss, service jamming, and excessive delay occurs in a network service, it is determined that this network service is operating abnormally. Through the network channels of the communication terminal and the operation conditions of each service, the network operation state can be determined. For example, if the network channel currently used by the vehicle is a cellular network, and the currently running network services include network service A, network service B, and network service C, where network service A is operating normally, network service B is operating abnormally, and network service C is operating normally, then it can be determined that the network operation state is that the network channel is a cellular network and the network service is operating abnormally; for another example, if the network channel currently used by the vehicle is a satellite network, and the currently running network services include network service A, network service B, and network service C, where network service A, network service B, and network service C are all operating normally, then it can be determined that the network operation state is that the network channel is a satellite network and the network service is operating normally.
[0082] Step S102: Obtain cellular network quality data and satellite network quality data when the network operation state meets a preset condition.
[0083] In this embodiment, the network channel is a cellular network and the abnormal operation of the network service indicates that the preset conditions are met; the network channel is a satellite network and the normal operation of the network service also indicates that the preset conditions are met; the network channel is a satellite network and the abnormal operation of the network service also indicates that the preset conditions are met. Since the cost of using a satellite network is much higher than that of a cellular network, when the communication terminal uses a cellular network and all network services are operating normally, no operation needs to be performed, and the network channel of the communication terminal can be kept as the cellular network. However, when the communication terminal uses a cellular network but there is an abnormal operation of a network service, in order to meet the user's network and service requirements, it is necessary to determine whether the network quality of the satellite network is better than that of the cellular network. Therefore, it is necessary to obtain cellular network quality data and satellite network quality data to provide a data basis for determining the target network channel in the subsequent steps, and then determine whether the network channel needs to be switched. When the communication terminal uses a satellite network, because the cost of using a satellite network is much higher than that of a cellular network, in order to save costs, the network channel is switched to the cellular network as much as possible. Therefore, whether the network service is operating normally or abnormally, cellular network quality data and satellite network quality data are both obtained to determine whether the satellite network is not needed, so that when the cellular network can enable the network service to operate normally, the current network channel is switched to the cellular network, thereby saving costs. Specifically, both the cellular network quality data and the satellite network quality data can include data types such as network rate, signal strength, network delay, packet loss rate, and network stability.
[0084] Step S103: Determine the network requirements according to the respective network services and the preset requirement rules.
[0085] In this embodiment, the network quality requirements set for each network service are recorded in the preset requirement rules. The network quality requirements represent the minimum network requirements required for the corresponding network service to work properly. Among them, there is a one-to-one correspondence between the network service and the network quality requirements. The network quality requirements set for each network service include multiple data types, specifically including data types such as signal strength requirement RSSIi, network rate requirement Si, network delay requirement Di, packet loss rate requirement Li, and network stability requirement Sti. For example, the network services include Network Service 1, Network Service 2, and Network Service 3. The network quality requirements set for Network Service 1 are recorded in the preset requirement rules, including the network rate requirement value Si1 and the network delay requirement value Di1; the network quality requirements set for Network Service 2 are also recorded, including the network rate requirement value Si2 and the network delay requirement value Di2; at the same time, the network quality requirements set for Network Service 3 are also recorded, including the network rate requirement value Si3 and the network delay requirement value Di3.
[0086] In this embodiment, when there are multiple network services currently running on the communication terminal, according to each currently running network service, the value of each data type in the network quality requirements of each network service is determined from the preset requirement rules. Thus, for any one data type in the network quality requirements, a corresponding multiple values can be obtained. Then, the highest required value among the multiple values is taken as the network quality requirement value corresponding to any one data type (or the sum of the multiple values is determined as the network quality requirement value corresponding to any one data type). Thus, for each data type, a corresponding network quality requirement value will be obtained, and then all the network quality requirement values are determined as the network requirements of the communication terminal.
[0087] For example, the currently running network services include Network Service 1 and Network Service 2, and the data types included in the network quality requirements are network rate requirements and network latency requirements. For Network Service 1, the determined corresponding network quality requirements include a network rate requirement value Si1 and a network latency requirement value Di1. For Network Service 2, the determined corresponding network quality requirements include a network rate requirement value Si2 and a network latency requirement value Di2. For the data type of network rate requirements, it is determined that the network rate requirement value Si2 corresponding to Network Service 2 is greater than the network rate requirement value Si1 corresponding to Network Service 1. At this time, the network rate requirement corresponding to Network Service 2 is higher. Therefore, the network rate requirement value Si2 is determined as the network rate requirement of the communication terminal. For the data type of network latency requirements, it is determined that the network latency requirement value Di1 corresponding to Network Service 1 is less than the network latency requirement value Di2 corresponding to Network Service 2. At this time, the network latency requirement corresponding to Network Service 1 is higher. Therefore, the network latency requirement value Di1 is determined as the network latency requirement of the communication terminal. Thus, the network rate requirement value Si2 and the network latency requirement value Di1 are determined as the network requirements of the communication terminal.
[0088] For some cumulative data types, such as the data type of network rate requirements, the sum of multiple values can also be determined as the network quality requirement value corresponding to this data type. For example, the currently running network services include Network Service 1 and Network Service 2, and the data types included in the network quality requirements are network rate requirements and network delay requirements. For Network Service 1, the determined corresponding network quality requirements include the network rate requirement value Si1 and the network delay requirement value Di1. For Network Service 2, the determined corresponding network quality requirements include the network rate requirement value Si2 and the network delay requirement value Di2. For the data type of network rate requirements, the sum of multiple values is determined as the network quality requirement value corresponding to this data type. Therefore, the sum of the network rate requirement values (Si1 + Si2) is determined as the network rate requirement of the communication terminal. For the data type of network delay requirements, it is determined that the network delay requirement value Di1 corresponding to Network Service 1 is less than the network delay requirement value Di2 corresponding to Network Service 2. At this time, the network delay requirement corresponding to Network Service 1 is higher. Therefore, the network delay requirement value Di1 is determined as the network delay requirement of the communication terminal. Thus, the network rate requirement value (Si1 + Si2) and the network delay requirement value Di1 are determined as the network requirements of the communication terminal.
[0089] Step S104: Determine a target network channel according to the cellular network quality data, the satellite network quality data, and the network requirements.
[0090] In this embodiment, the cellular network quality data is compared with the network requirements, and the satellite network quality data is compared with the network requirements. According to the comparison results, it is judged whether to determine the cellular network as the target network channel or the satellite network as the target network channel. Specifically, since the cost of the satellite network is very high, sometimes even if the network quality of the cellular network is not very good, but the cellular network quality data can meet the current network requirements, in this case, the satellite network can be not used, and the cellular network is determined as the target network channel; but sometimes the network quality of the cellular network is relatively good, but the cellular network quality data does not meet the current network requirements, while the satellite network quality data can meet the current network requirements. At this time, the satellite network should be determined as the target network channel; even sometimes it may occur that both the cellular network quality data and the satellite network quality data cannot meet the network requirements. In this case, it is necessary to analyze the specific data of the cellular network quality data and the satellite network quality data to determine the target network channel. For example, the one with the best network quality among the two can be selected as the target network channel.
[0091] Step S105: Control the communication terminal to communicate through the target network channel according to the target network channel.
[0092] In this embodiment, the target network channel is compared with the network channel currently used by the communication terminal. When the target network channel is the same as the network channel currently used by the communication terminal, the network channel is not switched; when the target network channel is different from the network channel currently used by the communication terminal, the current network channel is switched to the target network channel.
[0093] Specifically, the current network channel can be denoted as W1, and the target network channel can be denoted as W2. When W1 and W2 are the same, for example, both are cellular networks or both are satellite networks, no network switching operation is performed; when W1 and W2 are different, for example, W1 is a cellular network and W2 is a satellite network, or W1 is a satellite network and W2 is a cellular network, first try to receive the network signal of W2. After the network signal of W2 is stably connected, then disconnect the network channel of W1 and switch to the network channel of W2, so as to control the communication terminal to communicate with the target network channel.
[0094] The network switching method provided by the present invention determines the network operating state through the network channel and the operating conditions of the network service; then when the network operating state meets the preset conditions, obtains the cellular network quality data and the satellite network quality data; then determines the network demand according to the network service and the preset demand rules; determines the target network channel according to the cellular network quality data, the satellite network quality data and the network demand; and finally controls the communication terminal to communicate with the target network channel. The method provided by the present invention dynamically switches the network channel of the communication terminal to a suitable cellular network or satellite network based on the cellular network quality data, the satellite network quality data and the network demand, making the network channel more in line with the user's service demand and network demand, providing high-quality network services for users and a better user experience.
[0095] Combined with the above embodiments, in a preferred implementation manner, step S104 may include steps S1041 to S1044:
[0096] Step S1041: Compare the cellular network quality data with the network demand, and compare the satellite network quality data with the network demand to obtain a comparison result.
[0097] In this embodiment, the cellular network quality data corresponds one-to-one with the data types included in the network requirements, and at the same time, the satellite network quality data also corresponds one-to-one with the data types included in the network requirements. Therefore, each data type in the cellular network quality data is compared one-to-one with the corresponding data type in the network requirements, and each data type in the satellite network quality data is compared one-to-one with the corresponding data type in the network requirements to obtain the final comparison result. Optionally, when each data type in the network quality data can meet the requirements of the corresponding data type in the network requirements, it is determined that the network quality data meets the network requirements.
[0098] For example, the network requirements include a network rate requirement value Si0 and a network delay requirement value Di0. The cellular network quality data includes a network rate value Su and a network delay value Du, and the satellite network quality data includes a network rate value Sv and a network delay value Dv. Comparing the network rate value Su in the cellular network quality data with the network rate requirement value Si0 in the network requirements, it is determined that the network rate value Su in the cellular network quality data is less than the network rate requirement value Si0 in the network requirements, that is, the network rate in the cellular network quality data does not meet the network rate requirements in the network requirements; comparing the network delay value Du in the cellular network quality data with the network delay requirement value Di0 in the network requirements, it is determined that the network delay value Du in the cellular network quality data is less than the network delay requirement value Di0 in the network requirements, that is, the network delay in the cellular network quality data meets the network delay requirements in the network requirements. Therefore, the cellular network quality data meets the network delay requirements but does not meet the network rate requirements, and it is determined that the comparison result between the cellular network quality data and the network requirements is that the cellular network quality data does not meet the network requirements. Comparing the network rate value Sv in the satellite network quality data with the network rate requirement value Si0 in the network requirements, it is determined that the network rate value Sv in the satellite network quality data is greater than the network rate requirement value Si0 in the network requirements, that is, the network rate in the satellite network quality data meets the network rate requirements in the network requirements; comparing the network delay value Dv in the satellite network quality data with the network delay requirement value Di0 in the network requirements, it is determined that the network delay value Dv in the satellite network quality data is less than the network delay requirement value Di0 in the network requirements, that is, the network delay in the satellite network quality data meets the network delay requirements in the network requirements. Therefore, the satellite network quality data meets the network rate requirements and also meets the network delay requirements, and it is determined that the comparison result between the satellite network quality data and the network requirements is that the satellite network quality data meets the network requirements. Therefore, the final comparison result is that the cellular network quality data does not meet the network requirements, and the satellite network quality data meets the network requirements.
[0099] Step S1042: When the comparison result indicates that the cellular network quality data meets the network requirements, determine the cellular network as the target network channel.
[0100] In this embodiment, when it is determined that the cellular network quality data meets the network requirements, the cellular network is determined as the target network channel. Specifically, since the cost of using the cellular network is much lower than that of the satellite network, when it is determined that the cellular network quality data meets the network requirements, whether the satellite network quality data meets the network requirements is no longer concerned, and the cellular network is directly determined as the target network channel. Taking vehicle communication as an example, the vehicle is equipped with cellular network communication and satellite network communication. When the vehicle travels to a place with low cellular network signal strength. At this time, the network rate in the cellular network quality data is 1 Mbps, and the network delay is 1 s; the network rate in the satellite network quality data is 10 Mbps, and the network delay is 100 ms; the current network service is the transmission of vehicle status information, and the network rate requirement in the network requirements is 500 Kbps, and the network delay requirement is 5 s. At this time, the network channel is the satellite network, which can meet the network requirements. However, although the network quality of the cellular network is not as good as that of the satellite network, the cellular network quality data can also meet the network requirements. According to the method proposed in this embodiment, the cellular network should be determined as the target network channel, that is, switched to the cellular network to reduce the network usage cost.
[0101] Step S1043: When the comparison result indicates that the cellular network quality data does not meet the network requirements and the satellite network quality data meets the network requirements, determine the satellite network as the target network channel.
[0102] In this embodiment, when the cellular network quality data does not meet the network requirements, in order to meet the user's network requirements and service requirements, it is necessary to determine whether the satellite network quality data meets the network requirements. If the satellite network quality data meets the network requirements, the satellite network is determined as the target network channel. Taking vehicle communication as an example, the vehicle is equipped with cellular network communication and satellite network communication. When the vehicle travels to a place with low cellular network signal strength. At this time, the network rate in the cellular network quality data is 50 Mbps, and the network delay is 100 ms; the network rate in the satellite network quality data is 100 Mbps, and the network delay is 100 ms; the current network service is high-definition video conferencing and high-speed resource downloading, and the network rate requirement in the network requirements is 100 Mbps, and the network delay requirement is 100 ms. At this time, the network channel is the cellular network, which does not meet the network requirements, but the satellite network quality data can meet the network requirements. At this time, even if the cellular network quality is relatively good, it is still necessary to switch to the satellite network to meet the network requirements. Therefore, the satellite network is determined as the target network channel.
[0103] Step S1044: When the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel.
[0104] In this embodiment, if it occurs that both the cellular network quality data and the satellite network quality data do not meet the network requirements, it is necessary to determine the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel, and at the same time issue a prompt to inform the user that the current network is not good. Taking vehicle communication as an example, the vehicle is equipped with cellular network communication and satellite network communication. When the vehicle travels to a place where the cellular network signal strength is low. At this time, the network rate in the cellular network quality data is 30 Mbps, and the network delay is 200 ms; the network rate in the satellite network quality data is 50 Mbps, and the network delay is 150 ms; the current network services are high-definition video conferencing and high-speed resource downloading, and the network rate requirement in the network requirements is 100 Mbps, and the network delay requirement is 100 ms. At this time, both the cellular network and the satellite network do not meet the network requirements, but the network quality of the satellite network is better than that of the cellular network. Therefore, the satellite network is determined as the target network channel.
[0105] Specifically, through the method provided in this embodiment, network costs can be effectively saved, high-quality network services can be provided for users, and a better user experience can be provided.
[0106] Combined with the above embodiments, in a preferred implementation manner, the method further includes the following steps:
[0107] Step S106: Determine the priorities of the respective network services.
[0108] In this embodiment, since some network services are relatively important and are related to user safety, such as autonomous driving, abnormal handling and reporting, etc., and there are also some network services that users are more concerned about and require ensuring network quality, such as voice calls, video conferences, etc., these network services are all relatively important. Therefore, to ensure the driving safety of the vehicle and the driving experience of the user, it is necessary to ensure the network communication quality of these types of network services as much as possible. Some network services are less important, such as music playing, video playing, etc. The importance of this part of the service is not high, and if satellite network is used for music playing and video playing, it will cause waste of resources and is not conducive to reducing network costs. Therefore, to achieve the above effects, this application presets priorities for each network service according to the importance level, security requirements and user needs of the network service, presets the highest priority for network services with a high importance level, and presets a general priority for network services with a low importance level. For network services with the highest priority, when the network requirements are not met by all types of network channels, the communication terminal is controlled to communicate through the network channel with the best network quality, so as to achieve the purpose of ensuring safety and optimizing the user experience. For network services with a general priority, when the network requirements are not met by all types of network channels, the communication terminal is controlled to communicate through the network channel with the lowest cost, so as to achieve the purpose of reducing network costs. Optionally, the priority of the network service can be set or modified according to user needs. For example, the user can modify the priority of music playing from the general priority to the highest priority by himself / herself.
[0109] In the case that the highest-priority network service is included in each of the network services, the step S1044 includes:
[0110] Step S10441: In the case that the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the network with better network quality in the cellular network quality data and the satellite network quality data as the target network channel.
[0111] In this embodiment, if the currently running network service includes the network service with the highest priority, then when the cellular network quality data and the satellite network quality data both do not meet the network requirements, the network with better network quality in the cellular network quality data and the satellite network quality data is determined as the target network channel. Taking vehicle communication as an example, the vehicle is equipped with cellular network communication and satellite network communication. When the vehicle travels to a place where the cellular network signal strength is low. At this time, the network rate in the cellular network quality data is 30 Mbps, and the network delay is 200 ms; in the satellite network quality data, the network rate is 50 Mbps, and the network delay is 150 ms. The current network service is autonomous driving, which belongs to the network service with the highest priority. The network rate requirement in the network requirements is 100 Mbps, and the network delay requirement is 100 ms. At this time, both the cellular network quality data and the satellite network quality data do not meet the network requirements, but the network quality of the satellite network is better than that of the cellular network. In order to better provide network support for the network service with the highest priority and ensure driving safety, the satellite network is determined as the target network channel.
[0112] In the case where the highest priority network service is not included in each of the network services, the step S1044 includes:
[0113] Step S10442: When the cellular network quality data and the satellite network quality data both do not meet the network requirements, determine the cellular network as the target network channel.
[0114] In this embodiment, if the currently running network service does not include the network service with the highest priority, then when the cellular network quality data and the satellite network quality data both do not meet the network requirements, the cellular network is determined as the target network channel to achieve the purpose of reducing network costs. Taking vehicle communication as an example, the vehicle is equipped with cellular network communication and satellite network communication. When the vehicle travels to a place where the cellular network signal strength is low. At this time, the network rate in the cellular network quality data is 10 Mbps, and the network delay is 200 ms; in the satellite network quality data, the network rate is 20 Mbps, and the network delay is 150 ms. The current network service is resource download, which does not belong to the network service with the highest priority. The network rate requirement in the network requirements is 50 Mbps, and the network delay requirement is 100 ms. At this time, both the cellular network and the satellite network do not meet the network requirements, and there is no network service with the highest priority running. In order to reduce network costs, the cellular network is determined as the target network channel.
[0115] Specifically, for the method proposed in this embodiment, when both the cellular network quality data and the satellite network quality data do not meet the network requirements, the target network channel is determined according to the priority (importance level) of network services, ensuring user safety and user requirements, and further reducing network costs. At the same time, the customer can set the priority of network services according to their own needs, further improving the user experience.
[0116] Combined with the above embodiments, in a preferred implementation, when the cellular network quality data includes historical cellular network quality and the satellite network quality data includes historical satellite network quality, step S102 may include steps S1021 to S1022:
[0117] Step S1021: When the network operating state meets the preset conditions, obtain the navigation path of the communication terminal.
[0118] In this embodiment, since the communication terminal is not always in a stationary state, the network quality of the cellular network and the satellite network will also change with the change of geographical location during its movement. Therefore, this embodiment obtains the navigation trajectory of the communication terminal and predicts the cellular network quality and satellite network quality at the geographical locations where the communication terminal will be located within a certain period of time in the future.
[0119] Specifically, the navigation path of the communication terminal can be determined through GPS information and navigation information. The navigation path refers to the trajectory information formed by the geographical locations that the communication terminal may pass through within a certain period of time in the future. Thus, according to the geographical locations that the communication terminal will pass through next, navigation end point and other information, the network conditions within a certain period of time in the future are predicted to obtain network quality data with more parameters and more accurately determine the target network channel.
[0120] Step S1022: According to the navigation path, obtain the historical cellular network quality and historical satellite network quality corresponding to the navigation path from the target database.
[0121] In this embodiment, the target database stores historical cellular network quality data and historical satellite network quality data with different geographical locations, which are uploaded in advance by the communication terminal. Each geographical location has corresponding historical cellular network quality data and historical satellite network quality data one by one. Specifically, by the communication terminal uploading the network quality information of the corresponding geographical location at different geographical locations, the satellite network quality and cellular network quality of the geographical location can be determined as the historical cellular network quality data and historical satellite network quality data of the geographical location. Then, according to the navigation path, each geographical location included in the navigation path is determined. Further, according to each geographical location in the navigation path, the historical cellular network quality data and historical satellite network quality data corresponding to each geographical location are obtained from the target database. Furthermore, through the historical cellular network quality data and historical satellite network quality data corresponding to each geographical location in the navigation path, the historical cellular network quality and historical satellite network quality corresponding to the entire navigation path are determined.
[0122] For example, the navigation path of the communication terminal is from A to B, and the determined navigation path from A to B includes geographical locations a, b, c, d, and e. Then, the historical cellular network quality data and historical satellite network quality data corresponding to geographical location a, the historical cellular network quality data and historical satellite network quality data corresponding to geographical location b, the historical cellular network quality data and historical satellite network quality data corresponding to geographical location c, the historical cellular network quality data and historical satellite network quality data corresponding to geographical location d, and the historical cellular network quality data and historical satellite network quality data corresponding to geographical location e are obtained from the target database. Finally, according to the historical cellular network quality data and historical satellite network quality data corresponding to geographical location a, the historical cellular network quality data and historical satellite network quality data corresponding to geographical location b, the historical cellular network quality data and historical satellite network quality data corresponding to geographical location c, the historical cellular network quality data and historical satellite network quality data corresponding to geographical location d, and the historical cellular network quality data and historical satellite network quality data corresponding to geographical location e, the historical cellular network quality and historical satellite network quality corresponding to the entire navigation path (from A to B) are determined.
[0123] Step S104 includes:
[0124] Step S1045: Determine the target network channel according to the historical cellular network quality and historical satellite network quality corresponding to the navigation path and the network requirements.
[0125] In this embodiment, according to the historical cellular network quality corresponding to the navigation path, the number of geographical locations where the cellular network can meet the network requirements within a certain period of time in the future of the navigation path can be predicted; according to the historical satellite network quality corresponding to the navigation path, the number of geographical locations where the satellite network can meet the network requirements within a certain period of time in the future of the navigation path can be predicted. For example, there are 100 geographical locations in the navigation path that include historical cellular network quality and historical satellite network quality. Among them, the number of geographical locations where the cellular network can meet the network requirements is 90, and the number of geographical locations where the satellite network can meet the network requirements is 80. In order to reduce network fluctuations and the number of network channel switches, the target network channel can be determined as the cellular network.
[0126] Optionally, the target network channel can also be determined according to the continuity of meeting the network requirements of the historical cellular quality data and the historical satellite quality data respectively. For example, there are 100 geographical locations in the navigation path that include historical cellular network quality and historical satellite network quality. The number of geographical locations where the cellular network can meet the network requirements is 50, but specifically, the first geographical location meets the requirements, the second does not, the third meets, and so on. The number of geographical locations where the satellite network can meet the network requirements is 40, but specifically, the first 40 geographical locations all meet the network requirements, and the last 60 do not. In order to reduce the number of network switches and improve the user experience, the target network channel can be determined as the satellite network, and when driving to the 41st geographical location, the method provided in this embodiment can be used to re-determine the target network channel.
[0127] Specifically, through the method provided in this embodiment, the target network channel can be comprehensively determined according to the current network quality of the cellular network and the satellite network and the historical network quality of the navigation path, so that the target network channel does not need to be frequently switched after being determined.
[0128] Combined with the above embodiments, in a preferred implementation manner, step S1045 may include steps S10451 to S10453:
[0129] Step S10451: Determine the passing rate of the cellular network according to the historical cellular network quality and the network requirements.
[0130] In this embodiment, by comparing the historical cellular network quality of each geographical location with the network requirements, the number of geographical locations that meet the network requirements can be determined, and then the cellular network qualification rate can be determined. For example, the navigation path includes geographical locations a, b, c, and d. Among them, the comparison results of the historical cellular network quality of geographical locations a and b with the network requirements are that they meet the network requirements, and the comparison results of the historical cellular network quality of geographical locations c and d with the network requirements are that they do not meet the network requirements. Then, it is determined that the number of geographical locations that meet the network requirements is 2, and the cellular network qualification rate is 50%.
[0131] Step S10452: Determine the satellite network qualification rate according to the historical satellite network quality and the network requirements.
[0132] In this embodiment, by comparing the historical satellite network quality of each geographical location with the network requirements, the number of geographical locations that meet the network requirements can be determined, and then the satellite network qualification rate can be determined. For example, the navigation path includes geographical locations e, f, g, and h. Among them, the comparison results of the historical satellite network quality of geographical locations e, f, and g with the network requirements are that they meet the network requirements, and the comparison result of the historical satellite network quality of geographical location h with the network requirements is that it does not meet the network requirements. Then, it is determined that the number of geographical locations that meet the network requirements is 3, and the satellite network qualification rate is 66.67%.
[0133] Step S10453: Determine the target network channel according to the cellular network qualification rate and the satellite network qualification rate.
[0134] In this embodiment, by comparing the cellular network qualification rate and the satellite network qualification rate, the network with the higher qualification rate can be determined as the target network channel. Optionally, if the cellular network qualification rate and the satellite network qualification rate are the same, the cellular network can be determined as the target network channel. For example, the cellular network qualification rate is 50%, and the satellite network qualification rate is 66.67%. Then, the network with the higher qualification rate, that is, the satellite network, is determined as the target network channel.
[0135] Combined with the above embodiments, in a preferred embodiment, the method may further include steps S107 to S108:
[0136] Step S107: Obtain the cellular network quality data and the satellite network quality data of the communication terminal at the current geographical location.
[0137] In this embodiment, the communication terminal obtains the cellular network quality data and the satellite network quality data of the current geographical location according to the current geographical location, and continuously obtains the cellular network quality data and the satellite network quality data of the corresponding geographical location during the movement of the communication terminal.
[0138] Step S108: Upload the obtained cellular network quality data and satellite network quality data at the current geographical location to the target database that stores historical information on network conditions.
[0139] In this embodiment, after obtaining the cellular network quality data and satellite network quality data at the current geographical location, the cellular network quality data and satellite network quality data at the current geographical location are uploaded to the target database that stores historical information on network conditions. After uploading the corresponding cellular network quality data and satellite network quality data at different geographical locations, data references can be provided for the cellular network quality data and satellite network quality data at this geographical location for other communication terminals. When needed by the communication terminal, the corresponding historical cellular network quality and historical satellite network quality are given according to the geographical location of the communication terminal for the communication terminal to perform network prediction and better evaluate the network quality.
[0140] Combined with the above embodiments, in a preferred implementation manner, the step S103 may include steps S1031 to S1032:
[0141] Step S1031: Determine the respective network demand thresholds corresponding to the respective network services in the preset demand rules according to the respective network services.
[0142] In this embodiment, network services can be classified, for example, into high-rate low-latency services, low-rate low-latency services, high-stability services, etc. And network demand thresholds are set for each type of network service to formulate preset demand rules. The network demand thresholds may include thresholds such as signal strength demand RSSIi, network rate demand Si, network latency demand Di, packet loss rate demand Li, network stability demand Sti, etc. For example, in the network demand thresholds for high-rate low-latency services, the network rate demand is 200 Mbps and the required network delay is 20 ms. In the network demand thresholds for low-rate low-latency services, the network rate demand is 10 Mbps and the required network delay is 20 ms, and so on. Then, according to the respective network services currently running, the respective network demand thresholds corresponding to the respective network services currently running can be determined from the preset demand rules. For example, the network services include network service A, network service B, network service C, and network service D, where network service A and network service B are determined as high-rate low-latency services, and their network demand thresholds have a network rate demand of 200 Mbps and a required network delay of 20 ms; while network service C and network service D are determined as low-rate low-latency services, and their network demand thresholds have a network rate demand of 10 Mbps and a required network delay of 20 ms. Assuming that the currently running service is network service C, then it is determined that the network rate demand in the network demand thresholds of network service C is 10 Mbps and the required network delay is 20 ms.
[0143] Step S1032: Determine the network requirements according to the respective network requirement thresholds.
[0144] In this embodiment, according to the respective network requirement thresholds corresponding to each network service, the highest-required data among each data of the respective network requirement thresholds corresponding to each network service can be taken as the final network requirement. The network requirements may include a signal strength requirement RSSI0, a network rate requirement S0, a network delay requirement D0, a packet loss rate requirement L0, a network stability requirement St0, etc. Optionally, other algorithms may also be used, for example, adding up the network rate requirements of each network service to determine the network rate requirement S0 in the network requirements.
[0145] Combined with the above embodiments, in a preferred implementation, as Figure 2 shown Figure 2 is a flowchart of the steps of a network switching method proposed in an embodiment of the present invention, and the method includes the following steps:
[0146] First, it is necessary to obtain the network channel of the communication terminal and the running status of each network service currently running;
[0147] Then, determine whether the network channel is a cellular network and whether all the currently running network services are running normally (whether there are abnormally running network services);
[0148] If the network channel is a cellular network and all the currently running network services are running normally, then do not execute the next step;
[0149] If the network channel is not a cellular network, or there are abnormally running (abnormal running) network services among the currently running network services, then execute the next step;
[0150] At this time, obtain network quality data, where the network quality data includes cellular network quality data and satellite network quality data, and at the same time determine network requirements according to each network service currently running and preset requirement rules;
[0151] Then, determine the target network channel according to the network quality data (cellular network quality data and satellite network quality data) and the determined network requirements;
[0152] Judge whether it is necessary to switch the current network channel according to the target network channel and the network channel;
[0153] If the target network channel is the same as the network channel, then do not switch the network channel, and obtain the network channel of the communication terminal and the running status of each network service currently running again after a preset time;
[0154] If the target network channel is different from the network channel, switch the network channel, and after a preset time, obtain the network channel of the communication terminal again, as well as the running status of each currently running network service.
[0155] Based on the same inventive concept, another embodiment of the present invention provides a network switching device, as Figure 3 shown. Figure 3 It is a module block diagram of a network switching device proposed in an embodiment of the present invention. The device 400 includes:
[0156] A network operation status determination module 401, configured to determine the network operation status according to the obtained network channel of the communication terminal and the running status of each network service.
[0157] A network quality data acquisition module 402, configured to acquire cellular network quality data and satellite network quality data when the network operation status meets a preset condition.
[0158] A network requirement determination module 403, configured to determine network requirements according to the various network services and a preset requirement rule.
[0159] A target network channel determination module 404, configured to determine a target network channel according to the cellular network quality data, the satellite network quality data, and the network requirements.
[0160] A communication control module 405, configured to control the communication terminal to communicate with the target network channel according to the target network channel.
[0161] Optionally, the target network channel determination module 404 includes:
[0162] A network quality data comparison module 4041, configured to compare the cellular network quality data with the network requirements, and compare the satellite network quality data with the network requirements to obtain a comparison result.
[0163] A first sub-module 4042 for determining the target network channel, configured to determine the cellular network as the target network channel when the comparison result indicates that the cellular network quality data meets the network requirements.
[0164] A second sub-module 4043 for determining the target network channel, configured to determine the satellite network as the target network channel when the comparison result indicates that the cellular network quality data does not meet the network requirements and the satellite network quality data meets the network requirements.
[0165] The target network channel determination third sub-module 4044 is configured to, when the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel.
[0166] Optionally, the apparatus 400 further includes:
[0167] A priority determination module 406, configured to determine the priorities of the respective network services;
[0168] When there is a network service with the highest priority among the respective network services, the target network channel determination third sub-module 4044 includes:
[0169] A better target network channel determination sub-module 40441, configured to, when the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel;
[0170] When there is no network service with the highest priority among the respective network services, the target network channel determination third sub-module 4044 includes:
[0171] A cellular target network channel determination sub-module 40442, configured to, when both the cellular network quality data and the satellite network quality data do not meet the network requirements, determine the cellular network as the target network channel.
[0172] Optionally, when the cellular network quality data includes historical cellular network quality and the satellite network quality data includes historical satellite network quality, the network quality data acquisition module 402 includes:
[0173] A navigation path acquisition sub-module 4021, configured to acquire the navigation path of the communication terminal when the network operating state meets a preset condition;
[0174] A historical network quality acquisition sub-module 4022, configured to acquire the historical cellular network quality and the historical satellite network quality corresponding to the navigation path from a target database according to the navigation path;
[0175] The target network channel determination module 404 includes:
[0176] A target network channel determination fourth sub-module 4045, configured to determine a target network channel according to the historical cellular network quality and the historical satellite network quality corresponding to the navigation path and the network requirements.
[0177] Optionally, the target network channel determining fourth sub-module 4045 includes:
[0178] A cellular network qualification rate determining sub-module 40451, configured to determine a cellular network qualification rate according to the historical cellular network quality and the network requirements;
[0179] A satellite network qualification rate determining sub-module 40452, configured to determine a satellite network qualification rate according to the historical satellite network quality and the network requirements;
[0180] A qualification rate comparison and determination sub-module 40453, configured to determine the target network channel according to the cellular network qualification rate and the satellite network qualification rate.
[0181] Optionally, the apparatus 400 further includes:
[0182] A location network quality data acquisition module 407, configured to acquire cellular network quality data and satellite network quality data of the communication terminal at the current geographical location;
[0183] A network quality data uploading module 408, configured to upload the acquired cellular network quality data and satellite network quality data at the current geographical location to the target database storing historical information of the network status.
[0184] Optionally, the network requirement determining module 403 includes:
[0185] A network requirement threshold determining sub-module 4031, configured to determine respective network requirement thresholds corresponding to the respective network services in the preset requirement rules according to the respective network services;
[0186] A network requirement determining sub-module 4032, configured to determine the network requirements according to the respective network requirement thresholds.
[0187] In a preferred embodiment, as Figure 4 shown, Figure 4 is a module connection diagram of a network switching apparatus proposed in an embodiment of the present invention. The apparatus includes:
[0188] A user requirement analysis module, configured to monitor background processes and determine network requirements; a network quality detection module, configured to detect cellular network quality data and satellite network quality data; a handover decision module, configured to determine a target network channel; a handover execution module, configured to perform network channel handover.
[0189] Optionally, the user requirement analysis module can obtain the currently running network services through the application interface of the communication terminal and classify the network services, such as high-rate low-latency services, low-rate low-latency services, high-stability services, etc. Then, network requirement thresholds are set for each type of network service. For example, the network requirement threshold for high-rate low-latency services requires a network rate of 200 Mbps and a network latency of 20 ms; the network requirement threshold for low-rate low-latency services requires a network rate of 10 Mbps and a network latency of 20 ms, and so on. The user requirement analysis module can also obtain the total network quality requirements of each currently running network service, that is, the network requirements, denoted as the signal strength requirement RSSI0, the network rate requirement S0, the network latency requirement D0, the packet loss rate requirement L0, and the network stability requirement St0. At the same time, it monitors whether network jams, network latency, network packet loss, etc. occur in the currently running network service, and then determines whether the network service is running normally.
[0190] Optionally, the network quality detection module includes a satellite network detection module and a cellular network detection module, which can detect parameters such as the network rate, network latency, signal strength, packet loss rate, and stability of the satellite network and the cellular network. At the same time, the network quality detection module can also include a network prediction sub-module, which can obtain the current geographical location of the communication terminal and the geographical location where it will be after a certain period of time in the future, as well as the coverage and network quality data of the satellite network and the cellular network at the corresponding geographical locations, through GPS information and navigation information, so as to predict the network conditions within a certain period of time in the future for better detection of network quality.
[0191] Optionally, the handover decision module can select the target network channel through the matching of network quality data (cellular network quality data and satellite network quality data) and network requirements, as well as the prediction of network conditions within a certain period of time in the future, and comprehensively decide whether to switch the network. If neither the satellite network nor the cellular network can meet the network requirements, a prompt is issued, and the better network between the two is selected.
[0192] Optionally, the device can also include a historical network quality statistics platform, which includes a service end and a cloud service. The historical network quality statistics platform is used to statistically obtain the historical network condition information of the satellite network and the cellular network at each geographical location through the historical network condition information uploaded by each communication terminal, and save it in the target database. And when the communication terminal needs it, it gives the corresponding historical cellular network quality and historical satellite network quality according to the current geographical location of the communication terminal for the communication terminal to perform network prediction, so as to better evaluate the network quality.
[0193] Based on the same inventive concept, another embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and the electronic device executes the computer program to implement the network switching method according to any one of the first aspects of the embodiments of the present invention.
[0194] Based on the same inventive concept, another embodiment of the present invention provides a vehicle, and the vehicle includes a network switching module, and the network switching module is used to implement the network switching method according to any one of the first aspects of the embodiments of the present invention.
[0195] For the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, reference may be made to the partial description of the method embodiments.
[0196] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. For the same or similar parts among the embodiments, reference may be made to each other.
[0197] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, devices, electronic devices, storage media, or computer program products. Therefore, the embodiments of the present invention can take the form of completely hardware embodiments, completely software embodiments, or embodiments combining software and hardware aspects. Moreover, the embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.
[0198] Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and purposes of the present invention, and the scope of the present invention is defined by the claims and their equivalents.
[0199] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article, or terminal device including the said element.
[0200] The above has introduced in detail a network switching method, device, electronic device and vehicle provided by the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application. The above embodiments are only preferred embodiments cited to fully illustrate the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or transformations made by those skilled in the art on the basis of the present invention are within the protection scope of the present invention.
Claims
1. A network switching method, characterized in that, The method includes: Determining a network operating state according to a network channel of a communication terminal obtained and the operation conditions of each network service; Obtaining cellular network quality data and satellite network quality data when the network operating state meets a preset condition; Determining a network requirement according to each network service and a preset requirement rule; Determining a target network channel according to the cellular network quality data, the satellite network quality data, and the network requirement; Controlling the communication terminal to communicate through the target network channel according to the target network channel.
2. The method according to claim 1, characterized in that, The determining the target network channel according to the cellular network quality data, the satellite network quality data, and the network requirement includes: Comparing the cellular network quality data with the network requirement, and comparing the satellite network quality data with the network requirement to obtain a comparison result; When the comparison result indicates that the cellular network quality data meets the network requirement, determining the cellular network as the target network channel; When the comparison result indicates that the cellular network quality data does not meet the network requirement and the satellite network quality data meets the network requirement, determining the satellite network as the target network channel; When the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirement, determining the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel.
3. The method according to claim 2, wherein The method further includes: Determining the priority of each network service; When the highest-priority network service is included in each network service, the determining the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel when the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirement includes: When the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirement, determining the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel; When the highest-priority network service is not included in each network service, the determining the network with better network quality among the cellular network quality data and the satellite network quality data as the target network channel when the comparison result indicates that both the cellular network quality data and the satellite network quality data do not meet the network requirement includes: When both the cellular network quality data and the satellite network quality data do not meet the network requirement, determining the cellular network as the target network channel.
4. The method according to claim 1, wherein When the cellular network quality data includes historical cellular network quality and the satellite network quality data includes historical satellite network quality, the obtaining the cellular network quality data and the satellite network quality data when the network operating state meets the preset condition includes: When the network operating state meets a preset condition, obtain the navigation path of the communication terminal; According to the navigation path, obtain the historical cellular network quality and historical satellite network quality corresponding to the navigation path from a target database; The determining the target network channel according to the cellular network quality data, the satellite network quality data, and the network requirement includes: Determine the target network channel according to the historical cellular network quality and historical satellite network quality corresponding to the navigation path and the network requirement.
5. The method according to claim 4, wherein The determining the target network channel according to the historical cellular network quality and historical satellite network quality corresponding to the navigation path and the network requirement includes: Determine the cellular network qualification rate according to the historical cellular network quality and the network requirement; Determine the satellite network qualification rate according to the historical satellite network quality and the network requirement; Determine the target network channel according to the cellular network qualification rate and the satellite network qualification rate.
6. The method according to claim 4, wherein The method further includes: Obtain the cellular network quality data and satellite network quality data of the communication terminal at the current geographical location; Upload the obtained cellular network quality data and satellite network quality data at the current geographical location to the target database storing historical information of network conditions.
7. The method according to claim 1, characterized in that, The determining the network requirement according to the respective network services and preset requirement rules includes: According to the respective network services, determine the respective network requirement thresholds corresponding to the respective network services in the preset requirement rules; Determine the network requirement according to the respective network requirement thresholds.
8. A network switching device, characterized in that, The apparatus includes: A network operating state determination module, configured to determine the network operating state according to the network channel of the obtained communication terminal and the operating conditions of the respective network services; A network quality data acquisition module, configured to obtain cellular network quality data and satellite network quality data when the network operating state meets a preset condition; A network requirement determination module, configured to determine the network requirement according to the respective network services and preset requirement rules; A target network channel determination module, configured to determine the target network channel according to the cellular network quality data, the satellite network quality data, and the network requirement; A communication control module, configured to control the communication terminal to communicate through the target network channel according to the target network channel.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The electronic device executes the computer program to implement the network switching method according to any one of claims 1 to 7.
10. A vehicle, characterized in that, The vehicle includes a network switching module, and the network switching module is configured to implement the network switching method according to any one of claims 1 to 7.