Method and device for providing function support to in-vehicle terminal
The method enables flexible firmware and application upgrades for connected vehicles by using a mobile terminal to receive and transmit upgrade packages, addressing the limitations of T-Box-based upgrades and improving user experience.
Patent Information
- Application Number
- JP2023546306
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-02-01
- Filing Date
- 2022-01-21
- Publication Date
- 2025-09-01
- Estimated Expiration
- 2042-01-21
AI Technical Summary
Current methods for upgrading firmware and applications in connected vehicles are limited to using a Telematics Box (T-Box), offering little flexibility and no user control over the upgrade process.
A method and device that allows a mobile terminal to establish a communication connection with an in-vehicle terminal, receive upgrade messages from a server, display upgrade options, and transmit upgrade packages to the in-vehicle terminal, enabling users to select upgrade times and methods.
Provides flexible upgrade options, reduces mobile data usage, and enhances user experience by allowing users to choose when to download upgrades, while leveraging the mobile terminal's computing power to assist in-vehicle terminals.
Smart Images

Figure 0007731991000002 
Figure 0007731991000003 
Figure 0007731991000004
Abstract
Description
[Technical Field]
[0001] This application claims priority to Chinese Patent Application No. 202110138240.8, filed on February 1, 2021, entitled "METHOD AND APPARATUS FOR PERFORMING FUNCTION ASSISTANCE ON VEHICLE-MOUNTED TERMINAL," which is incorporated herein by reference in its entirety.
[0002] The present invention relates to the field of V2X (vehicle-to-everything) technology, and in particular to a method and device for providing function support to an in-vehicle terminal. [Background technology]
[0003] Currently, the interaction between a connected vehicle and a server is mostly carried out using a Telematics Box (T-Box).
[0004] For firmware and application upgrades in connected vehicles, in most cases, the T-Box interacts with a server to obtain the firmware or application upgrade package, and then upgrades the firmware or application.
[0005] Currently, firmware and applications in connected vehicles can only be upgraded using the T-Box, leaving users with only one option and little flexibility when upgrading firmware and applications. Summary of the Invention
[0006] To solve the problem of low flexibility in upgrading programs in connected vehicles, the embodiments of the present application provide a method and device for providing function support to an in-vehicle terminal. The technical solution is as follows:
[0007] According to a first aspect, there is provided a method for providing function support to an in-vehicle terminal. The method includes: a mobile terminal establishes a communication connection with the in-vehicle terminal, and the mobile terminal receives an upgrade message corresponding to a program and sent by a server; the mobile terminal displays an upgrade option corresponding to the program; when the mobile terminal detects that the upgrade option has been triggered, the mobile terminal sends an upgrade package acquisition request corresponding to the program to the server; the server sends the upgrade package for the program to the mobile terminal; the mobile terminal sends the upgrade package to the in-vehicle terminal; and the in-vehicle terminal receives the upgrade package and upgrades the program based on the upgrade package.
[0008] In the solution described in the embodiment of the present application, the communication connection may be a Wi-Fi connection, a Bluetooth connection, or the like. The program may be firmware, an application, or the like. The firmware may be firmware for a vehicle control system of an in-vehicle terminal, firmware for an HMI, or the like. The application may be a high-definition map application, or the like.
[0009] According to the above solution, a user can select and tap an upgrade option at an appropriate opportunity, triggering the mobile terminal to send a request to acquire an upgrade package corresponding to the program to the server. After receiving the upgrade package acquisition request, the server returns the program upgrade package to the mobile terminal. This solution allows the user to decide when to download the upgrade package. For example, the user can tap the upgrade option when the user is at home and has a wireless network. This saves mobile data traffic. When the user is in a vehicle, the downloaded upgrade package is transmitted to the vehicle terminal via a communication connection between the mobile terminal and the vehicle terminal. This allows the user to select upgrade solutions that are not limited to the vehicle terminal, thereby providing more flexible upgrade options for in-vehicle programs and improving the user experience.
[0010] In one possible embodiment, the upgrade message includes a latest version identifier of the program. Before the mobile terminal displays an upgrade option corresponding to the program, the method further includes: the mobile terminal sending a request to the in-vehicle terminal to obtain an installed version identifier corresponding to the program, and receiving the installed version identifier of the program sent by the in-vehicle terminal. If the installed version identifier is different from the latest version identifier, the upgrade option corresponding to the program is displayed.
[0011] In the solution described in this embodiment of the present application, the determination of whether a target application needs to be upgraded can be performed by the mobile terminal. When the server obtains a program upgrade package, the server can send an upgrade message corresponding to the program to the mobile terminal corresponding to the in-vehicle terminal on which the program is installed. The upgrade message includes the latest version identifier. After receiving the upgrade message, the mobile terminal can obtain the installed version identifier of the program from the in-vehicle terminal. If the latest version identifier and the installed version identifier are different, this indicates that the program installed on the in-vehicle terminal is not the latest version and needs to be upgraded. In this case, the mobile terminal displays an upgrade option corresponding to the program, and the user can tap the upgrade option at an appropriate opportunity to obtain the upgrade package from the server.
[0012] In a possible embodiment, the program is firmware of the vehicle-mounted terminal.
[0013] In the solution presented in this embodiment of the present application, the firmware may include firmware of the HMI in the mobile terminal, firmware of the ADS, firmware of the body control system, etc.
[0014] In a possible embodiment, the program is a map application for an in-vehicle terminal.
[0015] In a possible implementation, the method further includes: displaying a plurality of vehicle control options on the mobile terminal; and, upon detecting that a target vehicle control option of the plurality of vehicle control options has been triggered, determining a vehicle control command corresponding to the target vehicle control option and transmitting the vehicle control command to the in-vehicle terminal.
[0016] In the solution presented in this embodiment of the present application, the mobile terminal can further assist the in-vehicle terminal in controlling the vehicle. Specifically, a user can trigger the mobile terminal to send a vehicle control message to the in-vehicle terminal by tapping a vehicle control option displayed on the mobile terminal.
[0017] In a possible embodiment, the target vehicle control option is a braking function option and the vehicle control command is a braking command.
[0018] In the solution provided in this embodiment of the present application, if the display interface of the in-vehicle terminal is impaired, the user cannot use the in-vehicle terminal to control the vehicle. In this case, the user can trigger the mobile terminal to send a corresponding brake control command to the in-vehicle terminal by tapping a brake control function option on the mobile terminal. Furthermore, the mobile terminal can send a brake control command to the vehicle body control system according to the brake control command to achieve the brake control goal.
[0019] In a possible embodiment, the target vehicle control option is a vehicle diagnostic function option, and the vehicle control command is a vehicle diagnostic command. The method further includes receiving a vehicle diagnostic result message sent by the in-vehicle terminal.
[0020] In the solution presented in this embodiment of the present application, a user can trigger the mobile terminal to send a vehicle diagnostic command to the in-vehicle terminal by tapping a vehicle diagnostic function option on the mobile terminal, and the in-vehicle terminal can perform diagnostic detection for each system and component and return the diagnostic result to the mobile terminal, and the user can view the vehicle diagnostic result on the mobile terminal.
[0021] In a possible embodiment, the method further includes the steps of: receiving a data processing request sent by the in-vehicle terminal, the data processing request including data to be processed and a service type identifier; processing the data to be processed using a service execution program corresponding to the service type identifier and obtaining output data; and sending the output data to the in-vehicle terminal.
[0022] In the solution provided in this embodiment of the present application, it is considered that currently, the computing power of the mobile terminal is high, while the computing power of the in-vehicle terminal is weak, and the hardware upgrade cost of the in-vehicle terminal is high. Therefore, the mobile terminal can be used to assist the in-vehicle terminal in computing service data, thereby improving the computing efficiency of service data without replacing the hardware of the in-vehicle terminal.
[0023] In a possible embodiment, the method further includes the steps of receiving the driving data transmitted by the in-vehicle terminal, storing the driving data, and transmitting the driving data to a server.
[0024] In the solution presented in this embodiment of the present application, if the vehicle's black box is damaged, driving data may be lost. The vehicle's black box can transmit the driving data collected in the current transfer cycle to the in-vehicle terminal at the end of each transfer cycle. The in-vehicle terminal transmits the driving data to the mobile terminal using the in-vehicle gateway. The mobile terminal stores the driving data and transfers it to the server. In this way, the vehicle's driving data can be stored in the mobile terminal and the server. Even if the vehicle's black box is damaged, the driving data can be retrieved from the mobile terminal and the server and viewed in the event of an accident.
[0025] According to a second aspect, a method for providing function support to an in-vehicle terminal is provided. The method is applied to a mobile terminal. The method includes the steps of establishing a communication connection with the in-vehicle terminal; receiving an upgrade message corresponding to a program and sent by a server; and displaying an upgrade option corresponding to the program. When it is detected that the upgrade option has been triggered, an upgrade package acquisition request corresponding to the program is sent to the server, and the upgrade package sent by the server is received and sent to the in-vehicle terminal.
[0026] In one possible embodiment, the upgrade message includes a latest version identifier of the program. Before displaying the upgrade option corresponding to the program, the method further includes the steps of: sending a request to the in-vehicle terminal to obtain an installed version identifier corresponding to the program; and receiving the installed version identifier of the program sent by the in-vehicle terminal. If the installed version identifier is different from the latest version identifier, the upgrade option corresponding to the program is displayed.
[0027] In a possible embodiment, the program is firmware of the vehicle-mounted terminal.
[0028] In a possible embodiment, the program is a map application for an in-vehicle terminal.
[0029] In a possible embodiment, the method further includes the steps of: displaying a plurality of vehicle control options; when it is detected that a target vehicle control option among the plurality of vehicle control options has been triggered, determining a vehicle control command corresponding to the target vehicle control option; and transmitting the vehicle control command to the in-vehicle terminal.
[0030] In a possible embodiment, the target vehicle control option is a brake control function option and the vehicle control command is a brake control command.
[0031] In a possible embodiment, the target vehicle control option is a vehicle diagnostic function option, and the vehicle control command is a vehicle diagnostic command. And, the method further includes a step of receiving a vehicle diagnostic result message transmitted by the in-vehicle terminal.
[0032] In a possible embodiment, the method further includes the steps of: receiving a data processing request sent by the in-vehicle terminal, the data processing request including data to be processed and a service type identifier; processing the data to be processed using a service execution program corresponding to the service type identifier to obtain output data; and sending the output data to the in-vehicle terminal.
[0033] In a possible embodiment, the method further comprises the step of receiving the driving data transmitted by the in-vehicle terminal and storing the driving data.
[0034] In a possible embodiment, the method further comprises transmitting the driving data to a server.
[0035] According to a third aspect, there is provided a method for providing function support to an in-vehicle terminal, the method being applied to the in-vehicle terminal, the method including the steps of: establishing a communication connection with a mobile terminal; receiving an upgrade package corresponding to a program and transmitted by the mobile terminal; and transmitting the upgrade package to the in-vehicle terminal.
[0036] According to a fourth aspect, there is provided an apparatus for providing function support to an in-vehicle terminal. The apparatus is applicable to a mobile terminal. The apparatus includes: a communication module configured to establish a communication connection with the in-vehicle terminal; a receiving module configured to receive a program upgrade message sent by a server; a display module configured to display an upgrade option corresponding to the program; and a transmitting module configured to transmit an upgrade package acquisition request corresponding to the program to the server when it is detected that the upgrade option has been triggered. The receiving module is further configured to receive the upgrade package sent by the server, and the transmitting module is further configured to transmit the upgrade package to the in-vehicle terminal.
[0037] In a possible embodiment, the upgrade message includes a latest version identifier of the program, the sending module is further configured to send a request to the mobile terminal to obtain an installed version identifier corresponding to the program, the receiving module is further configured to receive the installed version identifier of the program sent by the in-vehicle terminal, and the display module is configured to display an upgrade option corresponding to the program if the installed version identifier is different from the latest version identifier.
[0038] In a possible embodiment, the program is firmware of the vehicle-mounted terminal.
[0039] In a possible embodiment, the program is a map application for an in-vehicle terminal.
[0040] In a possible embodiment, the display module is further configured to display the plurality of vehicle control options, and the transmission module is further configured to, when it is detected that a target vehicle control option among the plurality of vehicle control options has been triggered, determine a vehicle control command corresponding to the target vehicle control option and transmit the vehicle control command to the in-vehicle terminal.
[0041] In a possible embodiment, the target vehicle control option is a brake control function option and the vehicle control command is a brake control command.
[0042] In a possible embodiment, the target vehicle control option is a vehicle diagnostic function option, and the vehicle control command is a vehicle diagnostic command, and the receiving module is further configured to receive a vehicle diagnostic result message sent by the in-vehicle terminal.
[0043] In a possible embodiment, the receiving module is further configured to receive a data processing request sent by the in-vehicle terminal, the data processing request including data to be processed and a service type identifier. The device further includes a calculation module configured to process the data to be processed using a service execution program corresponding to the service type identifier to obtain output data. The sending module is further configured to send the output data to the in-vehicle terminal.
[0044] In a possible embodiment, the receiving module is further configured to receive the driving data transmitted by the in-vehicle terminal, the device further includes a storage module configured to store the driving data, and the transmitting module is further configured to transmit the driving data to the server.
[0045] According to a fifth aspect, there is provided a mobile terminal including a processor and a memory.
[0046] The memory is configured to store instructions.
[0047] The processor is configured to load and execute instructions to implement a method for providing functionality support to an in-vehicle terminal according to the second aspect.
[0048] According to a sixth aspect, there is provided a computer-readable storage medium for storing instructions that, when loaded and executed by a processor, implement the method for providing functionality support for an in-vehicle terminal according to the second aspect.
[0049] According to a seventh aspect, there is provided a computer program product including instructions that, when loaded and executed by a processor, implement the method for providing function support to an in-vehicle terminal according to the second aspect.
[0050] The advantageous effects brought by the technical solutions provided in the embodiments of the present application are as follows:
[0051] In an embodiment of the present application, a mobile terminal can establish a communication connection with an in-vehicle terminal. After receiving an upgrade message corresponding to a program and sent by a server, the mobile terminal displays an upgrade option corresponding to the program. The user can select and tap the upgrade option at an appropriate opportunity, triggering the mobile terminal to send an upgrade package acquisition request corresponding to the program to the server. After receiving the upgrade package acquisition request, the server returns the program upgrade package to the mobile terminal. This solution allows the user to decide when to download the upgrade package. For example, when the user is at home and has a wireless network, the user can tap the upgrade option. In this way, mobile data traffic can be saved. When the user is in a vehicle, the downloaded upgrade package is transmitted to the in-vehicle terminal via a communication connection between the mobile terminal and the in-vehicle terminal. In this way, the upgrade method available to the user is not limited to the in-vehicle terminal, thereby enabling more flexible program upgrades in the vehicle and improving the user experience. In addition, due to the excellent hardware performance of the mobile terminal, after connecting the mobile terminal to the in-vehicle terminal, the mobile terminal can be used as a part of the in-vehicle terminal, thereby more efficiently supporting the in-vehicle terminal in performing operations such as program upgrades. [Brief explanation of the drawings]
[0052] [Figure 1] 1 is a schematic diagram of a system for providing function support to an in-vehicle terminal according to an embodiment of the present application; [Figure 2] 1 is a flowchart of a method for providing function support to an in-vehicle terminal according to an embodiment of the present application; [Figure 3] 1 is a flowchart of a method for providing function support to an in-vehicle terminal according to an embodiment of the present application; [Figure 4]1 is a flowchart of a method for assisting in the registration of an application according to an embodiment of the present application; [Figure 5] 1 is a flowchart of a method for assisting application login according to an embodiment of the present application; [Figure 6] 1 is a flowchart of a method for a server to send an upgrade package to a mobile terminal according to an embodiment of the present application; [Figure 7] 1 is a flowchart of a method for a server to send an upgrade package to a mobile terminal according to an embodiment of the present application; [Figure 8] 1 is a flowchart of a method for a server to send an upgrade package to a mobile terminal according to an embodiment of the present application; [Figure 9] 1 is a flowchart of a method for a mobile terminal to assist in upgrading firmware in a vehicle according to an embodiment of the present application; [Figure 10] 1 is a flowchart of a method for a mobile terminal to assist in-vehicle high-definition map upgrade according to one embodiment of the present application; [Figure 11] 1 is a flowchart of a method for assisting a mobile terminal in performing vehicle diagnostics, according to an embodiment of the present application; [Figure 12] 1 is a schematic diagram illustrating the structure of a device for providing function support to an in-vehicle terminal according to an embodiment of the present application; [Figure 13] 1 is a schematic diagram illustrating the structure of a mobile terminal according to an embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION
[0053] An embodiment of the present application provides a method for providing function assistance to an in-vehicle terminal. This method can be implemented by a system for providing function assistance to an in-vehicle terminal. As shown in FIG. 1, the system includes a mobile terminal, an in-vehicle terminal, and a server. The mobile terminal may be a mobile phone, a tablet computer, a notebook computer, or the like. The in-vehicle terminal is located in a vehicle and includes an in-vehicle gateway, a T-Box, a human-machine interface (HMI), a processor, a chassis control system, and an automated driving system (ADS). The server can provide multiple functions, such as program upgrades and driving data storage.
[0054] The T-Box is configured to establish a communication relationship with the server to realize a dialogue between the in-vehicle terminal and the server. The in-vehicle gateway may have a wireless communication function, specifically, a Wi-Fi communication function, a Bluetooth communication function, etc. The in-vehicle gateway is configured to establish a communication connection with the mobile terminal to realize a dialogue between the in-vehicle terminal and the mobile terminal. The vehicle body control system is configured to perform control of the vehicle body. Specifically, the vehicle body control system can control the vehicle body to realize braking control, acceleration, steering, etc. The autonomous driving system is configured to perform vehicle positioning, driving navigation, driving policy calculation, etc. The HMI is configured to display a user operation interface, and the processor is configured to receive and execute instructions sent by a user using the HMI.
[0055] As shown in FIG. 2, in this embodiment of the present application, after the onboard terminal is powered on, it establishes a communication connection with the mobile terminal, and then attempts authentication with the server. If authentication is successful, the mobile terminal is used as part of the onboard terminal and assists the onboard terminal in performing program upgrades, vehicle control, driving data transfer, assistance calculations, etc. Specifically, program upgrades include firmware upgrades and high-definition map upgrades, etc. Firmware is software embedded in hardware devices. Vehicle control further includes vehicle diagnosis, transmission of brake control commands, etc. Assistance calculations may include assistance in implementing V2X services.
[0056] According to the present application, a user can not only use an in-vehicle terminal to perform program upgrades and driving control on a vehicle, but also use a mobile terminal to perform program upgrades and driving control on a vehicle. In this way, more choice space and user experience are provided to the user. In addition, the mobile terminal can use its powerful computing power to assist the in-vehicle terminal in performing data calculations, so that the in-vehicle terminal can obtain calculation results more quickly even when the hardware computing power is weak, thereby reducing the hardware cost of the in-vehicle terminal.
[0057] 3 shows a method for providing function support to an in-vehicle terminal according to an embodiment of the present application. The method is implemented by the above-mentioned system for providing function support to an in-vehicle terminal. The processing procedure of the method may include the following steps:
[0058] Step 201: The mobile terminal establishes a communication connection with the in-vehicle terminal.
[0059] The communication connection may be a wireless connection, such as a Wi-Fi or Bluetooth connection, or may be a wired connection, such as a connection using a data cable.
[0060] In implementation, when a user needs to use a mobile terminal to support an in-vehicle terminal, the user can connect the mobile terminal and the in-vehicle terminal using a data cable to establish a communication connection between the mobile terminal and the in-vehicle terminal. The wireless connection function of the mobile terminal may be further enabled so that the mobile terminal transmits a wireless signal. After receiving the wireless signal, the in-vehicle gateway of the in-vehicle terminal establishes a wireless connection with the mobile terminal. Here, the communication connection is a wireless connection.
[0061] When the communication connection is a wireless connection, for example, a user may enable a Wi-Fi sharing function of the mobile terminal, which may alternatively be referred to as a Wi-Fi hotspot. Then, the mobile terminal transmits a Wi-Fi signal. After receiving the Wi-Fi signal, the vehicle gateway of the vehicle terminal establishes a Wi-Fi connection with the mobile terminal. As another example, a user may enable a Bluetooth function of the mobile terminal. Then, the mobile terminal transmits a Bluetooth signal. After receiving the Bluetooth signal, the vehicle gateway of the vehicle terminal establishes a Bluetooth connection with the mobile terminal.
[0062] In a possible embodiment, in order to guarantee the quality of the communication connection between the in-vehicle terminal and the mobile terminal, the in-vehicle terminal can select one of the multiple communication connections as a primary connection and use another communication connection as a standby connection.
[0063] In this implementation, a user may enable multiple wireless connection functions, such as Wi-Fi and Bluetooth, in the mobile terminal. In response, the mobile terminal transmits multiple wireless signals. After receiving the multiple wireless signals, the vehicle gateway of the vehicle terminal individually establishes communication connections with the mobile terminal in accordance with the multiple wireless signals. Next, the vehicle gateway may detect the communication quality of the multiple communication connections by transmitting detection data packets to the mobile terminal. The communication quality may be evaluated using a parameter such as a data transmission delay. For example, the shorter the data transmission delay, the higher the communication quality of the communication link. Finally, the vehicle gateway may select the communication connection with the best communication quality from the multiple communication connections as a primary connection, and use the remaining communication connections as standby connections.
[0064] The in-vehicle gateway may then send a primary connection setup message to the mobile terminal. After receiving the primary connection setup message, the mobile terminal sets the communication connection that sent the primary connection setup message as the primary connection. In this way, the primary connection is first used for subsequent data exchange between the mobile terminal and the in-vehicle terminal. When the primary connection is disconnected, data exchange is actively switched to and performed on the standby connection.
[0065] The vehicular gateway may also detect the communication qualities of the established communication connections at predetermined intervals and reselect a primary connection. The predetermined interval may be set by a person skilled in the art based on actual conditions. For example, the predetermined interval may be set to 30 minutes, 60 minutes, or the like. After each reselection of a primary connection, if the currently selected primary connection is different from the previously selected primary connection, the vehicular gateway may transmit a primary connection setup message to the mobile terminal via the newly selected primary connection. After receiving the primary connection setup message, the mobile terminal sets the communication connection from which the primary connection setup message is transmitted as the primary connection. If the currently selected primary connection is the same as the previously selected primary connection, the vehicular gateway does not need to resend the primary connection setup message to the mobile terminal.
[0066] Below, the setting of the primary connection will be described using an example in which the multiple communication connections include a Wi-Fi connection and a Bluetooth connection.
[0067] The user simultaneously enables the Wi-Fi sharing function and the Bluetooth function of the mobile terminal. Then, the mobile terminal transmits a Wi-Fi signal and a Bluetooth signal. After receiving the Bluetooth signal, the vehicle gateway of the vehicle terminal establishes a Bluetooth connection with the mobile terminal. After receiving the Wi-Fi signal, the vehicle gateway of the vehicle terminal establishes a Wi-Fi connection with the mobile terminal. After establishing these two communication connections, the vehicle gateway may detect the data transmission delay of the Wi-Fi connection and the Bluetooth connection, and set the communication connection with the low (small) data transmission delay as the primary connection and set the other communication connection as the standby connection. If the two communication connections still exist after a preset period, the vehicle gateway may again detect the data transmission delay of the two communication connections, and set the communication connection with the low data transmission delay as the primary connection and set the other communication connection as the standby connection. If it detects that the data transmission delay of the Wi-Fi connection is low, the vehicle gateway sets the Wi-Fi connection as the primary connection. Then, the vehicle gateway sends a primary connection setting message to the mobile terminal via the Wi-Fi connection. After receiving the primary connection setup message, the mobile terminal sets the Wi-Fi connection as the primary connection.
[0068] After a preset period, the in-vehicle gateway again detects the data transmission latency of the Wi-Fi connection and the Bluetooth connection, and sets the communication connection with the lowest data transmission latency as the primary connection and sets the other communication connection as a standby connection. If the in-vehicle gateway detects that the data transmission latency of the Bluetooth connection is low this time, it sets the Bluetooth connection as the primary connection and sends a primary connection setting message to the mobile terminal via the Bluetooth connection. After receiving the primary connection setting message, the mobile terminal sets the Bluetooth connection as the primary connection. If the in-vehicle gateway detects that the data transmission latency of the Wi-Fi connection is low this time, it determines that the currently selected primary connection is the same as the previously selected primary connection. In this case, the in-vehicle gateway stops sending the primary connection setting message to the mobile terminal.
[0069] It is further noted that the setting up of the primary connection may alternatively be performed by the mobile terminal. Details may be as follows:
[0070] The user enables a multiple wireless connection function in the mobile terminal, and in response, the mobile terminal transmits multiple wireless signals. After receiving the multiple wireless signals, the vehicle gateway of the vehicle-mounted terminal individually establishes communication connections with the mobile terminal in response to the multiple wireless signals. Next, the mobile terminal can detect the communication quality of the multiple communication connections by transmitting a detection data packet to the vehicle-mounted terminal. Finally, the mobile terminal can select the communication connection with the best communication quality from the multiple communication connections as the primary connection and use the remaining communication connections as standby connections. In addition, the mobile terminal can transmit a primary connection setting message to the vehicle-mounted terminal via the primary connection. After receiving the primary connection setting message, the vehicle-mounted terminal sets the communication connection that transmits the primary connection setting message as the primary connection.
[0071] Furthermore, the mobile terminal can transmit a primary connection setup message to the in-vehicle terminal via the primary connection. After receiving the primary connection setup message, the in-vehicle terminal sets the communication connection that transmits the primary connection setup message as the primary connection. In this way, the primary connection is first used for subsequent data exchange between the mobile terminal and the in-vehicle terminal. When the primary connection is disconnected, data exchange is actively switched to and performed on the standby connection.
[0072] Furthermore, the mobile terminal can detect the communication quality of multiple established communication connections at predetermined intervals and reselect a primary connection. If the currently selected primary connection is different from the previously selected primary connection, the mobile terminal can transmit a primary connection setting message to the in-vehicle terminal via the newly selected primary connection. After receiving the primary connection setting message, the in-vehicle terminal sets the communication connection via which the primary connection setting message is transmitted as the primary connection. If the currently selected primary connection is the same as the previously selected primary connection, the mobile terminal does not need to retransmit the primary connection setting message to the in-vehicle terminal.
[0073] Step 202: The server transmits an upgrade package of a target program, which is a program installed in the in-vehicle terminal, to the mobile terminal.
[0074] The target program may be firmware of a mobile terminal, such as firmware of an HMI of a mobile terminal, firmware of an ADS, or firmware of a vehicle control system, or may be an application installed on an in-vehicle terminal, such as a high-definition map application.
[0075] In an embodiment, a prerequisite for performing step 202 is that the assistance application is installed on the mobile terminal and has completed registration and login to the server. Furthermore, the account to which the assistance application logs in must be bound to the vehicle. To facilitate the description of the embodiment of step 202, the following first describes the assistance application account registration, the binding between the assistance application account and the vehicle, and the assistance application account login.
[0076] 1. Registration of the assistance application As shown in Figure 4, registration of the assistance application may include the following steps.
[0077] S2021: The mobile terminal acquires an assistance application account, an assistance application password, a vehicle identifier, and user identification information.
[0078] The vehicle identifier is information that uniquely identifies the vehicle, such as the vehicle identification number of the vehicle, and the user identification information may be an identification card number.
[0079] In this implementation, a user can enable a support application installed on a mobile terminal. After the support application is enabled, if the current support application is not logged in to any account, an initial interface is displayed. The initial interface displays a registration option and a login option. If an account needs to be registered, the registration option can be selected. After detecting a selection operation performed by the user on the registration option, the mobile terminal may enable the support application to jump to the registration interface. The selection operation may be a tap operation, a touch-and-hold operation, a slide operation, or the like.
[0080] The registration interface may display an account input box, a password input box, a vehicle identifier input box, a user identification information input box, and a confirmation option. For example, the vehicle identifier is a vehicle identification number, and the user identification information is an identification card number. Similarly, the registration interface of the assistance application displays an account input box, a password input box, a vehicle identification number input box, an identification card number input box, and a registration option.
[0081] The user enters the assistance application account in the account input box, the assistance application password in the password input box, the vehicle identifier in the vehicle identifier input box, and the user identification information in the user identification information input box. If the entered information is confirmed to be correct, the user can tap a confirm option. After the user taps the confirm option, the mobile terminal acquires the assistance application account, assistance application password, vehicle identifier, and user identification information entered by the user.
[0082] S2022: The mobile terminal sends a registration request to the server, where the registration request carries an assistance application account, an assistance application password, a vehicle identifier, and user identification information.
[0083] In implementation, after obtaining the assistance application account, assistance application password, vehicle identifier, and user identification information entered by the user, the mobile terminal sends a registration request to the server, where the registration request includes the assistance application account, assistance application password, vehicle identifier, and user identification information.
[0084] S2023: The server verifies the vehicle identifier and the user identification information.
[0085] In implementation, after selling a vehicle, when a user starts up the in-vehicle terminal for the first time, the user needs to complete user registration on the in-vehicle terminal. After starting up the in-vehicle terminal for the first time, a user registration interface may be displayed on the display of the in-vehicle terminal. The user registration interface may display a user identity account input box, a password input box, a vehicle identifier input box, a user identity input box, and a confirmation option.
[0086] The user enters an in-vehicle terminal application account into the account input box, an in-vehicle terminal application password into the password input box, a first vehicle identifier into the vehicle identifier input box, and first user identification information into the user identification information input box. If the entered information is confirmed to be correct, the user can tap a confirm option. After the user taps the confirm option, the in-vehicle terminal obtains the in-vehicle terminal application account, in-vehicle terminal application password, vehicle identifier, and user identification information entered by the user. Next, the in-vehicle terminal uses the T-Box to send a user registration request to the server, where the user registration request includes the in-vehicle terminal application account, in-vehicle terminal application password, vehicle identifier, and user identification information.
[0087] After receiving the user registration request, the server stores the in-vehicle terminal application account, the in-vehicle terminal application password, the first vehicle identifier, and the first user identification information in association with each other as vehicle registration information. The in-vehicle terminal application account and the in-vehicle terminal application password are used for login authentication to the in-vehicle terminal. The vehicle identifier and the user identification information are used for registration authentication to the support application.
[0088] Next, the server sends a user registration success message to the in-vehicle terminal. After the registration is completed, the in-vehicle terminal automatically logs in to the registered account. After that, every time the in-vehicle terminal is started, the in-vehicle terminal can automatically log in to the registered account.
[0089] Based on the completion of user registration by the in-vehicle terminal, the server can verify the vehicle identifier and user identification information included in the registration request of the assistance application based on the correspondence between the vehicle identifier and user identification information included in the vehicle registration information.
[0090] Specifically, the server can determine whether the vehicle identifier and user identification information included in the registration request of the assistance application are stored in correspondence with each other in the correspondence relationship between the vehicle identifier and the user identification information in the stored vehicle registration information.
[0091] S2024: If the verification is successful, the server stores the support application account and the support application password in association with each other, and sends a registration success message to the mobile terminal.
[0092] In implementation, the verification is deemed successful when the server determines that the vehicle identifier and user identification information included in the registration request are stored in association with each other in the correspondence relationship between vehicle identifiers and user identification information in the vehicle registration information. The server can then store the assistance application account and assistance application password in association with each other as registration information for the assistance application and send a registration success message to the mobile terminal.
[0093] In implementation, if the server determines that the vehicle identifier and user identification information included in the registration request are not stored in correspondence with each other in the correspondence relationship between the vehicle identifier and the user identification information in the stored vehicle registration information, the verification is considered to have failed and the server sends a registration recognition message to the mobile terminal.
[0094] S2025: If the verification fails, the server sends a registration failure message to the mobile terminal.
[0095] 2. Assistance in binding between application account and vehicle.
[0096] Based on the above-mentioned step S204, the server associates the assistance application account of the assistance application with the in-vehicle terminal application account, which correspond to both the vehicle identifier and the user identification information in the vehicle registration information. Alternatively, the server associates the assistance application account of the assistance application with the vehicle identifier in the vehicle registration information and stores them. Either method can bind the assistance application and the vehicle.
[0097] 3. Logging in to the Supporting Application. The login process can alternatively be thought of as a process by which the mobile terminal attempts to authenticate with the server. As shown in Figure 5, logging in to the supporting application can include the following steps:
[0098] S2026: The mobile terminal acquires a support application account and a support application password.
[0099] In this implementation, a user may enable an assistance application installed on a mobile terminal. After the assistance application is enabled, if the current assistance application is not logged in to any account, an initial interface is displayed. The initial interface displays a registration option and a login option. If an account needs to be logged in, the login option may be selected. The mobile terminal may enable the assistance application to jump to the registration interface after detecting a user's selection of the login option.
[0100] The login interface may display an account input box, a password input box, and a confirmation option. The user enters the assistance application account in the account input box and the assistance application password in the password input box. If the entered information is confirmed to be correct, the user can tap the confirmation option. After the user taps the confirmation option, the mobile terminal acquires the assistance application account and assistance application password entered by the user.
[0101] S2027: The mobile terminal sends a login request to the server, where the login request includes the support application account and the support application password.
[0102] In implementation, after obtaining the assistance application account and assistance application password entered by the user, the mobile terminal sends a login request to the server, where the login request includes the assistance application account and assistance application password.
[0103] S2028: The server verifies the support application account and the support application password.
[0104] In implementation, the server determines whether the support application account and support application password included in the login request are stored in association with each other in the correspondence relationship between the support application account and the support application password in the registration information stored in the support application.
[0105] S2029: If the verification is successful, the server sends a verification success message to the mobile terminal.
[0106] In implementation, if the server determines that the assistance application account and assistance application password included in the login request are stored in association with each other in the correspondence relationship between the assistance application account and the assistance application password in the registration information stored in the assistance application, the verification is deemed successful, and the server sends a verification success message to the mobile terminal.
[0107] S2030: If the verification fails, the server sends a verification failure message to the mobile terminal.
[0108] In implementation, if the server determines that the assistance application account and assistance application password included in the login request are not stored in association with each other in the correspondence relationship between the assistance application account and the assistance application password stored in the assistance application, the verification is deemed to have failed, and the server sends a verification failure message to the mobile terminal.
[0109] Once the assistance application installed on the mobile terminal completes registration, login, and binding with the vehicle, the mobile terminal can be used as part of the in-vehicle terminal and share its computing capabilities with the in-vehicle terminal to assist the in-vehicle terminal in performing multiple functions such as program upgrade, vehicle control, driving data transfer, and assistance calculation. The following describes how the mobile terminal assists the in-vehicle terminal in performing program upgrade, vehicle control, driving data transfer, and assistance calculation.
[0110] The mobile terminal assists the in-vehicle terminal in carrying out program upgrades.
[0111] As shown in step 202, when the mobile terminal supports a program upgrade of the in-vehicle terminal, the server sends an upgrade package of the target program to the mobile terminal, where the target program is a program installed in the vehicle.
[0112] In implementation, there may be multiple triggering methods for the server to send the upgrade package of the target program to the mobile terminal, some of which are described below.
[0113] Method 1: After receiving an upgrade request corresponding to the target program and sent by the mobile terminal, the server sends an upgrade package of the target program to the mobile terminal.
[0114] In Method 1, the mobile terminal may determine whether the target program needs to be upgraded, or the in-vehicle terminal may determine whether the target program needs to be upgraded. The following describes separately the cases where the mobile terminal and the in-vehicle terminal determine whether the target program needs to be upgraded.
[0115] Case 1: The mobile terminal determines whether the target program needs to be upgraded. For details, see Figure 6. In this case, method 1 may include the following steps:
[0116] S210: The server sends an upgrade message corresponding to the target program to the mobile terminal, and the upgrade message includes the latest version identifier of the target program.
[0117] In implementation, when the target program needs to be upgraded, a person skilled in the art can upload the upgrade package of the target program and the corresponding latest version number to the server. After receiving the upgrade package of the target program and the corresponding latest version identifier, the server can send an upgrade message corresponding to the target program to each mobile terminal that logs in to the support application, and the upgrade message includes the program identifier and the latest version identifier of the target program.
[0118] S211: The mobile terminal transmits a request to acquire an installed version identifier corresponding to the target program to the vehicle-mounted terminal.
[0119] The request to obtain an installed version identifier corresponding to the target program includes the program identifier of the target program.
[0120] S212: The in-vehicle terminal transmits the installed version identifier of the target program to the mobile terminal.
[0121] In the implementation, the HMI of the in-vehicle terminal queries the installed version of the target program and transmits the installed version of the target program to the mobile terminal.
[0122] S213: If the mobile terminal determines that the installed version identifier is different from the latest version identifier, an upgrade option corresponding to the program is displayed.
[0123] In this implementation, when the mobile terminal determines that the installed version identifier of the target program is different from the latest version identifier, an upgrade prompt box corresponding to the target program may be displayed to remind the user that the target program needs to be updated. The user may select and tap the upgrade prompt box of the target program at an appropriate opportunity to enable the assistance application to jump to a program upgrade interface. An upgrade option corresponding to the target program may be displayed in the program upgrade interface. An appropriate opportunity may be, for example, an opportunity when a wireless network is available and the user can download the upgrade package without consuming mobile traffic.
[0124] S214: When the mobile terminal detects that the upgrade option corresponding to the target program is triggered, it sends an upgrade package acquisition request corresponding to the target program to the server.
[0125] In this implementation, a user can select an upgrade option corresponding to a target program, and after detecting the selection of the upgrade option corresponding to the target program, the mobile terminal sends a request to acquire an upgrade package corresponding to the target program to the server.
[0126] S215: The server transmits the upgrade package of the target program to the mobile terminal.
[0127] In implementation, the server sends the upgrade package of the target program to the mobile terminal after receiving a request to acquire the upgrade package corresponding to the target program.
[0128] Case 2: The in-vehicle terminal determines whether the target program needs to be upgraded. For details, see FIG. 7. In this case, method 1 may include the following steps:
[0129] S220: The server sends an upgrade message corresponding to the target program to the mobile terminal, where the upgrade message includes the latest version identifier of the target program.
[0130] S221: The mobile terminal transmits a version detection message for the target program to the vehicle-mounted terminal.
[0131] The version detection message corresponding to the target program includes the program identifier of the target program and the corresponding latest version identifier.
[0132] S222: If the in-vehicle terminal determines that the installed version identifier is different from the latest version identifier, it transmits an upgrade request corresponding to the target program to the mobile terminal.
[0133] In this implementation, the processor of the in-vehicle terminal queries the installed version of the target program and compares the installed version identifier of the target program with the latest version identifier. If the installed version identifier of the target program differs from the latest version identifier, the in-vehicle terminal sends an upgrade request corresponding to the target program to the mobile terminal.
[0134] S223: The mobile terminal displays upgrade options corresponding to the target program.
[0135] In implementation, after receiving an upgrade request corresponding to the target program, the mobile terminal may display an upgrade prompt box corresponding to the target program to remind the user that the target program needs to be upgraded. The user may select and tap the upgrade prompt box of the target program at an appropriate opportunity to allow the assistance application to jump to a program upgrade interface. An upgrade option corresponding to the target program may be displayed in the program upgrade interface.
[0136] S224: When the mobile terminal detects that the upgrade option corresponding to the target program is triggered, it sends an upgrade package acquisition request corresponding to the target program to the server.
[0137] In this implementation, a user can select an upgrade option corresponding to a target program, and after detecting the selection of the upgrade option corresponding to the target program, the mobile terminal sends a request to acquire an upgrade package corresponding to the target program to the server.
[0138] S225: The server transmits the upgrade package of the target program to the mobile terminal.
[0139] In implementation, the server sends the upgrade package of the target program to the mobile terminal after receiving a request to acquire the upgrade package corresponding to the target program.
[0140] Method 2: When the server determines that the target program needs to be upgraded, it sends an upgrade package for the target program to the mobile terminal.
[0141] In this method, the server may record an installed version identifier of the program installed in each in-vehicle terminal. The in-vehicle terminal may send a program upgrade success message to the server every time the program is upgraded. After receiving the upgrade notification message, the server may update the recorded installed version identifier of the program so that the server can know the installed version of the program installed in each mobile terminal.
[0142] Specifically, the server may record a correspondence relationship between a vehicle identifier and an installed version identifier of a program installed on the in-vehicle terminal, or may record a correspondence relationship between an account corresponding to the in-vehicle terminal and an installed version identifier of a program installed on the in-vehicle terminal. For each program, the server may record a correspondence relationship between a vehicle identifier and an installed version identifier of a program installed on the in-vehicle terminal individually, or may record a correspondence relationship between an account corresponding to the in-vehicle terminal and an installed version identifier of a program installed on the in-vehicle terminal individually.
[0143] Table 1 below shows an example of the correspondence between vehicle identifiers and installed version identifiers of the first firmware installed in the in-vehicle terminal. [Table 1]
[0144] In the following, an embodiment of only Method 2 will be described, taking as an example a case where the server records the correspondence between the vehicle identifier and the installed version identifier of the program installed in the in-vehicle terminal. As shown in Fig. 8, Method 2 may include the following steps:
[0145] S230: The server obtains the upgrade package and the latest version identifier of the target program.
[0146] In implementation, when the target program needs to be upgraded, the person skilled in the art can upload the upgrade package of the target program and the corresponding latest version number to the server.
[0147] S231: The server determines a target vehicle identifier corresponding to an installed version identifier different from the latest version identifier of the target program in the stored correspondence between the vehicle identifier and the installed version identifier of the target program installed in the in-vehicle terminal.
[0148] In this implementation, after receiving the upgrade package and the latest version identifier of the target program, the server can query the installed version identifier of the target program installed on each in-vehicle terminal in the stored correspondence between the vehicle identifier and the installed version identifier of the target program installed on the in-vehicle terminal, and further determine the target vehicle identifier corresponding to the installed version identifier that is different from the latest version identifier of the target program.
[0149] S232: The server determines a target account related to the assistance application and corresponding to the target vehicle identifier in the stored correspondence between the vehicle identifier and the assistance application account.
[0150] S233: The server sends an upgrade message corresponding to the target program to the mobile terminal logged in to the target account.
[0151] In implementation, when the server determines that the target account is in a logged-in state, the server can send an upgrade message corresponding to the target program to the mobile terminal logged into the target account.
[0152] S234: The mobile terminal displays upgrade options corresponding to the target program.
[0153] In implementation, when the mobile terminal determines that the installed version identifier of the target program is different from the latest version identifier, an upgrade prompt box corresponding to the target program may be displayed to remind the user that the target program needs to be updated. The user may select and tap the upgrade prompt box of the target program at an appropriate opportunity to cause the assistance application to jump to a program upgrade interface. An upgrade option corresponding to the target program may be displayed in the program upgrade interface.
[0154] S235: When the mobile terminal detects that the upgrade option corresponding to the target program is triggered, it sends an upgrade package acquisition request corresponding to the target program to the server.
[0155] In this implementation, a user can select an upgrade option corresponding to a target program, and after detecting the selection of the upgrade option corresponding to the target program, the mobile terminal sends a request to acquire an upgrade package corresponding to the target program to the server.
[0156] S236: The server transmits the upgrade package of the target program to the mobile terminal.
[0157] In implementation, the server sends the upgrade package of the target program to the mobile terminal after receiving a request to acquire the upgrade package corresponding to the target program.
[0158] Step 203: The mobile terminal transmits the upgrade package of the target program to the vehicle-mounted terminal.
[0159] In this implementation, after receiving the upgrade package related to the target program and sent by the server, the mobile terminal may display a prompt box indicating that the upgrade package has been successfully downloaded to remind the user that the upgrade package for the target program has been downloaded. The user may tap the prompt box indicating that the upgrade package has been successfully downloaded to enable the assistance application to jump to an upgrade package sending interface, and an upgrade package sending option may be displayed on the upgrade package sending interface. When a communication connection is established between the in-vehicle terminal and the mobile terminal, the user may tap the upgrade package sending option to trigger the mobile terminal to send the upgrade package for the target program to the in-vehicle terminal.
[0160] After receiving the upgrade package for the target program, the in-vehicle gateway of the in-vehicle terminal transmits the upgrade package for the target program to the processor of the in-vehicle terminal, and the processor of the in-vehicle terminal upgrades the installed target program in accordance with the upgrade package for the target program.
[0161] For example, as shown in FIG. 9, if the target program is firmware for a vehicle body control system, the processor upgrades the firmware of the vehicle body control system based on the upgrade package after receiving the upgrade package. If the target program is firmware for an HMI, the processor upgrades the firmware of the HMI based on the upgrade package after receiving the upgrade package. If the target program is firmware for a T-Box, the processor upgrades the firmware of the T-Box based on the upgrade package after receiving the upgrade package. If the target program is firmware for an ADS, the processor upgrades the firmware of the ADS based on the upgrade package after receiving the upgrade package.
[0162] As another example, as shown in Figure 10, when the target program is a high-definition map application, the upgrade package may be an encrypted high-definition map package. After receiving the encrypted high-definition map package, the processor first decrypts the encrypted high-definition map package and then updates the decrypted high-definition map package to the high-definition map application of the ADS.
[0163] 2. The mobile terminal assists the in-vehicle terminal in performing vehicle control.
[0164] Specifically, vehicle control may include vehicle driving control, vehicle diagnosis, and the like.
[0165] In implementation, based on the established connection between the in-vehicle terminal and the mobile terminal, if the display interface of the in-vehicle terminal is impaired, the user cannot control the vehicle using the in-vehicle terminal. In this case, the user can use the mobile terminal to send a vehicle control command for the vehicle to the in-vehicle terminal. After receiving the vehicle control command, the in-vehicle terminal can send a control command to the corresponding system to control the vehicle.
[0166] Specifically, a user can launch a support application of the mobile terminal, and multiple vehicle control options can be displayed on the function interface of the support application. The user can tap a target vehicle control option based on actual requirements. When the mobile terminal detects that a target vehicle control option among the multiple vehicle control options has been triggered, it determines a vehicle control command corresponding to the target vehicle control option and sends the vehicle control command to the in-vehicle terminal. After receiving the vehicle control command, the in-vehicle terminal can execute the vehicle control command to perform corresponding control on the vehicle. Below, the case where the mobile terminal supports the in-vehicle terminal in vehicle control will be described separately, taking the case where the target vehicle control option is a brake control option and a vehicle diagnosis option as an example.
[0167] An example in which the target vehicle control option is a brake control option is as follows.
[0168] The user taps the brake control option. When the mobile terminal detects the user's tap operation on the brake control option, it transmits a brake control command to the vehicle gateway of the vehicle terminal. The vehicle gateway may forward the received emergency brake control command to the processor of the vehicle terminal. The processor then transmits the brake control command to the vehicle body control system according to the emergency brake control command. After receiving the brake control command, the vehicle body control system responds to the brake control command and controls corresponding components to brake the vehicle.
[0169] Examples of target vehicle control options that are vehicle diagnostic options are as follows:
[0170] The user taps the vehicle diagnosis option. When the mobile terminal detects the user's tap operation on the vehicle diagnosis option, it transmits a vehicle diagnosis command to the vehicle gateway of the in-vehicle terminal. As shown in FIG. 11 , the vehicle gateway may forward the received vehicle diagnosis command to the processor of the in-vehicle terminal. Then, the processor transmits diagnostic commands to the body control system, the ADS, the T-Box, etc. individually according to the vehicle diagnosis command. After receiving the diagnostic command, all systems or components perform corresponding diagnostic operations and return diagnostic results to the processor. After receiving the diagnostic results returned from the systems or components, the processor transmits all diagnostic results to the mobile terminal using the in-vehicle gateway as vehicle diagnostic results. After receiving the vehicle diagnostic results, the mobile terminal may display the vehicle diagnostic results using the assistance application, thereby allowing the user to view the vehicle diagnostic results. The mobile terminal may also store the vehicle diagnostic results.
[0171] 3. The mobile terminal assists the in-vehicle terminal in performing driving data transfer.
[0172] In this implementation, to prevent loss of driving data caused by damage to the vehicle's black box, the vehicle's black box can transmit driving data collected in the current transmission cycle to the in-vehicle terminal at the end of each transmission cycle. The in-vehicle terminal transmits the driving data to the mobile terminal using the in-vehicle gateway. The driving data is stored on the mobile terminal. Furthermore, if the assistance application is logged in to the mobile terminal, the driving data can be transferred to the server. After receiving the driving data, the server first determines a vehicle identifier corresponding to the logged-in assistance application account based on the logged-in assistance application account and the stored correspondence between the assistance application account and the vehicle identifier, and then associates and stores the driving data and the vehicle identifier.
[0173] In this way, if the vehicle subsequently experiences an accident, even if the vehicle's black box malfunctions and the driving data is lost, the vehicle's driving data can still be obtained using the mobile terminal and server, and accident determination, etc. can be performed.
[0174] 4. The mobile terminal assists the in-vehicle terminal in performing calculations of service data.
[0175] In terms of implementation, it is currently considered that the computational capabilities of mobile terminals are high, while the computational capabilities of in-vehicle terminals are low, and the hardware update costs of in-vehicle terminals are high. Therefore, in this embodiment of the present application, by using a mobile terminal to assist the in-vehicle terminal in computing service data, it is possible to improve the computation efficiency of service data without replacing the hardware of the in-vehicle terminal.
[0176] When the in-vehicle terminal needs to perform calculations on service data, if it detects that locally available computing resources are insufficient and a communication connection is currently established between the in-vehicle terminal and the mobile terminal, the in-vehicle terminal may send a data processing request to the mobile terminal using the in-vehicle gateway. The data processing request includes the service data to be processed and a service type identifier. After receiving the data processing request, the mobile terminal processes the data to be processed using a service execution program corresponding to the service type identifier included in the data processing request to obtain output data, and sends the output data to the in-vehicle terminal. The service execution program may be a functional module of the above-mentioned support application or an independent application.
[0177] The service type identifier may be a vehicle-to-everything (V2X) service identifier. Correspondingly, the service data to be processed may be sensor data, such as camera, radar, ultrasound, or temperature sensor data. Alternatively, the service type identifier may be a three-dimensional modeling service identifier. Correspondingly, the service data to be processed may be two-dimensional map data, etc.
[0178] Based on the same technical concept, an embodiment of the present application further provides a device for providing function support to an in-vehicle terminal. As shown in Fig. 12, the device includes: a communication module 810 configured to establish a communication connection with the in-vehicle terminal; a receiving module 820 configured to receive a program upgrade message sent by a server; a display module 830 configured to display an upgrade option corresponding to the program; and a sending module 840 configured to send an upgrade package acquisition request corresponding to the program to the server when it is detected that the upgrade option has been triggered; wherein the receiving module 820 is further configured to receive the upgrade package sent by the server, and the sending module 840 is further configured to send the upgrade package to the in-vehicle terminal.
[0179] In one possible embodiment, the upgrade message includes a latest version identifier of the target program, and the sending module 840 is further configured to send an installed version identifier acquisition request corresponding to the target program to the in-vehicle terminal. The receiving module 820 is further configured to receive the installed version identifier related to the target program and transmitted by the in-vehicle terminal. The display module 830 is configured to display an upgrade option corresponding to the target program if the installed version identifier is different from the latest version identifier.
[0180] In a possible embodiment, the target program is the firmware of the vehicle-mounted terminal.
[0181] In a possible embodiment, the target program is a map application of an in-vehicle terminal.
[0182] In a possible embodiment, the display module is further configured to display the plurality of vehicle control options. The transmission module 840 is further configured to, when detecting that a target vehicle control option of the plurality of vehicle control options has been triggered, determine a vehicle control command corresponding to the target vehicle control option and transmit the vehicle control command to the in-vehicle terminal.
[0183] In a possible embodiment, the target vehicle control option is a brake control function option and the vehicle control command is a brake control command.
[0184] In a possible embodiment, the target vehicle control option is a vehicle diagnostic function option and the vehicle control command is a vehicle diagnostic command.
[0185] The receiving module 820 is further configured to receive a vehicle diagnosis result message sent by the in-vehicle terminal.
[0186] In a possible embodiment, the receiving module 820 is further configured to receive a data processing request sent by the vehicle-mounted terminal, where the data processing request includes the data to be processed and a service type identifier.
[0187] The device further includes a calculation module configured to process the data to be processed using a service execution program corresponding to the service type identifier and obtain output data. The transmission module 840 is further configured to transmit the output data to the vehicle-mounted terminal.
[0188] In a possible embodiment, the receiving module 820 is further configured to receive driving data transmitted by the in-vehicle terminal.
[0189] The device further includes a storage module configured to store the running data. The transmission module 840 is further configured to transmit the running data to a server.
[0190] It should be noted that when the device for providing function support for an in-vehicle terminal according to the above-described embodiment provides function support for the in-vehicle terminal, the above-described division of functional modules is merely used as an example for explanation. In actual applications, the above-described functions can be allocated and implemented to different functional modules based on requirements. In other words, the internal structure of the mobile terminal is divided into different functional modules to realize all or part of the above-described functions. Furthermore, the device for providing function support for an in-vehicle device according to the above-described embodiment has a similar concept to the embodiment of the method for providing function support for an in-vehicle terminal. For specific implementation processes of the device for providing function support for an in-vehicle device, please refer to the embodiment of the method. Details will not be described again here.
[0191] In one embodiment of the present application, a block diagram of the structure of a mobile terminal 900 is provided. As shown in Figure 13, the mobile terminal 900 may be a portable mobile terminal such as a smartphone, a tablet computer, or a notebook computer. The mobile terminal 900 may alternatively be referred to as user equipment, a portable terminal, or by another name.
[0192] Generally, the mobile terminal 900 includes a processor 901 and a memory 902 .
[0193] The processor 901 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 901 may be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 901 may alternatively include a main processor and a coprocessor. The main processor is a processor that processes data in a wake-up state and is also called a central processing unit (CPU). The coprocessor is a low-power processor configured to process data in a standby state. In some embodiments, the processor 901 may integrate a graphics processing unit (GPU), which is configured to render and draw content that needs to be displayed on a display. In some embodiments, the processor 901 may further include an artificial intelligence (AI) processor, which is configured to process computational operations related to machine learning.
[0194] The memory 902 may include one or more computer-readable storage media. The computer-readable storage media may be non-transitory. The memory 902 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices or flash memory storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 902 is configured to store at least one instruction, which is executed by the processor 901 to implement a method for providing functionality assistance to an in-vehicle terminal in accordance with a method embodiment of the present application.
[0195] In some embodiments, the mobile terminal 900 may optionally include a peripheral interface 903 and at least one peripheral. The processor 901, the memory 902, and the peripheral interface 903 may be connected via a bus or a signal cable. Each peripheral may be connected to the peripheral interface 903 via a bus, a signal cable, or a circuit board. Specifically, the peripherals include a radio frequency circuit 904, a display 905, etc.
[0196] The peripheral interface 903 may be configured to connect at least one peripheral device associated with input / output (I / O) to the processor 901 and the memory 902. In some embodiments, the processor 901, the memory 902, and the peripheral interface 903 are integrated on the same chip or the same circuit board. In some other embodiments, any one or two of the processor 901, the memory 902, and the peripheral interface 903 may be implemented on separate chips or separate circuit boards. This is not a limitation of this embodiment.
[0197] The radio frequency circuit 904 is configured to transmit and receive radio frequency (RF) signals, also known as electromagnetic signals. The radio frequency circuit 904 communicates with communication networks and other communication devices using the electromagnetic signals. For example, the radio frequency circuit 904 can communicate with an in-vehicle terminal and a server. The radio frequency circuit 904 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 904 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 904 can communicate with other terminals according to at least one wireless communication protocol. Examples of wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or Wi-Fi networks, or Bluetooth protocols. In some embodiments, the radio frequency circuitry 904 may further include circuitry related to Near Field Communication (NFC), which is not limited in this application.
[0198] The display 905 is configured to display a user interface (UI). The UI may include graphs, text, icons, videos, and any combination thereof. For example, the display 905 may display various interfaces and function options of the support application described herein. If the display 905 is a touch display, the display 905 may further have the ability to collect touch signals on or above the surface of the display 905. The touch signals may be input to the processor 901 as control signals and processed. In this case, the display 905 may be further configured to provide virtual buttons and / or a virtual keyboard. The virtual buttons and / or virtual keyboard are also referred to as soft buttons and / or a soft keyboard. In some embodiments, there may be one display 905 located on the front panel of the mobile terminal 900. In some other embodiments, there may be at least two displays 905, each located on a different surface of the mobile terminal 900 or folded. In still other embodiments, the display 905 may be a flexible display and may be located on a curved or folded surface of the mobile terminal 900. The display 905 may be configured in a non-rectangular irregular pattern, i.e., a specially shaped screen. The display 905 may be a Liquid Crystal Display (LCD) or may be made of Organic Light-Emitting Diodes (OLED).
[0199] All or part of the above-described embodiments may be implemented using software, hardware, firmware, or any combination thereof. When an embodiment is implemented using software, all or part of the embodiment may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a device, all or part of the procedures or functions are generated according to the embodiments of the present application. The computer instructions may be stored in a computer-readable storage medium or transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, or digital subscriber line) or wireless (e.g., infrared, radio, microwave) method. The computer-readable storage medium may be any available medium accessible by a device, or a data storage device such as a server or data center that integrates one or more available media. The media available may be magnetic media (e.g., floppy disks, hard disks, and magnetic tapes), optical media (e.g., Digital Video Disks (DVDs)), or semiconductor media (e.g., solid state drives).
[0200] Those skilled in the art will understand that all or part of the steps for realizing the above-described embodiments can be implemented by hardware or a program that instructs related hardware. The program may be stored in a computer-readable storage medium. The above-mentioned storage medium may include a read-only memory, a magnetic disk, an optical disk, etc.
[0201] The above description is only one embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the present application shall fall within the protection scope of the present application.
Claims
1. 1. A method for providing function support to an in-vehicle terminal, the method being applied to a mobile terminal, the method comprising: When upgrading a program of the in-vehicle terminal, displaying an upgrade option for the program; sending a request to a server to obtain an upgrade package for the program when it is detected that the upgrade option has been triggered; receiving the upgrade package sent by the server; transmitting the upgrade package to the in-vehicle terminal; the in-vehicle terminal is a first in-vehicle terminal, and when the mobile terminal is successfully authenticated with the server, the mobile terminal is used as a second in-vehicle terminal to assist the first in-vehicle terminal in implementing a program upgrade included in the upgrade package, and by being used as the second in-vehicle terminal, the mobile terminal shares its computing power with the in-vehicle terminal; method.
2. The method comprises: receiving an updated version identifier and program identifier of the program from the server; sending a request to the in-vehicle terminal to obtain an installed version identifier of the program, the request to obtain the installed version identifier including the program identifier; receiving the installed version identifier of the program from the in-vehicle terminal; When upgrading a program of the in-vehicle terminal, the step of displaying an upgrade option for the program includes:
2. The method of claim 1, further comprising the step of displaying the upgrade option for the program if the installed version identifier is different from the latest version identifier.
3. The method comprises: receiving an upgrade message for the program from the server, the upgrade message including a latest version identifier and a program identifier for the program; a step of transmitting a version detection message of the program to the in-vehicle terminal, the version detection message of the program including the program identifier of the program and the latest version identifier of the program; If the installed version identifier is different from the latest version identifier, receiving a request to upgrade the program from the in-vehicle terminal; When upgrading a program of the in-vehicle terminal, the step of displaying an upgrade option for the program includes:
2. The method of claim 1, further comprising the step of displaying the upgrade options for the program when the request to upgrade the program is received from the in-vehicle terminal.
4. The method comprises: receiving an upgrade message for the program from the server; When upgrading a program of the in-vehicle terminal, the step of displaying an upgrade option for the program includes:
2. The method of claim 1, further comprising the step of displaying the upgrade option for the program upon receiving the upgrade message for the program from the server.
5. The method according to claim 1 , wherein the program is firmware for the in-vehicle terminal.
6. The method according to claim 1 , wherein the program is a map application of the in-vehicle terminal.
7. 7. The method of claim 1, wherein an assistance application is installed on the mobile terminal and the vehicle in which the in-vehicle terminal is located is associated with the assistance application by registering with the server.
8. When the mobile terminal is not in a vehicle environment, the upgrade option is triggered, and the mobile terminal receives the upgrade package sent by the server; 8. The method of claim 1, wherein when the mobile terminal is in a vehicle environment, the mobile terminal transmits the upgrade package to the vehicle-mounted terminal via a communication connection between the mobile terminal and the vehicle-mounted terminal.
9. The method according to any one of claims 1 to 8, further comprising the step of establishing a communication connection with the in-vehicle terminal, the communication connection comprising a wired connection or a wireless connection.
10. 10. The method of claim 9, wherein the communication connection is a wireless connection, and there are a plurality of communication connections between the mobile terminal and the vehicle-mounted terminal, the plurality of communication connections including a primary connection and a standby connection.
11. The method of claim 10 , wherein a predetermined period is used as a period for determining the primary connection in the plurality of communication connections.
12. 12. The method according to claim 1, wherein the mobile terminal is further used as the second in-vehicle terminal to assist the first in-vehicle terminal in performing at least one of vehicle control, driving data transfer, and assistance calculations.
13. A method for providing function support to an in-vehicle terminal, the method being applied to the in-vehicle terminal, the method comprising:
2. The method of claim 1, wherein the step of receiving an acquisition request from the mobile terminal includes a program identifier, the acquisition request being used to request an installed version identifier of a program indicated by the program identifier; sending the installed version identifier of the program to the mobile terminal; receiving an upgrade package of the program from the mobile terminal, wherein a version identifier of the upgrade package of the program is different from the installed version identifier; method.
14. A method for providing function support to an in-vehicle terminal, the method being applied to the in-vehicle terminal, the method comprising:
2. The method of claim 1, wherein the step of receiving a program version detection message from the mobile terminal includes a program identifier and a latest version identifier of the program; sending an upgrade request for the program to the mobile terminal if the installed version identifier of the program is different from the latest version identifier; receiving an upgrade package of the program from the mobile terminal, wherein a version identifier of the upgrade package of the program is different from the installed version identifier; method.
15. The method according to claim 13 or 14, wherein the program is firmware of the in-vehicle terminal.
16. 15. The method according to claim 13 or 14, wherein the program is a map application of the in-vehicle terminal.
17. 17. The method of any one of claims 13 to 16, further comprising the step of establishing a communication connection with the mobile terminal, the communication connection comprising a wired connection or a wireless connection.
18. 18. The method of claim 17, wherein the communication connection is a wireless connection, and there are a plurality of communication connections between the vehicle-mounted terminal and the mobile terminal, the plurality of communication connections including a primary connection and a standby connection.
19. 20. The method of claim 18, wherein a preset period is used as the period for determining the primary connection in the plurality of communication connections.
20. A method for providing function support to an in-vehicle terminal, the method being applied to a server, the method comprising: obtaining an upgrade package of a program applied to the in-vehicle terminal and a latest version identifier of the program; and transmitting the upgrade package of the program to the in-vehicle terminal using the mobile terminal based on an upgrade package acquisition request received from the mobile terminal according to the method of claim 1, the installed version identifier of the program in the in-vehicle terminal is different from the latest version identifier; method.
21. The method comprises: transmitting a program identifier and the latest version identifier of the program to the mobile terminal, wherein the program identifier and the latest version identifier are used in the in-vehicle terminal or the mobile terminal to determine whether the installed version identifier of the program in the in-vehicle terminal is the same as the latest version identifier; 21. The method of claim 20, further comprising: receiving the upgrade package acquisition request from the mobile terminal if the installed version identifier of the in-vehicle terminal is different from the latest version identifier.
22. The server records the installed version identifier of the program installed in the in-vehicle terminal, and the recorded installed version identifier is updated every time an upgrade success message for upgrading the program is received from the in-vehicle terminal, and the method includes: determining, based on the recorded installed version identifier of the program and the obtained latest version identifier of the program, a vehicle identifier corresponding to the installed version identifier that is different from the latest version identifier; 21. The method of claim 20, further comprising: determining an assistance application account corresponding to the vehicle identifier based on the vehicle identifier; and sending an upgrade message for the program to the mobile terminal logged into the account.
23. 23. An apparatus for providing functional support to an in-vehicle terminal, comprising a unit adapted to carry out the method according to any one of claims 1 to 22.
24. A device for providing functional support to an in-vehicle terminal, The device includes a processor and a memory, the memory configured to store instructions that, when loaded and executed by the processor, perform the method of any one of claims 1 to 22. device.
25. A device for providing functional support to an in-vehicle terminal, The device is located in a mobile terminal and includes a processor and a communication interface, the communication interface being configured to communicate with the in-vehicle terminal and a server, the processor being configured to perform the method of any one of claims 1 to 12. device.
26. A device for providing functional support to an in-vehicle terminal, The device is located in the vehicle-mounted terminal and includes a processor and a communication interface, the communication interface being configured to communicate with a mobile terminal, and the processor being configured to perform the method of any one of claims 13 to 19. device.
27. A device for providing functional support to an in-vehicle terminal, The device is located in a server and includes a processor and a communication interface, the communication interface configured to communicate with a mobile terminal, and the processor configured to perform the method of any one of claims 20 to 22. device.
28. 1. A computer-readable storage medium, comprising: The computer-readable storage medium stores instructions that, when executed by a processor, perform the method of any one of claims 1 to 22. A computer-readable storage medium.
Citation Information
Patent Citations
Vehicle detection method, mobile terminal and vehicle-mounted terminal
CN104038546A
Updating method and system of vehicle-mounted terminal
CN112015441A
Vehicle control method and system, user terminal, vehicle and readable storage medium
CN112153640A
System for auxiliary vehicle carries terminal equipment and upgrades
CN205490673U
Information management system and method, electronic equipment and control method, information management device and method, and program
JP2004280310A