Vehicle system updating method and mobile terminal auxiliary vehicle system updating method
Through the mobile terminal, the vehicle establishes communication connections with the terminal, downloads and updates data from the terminal, solving the problems of network instability and high costs in vehicle system updates, and achieving successful downloads and cost savings.
Patent Information
- Application Number
- CN202510723410.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-07-25
AI Technical Summary
When an existing vehicle system update is downloaded through a mobile communication network, the network signal is unstable, resulting in the update failure and high cost.
Through the mobile terminal, the vehicle establishes a communication connection with the mobile terminal, downloads the system and updates data from the mobile terminal, and avoids the use of the mobile communication network.
It realizes successful download of system update data under network instability, reducing download costs.
Smart Images

Figure CN120378867A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and particularly to a vehicle system update method, an electronic device, a storage medium, and a computer program product. Background Art
[0002] The system of a vehicle needs to download system update data from a server for update. Existing vehicle systems generally perform updates through Over-the-Air Technology (OTA).
[0003] In existing vehicle OTA, system update data is saved on the server, and then operators configure and notify the vehicle to perform OTA. After receiving the OTA request, the vehicle establishes a communication connection with the server and downloads the system update data from the server for system update.
[0004] However, since the system update of the vehicle is downloaded through a mobile communication network, such as the fourth-generation mobile communication network (4G), the fifth-generation mobile communication network (5G), etc. However, the communication quality of the mobile communication network is unstable and the cost is relatively high. When the vehicle is parked in a place with poor network signal, such as an underground parking garage, for OTA, it may be unable to download the complete system update data due to unstable network signal, resulting in update failure. And even if the network is stable, the high download cost of the mobile communication network will increase the cost of system update. Summary of the Invention
[0005] Based on this, in view of the technical problem that the vehicle system update in the prior art can only be downloaded through a mobile communication network, it is necessary to provide a vehicle system update method, a mobile terminal-assisted vehicle system update method, an electronic device, a mobile terminal, a storage medium, and a computer program product.
[0006] The present invention provides a vehicle system update method, including:
[0007] Receiving a hotspot connection request and a communication establishment request from a mobile terminal, and establishing a communication connection with the mobile terminal through the vehicle hotspot;
[0008] Downloading system update data from the mobile terminal, where the system update data is downloaded from the server by the mobile terminal and saved in the mobile terminal;
[0009] Performing system update based on the system update data.
[0010] Further, it further includes:
[0011] Obtain the system update information of the vehicle from the server. When it is determined that a system update is required, start the vehicle hotspot, generate a QR code representing the hotspot connection parameters and communication establishment parameters, and display the QR code.
[0012] Further, the generating of the QR code representing the hotspot connection parameters and communication establishment parameters includes:
[0013] Upload the hotspot connection parameters and communication establishment parameters to the server;
[0014] Receive the identification code returned by the server, where the identification code is generated by the server based on the hotspot connection parameters and communication establishment parameters;
[0015] Generate a QR code according to the identification code.
[0016] The present invention provides an electronic device, including:
[0017] At least one processor; and,
[0018] A memory communicatively connected to at least one of the processors; wherein,
[0019] The memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors so that at least one of the processors can execute the vehicle system update method as described above.
[0020] The present invention provides a method for a mobile terminal to assist in vehicle system update, including:
[0021] Obtain the system update information of the vehicle from the server. When it is determined that a system update is required, download the system update data from the server;
[0022] Send a hotspot connection request and a communication establishment request to the vehicle;
[0023] After establishing a communication connection with the vehicle through the vehicle hotspot, send the system update data to the vehicle, where the system update data is used for the vehicle to perform a system update.
[0024] Further, the sending of the hotspot connection request and the communication establishment request to the vehicle includes:
[0025] In response to a scanning event of the QR code displayed by the vehicle, parse the QR code to obtain the corresponding hotspot connection parameters and communication establishment parameters. The hotspot connection parameters are the connection parameters of the vehicle hotspot started by the vehicle, and the communication establishment parameters are the communication parameters for establishing a communication connection with the vehicle. The QR code is generated and displayed by the vehicle when it is determined that a system update is required, start the vehicle hotspot, and generate a QR code representing the hotspot connection parameters and communication establishment parameters.
[0026] Generate a hotspot connection request and a communication establishment request based on the hotspot connection parameters and the communication establishment parameters, and send them to the vehicle.
[0027] Further, the parsing of the two-dimensional code to obtain the corresponding hotspot connection parameters and communication establishment parameters includes:
[0028] Parse the two-dimensional code to obtain an identification code;
[0029] Send the identification code obtained by parsing the two-dimensional code to the server;
[0030] Obtain the hotspot connection parameters and communication establishment parameters corresponding to the identification code obtained by parsing the two-dimensional code from the server.
[0031] The present invention provides a mobile terminal, including:
[0032] At least one processor; and,
[0033] A memory communicatively connected to at least one of the processors; wherein,
[0034] The memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors so that at least one of the processors can execute the mobile terminal-assisted vehicle system update method as described above.
[0035] The present invention provides a storage medium that stores computer instructions, and when a computer executes the computer instructions, it is used to execute all steps of the vehicle system update method as described above, or to execute the mobile terminal-assisted vehicle system update method as described above.
[0036] The present invention provides a computer program product, including a computer program / instructions, and when the computer program / instructions are executed by a processor, they implement the vehicle system update method as described above or the mobile terminal-assisted vehicle system update method as described above.
[0037] In the present invention, the mobile terminal downloads system update data from the server, and then the vehicle provides a hotspot, and the mobile terminal establishes a communication connection with the vehicle, so that the vehicle can download the system update data from the mobile terminal, avoiding the use of the mobile communication network, avoiding the inability to download due to network instability, and also being able to save the download cost. Description of the Drawings
[0038] Figure 1 It is a working flowchart of a vehicle system update method according to an embodiment of the present invention;
[0039] Figure 2 It is a working flowchart of a vehicle system update method according to another embodiment of the present invention;
[0040] Figure 3 This is the flowchart of a method for a mobile terminal to assist in updating a vehicle system according to an embodiment of the present invention;
[0041] Figure 4 This is the flowchart of a method for a mobile terminal to assist in updating a vehicle system according to another embodiment of the present invention;
[0042] Figure 5 This is the flowchart of a method for updating a vehicle system according to the best embodiment of the present invention;
[0043] Figure 6 This is the timing diagram of mobile phone-assisted OTA file download according to the best embodiment of the present invention;
[0044] Figure 7 This is the timing diagram of establishing communication for mobile phone-assisted OTA upgrade according to the best embodiment of the present invention;
[0045] Figure 8 This is the timing diagram of the detailed process of vehicle-to-mobile communication for mobile phone-assisted OTA according to the best embodiment of the present invention;
[0046] Figure 9 This is the schematic diagram of the hardware structure of an electronic device according to the present invention;
[0047] Figure 10 This is the schematic diagram of the hardware structure of a mobile terminal according to the present invention. Detailed implementation manners
[0048] The following further describes the detailed implementation manners of the present invention with reference to the accompanying drawings. The same components are denoted by the same reference numerals. It should be noted that the terms "front", "rear", "left", "right", "upper" and "lower" used in the following description refer to the directions in the drawings, and the terms "inner" and "outer" respectively refer to the directions towards or away from the geometric center of a specific component.
[0049] As Figure 1 shown is the flowchart of a method for updating a vehicle system according to an embodiment of the present invention, including:
[0050] Step S101, receiving a hotspot connection request and a communication establishment request from a mobile terminal, and establishing a communication connection with the mobile terminal through the vehicle hotspot;
[0051] Step S102, downloading system update data from the mobile terminal, where the system update data is downloaded by the mobile terminal from a server and stored in the mobile terminal;
[0052] Step S103, performing system update based on the system update data.
[0053] Specifically, the present invention can be applied to an electronic device with processing capabilities, such as a controller of a vehicle. For example, an Electronic Control Unit (ECU) of a vehicle.
[0054] First, the vehicle executes step S101, receives a hotspot connection request and a communication establishment request from the mobile terminal, and establishes a communication connection with the mobile terminal through the vehicle hotspot.
[0055] Specifically, the mobile terminal can be a mobile phone. The hotspot is created by the vehicle, for example, created by the In-Vehicle Infotainment System (IVI) of the vehicle's head unit. The vehicle responds to the hotspot connection request, connects to the mobile terminal through the vehicle hotspot, and responds to the communication establishment request to establish a communication connection with the mobile terminal.
[0056] Then, step S102 is executed to download system update data from the mobile terminal. The system update data is downloaded from the server by the mobile terminal and saved in the mobile terminal.
[0057] Specifically, the mobile terminal pre-downloads and saves the system update data of the vehicle from the server. The system update data is the data to be used for updating the vehicle system. The vehicle system to be updated can be the head unit (DA) system or other systems of the vehicle.
[0058] The mobile terminal can pre-download the system update data from the server by means such as WIFI, thereby reducing communication costs. On the other hand, since the user can carry the mobile terminal, the user can carry the mobile terminal to an area with stable network to download the system update data, thereby avoiding the impact of unstable network on data download.
[0059] After the mobile terminal downloads the system update data of the vehicle, when the mobile terminal establishes communication with the vehicle hotspot, the vehicle downloads the system update data from the mobile terminal.
[0060] Finally, step S103 is executed to perform system update based on the system update data.
[0061] Specifically, the vehicle uses the existing system update method to perform system update based on the system update data obtained from the mobile terminal.
[0062] The present invention downloads the system update data from the server through the mobile terminal, then the vehicle provides a hotspot, and the mobile terminal establishes a communication connection with the vehicle, enabling the vehicle to download the system update data from the mobile terminal, avoiding the use of the mobile communication network, avoiding the inability to download due to unstable network, and also being able to save download costs.
[0063] Such as Figure 2The following is a flowchart of the operation of a vehicle system update method according to another embodiment of the present invention, including:
[0064] Step S201: Obtain the system update information of the vehicle from the server. When it is determined that a system update is required, start the vehicle hotspot, generate a QR code representing the hotspot connection parameters and communication establishment parameters, and display the QR code.
[0065] Step S202: Receive the hotspot connection request and communication establishment request from the mobile terminal, and establish a communication connection with the mobile terminal through the vehicle hotspot.
[0066] Step S203: Download the system update data from the mobile terminal. The system update data is downloaded from the server by the mobile terminal and stored in the mobile terminal.
[0067] Step S204: Perform a system update based on the system update data.
[0068] Specifically, first execute Step S201: Obtain the system update information of the vehicle from the server. When it is determined that a system update is required, start the vehicle hotspot, generate a QR code representing the hotspot connection parameters and communication establishment parameters, and display the QR code.
[0069] Specifically, the vehicle regularly obtains the system update information of the vehicle from the server. Based on the system update information, it is determined whether a system update is required. Since only the system update information is obtained, rather than the complete system update data, the amount of downloaded data is small. Therefore, even if the network signal is unstable, the system update information can still be obtained, and the communication cost is not high.
[0070] The system update information can be the vehicle version, and it is determined whether a system update is required by comparing the versions.
[0071] When it is determined that a system update is required, start the vehicle hotspot through, for example, the in-vehicle IVI system, generate a QR code representing the hotspot connection parameters and communication establishment parameters, and then display the QR code on the in-vehicle screen.
[0072] Among them, the hotspot connection parameters and communication establishment parameters can be wireless network (WIFI) feature information, host IP address, and communication port. The hotspot connection parameters include, but are not limited to: parameters such as WIFI SSID and WIFI password for establishing a hotspot connection. The communication establishment parameters include, but are not limited to: parameters such as host IP address and communication port for establishing a TCP Socket communication connection. Among them, WIFI is a wireless local area network (WLAN, Wireless Local Area Network) technology based on the IEEE 802.11 standard.
[0073] In one embodiment, generating a two-dimensional code for representing hotspot connection parameters and communication establishment parameters includes:
[0074] Uploading the hotspot connection parameters and communication establishment parameters to a server;
[0075] Receiving an identification code returned by the server, where the identification code is generated by the server according to the hotspot connection parameters and communication establishment parameters;
[0076] Generating a two-dimensional code according to the identification code.
[0077] Specifically, the vehicle uploads the hotspot connection parameters of the enabled hotspot and the communication establishment parameters for establishing a TCP Socket communication connection to the server. The server generates a unique identification code uniCode according to the hotspot connection parameters and communication establishment parameters. The identification code is stored corresponding to the hotspot connection parameters and communication establishment parameters in the server.
[0078] Then, the server returns the identification code to the vehicle, and the vehicle generates a corresponding two-dimensional code according to the identification code.
[0079] It should be noted that since the hotspot connection parameters, communication establishment parameters, identification code, and the amount of data to be transmitted when generating the two-dimensional code are very small, data transmission can be achieved even when the network is unstable.
[0080] In this embodiment, the hotspot connection parameters and communication establishment parameters are uploaded to the server. When parsing the two-dimensional code displayed by the vehicle, only the identification code can be obtained, and the hotspot connection parameters and communication establishment parameters cannot be directly obtained. Therefore, even if other illegal terminals obtain the two-dimensional code displayed by the vehicle, since the illegal terminals cannot establish a secure communication with the server, the illegal terminals cannot obtain the real hotspot connection parameters and communication establishment parameters, and thus cannot establish a communication connection with the vehicle, avoiding the intrusion of illegal terminals into the vehicle and improving security.
[0081] Then, after the mobile terminal obtains the hotspot connection parameters and communication establishment parameters, the mobile terminal generates a hotspot connection request and a communication establishment request based on the hotspot connection parameters and communication establishment parameters and sends them to the vehicle, triggering step S202, receiving the hotspot connection request and the communication establishment request of the mobile terminal, and establishing a communication connection with the mobile terminal through the vehicle hotspot.
[0082] Specifically, since the vehicle has enabled the hotspot, when the vehicle receives the hotspot connection request and the communication establishment request of the mobile terminal, due to the correct hotspot connection parameters and communication establishment parameters, a communication connection can be established with the mobile terminal through the vehicle hotspot.
[0083] After establishing a communication connection with the mobile terminal, step S203 is executed to download system update data from the mobile terminal, where the system update data is downloaded by the mobile terminal from the server and saved in the mobile terminal.
[0084] Finally, step S204 is executed to perform a system update based on the system update data.
[0085] When the vehicle in this embodiment determines that a system update is required, it turns on the hotspot and generates and displays a QR code representing hotspot connection parameters and communication establishment parameters. On the one hand, the QR code avoids directly displaying the parameters, improving security. At the same time, using the QR code can also facilitate connection without the user having to manually enter the parameters, improving convenience. By establishing a communication connection between the mobile terminal and the vehicle, the vehicle can download system update data from the mobile terminal, avoiding using the mobile communication network, avoiding the inability to download due to unstable network, and also saving download costs.
[0086] As Figure 3 shown is a flowchart of a method for a mobile terminal to assist a vehicle system update according to an embodiment of the present invention, including:
[0087] Step S301, obtain the system update information of the vehicle from the server, and when it is determined that a system update is required, download the system update data from the server;
[0088] Step S302, send a hotspot connection request and a communication establishment request to the vehicle;
[0089] Step S303, after establishing a communication connection with the vehicle through the vehicle hotspot, send the system update data to the vehicle, where the system update data is used for the vehicle to perform a system update.
[0090] Specifically, the present invention can be applied to a mobile terminal with processing capabilities. Preferably, the mobile terminal is a mobile phone.
[0091] The mobile terminal executes step S301 to obtain the system update information of the vehicle from the server, and when it is determined that a system update is required, download the system update data from the server.
[0092] Specifically, the mobile terminal obtains the system update information of the vehicle from the server. The system update information can be the vehicle version, and it is determined whether a system update is required by comparing the versions.
[0093] When it is determined that a system update is required, download system update data from the server. The mobile terminal can, for example, use WIFI or other means to pre-download system update data from the server, thereby reducing communication costs. On the other hand, since the user can carry the mobile terminal, the user can carry the mobile terminal to an area with stable network to download system update data, thus avoiding the impact of unstable network on data download.
[0094] After downloading the system update data, perform step S302 to send a hotspot connection request and a communication establishment request to the vehicle.
[0095] Specifically, the mobile terminal sends a hotspot connection request and a communication establishment request to the vehicle. The hotspot connection request includes hotspot connection parameters, and the communication establishment request includes communication establishment parameters. The hotspot connection parameters and the communication establishment parameters can be wireless network (WIFI) feature information, host IP address, communication port. The hotspot connection parameters include, but are not limited to: parameters such as WIFI SSID, WIFI password, etc. for establishing a hotspot connection. The communication establishment parameters include, but are not limited to: parameters such as host IP address, communication port, etc. for establishing a TCP Socket communication connection.
[0096] The vehicle responds to the hotspot connection request and the communication establishment request sent by the mobile terminal, establishes a connection with the vehicle, and then performs step S303. After establishing a communication connection with the vehicle, send the system update data to the vehicle, and the system update data is used for the vehicle to perform a system update.
[0097] In the present invention, the mobile terminal downloads system update data from the server, and then the vehicle provides a hotspot, and the mobile terminal establishes a communication connection with the vehicle, so that the vehicle can download system update data from the mobile terminal, avoiding the use of a mobile communication network, avoiding the inability to download due to unstable network, and also being able to save download costs.
[0098] As Figure 4 shown is a flowchart of the working process of a method for a mobile terminal to assist a vehicle in system update according to the present invention, including:
[0099] Step S401, obtain the system update information of the vehicle from the server, and when it is determined that a system update is required, download system update data from the server;
[0100] Step S402, in response to a scanning event of a two-dimensional code displayed by the vehicle, parse the two-dimensional code to obtain corresponding hotspot connection parameters and communication establishment parameters. The hotspot connection parameters are connection parameters of the vehicle hotspot started by the vehicle, and the communication establishment parameters are communication parameters for establishing a communication connection with the vehicle. The two-dimensional code is generated by the vehicle when it is determined that a system update is required, starts the vehicle hotspot, and generates a two-dimensional code for representing the hotspot connection parameters and the communication establishment parameters and displays it;
[0101] Step S403: Generate a hotspot connection request and a communication establishment request based on the hotspot connection parameters and the communication establishment parameters, and send them to the vehicle.
[0102] Step S404: After establishing a communication connection with the vehicle via the vehicle hotspot, send system update data to the vehicle, where the system update data is used for the vehicle to perform system updates.
[0103] Specifically, the mobile terminal executes Step S401 to obtain the system update information of the vehicle from the server. When it is determined that a system update is required, the system update data is downloaded from the server.
[0104] Specifically, the mobile terminal obtains the system update information of the vehicle from the server. The system update information can be the vehicle version, and it is determined whether a system update is required by comparing the versions.
[0105] When it is determined that a system update is required, the system update data is downloaded from the server.
[0106] In some embodiments, obtaining the system update information of the vehicle from the server and downloading the system update data from the server when it is determined that a system update is required includes:
[0107] Performing a security verification with the server. After the security verification passes, obtain the system update information of the vehicle from the server. When it is determined that a system update is required, download the system update data from the server.
[0108] Specifically, the mobile terminal and the server perform verification using an existing security verification method. After the verification passes, it is determined that the mobile terminal is a legitimate terminal, and then the system update information of the vehicle can be obtained from the server, and when it is determined that a system update is required, the system update data is downloaded from the server.
[0109] The user scans the QR code displayed by the vehicle with the mobile terminal. The mobile terminal executes Step S402. In response to the scanning event of the QR code displayed by the vehicle, the QR code is parsed to obtain the corresponding hotspot connection parameters and communication establishment parameters. The hotspot connection parameters are the connection parameters of the vehicle hotspot started by the vehicle, and the communication establishment parameters are the communication parameters for establishing a communication connection with the vehicle. The vehicle starts the vehicle hotspot when it is determined that a system update is required, generates a QR code representing the hotspot connection parameters and the communication establishment parameters, and displays it.
[0110] Specifically, after the vehicle activates the vehicle hotspot, the hotspot connection parameters and communication establishment parameters are obtained from the vehicle's system, and the vehicle generates a QR code representing the hotspot connection parameters and communication establishment parameters and displays it on, for example, the in-vehicle unit. After the user scans the QR code with the camera of the mobile terminal, step S402 is triggered to parse the QR code. Existing QR code parsing methods can be specifically used to parse the hotspot connection parameters and communication establishment parameters from the QR code.
[0111] In one embodiment, the parsing of the QR code to obtain the corresponding hotspot connection parameters and communication establishment parameters includes:
[0112] Parse the QR code to obtain an identification code;
[0113] Send the identification code obtained by parsing the QR code to the server;
[0114] Obtain the hotspot connection parameters and communication establishment parameters corresponding to the identification code obtained by parsing the QR code from the server.
[0115] Specifically, after the vehicle activates the vehicle hotspot, it sends the hotspot connection parameters and communication establishment parameters to the server, and the server generates a unique identification code uniCode for the hotspot connection parameters and communication establishment parameters. After the identification code is returned to the vehicle, the vehicle generates a QR code based on the identification code using existing QR code generation methods. After the user scans the QR code with the mobile terminal, the QR code is parsed, and the identification code obtained by parsing the QR code is obtained. The identification code obtained by parsing the QR code is sent to the server, and the server searches for the hotspot connection parameters and communication establishment parameters corresponding to the identification code obtained by parsing the QR code and returns them to the mobile terminal.
[0116] Since the connection between the mobile terminal and the server requires security verification, only a secure and legitimate mobile terminal can obtain the hotspot connection parameters and communication establishment parameters corresponding to the identification code, thereby preventing illegal terminals from obtaining the parameters.
[0117] This embodiment can prevent illegal terminals from obtaining the real hotspot connection parameters and communication establishment parameters, prevent illegal terminals from establishing a communication connection with the vehicle, prevent illegal terminals from invading the vehicle, and improve security.
[0118] After obtaining the hotspot connection parameters and communication establishment parameters, the mobile terminal executes step S403 to generate a hotspot connection request and a communication establishment request based on the hotspot connection parameters and communication establishment parameters and send them to the vehicle.
[0119] Specifically, the mobile terminal generates a hotspot connection request based on hotspot connection parameters. The vehicle responds to the hotspot connection request. After detecting that the hotspot connection parameters are correct, the mobile terminal establishes a hotspot connection with the vehicle. Then, the mobile terminal generates a communication establishment request based on communication establishment parameters. The vehicle responds to the communication establishment request. After the communication establishment parameters are correct, the vehicle establishes a TCP Socket communication connection with the mobile terminal.
[0120] Finally, the mobile terminal executes step S404. After establishing a communication connection with the vehicle through the vehicle hotspot, it sends system update data to the vehicle, and the system update data is used for the vehicle to perform system update.
[0121] In this embodiment, the mobile terminal establishes a communication connection with the vehicle by scanning the QR code provided by the vehicle. On the one hand, directly displaying parameters is avoided through the QR code, improving security. At the same time, using the QR code can also facilitate connection without the user manually inputting parameters, improving convenience. By establishing communication between the mobile terminal and the vehicle, the vehicle can download system update data from the mobile terminal, avoiding using the mobile communication network. While avoiding the inability to download due to unstable network, it can also save the download cost.
[0122] As Figure 5 shown is the flowchart of a vehicle system update method according to the best embodiment of the present invention, including:
[0123] Step S501, the operator configures a mobile-assisted OTA upgrade activity on the server 2 through the background portal interface (Portal) 1;
[0124] Step S502, the server 2 saves the mobile-assisted OTA upgrade activity data;
[0125] Step S503, the user opens the application (APP) on the mobile terminal 3, and the APP checks the mobile-assisted OTA upgrade activity;
[0126] Step S504, the mobile terminal 3 downloads the OTA upgrade package through the APP;
[0127] Step S505, the in-vehicle computer 4 of the vehicle transmits the WIFI feature information, host IP address, and communication port to the server 2, and the server 2 returns an identification code;
[0128] Step S506, the user scans the QR code through the APP of the mobile terminal 3 and parses the identification code. The user obtains the WIFI feature information, host IP address, and communication port through the identification code. The APP connects to the WIFI of the in-vehicle computer 4 and establishes a TCP Socket communication connection;
[0129] Step S507, the APP of the mobile terminal 3 transmits the OTA upgrade package to the in-vehicle computer 4;
[0130] Step S508: The in-vehicle unit 4 verifies the integrity of the OTA package and notifies the APP of the result, completing the OTA package transmission.
[0131] As Figure 6 shown in the timing diagram of mobile phone-assisted OTA file download in the best embodiment of the present invention, it includes:
[0132] Step S601: The user 5 enters My - Settings - Auxiliary Upgrade in the APP of the mobile terminal 3.
[0133] Step S602: The APP of the mobile terminal 3 obtains the available activity data for auxiliary upgrade from the server 2.
[0134] Step S603: The server 2 queries the activity configuration of the background portal interface 1 from the background portal interface 1.
[0135] Step S604: The background portal interface 1 returns the configured activity data.
[0136] Step S605: The server 2 processes the activity data according to the interface document.
[0137] Step S606: The user 5 clicks "Download Now" on the mobile terminal 3.
[0138] Step S607: The mobile terminal 3 requests the download link and downloads the OTA package to the local APP.
[0139] Step S608: The server 2 returns the package data, and cancel, pause, and continue buttons are shown during the download process.
[0140] Step S609: After the mobile terminal 3 finishes downloading, "Transmit Immediately" and "Delete" buttons are shown.
[0141] As Figure 7 shown in the timing diagram of establishing communication for mobile phone-assisted OTA upgrade in the best embodiment of the present invention, it includes:
[0142] OTA upgrade server background portal interface side creates an upgrade activity stage:
[0143] Step S701: Start creating an upgrade activity in the background portal interface 1.
[0144] Step S702: Select the upgrade version.
[0145] Step S703: Select the activity time.
[0146] Step S704: Set the number of times to be issued per day and the number of times to be issued per minute.
[0147] Step S705: Set the number of failure retries and the number of rejections.
[0148] Step S706, select the upgrade method (no pop-up, normal pop-up, assisted upgrade pop-up);
[0149] Step S707, select the upgrade list (full volume, excel import, label, manual input);
[0150] Step S708, create an upgrade activity on Server 2;
[0151] Step S709, Server 2 returns the creation result to the background portal interface 1;
[0152] Obtaining OTA update information phase:
[0153] Step S710, the OTA application of in-vehicle unit 4 obtains OTA package update information from Server 2;
[0154] Step S711, Server 2 returns OTA version information;
[0155] Step S712, in-vehicle unit 4 transmits the OTA update package information to in-vehicle system settings 7;
[0156] Step S713, in-vehicle system settings 7 displays the OTA update information;
[0157] User opens the mobile application to detect the in-vehicle unit (DA) upgrade information phase:
[0158] Step S714, the mobile phone intelligent connection application of mobile terminal 3 requests an interface from Server 2 to detect the DA upgrade package;
[0159] Step S715, Server 2 obtains the corresponding daid through the user id;
[0160] Step S716, obtain the current vehicle version through the daid;
[0161] Step S717, obtain the eligible upgrade activities through version comparison;
[0162] Step S718, check whether the daily distribution times and the per-minute distribution times have reached the activity set value;
[0163] Step S719, check whether the failure times and rejection times of the da corresponding to the activity have reached the activity set value;
[0164] Step S720, check whether the da is in the white list;
[0165] Step S721, check whether assisted upgrade and pop-up window type are supported;
[0166] Step S722, Server 2 returns the detection result (download path, version number, whether assisted upgrade is supported) to the mobile phone intelligent connection application of mobile terminal 3;
[0167] The user triggers the mobile-assisted OTA update to generate the QR code stage:
[0168] Step S723, the in-vehicle system settings 7 request the OTA application of the in-vehicle unit 4 to start the mobile-assisted OTA process;
[0169] Step S724, the OTA application of the in-vehicle unit 4 requests the in-vehicle IVI system 6 to return the WIFI service set identifier (SSID) and password Password, and starts the hotspot information;
[0170] Step S725, the in-vehicle IVI system 6 returns the WIFI information to the OTA application of the in-vehicle unit 4 and starts the in-vehicle hotspot;
[0171] Step S726, the OTA application of the in-vehicle unit 4 packages the WIFI information, the host IP address, and the communication port, and requests the server 2 to generate the QR code information;
[0172] Step S727, the server 2 caches information such as the WIFI information, the host IP address, and the communication port, and generates the identification code uniCode;
[0173] Step S728, the server 2 returns uniCode to the OTA application of the in-vehicle unit 4;
[0174] Step S729, the OTA application of the in-vehicle unit 4 generates a QR code according to uniCode;
[0175] The mobile phone scans the QR code to establish the mobile-vehicle Socket communication channel stage:
[0176] Step S730, the user scans the QR code displayed by the OTA application of the in-vehicle unit 4 through the mobile phone intelligent connection application of the mobile terminal 3 to obtain the uniCode information;
[0177] Step S731, the mobile phone intelligent connection application of the mobile terminal 3 analyzes the QR code information;
[0178] Step S732, the mobile phone intelligent connection application of the mobile terminal 3 packages uniCode and requests the corresponding WIFI information and communication port from the server 2;
[0179] Step S733, the server 2 returns the WIFI SSID and Password;
[0180] Step S734, the mobile phone intelligent connection application of the mobile terminal 3 connects to the in-vehicle hotspot according to the WIFI information;
[0181] Step S735, the mobile phone intelligent connection application of the mobile terminal 3 creates a TCP Socket object to connect the host IP address and the communication port;
[0182] Step S736, the mobile terminal 3 and the in-vehicle unit 4 successfully establish TCP Socket communication.
[0183] As Figure 8 shown in the timing diagram of the detailed process of vehicle-to-mobile communication for mobile phone-assisted OTA of the best embodiment of the present invention, including:
[0184] Communication establishment:
[0185] Step S801, the OTA application of the in-vehicle unit 4 establishes a TCP Socket server;
[0186] Step S802, the mobile phone intelligent connection application of the mobile terminal 3 starts to connect to the in-vehicle unit hotspot;
[0187] Step S803, the mobile terminal 3 connects to establish a TCP Socket server;
[0188] Step S804, the OTA application of the in-vehicle unit 4 returns a connection success message to the mobile phone intelligent connection application of the mobile terminal 3;
[0189] Communication process:
[0190] Step S805, the OTA application of the in-vehicle unit 4 sends the current version number information of the in-vehicle unit and the planned OTA version upgrade information to the mobile phone intelligent connection application of the mobile terminal 3;
[0191] Step S806, the mobile phone intelligent connection application of the mobile terminal 3 verifies the in-vehicle unit and OTA version information. If the version information verification fails, execute Step S807. If the version information verification passes, execute Step S808;
[0192] Step S807, the mobile phone intelligent connection application of the mobile terminal 3 returns a response version verification failure message to the OTA application of the in-vehicle unit 4, and ends the communication;
[0193] Step S808, the mobile phone intelligent connection application of the mobile terminal 3 returns a response version verification success message to the OTA application of the in-vehicle unit 4, including the OTA size, name, etc.;
[0194] Step S809, the OTA application of the in-vehicle unit 4 synchronizes the size of the transferred file and requests the mobile terminal 3 to start transmitting the OTA package;
[0195] Step S810, the mobile phone intelligent connection application of the mobile terminal 3 sends data packets to the OTA application of the in-vehicle unit 4 until the transmission ends;
[0196] Step S811: The transmission ends, and the OTA application of the in-vehicle unit 4 sends a success message to the mobile phone intelligent connection application of the mobile terminal 3.
[0197] Step S812: The mobile phone intelligent connection application of the mobile terminal 3 sends a transmission end message to the OTA application of the in-vehicle unit 4.
[0198] Step S813: The OTA application of the in-vehicle unit 4 verifies the file integrity.
[0199] Step S814: The OTA application of the in-vehicle unit 4 synchronizes the file integrity verification result to the mobile phone intelligent connection application of the mobile terminal 3.
[0200] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0201] As Figure 9 shown is a schematic hardware structure diagram of an electronic device according to the present invention, including:
[0202] At least one processor 901; and,
[0203] A memory 902 communicatively connected to at least one of the processors 901; wherein,
[0204] The memory 902 stores instructions executable by at least one of the processors. The instructions are executed by at least one of the processors so that at least one of the processors can execute the vehicle system update method as described above.
[0205] Figure 9 In
[0206] One processor 901 is taken as an example.
[0207] The electronic device may further include: an input device 903 and a display device 904.
[0208] The processor 901, the memory 902, the input device 903, and the display device 904 may be connected by a bus or other means. In the figure, connection by a bus is taken as an example.
[0208] The memory 902, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the vehicle system update method in the embodiments of the present application. For example, Figure 1 、 Figure 2 The method flow shown. The processor 901 executes various functional applications and data processing by running the non-volatile software programs, instructions, and modules stored in the memory 902, that is, implements the vehicle system update method in the above embodiments.
[0209] The memory 902 may include a program storage area and a data storage area. The program storage area may store an operating system and application programs required for at least one function. The data storage area may store data created according to the use of the vehicle system update method, etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 902 may optionally include a memory remotely provided relative to the processor 901, and these remote memories may be connected to the device executing the vehicle system update method through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0210] The input device 903 may receive input user clicks and generate signal inputs related to user settings and function controls of the vehicle system update method. The display device 904 may include a display screen and other display devices.
[0211] When the one or more modules are stored in the memory 902 and run by the one or more processors 901, the vehicle system update method in any of the above method embodiments is executed.
[0212] In the present invention, the mobile terminal downloads system update data from the server, and then the vehicle provides a hotspot, and the mobile terminal establishes communication with the vehicle, so that the vehicle can download system update data from the mobile terminal, avoiding the use of the mobile communication network, avoiding the inability to download due to network instability, and also being able to save the download cost.
[0213] As Figure 10 shown is a schematic hardware structure diagram of a mobile terminal according to the present invention, including:
[0214] At least one processor; and,
[0215] A memory communicatively connected to at least one of the processors; wherein,
[0216] The memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors, so that at least one of the processors can execute the mobile terminal-assisted vehicle system update method according to any one of claims 5 to 7.
[0217] At least one processor 901; and,
[0218] A memory 902 communicatively connected to at least one of the processors 901; wherein,
[0219] The memory 902 stores instructions executable by at least one of the processors. The instructions are executed by at least one of the processors to enable at least one of the processors to execute the vehicle system update method described above.
[0220] Figure 10 Taking one processor 1001 as an example.
[0221] The electronic device may further include: an input device 1003 and a display device 1004.
[0222] The processor 1001, the memory 1002, the input device 1003, and the display device 1004 may be connected by a bus or other means. In the figure, the connection by bus is taken as an example.
[0223] The memory 1002, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the mobile terminal-assisted vehicle update method in the embodiments of the present application. For example, Figure 3 、 Figure 4 The method flow shown. The processor 1001 executes various functional applications and data processing by running the non-volatile software programs, instructions, and modules stored in the memory 1002, that is, implements the mobile terminal-assisted vehicle update method in the above embodiments.
[0224] The memory 1002 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the mobile terminal-assisted vehicle update method, etc. In addition, the memory 1002 may include a high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 1002 may optionally include a memory remotely provided with respect to the processor 1001, and these remote memories can be connected to the device executing the mobile terminal-assisted vehicle update method through a network. Examples of the above networks include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.
[0225] The input device 1003 can receive input user clicks and generate signal inputs related to user settings and function controls of the mobile terminal-assisted vehicle update method. The display device 1004 may include a display device such as a display screen.
[0226] When the one or more modules are stored in the memory 1002 and run by the one or more processors 1001, they execute the mobile terminal-assisted vehicle update method in any of the above method embodiments.
[0227] In the present invention, the mobile terminal downloads system update data from the server, and then the vehicle provides a hotspot, enabling the mobile terminal to establish communication with the vehicle, so that the vehicle can download system update data from the mobile terminal, avoiding the use of the mobile communication network, preventing the inability to download due to unstable network, and saving the download cost at the same time.
[0228] An embodiment of the present invention provides a storage medium that stores computer instructions. When a computer executes the computer instructions, it is used to perform all the steps of the vehicle system update method described above, or to perform the mobile terminal-assisted vehicle system update method described above.
[0229] In the context of the present disclosure, the storage medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The storage medium can be a machine-readable signal medium or a machine-readable storage medium. Optionally, the storage medium can be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium can be ROM, random access memory (RAM), compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage devices, etc.
[0230] An embodiment of the present invention provides a computer program product, including a computer program / instructions, which, when executed by a processor, implements the vehicle system update method described above or the mobile terminal-assisted vehicle system update method described above.
[0231] The above-described embodiments merely represent several implementation manners of the present invention. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the present invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the appended claims.
Claims
1. A method for updating a vehicle system, characterized in that, including: Receiving a hotspot connection request and a communication establishment request from a mobile terminal, and establishing a communication connection with the mobile terminal through the vehicle hotspot; Downloading system update data from the mobile terminal, where the system update data is downloaded by the mobile terminal from a server and saved in the mobile terminal; Performing a system update based on the system update data.
2. The vehicle system update method according to claim 1, wherein Further including: Obtaining system update information of the vehicle from a server, starting the vehicle hotspot when it is determined that a system update is required, generating a two-dimensional code representing hotspot connection parameters and communication establishment parameters, and displaying the two-dimensional code.
3. The vehicle system update method according to claim 2, characterized in that, The generating of the two-dimensional code representing hotspot connection parameters and communication establishment parameters includes: Uploading the hotspot connection parameters and communication establishment parameters to the server; Receiving an identification code returned by the server, where the identification code is generated by the server according to the hotspot connection parameters and communication establishment parameters; Generating a two-dimensional code according to the identification code.
4. An electronic device, characterized in that, including: At least one processor; And, A memory communicatively connected to at least one of the processors; wherein, The memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors so that at least one of the processors can execute the vehicle system update method according to any one of claims 1 to 3.
5. A method for assisting vehicle system update by a mobile terminal, characterized in that, including: Obtaining system update information of the vehicle from a server, and downloading system update data from the server when it is determined that a system update is required; Sending a hotspot connection request and a communication establishment request to the vehicle; After establishing a communication connection with the vehicle through the vehicle hotspot, sending the system update data to the vehicle, where the system update data is used for the vehicle to perform a system update.
6. The method for updating a vehicle system assisted by a mobile terminal according to claim 5, wherein The sending of the hotspot connection request and the communication establishment request to the vehicle includes: In response to a scanning event of the two-dimensional code displayed by the vehicle, parsing the two-dimensional code to obtain corresponding hotspot connection parameters and communication establishment parameters, where the hotspot connection parameters are connection parameters of the vehicle hotspot started by the vehicle, and the communication establishment parameters are communication parameters for establishing a communication connection with the vehicle, and the two-dimensional code is generated and displayed by the vehicle when it is determined that a system update is required, starting the vehicle hotspot, and generating a two-dimensional code representing hotspot connection parameters and communication establishment parameters; Generating a hotspot connection request and a communication establishment request based on the hotspot connection parameters and the communication establishment parameters, and sending them to the vehicle.
7. The method for updating a vehicle system assisted by a mobile terminal according to claim 6, wherein The parsing of the two-dimensional code to obtain corresponding hotspot connection parameters and communication establishment parameters includes: Parsing the two-dimensional code to obtain an identification code; Sending the identification code obtained by parsing the two-dimensional code to the server; Obtaining the hotspot connection parameters and communication establishment parameters corresponding to the identification code obtained by parsing the two-dimensional code from the server.
8. A mobile terminal, characterized in that, including: At least one processor; And, A memory communicatively connected to at least one of the processors; wherein, The memory stores instructions executable by at least one of the processors, and the instructions are executed by at least one of the processors so that at least one of the processors can execute the mobile terminal-assisted vehicle system update method according to any one of claims 5 to 7.
9. A storage medium, characterized in that, The storage medium stores computer instructions, which, when executed by a computer, are used to perform all steps of the vehicle system update method according to any one of claims 1 to 3, or are used to perform the mobile terminal-assisted vehicle system update method according to any one of claims 5 to 7.
10. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by a processor, they implement the vehicle system update method according to any one of claims 1 to 3 or the mobile terminal-assisted vehicle system update method according to any one of claims 5 to 7.