Vehicle network automatic switching method, device and storage medium
By obtaining navigation road sections in Tbox and dividing network speed intervals, automatic optimization of vehicle networking is realized, which solves the problem of poor vehicle network experience and quality in the existing technology, and improves the stability and user experience of vehicle networking.
Patent Information
- Application Number
- CN202310713441.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-15
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2043-06-15
AI Technical Summary
The existing Tbox cannot achieve intelligent switching in vehicle networking, resulting in a decline in the on-board network usage experience and poor quality and stability.
By obtaining the vehicle's navigation road section, the road section is divided into sections with close network speeds and sections with different network speeds based on the network operator's network speed difference, and the SIM card is automatically adjusted while the vehicle is driving to optimize the network connection.
It has improved the quality and stability of vehicle networking, improved the user's driving experience, and ensured that vehicles are always connected to the Internet under optimal network conditions.
Smart Images

Figure CN116709294B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy vehicle technology, and in particular to a vehicle network automatic switching method, device and storage medium. Background Art
[0002] With the rapid development of information technology, the integration of the Internet and the automotive industry has deepened, and vehicle networking technology has gradually become an important development trend in the automotive industry. Among them, the remote communication terminal Tbox plays a key role in realizing vehicle networking functions. Tbox integrates vehicle body network and wireless communication functions, usually based on Android or Linux operating systems, contains one or more SIM cards, and realizes networking functions through SIM cards.
[0003] However, the current choice of using SIM cards in Tbox is mainly set by users themselves, which brings some problems in practical applications. On the one hand, different SIM cards can correspond to different network operators, but there are significant differences in the network coverage areas and quality of different operators. This may cause users to encounter vehicle network jams or inability to connect to the Internet due to uneven network coverage or poor signal quality of the currently selected operator during driving, which in turn has a negative impact on the user's driving experience. On the other hand, existing Tbox usually only relies on users to manually switch SIM cards to solve the problem of uneven network coverage. This method is not only cumbersome to operate, but also during actual driving, users may not be able to understand the changes in network status in a timely manner, and thus cannot make timely SIM card switching decisions. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a method, device and storage medium for automatic switching of vehicle networks to solve the problem that the prior art cannot realize intelligent network switching of vehicles, resulting in a decline in the user experience of the vehicle network and poor quality and stability of vehicle networking.
[0005] In a first aspect of an embodiment of the present application, a vehicle network automatic switching method is provided, comprising: obtaining a navigation section of the vehicle, dividing the navigation section into a plurality of section intervals according to the network speed difference of network operators, wherein the section interval includes a network speed approaching section and a network speed difference section; during vehicle driving, when it is determined that the vehicle enters a network speed approaching section from a network speed difference section, maintaining a current SIM card for network connection; when it is determined that the vehicle enters a network speed difference section from a network speed approaching section, determining whether the network speed of the current SIM card corresponding to the network speed difference section to be entered meets a preset Requirements: when the preset requirements are met, keep the current SIM card connected to the network; when the preset requirements are not met, obtain the vehicle's required network speed and the average network speed of the current SIM card corresponding to the network speed difference section to be entered, and compare the average network speed of the current SIM card with the required network speed; when the average network speed of the current SIM card is not lower than the required network speed, keep the current SIM card connected to the network; when the average network speed of the current SIM card is lower than the required network speed, switch the current SIM card in the network speed difference section to be entered, and put the vehicle into switching preparation mode.
[0006] According to a second aspect of an embodiment of the present application, a vehicle network automatic switching device is provided, including: a division module, configured to obtain a navigation section of a vehicle, and divide the navigation section into a plurality of section intervals according to the network speed difference of network operators, wherein the section interval includes a network speed approaching section and a network speed difference section; a first judgment module, configured to keep the current SIM card connected to the network when it is judged that the vehicle enters the network speed approaching section from the network speed difference section during vehicle driving; and a second judgment module, configured to judge the network speed of the current SIM card corresponding to the network speed difference section to be entered when it is judged that the vehicle enters the network speed difference section from the network speed approaching section. Whether the preset requirements are met, when the preset requirements are met, keep the current SIM card connected to the network; the comparison module is configured to obtain the vehicle's required network speed and the average network speed of the current SIM card corresponding to the network speed difference section to be entered when the preset requirements are not met, and compare the average network speed of the current SIM card with the required network speed; the switching module is configured to keep the current SIM card connected to the network when the average network speed of the current SIM card is not lower than the required network speed, and switch the current SIM card in the network speed difference section to be entered when the average network speed of the current SIM card is lower than the required network speed, and put the vehicle into a switching preparation mode.
[0007] According to a third aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0008] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0009] By acquiring the navigation section of the vehicle, the navigation section is divided into multiple section intervals according to the network speed difference of the network operators, wherein the section interval includes a network speed approaching section and a network speed difference section; during the driving process of the vehicle, when it is determined that the vehicle enters the network speed approaching section from the network speed difference section, the current SIM card is kept connected to the network; when it is determined that the vehicle enters the network speed difference section from the network speed approaching section, it is determined whether the network speed of the current SIM card corresponding to the network speed difference section to be entered meets the preset requirements, and when the preset requirements are met, the current SIM card is kept connected to the network; when the preset requirements are not met, the required network speed of the vehicle and the average network speed of the current SIM card corresponding to the network speed difference section to be entered are obtained, and the average network speed of the current SIM card is compared with the required network speed; when the average network speed of the current SIM card is not lower than the required network speed, the current SIM card is kept connected to the network, and when the average network speed of the current SIM card is lower than the required network speed, the current SIM card is switched in the network speed difference section to be entered, and the vehicle enters the switching preparation mode. This application can automatically adjust the selection of SIM cards according to changes in network status to improve the quality and stability of vehicle networking, enhance the user's experience of using the in-vehicle network, and improve the user's vehicle driving experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0011] Figure 1 It is a schematic diagram of the architecture of a vehicle network automatic switching system involved in an actual application scenario of an embodiment of the present application;
[0012] Figure 2 It is a flow chart of a vehicle network automatic switching method provided in an embodiment of the present application;
[0013] Figure 3 is a structural schematic diagram of a vehicle network automatic switching device provided in an embodiment of the present application;
[0014] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0015] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0016] In the field of new energy vehicles, Tbox stands for Telematics Box, which is the abbreviation of remote communication terminal. It is a device that integrates vehicle body network and wireless communication functions. As a communication component of the vehicle, it is usually based on operating systems such as Android and Linux and has communication functions. Tbox realizes networking functions by embedding one or more SIM cards. These SIM cards can correspond to different operators respectively, giving users the freedom to choose network operators. However, the network coverage of operators is not always uniform, so users may encounter unstable network connections in some places, resulting in a reduced experience of using the in-vehicle network. In some cases, the car may not even be able to connect to the Internet at all, which affects the driving experience.
[0017] It should be noted that in new energy vehicles, the role of Tbox is not limited to providing networking services, but also includes supporting vehicle remote diagnosis, remote control, emergency calls, navigation and other services, as well as providing communication support for more advanced functions such as vehicle autonomous driving and vehicle networking.
[0018] In view of the problems existing in the prior art, an embodiment of the present application provides a method for automatic switching of vehicle networks. The embodiment of the present application dynamically selects the best SIM card for network connection according to the network signal conditions of the vehicle's driving route and the current vehicle's demand for the network, thereby optimizing the quality and stability of vehicle networking. Specifically, by obtaining the navigation section of the vehicle and dividing the navigation section into multiple section intervals according to the network speed differences of network operators, including sections with close network speeds and sections with different network speeds, the present application can select and switch SIM cards according to the type of section where the current vehicle is located and the predicted type of section. When the vehicle drives from a section with different network speeds into a section with close network speeds, the current SIM card can be kept for network connection, because in sections with close network speeds, the network quality of each network operator is similar and there is no need for frequent switching. When a vehicle enters a speed difference section from a speed-approximate section, this application will determine whether the network speed of the current SIM card corresponding to the speed difference section to be entered meets the preset requirements. If not, it will determine whether the SIM card needs to be switched based on the vehicle's required network speed and the average network speed of the current SIM card corresponding to the speed difference section to be entered, so that the vehicle can always be connected to the network of the operator with the best network quality. This application realizes automatic optimization of the vehicle network by introducing dynamic prediction of the network status of the driving section and real-time evaluation of network demand, greatly improving the stability of vehicle networking and the user's driving experience.
[0019] In addition, the present application also compares the actual network speed of each road section recorded by the vehicle controller with the expected network speed of each road section issued by the cloud server. When the difference between the actual network speed and the expected network speed is greater than the threshold, the actual network speed of the road section is uploaded to the cloud server, so that the cloud server can use the actual network speed data to update the expected network speed, thereby improving the prediction accuracy, thereby achieving more accurate network switching, and further improving the quality and stability of vehicle networking.
[0020] Figure 1 Schematic diagram of the architecture of a vehicle network automatic switching system involved in an actual application scenario of the embodiment of the present application. Figure 1 As shown, the vehicle network automatic switching system includes an in-vehicle infotainment system IVI, a mobile terminal, a vehicle controller VCU, a cloud server and a Tbox; wherein, the in-vehicle infotainment system IVI and the mobile terminal (such as a mobile phone) user send navigation information to the vehicle controller VCU, the cloud server is used to transmit navigation information and the network speed conditions of different road sections and divide the road sections, and the vehicle controller VCU is used to issue a switching instruction to the Tbox, so that the Tbox switches the SIM card according to the current network conditions, thereby improving the network quality during driving.
[0021] Through the above-mentioned vehicle network automatic switching system, the present application understands the user's travel route (i.e., the vehicle's navigation section) based on the user's navigation information or driving habits, and understands the network conditions of each operator on the navigation section based on cloud interconnection technology. According to the acquired network conditions and the network usage of the vehicle computer, the SIM card network switching is intelligently completed to ensure that the vehicle has the most suitable network operator corresponding to the network speed in each section.
[0022] The contents of the technical solution of the present application are described in detail below with reference to the accompanying drawings and specific embodiments.
[0023] Figure 2 It is a flow chart of the vehicle network automatic switching method provided in an embodiment of the present application. Figure 2 The vehicle network automatic switching method can be executed by a cloud server or a vehicle controller. Figure 2 As shown, the vehicle network automatic switching method may specifically include:
[0024] S201, obtaining a navigation section of the vehicle, and dividing the navigation section into a plurality of section intervals according to the network speed difference of network operators, wherein the section interval includes a section with similar network speed and a section with different network speed;
[0025] S202, when it is determined that the vehicle is driving from a section with a different network speed to a section with a similar network speed, the current SIM card is kept connected to the network;
[0026] S203, when it is determined that the vehicle enters a network speed difference section from a network speed close section, it is determined whether the network speed of the current SIM card corresponding to the network speed difference section to be entered meets the preset requirement, and when the preset requirement is met, the current SIM card is kept connected to the network;
[0027] S204, when the preset requirement is not met, obtaining the required network speed of the vehicle and the average network speed of the current SIM card corresponding to the network speed difference section to be entered, and comparing the average network speed of the current SIM card with the required network speed;
[0028] S205, when the average network speed of the current SIM card is not lower than the required network speed, keep the current SIM card connected to the network; when the average network speed of the current SIM card is lower than the required network speed, switch the current SIM card at the network speed difference section to be entered, and put the vehicle into the switching preparation mode.
[0029] In the embodiment of the present application, the SIM card refers to a Subscriber Identity Module Card used in a vehicle-mounted communication device (Telematics Box, i.e., TBOX). The SIM card is provided by each network operator and stores key information for identifying and verifying the user, allowing the vehicle-mounted device to connect to the operator's network.
[0030] In the application environment of the embodiment of the present application, the SIM card is used to realize the networking function of the vehicle-mounted equipment, so that the vehicle can access the Internet and send and receive data. In actual applications, the TBOX may contain one or more SIM cards, each SIM card corresponding to a different network operator. The embodiment of the present application will automatically select the most suitable SIM card for network connection according to the road section traveled by the vehicle and the corresponding network conditions, thereby optimizing the quality and stability of vehicle networking.
[0031] In some embodiments, a navigation segment of a vehicle is obtained, and the navigation segment is divided into multiple segment intervals according to differences in network speeds of network operators, including: obtaining the navigation segment of the vehicle from a navigation application on a user's mobile phone or a navigation application on a vehicle computer, and obtaining the network speeds corresponding to consecutive positions of each network operator in the navigation segment pre-collected by a data collection vehicle, and dividing the navigation segment using the network speeds of the network operators at consecutive positions to obtain multiple segment intervals.
[0032] Specifically, firstly, the vehicle navigation section selected by the user is obtained. In practical applications, the navigation section information selected by the user can be obtained through the navigation APP of the user's mobile phone or the navigation APP of the vehicle computer. After obtaining the navigation section information, the obtained navigation section is divided according to the network speed difference of each network operator at different positions in the section, thereby obtaining multiple section intervals.
[0033] In one example, a data collection vehicle can be used to pre-collect network speed information of each network operator at consecutive locations on a navigation section. Network operators may include China Mobile, China Unicom, China Telecom, etc., so as to determine the original network speed corresponding to each location of the navigation section by each network operator. Afterwards, the navigation section is divided according to the original network speed information, and finally a plurality of section intervals are obtained.
[0034] In some embodiments, the navigation segment is divided using the network speeds of network operators at consecutive locations to obtain multiple segment intervals, including: determining the network speed differences of each network operator at consecutive locations within the navigation segment, setting the segment intervals where the network speed differences between each network operator are less than a network speed threshold as segments with similar network speeds, and setting the segment intervals where the network speed differences between at least two network operators are greater than the network speed threshold as segments with different network speeds; obtaining the segment length corresponding to the network speed difference segment, and setting the network speed difference segment where the segment length is less than a preset segment length as a segment with similar network speeds.
[0035] Specifically, the embodiment of the present application divides the navigation section into two different types of section intervals based on the network speed differences of different network operators at various locations on the navigation section, namely, sections with similar network speeds and sections with different network speeds. In practical applications, sections with similar network speeds are used to characterize section intervals where the network speed differences between various network operators are less than a network speed threshold, and sections with different network speeds are used to characterize section intervals where the network speed differences between at least two network operators are greater than a network speed threshold.
[0036] Furthermore, the embodiment of the present application will also obtain the average network speed of the SIM card corresponding to each network operator in each network speed difference section, and it is also necessary to process the network speed difference sections obtained by the preliminary division, by obtaining the section length corresponding to each network speed difference section, comparing the section length of each network speed difference section with the preset section length, and modifying the network speed difference section with a section length less than the preset section length to a section with a similar network speed, thereby avoiding frequent switching of SIM cards due to shorter network speed difference sections.
[0037] In one example, assume that the TBOX in the vehicle is equipped with only two SIM cards of different operators. In this case, the road segment division corresponding to the two operators can be found. That is, when the network speeds of the two operators are close, they are regarded as the network speed close section; when the network speed difference between the two operators is greater than the threshold, it is regarded as the network speed difference section.
[0038] According to the technical solution provided in the above embodiments, the present application accurately divides the road sections according to the differences in network speeds of different network operators at each navigation section location, so that the vehicle can automatically select the optimal network for connection according to the network conditions of different sections during driving, thereby optimizing the vehicle's networking experience.
[0039] In some embodiments, the network speed threshold is determined in the following manner, including: setting the network speed threshold based on a preset functional requirement of the vehicle, or dynamically determining the network speed threshold based on the minimum network speed of the SIM card corresponding to each network operator and a preset constant, and the network speed threshold is equal to the minimum network speed of the SIM card divided by the constant.
[0040] Specifically, the selection of the network speed threshold depends on the network speed required by the vehicle. This threshold can be a preset fixed threshold or a dynamically determined threshold to adapt to different network speed conditions. The following is an explanation of the determination method of the network speed threshold in conjunction with a specific embodiment, which may specifically include the following contents:
[0041] In one example, a network speed threshold is set based on preset vehicle functional requirements. At this time, the network speed threshold is determined by the minimum network speed required to implement the necessary functions of the vehicle, such as listening to music, navigation, etc. In actual applications, R&D personnel can predetermine this threshold based on vehicle requirements, such as setting the network speed threshold to 1Mbps.
[0042] In another example, the network speed threshold can also be dynamically determined based on the minimum network speed of the SIM card corresponding to each network operator and a preset constant. For example, the calculation formula of the network speed threshold T is: T = S / K, that is, the network speed threshold is equal to the minimum network speed of the SIM card divided by the constant. Here, T represents the network speed threshold, K represents a preset constant (for example, K can be set to 2), and S represents the network speed corresponding to the operator with the slowest network speed among multiple operators. That is to say, among all network operators, the network speed of the SIM card corresponding to the operator with the slowest network speed is selected as S. By dynamically calculating the network speed threshold in this way, the division of navigation sections can be realized based on the relative differences between network speeds, thereby enhancing the rationality of the section division.
[0043] Optionally, assume that there are two operators with network speeds of S1 and S2. When S1=1Mbps and S2=11Mbps, the absolute difference between the two is 10Mbps. Using the above formula, the network speed threshold T=S1 / K=0.5Mbps can be calculated. Since this value is smaller than the absolute difference between the two, it is divided into a network speed difference section. For another example, when S1=100Mbps and S2=110Mbps, the absolute difference between the two is still 10Mbps. However, the network speed threshold T=S1 / K=50Mbps calculated at this time is greater than the absolute difference between the two, so it is divided into a network speed close section.
[0044] The network speed threshold determination method provided by the above embodiment can ensure that the setting of the network speed threshold reflects the relative difference in network speed, rather than just the absolute difference. Therefore, whether the network speed is low or high, reasonable road segment division can be obtained. This not only ensures the requirements of vehicle functions, but also improves the accuracy and rationality of road segment division.
[0045] In some embodiments, the method also includes: when the vehicle is started, determining the type of road section corresponding to the current starting location of the vehicle, and when the road section type is a network speed difference section, selecting the SIM card corresponding to the network operator with the highest network speed in the network speed difference section for network connection; when the road section type is a network speed proximity section, determining whether there is a network speed difference section in the navigation section, if there is no network speed difference section, selecting the SIM card corresponding to the network operator with the highest preset priority for network connection, and if there is a network speed difference section, based on the frequency of occurrence of the SIM card corresponding to the network operator with the highest network speed in each network speed difference section, selecting the SIM card corresponding to the network operator with the highest frequency of occurrence for network connection.
[0046] Specifically, with regard to the network selection when the vehicle is started, when the vehicle is started, a suitable SIM card will be selected for the first network connection based on the type of the road section to which the starting location belongs and the network speed. In other words, when the vehicle is started, the road section type corresponding to the current starting location of the vehicle is determined, and the SIM card corresponding to the corresponding network operator is selected for network connection according to the road section type.
[0047] Furthermore, first, when the vehicle is started, it is necessary to determine the type of road section corresponding to the current starting location of the vehicle. The aforementioned embodiments have discussed how to divide the navigation section into multiple section intervals according to the network speed differences of network operators. These section intervals include network speed difference sections and network speed approximation sections. If it is determined that the road section type corresponding to the current starting location is a network speed difference section, the SIM card corresponding to the network operator with the highest network speed in the network speed difference section is selected for network connection. This is because in this type of section, there are significant differences in the network speeds of different network operators. Therefore, selecting the network operator with the highest network speed will be able to provide the best network service for the vehicle.
[0048] However, if the road type corresponding to the current start location is a road section with similar network speed, the embodiment of the present application will further determine whether there is a road section with different network speed in the navigation section. If there is no road section with different network speed, the SIM card corresponding to the network operator with the highest preset priority is selected for network connection. This is because in this case, since the network speeds of various network operators are not much different, the SIM card can be selected according to the preset priority.
[0049] Furthermore, if there are sections with network speed differences in the navigation section, this application will select the SIM card corresponding to the network operator with the highest network speed for network connection based on the frequency of occurrence of the SIM card corresponding to the network operator with the highest network speed in each section with network speed differences. In actual applications, first find the SIM card with the fastest network speed in each section with network speed differences, and count the frequency of occurrence of SIM cards of different operators. Then, the SIM card with the highest frequency of occurrence is used as the initial optimal SIM card. If there are SIM cards with the same frequency, further screening can be performed based on the length of the SIM card in the section, for example: from the SIM cards of the network operator with the highest frequency of occurrence, select the SIM card with the longest section length as the SIM card for networking.
[0050] According to the technical solutions provided in the above embodiments, the present application can ensure that the vehicle can select the optimal network connection under any circumstances, thereby maximizing the vehicle's network performance and improving the stability and user experience of vehicle navigation and other online functions.
[0051] In some embodiments, it is determined whether the network speed of the current SIM card corresponding to the network speed difference section to be entered meets the preset requirements, and when the preset requirements are met, the current SIM card is kept connected to the network, including: obtaining the network speed of the SIM cards of each network operator corresponding to the network speed difference section to be entered, determining whether the current SIM card is the SIM card with the highest network speed, and when the current SIM card is the SIM card with the highest network speed, keeping the current SIM card connected to the network.
[0052] Specifically, during the driving process of the vehicle, the embodiment of the present application determines whether it is necessary to switch the SIM card according to the different road sections that the vehicle is about to enter and the network speed requirements of the vehicle. When the vehicle needs to enter the road section with close network speed from the road section with different network speeds, the SIM card will not be switched at this time, but the current SIM card will be maintained for network connection. This is because in the road section with close network speeds, the network speed differences of various network operators are small, so the current SIM card can still meet the network speed requirements of the vehicle.
[0053] Furthermore, when the vehicle needs to enter a network speed difference section from a network speed close section, the embodiment of the present application will start to make a judgment when it is N meters (for example, 30 meters) away from the network speed difference section. First, obtain the network speed of the SIM cards of each network operator corresponding to the network speed difference section to be entered, and determine whether the current SIM card is the SIM card with the highest network speed. If the current SIM card is the SIM card with the highest network speed, the current SIM card will be kept connected to the network. Otherwise, the network speed currently required by the vehicle and the average network speed of the current SIM card in the next section will be obtained. If the average network speed is greater than the required network speed, the current SIM card will still be kept connected to the network; if the average network speed is less than the required network speed, it is determined that networking switching is required in the next section, and the switching preparation mode is entered.
[0054] In some embodiments, after putting the vehicle into a switching preparation mode, the method further includes: obtaining the vehicle's current application function, caching data generated by the current application function, and monitoring preset network switching trigger conditions, and when the vehicle meets the network switching trigger conditions, switching the vehicle's current SIM card.
[0055] Specifically, when the vehicle enters the switching preparation mode, it will obtain the current application function of the vehicle, cache the data generated by the application function, and monitor the preset network switching trigger conditions. When the vehicle meets the network switching trigger conditions, the SIM card switching operation is performed. The data cache of the application function and the network switching trigger conditions are described in detail below in conjunction with specific embodiments, which may include the following:
[0056] When the vehicle enters the switching preparation mode, it will first obtain various application functions currently running in the vehicle, including but not limited to navigation, music playback, autonomous driving analysis, high-precision maps, etc. In order to ensure that the short network speed interruption caused by the SIM card switching during the network switching process will not bring a bad driving experience to the vehicle, the vehicle will cache the data generated by these application functions. For example: the vehicle may pre-download some music, or pre-load high-precision map data, in order to buffer the network speed fluctuations that may occur during the network switching process.
[0057] While caching data, the vehicle will also monitor the preset network switching trigger conditions in real time. In actual applications, network switching trigger conditions may include the end of a song, no need for navigation lane change within 300 meters ahead, and the end of a voice call. When the vehicle meets these network switching trigger conditions, the SIM card will be switched. In this way, the user impact caused by network switching can be minimized and the user experience can be improved.
[0058] Furthermore, during driving, the vehicle controller VCU will record the actual network speed corresponding to each road section. When it detects that the network speed of at least two road sections sent from the cloud is inconsistent with the actual network speed, the function of automatically adjusting the SIM card based on the road section network speed will be turned off, and the network speed of the current SIM card will be checked to see if it meets the user's Internet access needs. If it does, the current SIM card will continue to be used to connect to the Internet. If it does not, other SIM cards will be used to test the network speed, and the SIM card with the fastest actual network speed will be used as the subsequent SIM card for connecting to the Internet.
[0059] In some embodiments, the method also includes: using the vehicle controller to compare the actual network speed of each recorded road section with the expected network speed of each road section issued by the cloud server; when the difference between the actual network speed and the expected network speed is greater than a threshold, uploading the actual network speed of the road section to the cloud server, so that the cloud server can update the expected network speed using the actual network speed of the road section.
[0060] Specifically, when the vehicle is finished driving, the vehicle controller first compares the actual network speed of each section with the expected network speed of the corresponding section sent by the cloud server. The purpose of this comparison is to verify whether the difference between the actual network speed and the expected network speed exceeds the set threshold, which can be a fixed value or a value dynamically calculated according to a specific algorithm.
[0061] If the difference between the actual network speed and the expected network speed of a certain section of road is found to exceed the set threshold, the vehicle controller will upload the actual network speed of the section of road to the cloud server. This can help the cloud server to obtain and update the network speed data of the section of road in real time, thereby ensuring the accuracy and practicality of the expected network speed.
[0062] Furthermore, after receiving new actual network speed data, the cloud server will use this data to update the original expected network speed. The update method can be to simply replace the original data, or to fuse or optimize the data through algorithms. This process can help the cloud server provide more accurate expected network speed information, thereby helping subsequent vehicles to better plan and select network connection strategies.
[0063] According to the technical solution provided in the above embodiment, this method can effectively utilize the actual network speed data collected in real time and the powerful computing power of the cloud server to achieve accurate prediction and real-time update of the network speed between road sections, provide more accurate and practical decision-making basis for vehicle network connection, and improve the quality of vehicle network services and user experience.
[0064] According to the technical solution provided by the embodiment of the present application, firstly, the present application divides the road sections based on the network speed difference, allowing the vehicle system to determine the SIM card with the best network speed for each section based on these sections after obtaining the user's itinerary. By intelligently switching the SIM card in the TBOX in the corresponding section, the vehicle can know in advance the optimal SIM card application strategy for this navigation and execute it. This strategy not only improves the stability of the vehicle network speed, but also maximizes the network speed performance of different network operators. Secondly, by dynamically switching the SIM card, the present application optimizes the network experience of the vehicle. In particular, during the driving process of the vehicle, the SIM card is intelligently switched according to the actual network speed and the requirements of the application program to achieve the optimal network connection state. This not only provides a stable and high-quality in-vehicle network service, but also improves the user experience. Finally, the present application collects the actual network speed data of the vehicle controller and the cloud server to update the expected network speed in real time, so that the future network speed prediction is more accurate. In this process, the vehicle dynamically selects the most suitable network connection according to the actual situation and needs, thereby maximizing the network performance and user experience of the vehicle.
[0065] In summary, the technical solution of the present application realizes the intelligence and personalization of the in-vehicle network, provides stable and high-quality in-vehicle network services, significantly enhances the user experience, and has important practical value and broad application prospects.
[0066] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0067] Figure 3 Schematic diagram of the structure of the vehicle network automatic switching device provided in the embodiment of the present application. Figure 3 As shown, the vehicle network automatic switching device includes:
[0068] The division module 301 is configured to obtain a navigation segment of the vehicle, and divide the navigation segment into a plurality of segment intervals according to the network speed difference of network operators, wherein the segment interval includes a segment with similar network speed and a segment with different network speed;
[0069] The first judgment module 302 is configured to keep the current SIM card connected to the network when it is determined that the vehicle is driving from a network speed difference section to a network speed close section during the vehicle driving process;
[0070] The second judgment module 303 is configured to judge whether the network speed of the current SIM card corresponding to the network speed difference section to be entered meets the preset requirement when judging that the vehicle enters the network speed difference section from the network speed close section, and keep the current SIM card connected to the network when the preset requirement is met;
[0071] The comparison module 304 is configured to obtain the required network speed of the vehicle and the average network speed of the current SIM card corresponding to the network speed difference section to be entered when the preset requirement is not met, and compare the average network speed of the current SIM card with the required network speed;
[0072] The switching module 305 is configured to keep the current SIM card connected to the network when the average network speed of the current SIM card is not lower than the required network speed, and to switch the current SIM card at the network speed difference section to be entered when the average network speed of the current SIM card is lower than the required network speed, and to put the vehicle into the switching preparation mode.
[0073] In some embodiments, Figure 3 The division module 301 obtains the navigation section of the vehicle from the user's mobile phone navigation application or the vehicle navigation application, and obtains the network speed corresponding to the continuous positions of each network operator in the navigation section pre-collected by the data collection vehicle, and divides the navigation section by using the network speed of the network operator at the continuous position to obtain multiple section intervals.
[0074] In some embodiments, Figure 3 The division module 301 determines the network speed difference of the continuous positions of each network operator in the navigation section, sets the section interval where the network speed difference between each network operator is less than the network speed threshold as the network speed similar section, and sets the section interval where the network speed difference between at least two network operators is greater than the network speed threshold as the network speed difference section; obtains the section length corresponding to the network speed difference section, and sets the network speed difference section where the section length is less than the preset section length as the network speed similar section.
[0075] In some embodiments, Figure 3 The division module 301 sets the network speed threshold based on the preset functional requirements of the vehicle, or dynamically determines the network speed threshold based on the minimum network speed of the SIM card corresponding to each network operator and a preset constant, and the network speed threshold is equal to the minimum network speed of the SIM card divided by the constant.
[0076] In some embodiments, Figure 3 The third judgment module 306 determines the type of road section corresponding to the current starting location of the vehicle when the vehicle is started. When the road section type is a network speed difference section, the SIM card corresponding to the network operator with the highest network speed in the network speed difference section is selected for network connection; when the road section type is a network speed proximity section, it is determined whether there is a network speed difference section in the navigation section. If there is no network speed difference section, the SIM card corresponding to the network operator with the highest preset priority is selected for network connection. If there is a network speed difference section, based on the appearance frequency of the SIM card corresponding to the network operator with the highest network speed in each network speed difference section, the SIM card corresponding to the network operator with the highest appearance frequency is selected for network connection.
[0077] In some embodiments, Figure 3 The second judgment module 303 obtains the network speed of the SIM cards of each network operator corresponding to the network speed difference section to be entered, and judges whether the current SIM card is the SIM card with the highest network speed. When the current SIM card is the SIM card with the highest network speed, the current SIM card is kept connected to the network.
[0078] In some embodiments, Figure 3 After the vehicle enters the switching preparation mode, the switching module 305 obtains the current application function of the vehicle, caches the data generated by the current application function, and monitors the preset network switching trigger conditions. When the vehicle meets the network switching trigger conditions, the current SIM card of the vehicle is switched.
[0079] In some embodiments, Figure 3 The update module 307 uses the vehicle controller to compare the actual network speed of each road section recorded with the expected network speed of each road section issued by the cloud server. When the difference between the actual network speed and the expected network speed is greater than a threshold, the actual network speed of the road section is uploaded to the cloud server so that the cloud server can update the expected network speed using the actual network speed of the road section.
[0080] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0081] Figure 4 Schematic diagram of the structure of the electronic device 4 provided in the embodiment of the present application. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0082] Exemplarily, the computer program 403 may be divided into one or more modules / units, which are stored in the memory 402 and executed by the processor 401 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 403 in the electronic device 4.
[0083] The electronic device 4 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0084] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0085] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device. The memory 402 may also be used to temporarily store data that has been output or is to be output.
[0086] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0087] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0088] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0089] In the embodiments provided in the present application, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0090] 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 may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0091] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0092] If the integrated module / unit 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 present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0093] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle network automatic switching method, characterized in that: include: Obtaining a navigation segment of the vehicle, dividing the navigation segment into a plurality of segment intervals according to the network speed difference of network operators, wherein the segment interval includes a segment with a similar network speed and a segment with a different network speed, wherein the segment with a different network speed includes a segment interval in which the network speed difference of network operators is greater than a network speed threshold, and the segment with a similar network speed includes a segment interval in which the network speed difference of network operators is less than the network speed threshold and a segment length less than a preset segment length; During the driving process of the vehicle, when it is determined that the vehicle enters the network speed approximation section from the network speed difference section, maintaining the current SIM card for network connection; When it is determined that the vehicle enters the network speed difference section from the network speed close section, it is determined whether the network speed of the current SIM card corresponding to the network speed difference section to be entered meets the preset requirement, and when the preset requirement is met, the current SIM card is kept connected to the network; When the preset requirement is not met, the required network speed of the vehicle and the average network speed of the current SIM card corresponding to the network speed difference section to be entered are obtained, and the average network speed of the current SIM card is compared with the required network speed; When the average network speed of the current SIM card is not lower than the required network speed, the current SIM card is kept connected to the network; when the average network speed of the current SIM card is lower than the required network speed, the current SIM card is switched at the network speed difference section to be entered, and the vehicle enters the switching preparation mode.
2. The method according to claim 1, characterized in that The obtaining of the navigation section of the vehicle divides the navigation section into a plurality of section intervals according to the network speed difference of the network operator, including: The navigation section of the vehicle is obtained from the navigation application on the user's mobile phone or the navigation application on the vehicle computer, and the network speeds corresponding to the continuous positions of each network operator at the navigation section, which are pre-collected by the data collection vehicle, are obtained; the navigation section is divided using the network speeds of the network operators at the continuous positions to obtain a plurality of section intervals.
3. The method according to claim 1, characterized in that The network speed threshold is determined in the following manner, including: The network speed threshold is set based on the preset functional requirements of the vehicle, or the network speed threshold is dynamically determined based on the minimum network speed of the SIM card corresponding to each network operator and a preset constant, and the network speed threshold is equal to the minimum network speed of the SIM card divided by the constant.
4. The method according to claim 1, characterized in that: The method further comprises: When the vehicle is started, determining the road section type corresponding to the current starting location of the vehicle, and when the road section type is a network speed difference section, selecting the SIM card corresponding to the network operator with the highest network speed in the network speed difference section for network connection; When the road section type is a road section with similar network speed, determine whether there is a road section with different network speed in the navigation section. If there is no road section with different network speed, select the SIM card corresponding to the network operator with the highest preset priority for network connection. If there is a road section with different network speed, based on the appearance frequency of the SIM card corresponding to the network operator with the highest network speed in each of the road sections with different network speed, select the SIM card corresponding to the network operator with the highest appearance frequency for network connection.
5. The method according to claim 1, characterized in that The determining whether the network speed of the current SIM card corresponding to the network speed difference road section to be entered meets the preset requirement, and when the preset requirement is met, maintaining the network connection of the current SIM card, includes: The network speed of the SIM cards of each network operator corresponding to the network speed difference section to be entered is obtained, and it is determined whether the current SIM card is the SIM card with the highest network speed. When the current SIM card is the SIM card with the highest network speed, the current SIM card is kept connected to the network.
6. The method according to claim 1, characterized in that After causing the vehicle to enter the switching preparation mode, the method further includes: The current application function of the vehicle is obtained, data generated by the current application function is cached, and preset network switching trigger conditions are monitored. When the vehicle meets the network switching trigger conditions, the current SIM card of the vehicle is switched.
7. The method according to claim 1, characterized in that The method further comprises: The vehicle controller is used to compare the actual network speed of each road section recorded with the expected network speed of each road section issued by the cloud server. When the difference between the actual network speed and the expected network speed is greater than a threshold, the actual network speed of the road section is uploaded to the cloud server so that the cloud server can update the expected network speed using the actual network speed of the road section.
8. A vehicle network automatic switching device, characterized in that: include: a division module configured to obtain a navigation segment of the vehicle, and divide the navigation segment into a plurality of segment intervals according to a network speed difference of network operators, wherein the segment interval includes a segment with a similar network speed and a segment with a different network speed, wherein the segment with a different network speed includes a segment interval with a network speed difference of network operators greater than a network speed threshold, and the segment with a similar network speed includes a segment interval with a network speed difference of network operators less than the network speed threshold and a segment length less than a preset segment length; The first judgment module is configured to keep the current SIM card connected to the network when it is determined that the vehicle is driving from the network speed difference section to the network speed close section during the vehicle driving process; The second judgment module is configured to judge whether the network speed of the current SIM card corresponding to the network speed difference section to be entered meets the preset requirement when judging that the vehicle enters the network speed difference section from the network speed close section, and keep the current SIM card connected to the network when the preset requirement is met; A comparison module is configured to obtain the required network speed of the vehicle and the average network speed of the current SIM card corresponding to the network speed difference section to be entered when the preset requirement is not met, and compare the average network speed of the current SIM card with the required network speed; The switching module is configured to keep the current SIM card connected to the network when the average network speed of the current SIM card is not lower than the required network speed, and to switch the current SIM card at the network speed difference section to be entered when the average network speed of the current SIM card is lower than the required network speed, and to put the vehicle into a switching preparation mode.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Network switching method and device, terminal and storage medium
CN108366403A
Communication method, related equipment and communication system
CN113133076A