Vehicle network switching methods, devices and vehicles
By configuring a multi-card system in the vehicle network terminal, the system can detect and switch to a better network in real time, solving the problem that the TBOX module cannot switch when the network is abnormal, thus improving the stability of vehicle communication and user experience.
Patent Information
- Application Number
- CN202510586324.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2026-11-17
AI Technical Summary
Existing TBOX modules cannot actively detect the network status of the backup card when the SIM card experiences network abnormalities. This results in the vehicle being unable to switch to an available network in a timely manner in weak or no network environments, affecting the normal use of in-vehicle services and reducing the reliability and user experience of intelligent connected vehicles.
By configuring first and second communication cards in the vehicle network terminal, when the quality of the first communication card is lower than a threshold, the quality of the user's communication card in the mobile terminal is detected in real time. Based on the communication quality, the operator of the alternative communication card is determined, and the second communication card is switched if the operators are consistent, so as to ensure the stability and continuity of the network connection.
It enables timely switching to a better network when network quality is poor, improving the stability and continuity of vehicle communication, ensuring the best connection status for vehicle networking services, and enhancing user experience.
Smart Images

Figure CN123124044A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of vehicle networking technology, and in particular relates to a vehicle network switching method, device and vehicle. Background Technology
[0002] With the rapid development of intelligent connected vehicles, mobile phone Bluetooth keys and in-vehicle TBOXes have become standard features in smart cars. Currently, high-end intelligent connected vehicles generally feature 5G TBOXes supporting dual SIM single standby functionality to meet the increasingly diverse needs of in-vehicle network interaction scenarios. These scenarios place higher demands on network quality stability, low latency, and high bandwidth, necessitating the optimization of TBOX network management capabilities to ensure users enjoy a smooth online experience in various driving scenarios.
[0003] Due to the limitation of the existing TBOX module's "dual SIM single standby" function, when the current SIM card experiences a network anomaly, the module cannot actively detect the network status of the backup SIM card, causing the system to fail to switch to an available network in a timely manner. This issue prevents the vehicle from dynamically adapting to the optimal network in weak or no-network environments, directly impacting the user's normal use of in-vehicle services and reducing the reliability and user experience of intelligent connected vehicles. Summary of the Invention
[0004] This application provides a vehicle network switching method, device, and vehicle that can switch to a network connection with better signal in a timely manner when the current network quality is poor, thereby ensuring the continuity and stability of vehicle communication.
[0005] In a first aspect, embodiments of this application provide a vehicle network switching method, applied to a vehicle network terminal, wherein the vehicle network terminal is configured with at least a first communication card and a second communication card, the first communication card being the communication card currently used by the vehicle network terminal, and the method includes:
[0006] When the communication quality of the first communication card is detected to be lower than the first threshold, the communication quality of at least one user communication card of the mobile terminal is detected respectively, and the mobile terminal communicates with the vehicle network terminal.
[0007] Based on the communication quality of each user's communication card, candidate communication cards are determined, and the operators of the candidate communication cards are identified as the target operators.
[0008] If the operator of the second communication card is the same as the target operator, the communication card currently used by the vehicle networking terminal will be switched to the second communication card.
[0009] In some feasible embodiments, the method includes:
[0010] For each user's communication card, the communication quality is judged based on a second threshold.
[0011] If the communication quality of each user's communication card is lower than the second threshold, then a preset measure is executed to improve the communication quality of the first communication card.
[0012] In some feasible embodiments, the candidate communication cards are determined based on the communication quality of each user's communication card, including:
[0013] For each user's communication card, the communication quality is judged based on a second threshold.
[0014] If the communication quality of the user's communication card is higher than the second threshold, the user's communication card is determined as a candidate communication card.
[0015] If the communication quality of each user's communication card is lower than the second threshold, then the user's communication card with the highest communication quality among all user communication cards will be selected as the alternative communication card.
[0016] In some feasible embodiments, the method includes:
[0017] If the operator of the second communication card at the vehicle end is different from the target operator, preset measures are implemented to improve the communication quality of the first communication card.
[0018] In some feasible embodiments, the preset measures include at least forcibly locking the communication mode and / or re-enabling the flight mode.
[0019] In some feasible embodiments, before detecting the communication quality of at least one user communication card of the mobile terminal, the process includes:
[0020] Receive communication quality data from the vehicle's Bluetooth controller;
[0021] The Bluetooth controller receives communication quality data from the mobile terminal, and the mobile terminal obtains communication quality data from each user's communication card.
[0022] In some feasible embodiments, communication quality data is received from the vehicle's Bluetooth controller, including:
[0023] The second data receiving unit in the vehicle network terminal receives communication quality data from the second data transmission unit in the Bluetooth controller via the vehicle network protocol;
[0024] The first data receiving unit in the Bluetooth controller receives communication quality data from the first data transmission unit in the mobile terminal via the Bluetooth protocol, and the mobile terminal obtains communication quality data of each user's communication card through the data collection unit.
[0025] In some feasible embodiments, the communication quality data includes at least signal strength information, network status, and operator identification. The communication quality is determined based on the signal strength information and network status, and the operator is determined based on the operator identification.
[0026] Secondly, embodiments of this application provide a vehicle network switching device applied to a vehicle network terminal. The vehicle network terminal is equipped with at least a first communication card and a second communication card, wherein the first communication card is the communication card currently used by the vehicle. The device includes:
[0027] The communication quality detection module is used to detect the communication quality of at least one user communication card of the mobile terminal when the communication quality of the first communication card is detected to be lower than a first threshold. The mobile terminal communicates with the vehicle network terminal.
[0028] The target operator determination module is used to determine the candidate communication cards based on the communication quality of each user's communication card, and to determine the operator of the candidate communication card as the target operator;
[0029] The switching module is used to switch the currently used communication card in the vehicle to the second communication card when the operator of the second communication card is the same as that of the target operator.
[0030] Thirdly, embodiments of this application provide an electronic device, the device including: a processor and a memory storing computer program instructions; the processor executes the computer program instructions to implement the vehicle network switching method as described above.
[0031] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement any of the vehicle network switching methods described above.
[0032] Fifthly, embodiments of this application provide a computer program product in which instructions, when executed by the processor of an electronic device, cause the electronic device to perform any of the vehicle network switching methods described above.
[0033] In a sixth aspect, embodiments of this application provide a vehicle, which includes: a processor and a memory storing computer program instructions; the processor executes the computer program instructions to implement the vehicle network switching method described above.
[0034] Invention Function and Effect
[0035] This application discloses a vehicle network switching method, apparatus, and vehicle. The vehicle network switching method is applied to a vehicle-to-everything (V2X) terminal. The V2X terminal is equipped with at least a first communication card and a second communication card. The first communication card is the communication card currently used by the V2X terminal. The method includes: when the communication quality of the first communication card is detected to be lower than a first threshold, detecting the communication quality of at least one user communication card of a mobile terminal, with the mobile terminal and V2X terminal communicating; determining alternative communication cards based on the communication quality of each user communication card, and identifying the operator of the alternative communication card as the target operator; and switching the communication card currently used by the V2X terminal to the second communication card if the operator of the second communication card matches the target operator. Thus, this application embodiment, by real-time collection of communication quality data from the mobile phone SIM card connected to the TBOX, enables the TBOX to comprehensively evaluate the communication status of the vehicle network and the mobile phone network. When the TBOX detects poor current vehicle network signal, it can automatically switch to a better network based on the communication quality of the mobile phone card, thereby improving the stability and continuity of vehicle communication, ensuring that V2X services, remote control, and other functions always maintain optimal connectivity, and effectively enhancing the user experience.
[0036] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0037] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0038] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in the description of the specific embodiments or the prior art will be briefly introduced below.
[0039] Figure 1 This is one of the flowcharts illustrating the vehicle network switching method provided in the embodiments of this application;
[0040] Figure 2 This is a second schematic flowchart of the vehicle network switching method provided in the embodiments of this application;
[0041] Figure 3 This is one of the flowcharts illustrating the process of TBOX collecting SIM card data provided in this application embodiment;
[0042] Figure 4 This is the second schematic diagram of the TBOX process for collecting SIM card data provided in the embodiments of this application;
[0043] Figure 5 This is a schematic diagram of the vehicle network switching device provided in the embodiments of this application;
[0044] Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0046] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such orders can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein.
[0047] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion, such that a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or apparatus.
[0048] To address the problems of the prior art, embodiments of this application provide a vehicle network switching method, apparatus, and vehicle. The vehicle network switching method provided in this application embodiment will be described first below.
[0049] Figure 1 This illustration shows one of the flowcharts of a vehicle network switching method provided in an embodiment of this application. Figure 1 As shown, a vehicle network switching method is applied to a vehicle network terminal. The vehicle network terminal is equipped with at least a first communication card and a second communication card. The first communication card is the communication card currently used by the vehicle network terminal. The method includes the following steps:
[0050] S101, when the communication quality of the first communication card is detected to be lower than the first threshold, the communication quality of at least one user communication card of the mobile terminal is detected respectively, and the mobile terminal communicates with the vehicle network terminal.
[0051] The first communication card refers to the onboard SIM card (such as the primary card or default data card) currently used by the vehicle-to-everything (TBOX) terminal, responsible for communication between the vehicle and the cloud server (such as remote control, OTA upgrades, navigation data, etc.). The mobile terminal refers to a portable electronic device with wireless communication capabilities (such as a smartphone, tablet, etc.). The mobile terminal establishes a communication connection with the TBOX through its own user communication card to achieve data transmission or remote control functions. In the vehicle-to-everything system, when the network quality of the SIM card built into the TBOX is abnormal, the network can be shared through the SIM card (user communication card) of the mobile terminal to maintain the connection between the vehicle and the cloud. Communication quality is a key indicator for measuring the performance of a communication network. It reflects various characteristics such as network availability, stability, and transmission efficiency, and is the core basis for evaluating network availability and stability. Key indicators include: signal strength (RSRP / RSSI), signal reception quality (RSRQ), received power, signal-to-noise ratio (SNR / SINR), and network latency (Ping value).
[0052] A communication quality below a first threshold indicates that the TBOX detects that the communication quality of the first communication card has not reached the minimum communication quality standard set by the system, suggesting that the current network environment or the status of the communication card may affect normal communication. In this step, the TBOX performs real-time detection and evaluation of the communication quality of the first communication card based on key communication indicators (such as signal strength, network latency, data transmission rate, etc.) to determine whether it meets the communication requirements of the vehicle networking service. In some embodiments, when one or more key communication indicators are continuously lower than the system's preset threshold, the communication quality of the first communication card is determined to be abnormal, indicating that the network environment where the card is located has performance degradation or connection instability problems. It should be noted that the criteria for judging the communication quality of the first communication card may differ in different application scenarios. Therefore, the embodiments of this application do not limit the specific communication quality threshold setting and judgment logic, and can be flexibly configured according to actual needs.
[0053] When an abnormal communication quality is detected in the first communication card, the vehicle-to-everything (V2X) terminal collects communication quality data from each user's communication card in the mobile terminal to detect the communication quality of each user's communication card. Specifically, the mobile terminal acquires the communication quality data of each user's communication card and sends the data to the vehicle's Bluetooth controller; the Bluetooth controller then sends the communication quality data to the V2X terminal in real time. This communication quality data includes, but is not limited to, key parameters such as SIM card operator, SIM card network registration status and base station information, SIM card network signal standard (3G / 4G / 5G) and signal strength information (signal reception quality, received power, signal-to-noise ratio), and network status.
[0054] In some embodiments, the data collection unit in the mobile terminal acquires communication quality data; the first data transmission unit in the terminal sends the communication quality data to the first data receiving unit in the Bluetooth controller via the Bluetooth protocol; and the second data transmission unit in the Bluetooth controller sends the communication quality data to the second data receiving unit in the vehicle network terminal via the vehicle network protocol. This process ensures that the communication quality data of the user's communication card can be efficiently and accurately transmitted between the TBOX and the mobile terminal, providing a solid foundation for subsequent network switching.
[0055] It is important to note that maintaining a continuous Bluetooth connection between the mobile phone and the vehicle's Bluetooth controller is a crucial prerequisite for the vehicle-to-everything (V2X) terminal to collect communication quality data from the mobile terminal's user communication card. This means that a stable Bluetooth Low Energy (BLE) persistent link has been established between the two, and they maintain an uninterrupted session. This continuous connection provides a reliable channel for real-time data transmission, ensuring that the user communication card communication quality parameters collected by the mobile terminal can be transmitted to the V2X terminal in real time.
[0056] Please refer to Figure 2 It shows the second flowchart of the vehicle network switching method, such as Figure 2 As shown, in this embodiment, the TBOX has a built-in current card 1 (i.e., the aforementioned first communication card), card 2, and a TBOX SIM card communication quality monitoring unit. The in-vehicle mobile phone (i.e., the aforementioned mobile terminal) is equipped with dual card slots, supporting the collaborative operation of two SIM cards (i.e., the aforementioned user communication cards). The TBOX SIM card communication quality monitoring unit is used to detect the communication quality and network status of the current card 1 and the SIM cards. In other embodiments, the SIM card configuration of the in-vehicle mobile phone can have different schemes depending on the actual situation of the user's mobile phone (e.g., single-card mode or multi-card collaborative mode).
[0057] In this step, the TBOX first checks the basic network connection status of the current SIM card 1 (such as network registration status, IP connection status, and network type). Only after confirming that the network is connected (possessing basic communication capabilities) will it further evaluate the communication quality, avoiding invalid detection when there is no signal. Similarly, when detecting the communication quality of the SIM card, the TBOX will also first verify the card's basic network connection status to ensure it has basic communication capabilities before executing the communication quality evaluation process, effectively avoiding invalid detection when there is no network connection and ensuring the accuracy and reliability of the evaluation results. Specifically, in this embodiment, the network status of each SIM card is detected separately; if the network status of each SIM card is disconnected, it indicates that there may be a problem with the current communication environment, such as insufficient signal coverage or network failure. At this time, directly executing network recovery measures can quickly attempt to restore communication, improve the communication quality of the current SIM card 1, and avoid service unavailability due to network interruption.
[0058] When no abnormalities are detected in the communication quality of SIM 1, it indicates that the current network is good, and the network handover process ends. When an abnormality is detected in the communication quality of SIM 1, the TBOX will collect communication quality data from the mobile phone in the vehicle to detect the communication quality of the SIM card. Figure 3 This application provides an embodiment of a flowchart illustrating the process of a TBOX collecting SIM card data. Figure 3 As shown, the process includes: the SIM card communication quality data collection unit in the mobile OEM APP collects communication quality data (including signal strength, network latency, operator information, etc.) of the SIM card at a fixed frequency, and sends the data to the vehicle's Bluetooth key controller in real time through the built-in Bluetooth data transmission unit; after receiving the data through its Bluetooth data receiving unit, the Bluetooth key controller forwards the data to the CAN data receiving unit of the TBOX controller through the vehicle's CAN bus via the CAN data transmission unit, and finally the SIM card communication quality data collection unit of the TBOX stores the data and uses it for network switching decisions. The mobile OEM APP is a customized mobile application developed by the car manufacturer, mainly used for interconnection functions between the vehicle and the mobile phone (such as Bluetooth key, remote control, etc.). This embodiment uses the OEM APP to monitor and transmit communication quality data, utilizes the existing communication module (baseband chip) of the mobile phone to collect data, reducing the complexity of the vehicle equipment; achieves millisecond-level data transmission through the Bluetooth Low Energy (BLE) protocol, ensuring high real-time performance; and allows car manufacturers to customize the data collection logic (such as frequency and parameters) to adapt to the needs of different vehicle models.
[0059] Figure 4 This illustrates a second schematic diagram of the process for collecting SIM card data using a TBOX according to an embodiment of this application. Figure 4 As shown, the mobile OEM APP sends data to the Bluetooth data receiving unit built into the Bluetooth key controller via Bluetooth protocol. The CAN data receiving unit built into the Bluetooth key controller forwards the data to the CAN data receiving unit of the TBOX controller via CAN protocol. The application of Bluetooth protocol makes the connection between the mobile OEM APP and the Bluetooth key controller convenient and eliminates the need for complex wiring. Users only need to pair via Bluetooth to achieve fast data transmission, greatly improving the convenience and flexibility of use. The low power consumption of Bluetooth technology helps extend the battery life of the mobile phone and Bluetooth key controller, reducing the energy consumption of the devices. This embodiment of the application can give full play to the advantages of Bluetooth protocol in short-range wireless communication and the high reliability and high speed transmission characteristics of CAN protocol in automotive internal network communication, enabling data to be transmitted efficiently and stably between various key components of the vehicle. This ensures that functions such as network status monitoring are implemented more efficiently and reliably, improving the vehicle's intelligence level and the user experience.
[0060] It should be noted that the above-described process for TBOX to obtain SIM card communication quality data is only one specific embodiment. In practical applications, TBOX can also obtain mobile terminal communication card quality information through various other methods according to different scenarios and needs, in order to achieve more flexible and efficient data interaction and device management.
[0061] TBOX can detect the communication quality of the current SIM card 1 and SIM card through various conventional methods, including but not limited to standardized indicator evaluations such as signal strength measurement (RSRP / RSRQ), bit error rate analysis, network attachment success rate statistics, uplink and downlink rate testing, and network handover success rate monitoring. These mature detection methods have formed a complete evaluation system in industry applications, so they will not be elaborated on in detail here. In some embodiments, auxiliary methods such as historical communication data trend analysis and base station coverage matching degree detection can be combined to achieve a three-dimensional evaluation of the communication quality of the current SIM card 1 and SIM card.
[0062] S102, based on the communication quality of each user's communication card, determine the alternative communication cards and identify the operators of the alternative communication cards as the target operators.
[0063] In this step, TBOX assesses the communication quality of each user's SIM card based on a second threshold. Specifically, TBOX's SIM card quality detection unit monitors key communication indicators (including but not limited to signal strength, network latency, and data transmission rate) of each SIM card in real time, compares and analyzes them against preset quality thresholds, and completes the communication quality assessment using a conventional evaluation algorithm. The specific evaluation method can adopt industry-standard approaches, which will not be elaborated here. When a SIM card is determined to have good communication quality, it is marked as a candidate SIM card, and its operator is selected as the target operator, which can provide stable and reliable communication services in the current network environment. Figure 2 As shown in this embodiment, when any SIM card is determined to have good communication quality, it is considered to have good SIM card quality, and is then marked as a candidate communication card, and its operator is determined as the target operator, so that in the next step it can be determined whether the card 2 built into the TBOX and the SIM card with good communication quality have the same operator.
[0064] In some embodiments, if the communication quality of each user communication card is lower than a second threshold, then preset measures are implemented to improve the communication quality of the first communication card, such as... Figure 2As shown in this embodiment, the TBOX is configured with a network management and network switching processing unit. If the communication quality of both SIM cards is lower than a preset quality threshold, it indicates that there may be no better option in the current environment. At this time, the network management and network switching processing unit will execute preset measures to restore the network and improve the communication quality of the current SIM card 1. The preset measures are conventional network recovery measures, including at least forcibly locking the communication mode and / or re-enabling airplane mode. For example, one can try forcibly locking the communication mode or re-enabling airplane mode and then turning it off to reset the network connection, attempting to restore better communication conditions. By utilizing existing hardware resources, the network connection can be optimized as much as possible to avoid service interruptions caused by network problems.
[0065] In some feasible embodiments, if the communication quality of each user communication card is lower than the second threshold, the user communication card with the highest communication quality among all user communication cards is determined as the alternative communication card, and its operator is determined as the target operator; if the operator of the second communication card is consistent with the target operator, the communication card currently used by the vehicle network terminal is switched to the second communication card.
[0066] In the above embodiments, the SIM card configuration of the in-vehicle mobile phone and the communication card configuration built into the TBOX are the same operator. For example, in this embodiment, the current card 1 built into the TBOX is the same operator as the SIM card 1 of the in-vehicle mobile phone, and the card 2 built into the TBOX is the same operator as the SIM card 2. If both SIM card 1 and SIM card 2 are below a preset quality threshold, and the communication quality of SIM card 2 is higher than that of SIM card 1, since the in-vehicle mobile phone and the communication card built into the TBOX are configured the same, the higher communication quality of SIM card 2 indicates that the communication quality of SIM card 2 built into the TBOX is higher than that of the current card 1. The TBOX can then directly switch from the current card 1 to the card 2 with better communication quality without the need for an additional complex network detection module, and can quickly make a switching decision.
[0067] S103, if the operator of the second communication card is the same as the target operator, switch the communication card currently used by the vehicle network terminal to the second communication card.
[0068] like Figure 2 As shown in this embodiment, when the TBOX detects that the operator of card 2 is the same as the target operator determined in step S102, it indicates that the operator's network can provide better communication services in the current environment. At this time, the network management and network switching processing unit of the TBOX switches to card 2 in time, which can ensure that the vehicle always maintains the best network connection during the movement, effectively meet the continuity requirements of various in-vehicle services such as navigation, remote diagnosis, and OTA upgrade, and significantly improve the communication reliability of users in multi-scenario vehicle use experience.
[0069] In some embodiments, if the operator of the second communication card on the vehicle is different from the target operator, preset measures are implemented to improve the communication quality of the first communication card.
[0070] like Figure 2 As shown in this embodiment, when SIM 2 and the SIM card with good communication quality have different network operators, it indicates that there may not be a better network option in the current environment. In this case, the network management and network switching processing unit will execute preset measures to restore the network and improve the communication quality of SIM 1. The preset measures are conventional network recovery measures, including at least forcibly locking the communication mode and / or re-enabling airplane mode, optimizing network connectivity as much as possible by utilizing existing hardware resources, and avoiding service interruptions caused by network problems.
[0071] The vehicle network switching method of this application embodiment is applied to a vehicle network terminal. The vehicle network terminal is equipped with at least a first communication card and a second communication card. The first communication card is the communication card currently used by the vehicle network terminal. The method includes: when the communication quality of the first communication card is detected to be lower than a first threshold, detecting the communication quality of at least one user communication card of a mobile terminal, and establishing a communication connection between the mobile terminal and the vehicle network terminal; determining alternative communication cards based on the communication quality of each user communication card, and determining the operator of the alternative communication card as the target operator; and switching the communication card currently used by the vehicle network terminal to the second communication card if the operator of the second communication card is consistent with the target operator. Thus, this application embodiment, by collecting real-time communication quality data of the mobile phone SIM card connected to the TBOX, enables the TBOX to comprehensively evaluate the communication status of the vehicle network and the mobile phone network. When the TBOX detects that the current vehicle network signal is poor, it can automatically switch to a network with better performance, thereby improving the stability and continuity of vehicle communication, ensuring that vehicle network services, remote control, and other functions always maintain optimal connection status, and effectively enhancing the user experience.
[0072] Based on the vehicle network switching method provided in the above embodiments, this application also provides specific implementations of the vehicle network switching device. Please refer to the following embodiments.
[0073] like Figure 5 As shown in the embodiment of this application, the vehicle network switching device is applied to a vehicle network terminal. The vehicle network terminal is equipped with at least a first communication card and a second communication card. The first communication card is the communication card currently used by the vehicle. The device includes:
[0074] The communication quality detection 501 is used to detect the communication quality of at least one user communication card of the mobile terminal when the communication quality of the first communication card is detected to be lower than a first threshold, and the mobile terminal communicates with the vehicle network terminal.
[0075] The target operator determination module 502 is used to determine the candidate communication cards based on the communication quality of each user's communication card, and to determine the operator of the candidate communication card as the target operator.
[0076] The switching module 503 is used to switch the currently used communication card on the vehicle to the second communication card when the operator of the second communication card is the same as the target operator.
[0077] The vehicle network switching device of this application embodiment, when detecting that the communication quality of the first communication card is lower than a first threshold, detects the communication quality of at least one user communication card of the mobile terminal, and the mobile terminal communicates with the vehicle network terminal; based on the communication quality of each user communication card, it determines a candidate communication card and identifies the operator of the candidate communication card as the target operator; if the operator of the second communication card is consistent with the target operator, it switches the communication card currently used by the vehicle network terminal to the second communication card. Thus, this application embodiment, by collecting real-time communication quality data of the mobile phone SIM card connected to the TBOX, enables the TBOX to comprehensively evaluate the communication status of the vehicle network and the mobile phone network. When the TBOX detects that the current vehicle network signal is poor, it can automatically switch to a network with better status, thereby improving the stability and continuity of vehicle communication, ensuring that vehicle network services, remote control and other functions always maintain the best connection status, and effectively enhancing the user experience.
[0078] Figure 6 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown.
[0079] An electronic device may include a processor 601 and a memory 602 storing computer program instructions.
[0080] Specifically, the processor 601 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0081] Memory 602 may include mass storage for data or instructions. For example, and not limitingly, memory 602 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 602 may include removable or non-removable (or fixed) media. Where appropriate, memory 602 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 602 is non-volatile solid-state memory.
[0082] In a particular embodiment, memory 602 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Thus, generally, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this disclosure.
[0083] The processor 601 reads and executes computer program instructions stored in the memory 602 to implement any of the motor parameter identification methods in the above embodiments.
[0084] In one example, the electronic device may also include a communication interface 603 and a bus 610. For example, Figure 6 As shown, the processor 601, memory 602, and communication interface 603 are connected through bus 610 and complete communication with each other.
[0085] The communication interface 603 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0086] Bus 610 includes hardware, software, or both, that couples components of an electronic device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 610 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, any suitable bus or interconnect is contemplated herein.
[0087] The electronic device can execute the motor parameter identification method in the embodiments of this application, thereby achieving the combination Figure 1 and Figure 5 The vehicle network switching method and apparatus are described.
[0088] Furthermore, in conjunction with the vehicle network switching methods in the above embodiments, this application embodiment can provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when executed by a processor, these computer program instructions implement any of the vehicle network switching methods in the above embodiments.
[0089] In conjunction with the vehicle network switching methods in the above embodiments, this application embodiment can provide a computer program product, in which the instructions of the computer program product, when executed by the processor of an electronic device, cause the electronic device to perform any of the above vehicle network switching methods.
[0090] In conjunction with the vehicle network switching method in the above embodiments, this application embodiment can provide a vehicle for implementation. The vehicle includes at least one of the following: the vehicle network switching device as described above; the electronic device as described above; the computer-readable storage medium as described above; and the computer program product as described above.
[0091] In conjunction with the vehicle network switching method in the above embodiments, this application embodiment can provide a vehicle, which includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the vehicle network switching method as described above.
[0092] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0093] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0094] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0095] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0096] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A method for switching vehicle networks, characterized in that, A vehicle-to-everything (V2X) terminal applied to a vehicle, the V2X terminal being configured with at least a first communication card and a second communication card, wherein the first communication card is the communication card currently used by the V2X terminal, and the method includes: When the communication quality of the first communication card is detected to be lower than the first threshold, the communication quality of at least one user communication card of the mobile terminal is detected respectively, and the mobile terminal is connected to the vehicle network terminal. Based on the communication quality of each user communication card, candidate communication cards are determined, and the operators of the candidate communication cards are identified as the target operators. If the operator of the second communication card is the same as the target operator, the communication card currently used by the vehicle network terminal will be switched to the second communication card.
2. The vehicle network switching method according to claim 1, characterized in that, The method includes: For each of the aforementioned user communication cards, their communication quality is judged based on a second threshold. If the communication quality of each of the user communication cards is lower than the second threshold, then a preset measure is executed to improve the communication quality of the first communication card.
3. The vehicle network switching method according to claim 1, characterized in that, The step of determining the candidate communication cards based on the communication quality of each user communication card includes: For each of the aforementioned user communication cards, their communication quality is judged based on a second threshold. If the communication quality of the user communication card is higher than the second threshold, then the user communication card is determined as the candidate communication card; If the communication quality of each of the user communication cards is lower than the second threshold, then the user communication card with the highest communication quality among the user communication cards is determined as the candidate communication card.
4. The vehicle network switching method according to claim 1, characterized in that, The method further includes: If the operator of the second communication card at the vehicle end is different from the target operator, preset measures are implemented to improve the communication quality of the first communication card.
5. The vehicle network switching method according to claim 2 or 4, characterized in that, The preset measures include at least forcibly locking the communication mode and / or re-enabling the flight mode.
6. The vehicle network switching method according to claim 1, characterized in that, Before detecting the communication quality of at least one user communication card of the mobile terminal, the process includes: Receive communication quality data from the vehicle's Bluetooth controller; The Bluetooth controller receives the communication quality data from the mobile terminal, and the mobile terminal acquires the communication quality data of each user communication card.
7. The vehicle network switching method according to claim 6, characterized in that, The receipt of communication quality data from the vehicle's Bluetooth controller includes: The second data receiving unit in the vehicle network terminal receives the communication quality data from the second data transmission unit in the Bluetooth controller via the vehicle network protocol; The first data receiving unit in the Bluetooth controller receives communication quality data from the first data transmission unit in the mobile terminal via the Bluetooth protocol, and the mobile terminal obtains the communication quality data of each user communication card through the data collection unit.
8. The vehicle network switching method according to claim 6, characterized in that, The communication quality data includes at least signal strength information, network status, and operator identification. The communication quality is determined based on the signal strength information and the network status, and the operator is determined based on the operator identification.
9. A vehicle network switching device, characterized in that, A vehicle-to-everything (V2X) terminal for use in vehicles, the V2X terminal being equipped with at least a first communication card and a second communication card, wherein the first communication card is the communication card currently used by the vehicle, and the device includes: A communication quality detection module is used to detect the communication quality of at least one user communication card of the mobile terminal when the communication quality of the first communication card is detected to be lower than a first threshold, wherein the mobile terminal is communicatively connected to the vehicle network terminal. The target operator determination module is used to determine candidate communication cards based on the communication quality of each user communication card, and to determine the operator of the candidate communication cards as the target operator; The switching module is used to switch the communication card currently used in the vehicle to the second communication card when the operator of the second communication card is the same as the target operator.
10. A vehicle, characterized in that, The vehicle includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the vehicle network switching method as described in any one of claims 1-8.
