A method, device, vehicle, and system for updating a vehicle application program
By filing and registering and double-factor verification marking in the regulatory system, the safety hazards and incomplete records during vehicle application updates are solved, and detailed records and safety improvements are achieved.
Patent Information
- Application Number
- CN202111437704.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2041-11-30
AI Technical Summary
During the vehicle application update process, in order to avoid recalls, car companies may update the application without filing, resulting in safety risks in the vehicle and lack of detailed update records.
Only by filing and registering in the regulatory system, clearly updating content and vehicle information, and performing two-factor verification before the application is updated to ensure the matching of the update logo, the application will be updated.
The detailed record of vehicle application updates is realized, which avoids the situation where car companies implicitly update applications in order to avoid recalls, reduces the safety risks of vehicles, and improves the transparency and traceability of the update process.
Smart Images

Figure CN114138302B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of application program updates in vehicles, and in particular, to a method, device, vehicle, and system for updating vehicle application programs. Background Art
[0002] The update of vehicle application programs is becoming increasingly popular. Automobile manufacturers can complete the update of application programs through Over-the-Air Technology (OTA) to quickly repair system defects, rapidly iterate, improve product and usage experience, and save time and money for both users and automobile manufacturers. Since OTA can quickly repair defects for automobile manufacturers and avoid large-scale recalls, there is even a situation where OTA updates application programs secretly in the background. There will be potential safety hazards for some vehicles sold by automobile manufacturers that have not updated the application programs. Summary of the Invention
[0003] In a first aspect, the present disclosure provides a method for updating a vehicle application program, the method comprising:
[0004] Receiving an update request sent by a server, the update request carrying a first update identifier, the update request being sent when the server has completed the filing of information to be filed based on a supervision system, the information to be filed including: a second update identifier;
[0005] Sending the first update identifier to the corresponding supervision system of the vehicle based on the update request to verify whether the first update identifier matches the second update identifier;
[0006] Receiving an update instruction returned by the supervision system, the update instruction being sent when the supervision system verifies that the first update identifier matches the second update identifier;
[0007] Downloading an application program update installation package corresponding to the update request based on the update instruction;
[0008] Updating the corresponding application program based on the update installation package.
[0009] Further, the update installation package carries a first data packet verification identifier;
[0010] When receiving the update instruction returned by the supervision system, the method further comprises: receiving a second data packet verification identifier associated with the second update identifier returned by the supervision system:
[0011] Before updating the corresponding application program based on the update installation package, the method comprises:
[0012] Verify whether the first data packet verification identifier and the second data packet verification identifier match;
[0013] Correspondingly, the updating of the corresponding application program based on the update installation package is performed when the first data packet verification identifier and the second data packet verification identifier match.
[0014] Further, the update request includes: description information of the update installation package;
[0015] The downloading of the application program update installation package corresponding to the update request based on the update instruction includes:
[0016] Displaying the description information on a preset page of the vehicle based on the update instruction;
[0017] Downloading the application program update installation package corresponding to the update request in response to a confirmation upgrade instruction triggered by the preset page.
[0018] Further, the information to be put on record further includes: a second vehicle identifier associated with the second update identifier; the sending of the first update identifier to the supervision system corresponding to the vehicle includes:
[0019] Sending the first update identifier and the first vehicle identifier of the vehicle to the supervision system corresponding to the vehicle, so that the supervision system verifies whether the first update identifier and the second vehicle identifier match, and verifies whether the first update identifier and the second update identifier match;
[0020] Correspondingly, the update instruction returned by the supervision system is sent when the supervision system verifies that the first update identifier and the second vehicle identifier match, and the first update identifier and the second update identifier match.
[0021] Further, the updating of the corresponding application program based on the update installation package includes:
[0022] Storing the update installation package in a first partition for updating, and storing the current version of the application program in a second partition, where both the first partition and the second partition can be read or called;
[0023] Setting the application program of the target version after the update to be preferentially read or called.
[0024] Further, the method further includes:
[0025] After the update is completed, send the update completion information carrying the first vehicle identifier to the supervision system and the server, so that the supervision system stores the received update completion information in the corresponding blockchain node, and the server records and stores the received update completion information. The update completion information includes the content of the application program update.
[0026] In a second aspect, the present disclosure provides a method for updating a vehicle application program. The method includes:
[0027] Receive the information to be filed sent by the server. The information to be filed includes: a second update identifier, a second data packet verification identifier, and a second vehicle identifier that are associated with each other;
[0028] Store the information to be filed in the blockchain node, and return a filing completion instruction to the server, so that the server sends an update request carrying the first update identifier to the vehicle corresponding to the second vehicle identifier based on the filing completion instruction;
[0029] Receive the first update identifier sent by the vehicle;
[0030] Return an update instruction when it is verified that the first update identifier matches the second update identifier. The update instruction is used to instruct the vehicle to complete the update of the application program corresponding to the first update identifier.
[0031] Further, the method further includes:
[0032] Send the second data packet verification identifier associated with the second update identifier to the vehicle.
[0033] Further, the method further includes:
[0034] Receive the update completion information carrying the first vehicle identifier sent by the vehicle;
[0035] Store the update completion information in the blockchain node corresponding to the information to be filed.
[0036] On the other hand, the present disclosure provides a vehicle application program update device. The method includes:
[0037] A request receiving module, configured to receive an update request sent by the server. The update request carries a first update identifier, and the update request is sent when the server completes the filing of the information to be filed based on the supervision system. The information to be filed includes: a second update identifier;
[0038] An identifier sending module, configured to send the first update identifier to the supervision system corresponding to the vehicle based on the update request to verify whether the first update identifier matches the second update identifier;
[0039] An instruction receiving module, configured to receive an update instruction returned by the supervision system, where the update instruction is sent when the supervision system verifies that the first update identifier and the second update identifier match;
[0040] A download module, configured to download an application program update installation package corresponding to the update request based on the update instruction;
[0041] An update module, configured to update a corresponding application program based on the update installation package.
[0042] In another aspect, the present disclosure provides a vehicle application program update device, where the device includes:
[0043] An information receiving module, configured to receive information to be filed sent by a server, where the information to be filed includes: a second update identifier, a second data packet verification identifier, and a second vehicle identifier that are associated with each other;
[0044] A filing module, configured to store the information to be filed in a blockchain node and return a filing completion instruction to the server, so that the server sends an update request carrying a first update identifier to a vehicle corresponding to the second vehicle identifier based on the filing completion instruction;
[0045] An identifier receiving module, configured to receive a first update identifier sent by a vehicle;
[0046] An instruction sending module, configured to return an update instruction when it is verified that the first update identifier and the second update identifier match, where the update instruction is used to instruct the vehicle to complete the update of the application program corresponding to the first update identifier.
[0047] In another aspect, the present disclosure provides a vehicle, where the vehicle includes:
[0048] A memory, configured to store program instructions;
[0049] A processor, configured to call and execute the program instructions in the memory to execute the vehicle application program update method described in the first aspect above.
[0050] In another aspect, the present disclosure provides a supervision system, where the supervision system includes:
[0051] A memory, configured to store program instructions;
[0052] A processor, configured to call and execute the program instructions in the memory to execute the vehicle application program update method described in the second aspect above.
[0053] In another aspect, the present disclosure provides a vehicle application program update system, including a server, a vehicle, and a supervision system. The server, the vehicle, and the supervision system interact with each other to complete the vehicle application program update method described in the above first aspect and second aspect.
[0054] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:
[0055] For the vehicle application program update method and device provided by the embodiments of this specification, when the application program in the vehicle is updated, the vehicle manufacturer can send the update content of the specified vehicle to the corresponding supervision system for filing and registration to clarify the specific update content and the updated vehicle. After the filing and registration, when the vehicle performs the corresponding application program update, it can send the corresponding first update identifier to the supervision system and complete the verification of the first update identifier through the supervision system. After the verification is passed, the vehicle can update the application program, ensuring a detailed record of the application program update in each vehicle, avoiding the occurrence of situations where the vehicle manufacturer avoids recalling and updating the application program, and thus reducing the potential safety hazards of the vehicle.
[0056] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure and do not constitute an improper limitation to the present disclosure.
[0058] Figure 1 is a schematic diagram of an application environment shown according to an exemplary embodiment;
[0059] Figure 2 is a flowchart of a vehicle application program update method shown according to an exemplary embodiment;
[0060] Figure 3 is a process of another vehicle application program update method shown according to an exemplary embodiment;
[0061] Figure 4 is a block diagram of a vehicle application program update device shown according to an exemplary embodiment;
[0062] Figure 5 is a block diagram of another vehicle application program update device shown according to an exemplary embodiment;
[0063] Figure 6 is a block diagram of an electronic device for vehicle application program update shown according to an exemplary embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0064] To enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0065] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0066] Please refer to Figure 1 , Figure 1 which is a schematic diagram of an application environment shown according to an exemplary embodiment. The application environment may include a terminal 110 (vehicle), a server 120 (automobile enterprise), and a supervision system 130. The terminal 110, the server 120, and the supervision system 130 can be connected to each other through a wired network or a wireless network.
[0067] The terminal 110 includes physical devices such as smartphones, desktop computers, tablet computers, laptop computers, digital assistants, and smart wearable devices, and may also include software running on the physical devices, such as an application program (abbreviated as App). The application program may be a dedicated application program for controlling vehicle driving, or other application programs with vehicle driving control functions, such as application programs configured with a power system, a braking system, etc. The operating systems running on the physical devices in the embodiments of the present application may include, but are not limited to, Android, IOS, Linux, Unix, Windows, etc. The terminal 110 may include a UI (User Interface, vehicle application program update object interface) layer. The terminal 110 provides input and display of query information through the UI layer. In addition, corresponding information is sent to the server 120 and / or the supervision system 130 based on the API (Application Programming Interface).
[0068] The server 120 can be a server that provides background services for applications in the terminal 110. Specifically, the service provided by the server 120 can be an update service for the application. The server 120 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0069] The supervision system 130 can be a set third-party platform or institution for supervising vehicle enterprises (servers). Its configuration is similar to that of the server 120, and both are servers that provide background services for applications in the terminal 110. It can be understood that the supervision system 130 can be a server for data storage and data verification.
[0070] In a first aspect, embodiments of this specification introduce the present disclosure with the terminal as the execution subject. Figure 2 It is a flowchart of a vehicle application update method shown according to an exemplary embodiment, as Figure 2 shown, and the method may include the following steps:
[0071] In step S201, receive an update request sent by the server. The update request carries a first update identifier, and the update request is sent when the server completes the filing of the information to be filed based on the supervision system. The information to be filed includes: a second update identifier.
[0072] Specifically, the server may store an application database corresponding to each application in the vehicle, which is used to provide application update installation packages for the applications in the vehicle.
[0073] Specifically, when the server updates the applications in the vehicle, it can send the information to be filed required by the supervision system to the supervision system. The information to be filed may include an associated second update identifier, a second data packet verification identifier, and a second vehicle identifier. Among them, the second update identifier is unique and can be used to verify whether the updated application in the vehicle has been filed. The second data packet verification identifier can be the unique identifier of the update installation package corresponding to the application, such as a digital signature, etc., and can be used to verify whether the corresponding update installation package is provided by the server. The second vehicle identifier can also be unique, such as the vehicle model. It can be understood that the vehicle model is the unique identifier provided by the server (vehicle enterprise) to represent this type of vehicle.
[0074] After the regulatory system stores the information to be filed received in the blockchain node, it indicates that the information to be filed is completed. The regulatory system can return a filing completion instruction to the server to instruct the server to send an update request to the corresponding application. The update request is used to instruct the vehicle to update the application.
[0075] Specifically, the update request may carry a first update identifier. The first update identifier may be the same as the second update identifier for filing, or may be different from the second update identifier.
[0076] It can be understood that the specific formats of the above first update identifier, second update identifier, second data packet verification identifier, and second vehicle identifier are not specifically limited in the embodiments of this specification. They may be strings, such as 100-132-ad2*, etc.
[0077] It can be understood that the server can send the update request in a push manner, that is, the server can push the update request according to the above vehicle identifier.
[0078] In step S203, based on the update request, the first update identifier is sent to the corresponding regulatory system of the vehicle to verify whether the first update identifier and the second update identifier match.
[0079] In an optional embodiment, sending the first update identifier to the corresponding regulatory system of the vehicle based on the update request to verify whether the first update identifier and the second update identifier match may include:
[0080] Obtain the status data of the vehicle based on the update request.
[0081] Specifically, the status data may include the speed of the vehicle, the remaining battery power of the vehicle, the version number of the application corresponding to the update request, etc.
[0082] When the status data meets the preset requirements, the first update identifier is sent to the corresponding regulatory system of the vehicle to verify whether the first update identifier and the second update identifier match.
[0083] Specifically, the preset requirements can be pre-set and are associated with the vehicle's status data. When the status data can include the vehicle speed, the remaining battery power of the vehicle, and the current version number of the application corresponding to the update request, when the vehicle speed is zero, the remaining battery power of the vehicle is greater than the preset power threshold, and the difference between the current version number of the application corresponding to the update request and the target version number of the application corresponding to the update request is the preset difference, it can be determined that the status data meets the preset requirements. Among them, the vehicle speed is used to indicate whether the vehicle is driving. When the vehicle is driving, the application cannot be updated. The remaining battery power of the vehicle is used to indicate whether it can support the update of the application. The current version number is used to indicate whether the application can perform the update. For example, if the current version number is 1.1.1 and the target version number is 1.1.2, it means that the application can complete the update.
[0084] When the status data meets the preset requirements, the first update identifier can be sent to the supervision system corresponding to the vehicle. After receiving the first update identifier, the supervision system can match it with the second update identifier on record. If the first update identifier and the second update identifier match, it means that the update corresponding to the application is already on record. If the first update identifier and the second update identifier do not match, it means that the update corresponding to the application has not been recorded. At this time, an instruction indicating that the update cannot be performed can be returned to the corresponding vehicle so that the vehicle does not update the application.
[0085] In step S205, receive the update instruction returned by the supervision system. The update instruction is sent when the supervision system verifies that the first update identifier and the second update identifier match.
[0086] Specifically, when the supervision system verifies that the first update identifier and the second update identifier match, the supervision system can return an update instruction. The update instruction indicates that the application corresponding to the update request can be updated, that is, the update instruction can be used to instruct the vehicle to update the application corresponding to the update request.
[0087] In step S207, download the update installation package of the application corresponding to the update request based on the update instruction.
[0088] Specifically, the update request can carry the download address of the update installation package of the application to be updated. After receiving the update instruction, the vehicle can access the above download address to download the application update installation package.
[0089] In step S209, update the corresponding application based on the update installation package.
[0090] Specifically, the vehicle can run the update installation package to complete the update of the application.
[0091] Updates to applications often require user confirmation before they can be updated.
[0092] In an optional embodiment, the update request includes: description information of the update installation package;
[0093] Specifically, the description information of the update installation package can be used to outline the specific content of the application update, such as the current version number and the target version number allowing the application to be updated, the size of the update installation package, the estimated update duration, a description of the modification points, information on the updated components, vehicle technical parameters involved in the update, vehicle system or function information (such as new functions added, changes made, defect fixes, or improvement of the user experience), etc.
[0094] Downloading the application update installation package corresponding to the update request based on the update instruction includes:
[0095] Displaying the description information on a preset page of the vehicle based on the update instruction.
[0096] Downloading the application update installation package corresponding to the update request in response to a confirmation upgrade instruction triggered by the preset page.
[0097] Specifically, the preset page can be a page automatically triggered (opened) when the terminal (vehicle) receives the update instruction. A first control area (such as a button) for confirming the update can be displayed on the preset page. When the user touches or clicks on the above control area, it indicates that the user agrees to update the corresponding application and simultaneously triggers a confirmation upgrade instruction. It can be understood that a second control area (such as a button) for rejecting the update can be displayed on the preset page. When the user touches or clicks on the above control area, it indicates that the user rejects the update of the corresponding application and simultaneously triggers a reject update application instruction.
[0098] In the embodiments of this specification, through user intervention, when the user agrees to update the application, the application is updated. At the same time, the user can also reject the update of the application, providing a choice for the user and improving user satisfaction.
[0099] In the vehicle application update method provided by the embodiments of this specification, when the application in the vehicle is updated, the vehicle manufacturer can send the update content of the specified vehicle to the corresponding supervision system for filing and registration to clarify the specific update content and the updated vehicle. After the filing and registration, when the vehicle performs the corresponding application update, it can send a corresponding first update identifier to the supervision system and complete the verification of the first update identifier through the supervision system. Only after the verification is passed can the vehicle update the application, ensuring a detailed record of the application update in each vehicle and avoiding the occurrence of the situation where the vehicle manufacturer avoids recalling and updating the application, thereby reducing the safety hazards of the vehicle.
[0100] Based on the above embodiments, in one embodiment of this specification, the update installation package carries a first data packet verification identifier.
[0101] Specifically, the update installation package is an executable file that can update the application program. The update installation package can carry a first data packet verification identifier, and the first data packet verification identifier can be a digital signature (also known as a public key digital signature, electronic signature). A digital signature is a kind of ordinary physical signature written on paper, but it is implemented using technologies in the field of public key cryptography and is a method for authenticating digital information. A set of digital signatures usually defines two complementary operations, one for signing and the other for verification.
[0102] A digital signature is a digital string that can only be generated by the sender of the information and cannot be forged by others. This digital string is also a valid proof of the authenticity of the information sent by the sender of the information.
[0103] When receiving the update instruction returned by the supervision system, the method further includes: receiving a second data packet verification identifier associated with the second update identifier returned by the supervision system.
[0104] Specifically, the second data packet verification identifier associated with the second update identifier is filed in the supervision system. When the supervision system returns the update instruction, it can simultaneously return the second data packet verification identifier associated with the second update identifier. The second data packet verification identifier is provided by the server (automobile enterprise) during filing.
[0105] Before updating the corresponding application program based on the update installation package, the method includes:
[0106] Verifying whether the first data packet verification identifier and the second data packet verification identifier are the same.
[0107] Correspondingly, the update of the corresponding application program based on the update installation package is performed when the first data packet verification identifier and the second data packet verification identifier are the same.
[0108] Specifically, one of the first data packet verification identifier and the second data packet verification identifier can be used for signing, and the other for verification. For example, the supervision system encrypts the second data packet verification identifier with the private key of the supervision system and transmits it to the terminal (vehicle) together with the original text. The terminal (vehicle) can only decrypt the encrypted second data packet verification identifier with the public key of the supervision system, and then process the second data packet verification identifier with the HASH function and compare it with the decrypted second data packet verification identifier. If they are the same, it means that the received second data packet verification identifier is complete and has not been modified during the transmission process; otherwise, it means that the second data packet verification identifier has been modified.
[0109] Before the application program is updated in the embodiments of this specification, the second data packet verification identifier filed in the supervision system is verified against the first data packet verification identifier in the update installation package, and the update of the application program is only executed after successful matching, ensuring the security of the updated application program and preventing the update installation package from being tampered with, resulting in incorrect updates.
[0110] Based on the above embodiments, in one embodiment of this specification, the information to be filed further includes: a second vehicle identifier associated with the second update identifier.
[0111] Specifically, the second vehicle identifier may be the same as the first vehicle identifier, both of which can be used to represent the vehicle type.
[0112] In an optional embodiment, the sending the first update identifier to the supervision system corresponding to the vehicle includes:
[0113] Sending the first update identifier and the first vehicle identifier of the vehicle to the supervision system corresponding to the vehicle, so that the supervision system verifies whether the first update identifier matches the second vehicle identifier and whether the first update identifier matches the second update identifier.
[0114] Specifically, the first vehicle identifier may be an identifier pre-implanted in the vehicle, which may be a unique identifier such as a vehicle identification number. That is, the first vehicle identifier may correspond to a second vehicle identifier. That is, the vehicle identification number may correspond to a specific vehicle type.
[0115] The second vehicle identifier and the first vehicle identifier within the jurisdiction are filed in the supervision system. After receiving the first update identifier and the first vehicle identifier of the vehicle, the supervision system can verify whether the first update identifier matches the second vehicle identifier and whether the first update identifier matches the second update identifier. Only when both of the above match, the supervision system will return an update instruction to the corresponding terminal (vehicle).
[0116] Correspondingly, the update instruction returned by the supervision system is sent when the supervision system verifies that the first update identifier matches the second vehicle identifier and the first update identifier matches the second update identifier.
[0117] The vehicle application program update method provided by the embodiments of this specification verifies whether the application program in the vehicle meets the update requirements through a double-verification method. Only when both double-verifications pass can the corresponding application program update be executed, avoiding the vehicle from updating an incorrect application program and causing safety accidents, and at the same time further improving the security of the vehicle application program update.
[0118] Based on the above embodiments, in one embodiment of this specification, updating the corresponding application program based on the updated installation package includes:
[0119] Storing the updated installation package in the first partition for execution of the update, with the application program of the current version stored in the second partition, and both the first partition and the second partition can be read or called;
[0120] Setting the application program of the target version after the update to be preferentially read or called.
[0121] Specifically, at least two partitions can be set in the terminal (vehicle), namely the first partition and the second partition, and both the first partition and the second partition can be read or called. One partition is used to store the application program before the update, and the other partition is used to store the application program after the update. That is, the first partition and the second partition serve as backup partitions for each other. After the application program is updated, the partition where the application program of the historical version is located can be formatted, or the application program of the historical version can be retained. However, when using the application program to perform corresponding tasks, the latest version of the application program can be used to perform the corresponding tasks. When the update fails, the application program before the update is still used to perform the corresponding tasks.
[0122] The vehicle application program update method provided by the embodiments of this specification uses a dual-backup method to perform the update of the application program. After the update is successful, the updated application program can be used to perform tasks. After the update fails, the application program before the update is used to perform tasks, improving the reliability of the application program and avoiding the scenario where the application program cannot be used due to a failed update.
[0123] Based on the above embodiments, in one embodiment of this specification, the method further includes:
[0124] After the update is completed, sending update completion information carrying the first vehicle identifier to the supervision system and the server, so that the supervision system stores the received update completion information in the corresponding blockchain node, and the server records and stores the received update completion information. The update completion information includes the content of the application program update.
[0125] Specifically, in order to avoid repeated sending of update requests or to avoid untimely update of the application program in some vehicles, after the application program is updated, the vehicle can send the update completion information of the first vehicle identifier to the supervision system and the server.
[0126] Specifically, the update completion information may include the version number information of the current version and the target version of the application, the size of the update installation package, the actual upgrade duration, the description of modification points, the information of upgraded components, the vehicle technical parameters involved in the upgrade, the vehicle system or function information (such as new function addition, change, defect repair, or user experience improvement), etc.
[0127] The supervision system may store the above update completion information in the blockchain according to the first vehicle identifier, record the update data for the vehicle corresponding to the first vehicle identifier, and at the same time avoid the server party changing the above update completion information when an accident occurs due to the application update of the vehicle, thereby improving user satisfaction.
[0128] The server may also record the above update completion information, add an update completion identifier to the updated vehicle according to the first vehicle identifier, which is convenient for counting the update situation of the application of the vehicle corresponding to the second vehicle identifier. And it can resend the above update request to the vehicle that has not updated the application after a preset time, so as to increase the scope of the vehicle application update and improve the user experience.
[0129] In a second aspect, the present disclosure will be introduced below with the supervision system as the execution subject. Figure 3 It is a flowchart of another vehicle application update method shown according to an exemplary embodiment. Please refer to Figure 3 The present disclosure provides a vehicle application update method, and the method includes:
[0130] In step S301, receive the information to be filed sent by the server, where the information to be filed includes: a second update identifier, a second data packet verification identifier, and a second vehicle identifier that are mutually associated;
[0131] In step S303, store the information to be filed in the blockchain node, and return a filing completion instruction to the server, so that the server sends an update request carrying the first update identifier to the vehicle corresponding to the second vehicle identifier based on the filing completion instruction;
[0132] In step S305, receive the first update identifier sent by the vehicle;
[0133] In step S307, send an update instruction to the vehicle when it is verified that the first update identifier matches the second update identifier, and the update instruction is used to instruct the vehicle to complete the update of the application corresponding to the first update identifier.
[0134] Based on the above embodiments, in one embodiment of this specification, the method further includes:
[0135] Send a second data packet verification identifier associated with the second update identifier to the vehicle.
[0136] Based on the above embodiments, in one embodiment of this specification, the method further includes:
[0137] Receiving update completion information carrying a first vehicle identifier sent by a vehicle;
[0138] Storing the update completion information in a blockchain node corresponding to the information to be put on record.
[0139] Since the method on the regulatory system side is related to the method on the above terminal side and has been disclosed on the terminal side above, it has the same technical effects as the terminal side and will not be elaborated here.
[0140] On the other hand, the present disclosure provides a vehicle application program update device, Figure 4 which is a block diagram of a vehicle application program update device shown according to an exemplary embodiment. Referring to Figure 4 , the device includes:
[0141] A request receiving module 401, configured to receive an update request sent by a server, where the update request carries a first update identifier, and the update request is sent when the server completes the filing of information to be put on record based on a regulatory system, and the information to be put on record includes: a second update identifier;
[0142] A data acquisition module 402, configured to send the first update identifier to the corresponding regulatory system of the vehicle based on the update request to verify whether the first update identifier and the second update identifier match;
[0143] An instruction receiving module 403, configured to receive an update instruction returned by the regulatory system, and the update instruction is sent when the regulatory system verifies that the first update identifier and the second update identifier match;
[0144] A download module 404, configured to download an application program update installation package corresponding to the update request based on the update instruction;
[0145] An update module 405, configured to update a corresponding application program based on the update installation package.
[0146] On the other hand, the present disclosure provides a vehicle application program update device, Figure 5 which is another block diagram of a vehicle application program update device shown according to an exemplary embodiment. Referring to Figure 5 , the device includes:
[0147] An information receiving module 501, configured to receive information to be put on record sent by a server, where the information to be put on record includes: a second update identifier, a second data packet verification identifier, and a second vehicle identifier that are mutually associated;
[0148] The filing module 502 is configured to store the information to be filed in the blockchain node and return a filing completion instruction to the server, so that the server sends an update request carrying the first update identifier to the vehicle corresponding to the second vehicle identifier based on the filing completion instruction;
[0149] The identifier receiving module 503 receives the first update identifier sent by the vehicle;
[0150] The instruction sending module 504 is configured to return an update instruction when it is verified that the first update identifier matches the second update identifier, and the update instruction is used to instruct the vehicle to complete the update of the application program corresponding to the first update identifier.
[0151] In another aspect, the present disclosure provides a vehicle, which includes:
[0152] A memory for storing program instructions;
[0153] A processor for calling and executing the program instructions in the memory to execute the vehicle application program update method described in the first aspect above.
[0154] In another aspect, the present disclosure provides a supervision system, which includes:
[0155] A memory for storing program instructions;
[0156] A processor for calling and executing the program instructions in the memory to execute the vehicle application program update method described in the second aspect above.
[0157] In another aspect, the present disclosure provides a vehicle application program update system, including a server, a vehicle and a supervision system, and the server, the vehicle and the supervision system interact with each other to complete the vehicle application program update method described above.
[0158] Figure 6 is a block diagram of an electronic device for vehicle application program update shown according to an exemplary embodiment. The electronic device can be a terminal or a supervision system, and its internal structure diagram can be as Figure 6As shown in the figure. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it realizes a method for updating a vehicle application program. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, a touchpad, or a mouse, etc.
[0159] Those skilled in the art can understand that Figure 6 the structure shown in the figure is only a block diagram of some structures related to the solution of the present disclosure, and does not constitute a limitation on the electronic device to which the solution of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0160] In an exemplary embodiment, there is also provided an electronic device, including: a processor; a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the instructions to realize the method for updating a vehicle application program as in the embodiment of the present disclosure.
[0161] In an exemplary embodiment, there is also provided a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can execute the method for updating a vehicle application program in the embodiment of the present disclosure. The computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0162] In an exemplary embodiment, there is also provided a computer program product containing instructions. When it runs on a computer, the computer executes the method for updating a vehicle application program in the embodiment of the present disclosure.
[0163] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0164] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only to be regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0165] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A method for updating a vehicle application program, characterized in that, Applied to a vehicle, the method includes: Receiving an update request sent by a server, where the update request carries a first update identifier. The update request is sent when the server completes the filing of information to be filed based on a supervision system. The information to be filed includes: a second update identifier and a second vehicle identifier associated with the second update identifier; the second update identifier is used to verify whether the application program updated for the vehicle has been filed. Based on the update request, sending the first update identifier and the first vehicle identifier of the vehicle to the corresponding supervision system of the vehicle, so that the supervision system verifies whether the first vehicle identifier matches the second vehicle identifier and whether the first update identifier matches the second update identifier. Receiving an update instruction returned by the supervision system, where the update instruction is sent when the supervision system verifies that the first update identifier matches the second update identifier. Downloading an application program update installation package corresponding to the update request based on the update instruction. Updating the corresponding application program based on the update installation package.
2. The vehicle application program update method according to claim 1, wherein The update installation package carries a first data packet verification identifier. When receiving the update instruction returned by the supervision system, the method further includes: receiving a second data packet verification identifier associated with the second update identifier returned by the supervision system. Before updating the corresponding application program based on the update installation package, the method includes: Verifying whether the first data packet verification identifier matches the second data packet verification identifier. Correspondingly, updating the corresponding application program based on the update installation package is performed when the first data packet verification identifier matches the second data packet verification identifier.
3. The vehicle application update method according to claim 1 or 2, characterized in that The update request includes: description information of the update installation package. Downloading the application program update installation package corresponding to the update request based on the update instruction includes: Displaying the description information on a preset page of the vehicle based on the update instruction. Downloading the application program update installation package corresponding to the update request in response to a confirmation upgrade instruction triggered by the preset page.
4. The vehicle application update method according to claim 3, wherein The method further includes: The update instruction returned by the supervision system is sent when the supervision system verifies that the first vehicle identifier matches the second vehicle identifier and the first update identifier matches the second update identifier.
5. The vehicle application update method according to claim 4, wherein Updating the corresponding application program based on the update installation package includes: Storing the update installation package in a first partition for execution, and storing the current version of the application program in a second partition. Both the first partition and the second partition can be read or called. Setting the target version of the application program after the update to be preferentially read or called.
6. The vehicle application update method according to claim 4 or 5, characterized in that The method further includes: After the update is completed, sending update completion information carrying the first vehicle identifier to the supervision system and the server, so that the supervision system stores the received update completion information in the corresponding blockchain node, and the server records and stores the received update completion information. The update completion information includes the content of the application program update.
7. A method for updating a vehicle application program, characterized in that, Applied to a regulatory system, the method includes: Receiving information to be filed sent by a server, the information to be filed including: a second update identifier, a second data packet verification identifier, and a second vehicle identifier that are associated with each other; the second update identifier is used to verify whether the application program updated by the vehicle has been filed. Storing the information to be filed in a blockchain node and returning a filing completion instruction to the server, so that the server sends an update request carrying a first update identifier to the vehicle corresponding to the second vehicle identifier based on the filing completion instruction. Receiving the first update identifier sent by the vehicle. Returning an update instruction when it is verified that the first update identifier matches the second update identifier, the update instruction being used to instruct the vehicle to complete the update of the application program corresponding to the first update identifier.
8. The vehicle application program update method according to claim 7, wherein, The method further includes: Receiving update completion information sent by the vehicle and carrying a first vehicle identifier. Storing the update completion information in the blockchain node corresponding to the information to be filed.
9. A vehicle application update device, characterized in that, The device includes: A request receiving module, configured to receive an update request sent by a server, the update request carrying a first update identifier, and the update request being sent when the server completes the filing of information to be filed based on a regulatory system, the information to be filed including: a second update identifier and a second vehicle identifier associated with the second update identifier; the second update identifier is used to verify whether the application program updated by the vehicle has been filed. An identifier sending module, configured to send the first update identifier and the first vehicle identifier of the vehicle to the corresponding regulatory system of the vehicle based on the update request, so that the regulatory system verifies whether the first vehicle identifier matches the second vehicle identifier and whether the first update identifier matches the second update identifier. An instruction receiving module, configured to receive an update instruction returned by the regulatory system, the update instruction being sent when the regulatory system verifies that the first update identifier matches the second update identifier. A download module, configured to download an application program update installation package corresponding to the update request based on the update instruction. An update module, configured to update the corresponding application program based on the update installation package.
10. A vehicle application update device, characterized in that, The device includes: An information receiving module, configured to receive information to be filed sent by a server, the information to be filed including: a second update identifier, a second data packet verification identifier, and a second vehicle identifier that are associated with each other; the second update identifier is used to verify whether the application program updated by the vehicle has been filed. A filing module, configured to store the information to be filed in a blockchain node and return a filing completion instruction to the server, so that the server sends an update request carrying a first update identifier to the vehicle corresponding to the second vehicle identifier based on the filing completion instruction. An identifier receiving module, configured to receive the first update identifier sent by the vehicle. An instruction sending module, configured to return an update instruction when it is verified that the first update identifier matches the second update identifier, the update instruction being used to instruct the vehicle to complete the update of the application program corresponding to the first update identifier.
11. A vehicle, characterized in that, The method includes: A memory for storing program instructions; A processor for calling and executing the program instructions in the memory to execute the method according to any one of claims 1-6.
12. A supervision system, characterized in that, The method includes: A memory for storing program instructions; a processor for calling and executing the program instructions in the memory to execute the method according to any one of claims 7-8.
13. A vehicle application update system, characterized in that, Including a server, a vehicle and a supervision system, the server, the vehicle and the supervision system interact with each other to complete the vehicle application program update method according to any one of claims 1-8 above.
Citation Information
Patent Citations
IVI system firmware updating method and device based on mobile storage equipment
CN103995723A
Firmware upgrading management method and device, and electronic equipment
CN111752578A