CN119095028A - A vehicle-mounted electronic manual updating method, system and electronic equipment - Google Patents
A vehicle-mounted electronic manual updating method, system and electronic equipment Download PDFInfo
- Publication number
- CN119095028A CN119095028A CN202411164702.3A CN202411164702A CN119095028A CN 119095028 A CN119095028 A CN 119095028A CN 202411164702 A CN202411164702 A CN 202411164702A CN 119095028 A CN119095028 A CN 119095028A
- Authority
- CN
- China
- Prior art keywords
- updating
- resource
- manual
- electronic manual
- mounted electronic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/48—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to the technical field of vehicles and discloses a method, a system and an electronic device for updating a vehicle-mounted electronic manual, wherein the method, the system and the electronic device comprise the steps of responding to a resource upgrading request sent by a client, and determining a target vehicle-mounted electronic manual according to manual information contained in the resource upgrading request; and based on a comparison result and a predefined upgrade planning scheme, updating the target vehicle-mounted electronic manual in different modes. The scheme can solve a plurality of problems existing in the flexible self-updating process of the vehicle-mounted electronic manual resources so as to meet the requirements of users and ensure the safety and reliability of the updating process of the vehicle-mounted electronic manual.
Description
Technical Field
The invention relates to the technical field of vehicles, in particular to a vehicle-mounted electronic manual updating method and system, electronic equipment, a storage medium and a vehicle.
Background
There are two general types of electronic manual resources in the prior art, one is built-in resources, which do not support updating, and the other is using OTA (Over-the-air) technology, i.e. updating electronic manual resources in vehicles through wireless networks. The method can realize remote updating, and is convenient and quick.
Problems (pain points) with the prior art include:
1. Security risk-there is a risk of hacking during OTA update, which may attack the vehicle or implant malicious code by tampering with the OTA update packet.
2. Data transmission stability OTA updates require large amounts of data to be transmitted over the wireless network, signal instability or network disruption may result in update failure or data corruption.
3. Update efficiency and cost OTA updates may consume a significant amount of network bandwidth and power, requiring a longer time for the update process, and increasing the frequency and content of the update may increase the update cost.
4. The compatibility problem is that different OTA updating systems can be used by different vehicle brands or models, so that the updating flow and method are not uniform, and the user experience is reduced.
5. User privacy issues OTA updates may require acquisition of vehicle related data, involving user privacy information protection issues.
However, although OTA technology can provide a convenient method for updating vehicle electronic manual resources, there are some problems in terms of security, stability, efficiency and cost, compatibility, and user privacy, which need to be overcome and improved.
Disclosure of Invention
In order to solve the above-mentioned defects, the invention aims to provide a method, a system and an electronic device for updating a vehicle-mounted electronic manual, which comprehensively consider the problems of safety, stability, efficiency, cost, compatibility, user privacy and the like, and adopt corresponding technical means and management measures to ensure the safety and reliability of the updating process and meet the user demands.
In order to achieve the above purpose, the present invention provides the following technical solutions:
In a first aspect, the present application provides a method for updating an in-vehicle electronic manual, the method comprising:
Responding to a resource upgrading request sent by a client, and determining a target vehicle-mounted electronic manual according to manual information contained in the resource upgrading request;
acquiring the latest resource version information of the target vehicle-mounted electronic manual from the cloud, and comparing the latest resource version information with the local resource version information;
based on the comparison result and a predefined upgrade planning scheme, updating the target vehicle-mounted electronic manual in different updating modes is performed.
Optionally, the target vehicle-mounted electronic manual is a vehicle-mounted electronic manual stored in a vehicle machine system in advance;
the vehicle-mounted electronic manual comprises manual information and resource version information;
the manual information comprises vehicle type information and manual types;
The manual types comprise an operation manual, an operation and maintenance manual and a spare and accessory manual.
Optionally, the obtaining the latest resource version information of the target vehicle-mounted electronic manual from the cloud end, and comparing with the local resource version information includes:
identifying whether the target vehicle-mounted electronic manual requesting resource upgrading is the latest resource version or not based on the information comparison of the latest resource version and the local resource version of the target vehicle-mounted electronic manual;
if the local resource version is inconsistent with the latest resource version, the local resource version is not the latest resource version, the resource difference inconsistent between the cloud end and the local version is obtained, and whether the data volume of the resource difference exceeds a preset threshold value is judged.
Optionally, the upgrade planning scheme is defined based on resource update operation and maintenance conditions;
the resource updating operation and maintenance conditions comprise user privacy, network conditions and equipment compatibility factors;
The upgrade planning scheme comprises an update record maintenance logic, a recovery mechanism and a local verification mechanism.
Optionally, the updating the target vehicle-mounted electronic manual in different updating modes based on the comparison result and the predefined upgrade planning scheme includes:
Determining an updating mode based on a judging result of whether the data quantity of the resource difference exceeds a preset threshold value, and determining data to be updated according to the updating mode;
the updating modes comprise an increment updating mode and a full updating mode;
When the data quantity of the resource difference does not exceed a preset threshold value, determining that the current updating mode is an incremental updating mode;
When the data quantity of the resource difference exceeds a preset threshold value, determining that the current updating mode is a full updating mode;
In an incremental updating mode, generating an incremental package based on the resource difference of inconsistent cloud and local version, and distributing a unique version number for each incremental package;
In the updating process, a local verification mechanism is called to verify the integrity and the transmission state of the increment packet, and after verification is passed, an updating record maintenance logic is called to record the detailed information of each updating;
The updated detailed information comprises an increment packet unique version number, update time, update content and related change records;
The related change record comprises a resource variable which is updated by the latest time of the target vehicle-mounted electronic manual compared with the last time;
and in the full-volume updating mode, acquiring the latest resource version from the cloud to generate a resource package, updating the target vehicle-mounted electronic manual, and clearing old resources after the updating is successful.
Optionally, the checking the integrity and the transmission status of the incremental package includes:
verifying the data integrity of the delta packet using the hash SHA-256;
After passing the integrity check, signature verification is performed to ensure that the source of the generated incremental package is trusted;
judging whether the incremental package is tampered or damaged in the transmission process;
If the situation of tampering or damage occurs in the transmission process, obtaining error information of the situation of tampering or damage of the incremental package in the transmission process, and re-regenerating the resource package and sending the resource package;
if the situation of tampering or damage occurs in the updating process, a recovery mechanism is started, so that the vehicle-mounted system is recovered to a stable state.
Optionally, the method further comprises:
The updating condition is confirmed in response to the completion of updating the target vehicle-mounted electronic manual, and the updating condition comprises the steps of checking the integrity of updating data and updated resource version information;
When the updating fails, executing an error processing flow, wherein the error processing flow comprises a resource version before the rollback is tried, when the rollback fails, deleting a resource packet with the failed updating, and acquiring from the cloud again when entering next time;
and when the updating is successful, loading the corresponding display interface to display the related information.
Optionally, the loading the relevant information displayed on the corresponding display interface includes:
displaying a first display interface, wherein the first display interface comprises the update progress of the target vehicle-mounted electronic manual;
When the incremental updating is detected to be completed, the incremental updating of the target vehicle-mounted electronic manual is displayed on a second display interface, wherein the second display interface comprises the target vehicle-mounted electronic manual, the resource version information, the manual information and incremental updating data;
When the completion of the full-volume updating is detected, displaying the full-volume updating of the target vehicle-mounted electronic manual on a third display interface, wherein the third display interface comprises the target vehicle-mounted electronic manual, the resource version information, the manual information and full-volume updating data;
after the first display interface is displayed, the method further comprises:
Generating an execution log of an update process according to the update of the target vehicle-mounted electronic manual in response to the detection of the incomplete update;
and displaying a third display interface, wherein the third display interface comprises the execution log.
In a second aspect, the present application provides an updating system for an in-vehicle electronic manual, the system comprising:
The response determining module is used for responding to the resource upgrading request sent by the client and determining a target vehicle-mounted electronic manual according to manual information contained in the resource upgrading request;
the comparison module is used for acquiring the latest resource version information of the target vehicle-mounted electronic manual from the cloud and comparing the latest resource version information with the local resource version information;
And the updating module is used for executing updating aiming at the target vehicle-mounted electronic manual in different updating modes based on the comparison result and a predefined updating planning scheme.
In a third aspect, the present application also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program which, when executed by the processor, causes the processor to perform the method steps according to any of the first aspects.
The beneficial effects of the invention are as follows:
The method, the system and the electronic equipment for updating the vehicle-mounted electronic manual comprise the steps of responding to a resource upgrading request sent by a client, determining a target vehicle-mounted electronic manual according to manual information contained in the resource upgrading request, acquiring latest resource version information of the target vehicle-mounted electronic manual from a cloud, comparing the latest resource version information with local resource version information to identify whether the target vehicle-mounted electronic manual requesting resource upgrading is the latest resource version or not and the resource difference exists when the versions are inconsistent, and finally executing updating of the target vehicle-mounted electronic manual under different updating modes based on a comparison result and a predefined upgrading planning scheme. In the scheme, the updating mode comprises increment updating and full-quantity updating, and the increment updating and the full-quantity updating are combined to improve the efficiency and the safety of updating the vehicle electronic manual resources, so that the cost is effectively reduced, the user experience is improved, and the quality and the practicability of updating the vehicle electronic manual resources are improved.
In addition, the technical scheme adopted by the invention realizes the beneficial effects of higher efficiency, stronger safety, lower cost and better user experience:
1. The incremental update reduces transmission quantity and update time, and the local verification mechanism ensures the integrity of the update data and improves the update efficiency and the security.
2. The cost is reduced, the network bandwidth consumption and the updating time are reduced, the updating cost is reduced, and the electric quantity and the network cost of the user are saved.
3. The user experience is improved, the quick and stable updating process is realized, the waiting time of the user is reduced, the user experience is improved, and the trust feeling and satisfaction degree of the user on the vehicle electronic manual are enhanced.
4. And optimizing the storage of the vehicle-mounted machine, namely, updating the whole amount to remove old resources, realizing the volume optimization of the updated resource package, and realizing the optimization of the storage of the vehicle-mounted machine.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. Like elements or portions are generally identified by like reference numerals throughout the several figures. In the drawings, elements or portions thereof are not necessarily drawn to scale.
FIG. 1 is a flow chart of an updating method of a vehicle-mounted electronic manual provided by the invention;
Fig. 2 is a schematic structural diagram of an updating system of a vehicle-mounted electronic manual provided by the invention;
fig. 3 is a schematic structural diagram of an electronic device according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, the "plurality" generally includes at least two.
It should be understood that the term "and/or" as used herein is merely an association relationship describing the associated object, and means that there may be three relationships, e.g., a and/or B, and that there may be three cases where a exists alone, while a and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used in embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish one from another. For example, a first may also be referred to as a second, and similarly, a second may also be referred to as a first, without departing from the scope of embodiments of the application.
The words "if", as used herein, may be interpreted as "at" or "when" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of additional like elements in a commodity or device comprising the element.
In particular, the symbols and/or numerals present in the description, if not marked in the description of the figures, are not numbered.
The updating method, the updating system and the electronic equipment of the vehicle-mounted electronic manual provided by the embodiment of the application are mainly applied to a vehicle-mounted system. The method can be applied to the terminal, the server and a system comprising the terminal and the server, and is realized through interaction of the terminal and the server. The terminal may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and the like.
The updating method of the vehicle-mounted electronic manual aims at solving a plurality of problems existing in the flexible self-updating process of the vehicle electronic manual resources, and provides a new updating method by combining incremental updating and full updating by reference, so that the updating efficiency and the safety are improved, the cost is reduced, and the user requirements are met.
Meanwhile, a local verification mechanism is introduced aiming at the security problem of incremental update, so that the efficiency and the security of updating the vehicle electronic manual resources are improved. Therefore, the normative safety of the operation of the vehicle-mounted system is guaranteed while the user requirements are met, and the user experience is optimized.
Incremental update technique:
(1) Only partial data which changes is transmitted instead of the whole resource packet when updating each time, so that the data transmission quantity is reduced.
(2) The cloud end generates an incremental update package by comparing the resource difference of the local cloud end version, only transmits the update data to the vehicle, and reduces update time and network bandwidth consumption.
(3) The cloud needs to maintain a version control system where version control systems (e.g., G i t) can be used to manage the version of the delta package. Each time a new delta package is generated, the relevant changes may be committed and recorded in order to track the differences between each version.
(4) Version number management, namely distributing a unique version number for each incremental package, and adopting a semantical version number (SEMANT I C VERS I on i ng) rule to conveniently identify and manage the incremental package of each version.
Full-scale updating technology:
(1) The structure of the resources is changed, the old resources are mostly abandoned, when the change of the resources is large, the whole resources are required to be updated, the whole resource package is transmitted to the vehicle at one time, and the vehicle is ensured to have the latest version of resources.
(2) The full-quantity update is used as the supplement of the increment update, the integrity and the stability of the vehicle resources are guaranteed, the old resources are cleared after the update is successful, and the optimization of the in-vehicle storage resources is realized.
3. Local authentication mechanism:
(1) And the vehicle end adopts a local verification mechanism to verify the received update data, so that the integrity and the safety of the update package are ensured.
(2) The verification mechanism can comprise technical means such as hash verification, the same algorithm is used for calculating a hash value of the resource packet locally at the cloud, and the integrity is verified after the resource packet is downloaded, so that the data is prevented from being tampered or malicious codes are prevented from being injected.
Referring to fig. 1, an updating method of a vehicle-mounted electronic manual provided by an embodiment of the present invention includes:
S101, responding to a resource upgrading request sent by a client, and determining a target vehicle-mounted electronic manual according to manual information contained in the resource upgrading request;
s102, acquiring the latest resource version information of the target vehicle-mounted electronic manual from the cloud, and comparing the latest resource version information with the local resource version information;
and S103, updating the target vehicle-mounted electronic manual in different updating modes based on the comparison result and a predefined upgrading planning scheme.
In the above embodiment, the target vehicle-mounted electronic manual included in step S101 is a vehicle-mounted electronic manual stored in advance in a vehicle system;
the vehicle-mounted electronic manual comprises manual information and resource version information;
the manual information comprises vehicle type information and manual types;
The manual types comprise an operation manual, an operation and maintenance manual and a spare and accessory manual.
In the above embodiment, after receiving and responding to a resource upgrading request sent by a client, according to the type of a manual and vehicle type information contained in the resource upgrading request, a target vehicle-mounted electronic manual corresponding to the requirement of the client can be known through matching;
In the above embodiment, step S102, the obtaining, from the cloud, the latest resource version information of the target vehicle-mounted electronic manual, and comparing with the local resource version information include:
identifying whether the target vehicle-mounted electronic manual requesting resource upgrading is the latest resource version or not based on the information comparison of the latest resource version and the local resource version of the target vehicle-mounted electronic manual;
if the local resource version is inconsistent with the latest resource version, the local resource version is not the latest resource version, the resource difference inconsistent between the cloud end and the local version is obtained, and whether the data volume of the resource difference exceeds a preset threshold value is judged.
In the above embodiment, the upgrade planning scheme in step S103 is defined based on the resource update operation and maintenance condition;
the resource updating operation and maintenance conditions comprise user privacy, network conditions and equipment compatibility factors;
The upgrade planning scheme comprises an update record maintenance logic, a recovery mechanism and a local verification mechanism.
In the above embodiment, step S103, based on the comparison result and the predefined upgrade planning scheme, performing the updating of the target vehicle-mounted electronic manual in different updating modes includes:
Determining an updating mode based on a judging result of whether the data quantity of the resource difference exceeds a preset threshold value, and determining data to be updated according to the updating mode;
the updating modes comprise an increment updating mode and a full updating mode;
When the data quantity of the resource difference does not exceed a preset threshold value, determining that the current updating mode is an incremental updating mode;
When the data quantity of the resource difference exceeds a preset threshold value, determining that the current updating mode is a full updating mode;
In an incremental updating mode, generating an incremental package based on the resource difference of inconsistent cloud and local version, and distributing a unique version number for each incremental package;
In the updating process, a local verification mechanism is called to verify the integrity and the transmission state of the increment packet, and after verification is passed, an updating record maintenance logic is called to record the detailed information of each updating;
The updated detailed information comprises an increment package unique version number, updating time, updating content and related change records, wherein the related change records comprise a resource variable which is updated by the latest time of a target vehicle-mounted electronic manual compared with the last time;
and in the full-volume updating mode, acquiring the latest resource version from the cloud to generate a resource package, updating the target vehicle-mounted electronic manual, and clearing old resources after the updating is successful.
It will be appreciated that the update record maintenance logic helps track the update history, as well as facilitate rollback to older versions when problems occur. In addition, the update record maintenance logic includes a recovery mechanism to ensure that the system is able to recover to a steady state when problems are encountered during the update process. In addition, when the logic is predefined, factors such as user privacy, network conditions, device compatibility and the like need to be considered, so that the updating process is ensured to be safe and user-friendly.
In the foregoing embodiment, the checking the integrity and the transmission status of the incremental packet includes:
verifying the data integrity of the delta packet using the hash SHA-256;
After passing the integrity check, signature verification is performed to ensure that the source of the generated incremental package is trusted;
judging whether the incremental package is tampered or damaged in the transmission process;
If the situation of tampering or damage occurs in the transmission process, obtaining error information of the situation of tampering or damage of the incremental package in the transmission process, and re-regenerating the resource package and sending the resource package;
if tampering or damage occurs in the updating process, a recovery mechanism is started, so that the vehicle-mounted system is recovered to a stable state.
The method provided by the embodiment further comprises the following steps:
The updating condition is confirmed in response to the completion of updating the target vehicle-mounted electronic manual, and the updating condition comprises the steps of checking the integrity of updating data and updated resource version information;
When the updating fails, executing an error processing flow, wherein the error processing flow comprises a resource version before the rollback is tried, when the rollback fails, deleting the resource with the failed updating, and acquiring from the cloud again when entering next time;
and when the updating is successful, loading the corresponding display interface to display the related information.
In the foregoing embodiment, the loading the relevant information displayed on the corresponding display interface includes:
displaying a first display interface, wherein the first display interface comprises the update progress of the target vehicle-mounted electronic manual;
When the incremental updating is detected to be completed, the incremental updating of the target vehicle-mounted electronic manual is displayed on a second display interface, wherein the second display interface comprises the target vehicle-mounted electronic manual, the resource version information, the manual information and incremental updating data;
When the completion of the full-volume updating is detected, displaying the full-volume updating of the target vehicle-mounted electronic manual on a third display interface, wherein the third display interface comprises the target vehicle-mounted electronic manual, the resource version information, the manual information and full-volume updating data;
after the first display interface is displayed, the method further comprises:
Generating an execution log of an update process according to the update of the target vehicle-mounted electronic manual in response to the detection of the incomplete update;
and displaying a third display interface, wherein the third display interface comprises the execution log.
Optionally, based on the above examples, the following one specific implementation is provided showing how to combine incremental update and full update techniques to optimize the update process of vehicle electronic manual resources:
And the full quantity update is realized, namely the software ROM is updated, the change is larger, and the vehicle electronic manual resource is required to be updated in full quantity.
Incremental update, namely, the manual content is more, the vehicle electronic manual resource is updated in an incremental way, and only partial data which changes are transmitted.
The flow is as follows:
and the full-quantity updating is that the service end transmits the full-quantity resource package to the vehicle, and the vehicle downloads the full-quantity resource package for updating.
And the incremental updating step of generating an incremental updating packet by the server, determining a part to be updated according to the incremental version transmitted by the vehicle, transmitting the incremental updating packet to the vehicle, and downloading the incremental resource packet by the vehicle for updating.
After the vehicle receives the full-volume packet or the incremental update packet, the vehicle is verified through a local verification mechanism, so that the integrity and the safety of the update data are ensured.
After the vehicle finishes updating, the vehicle electronic manual resource is updated to the latest version.
In summary, based on the technical means of combining incremental updating and full updating provided by the above embodiment, a fast, efficient and safe vehicle electronic manual resource updating process can be realized, the updating cost is reduced, and the user experience is improved.
It follows that the above embodiments have been proposed to solve the following problems:
1. The method for updating the network bandwidth and time of the network is improved, and the updating efficiency is improved by combining incremental updating and full updating, so that the need of transmitting the whole resource packet for each updating is avoided, and the network bandwidth and time required by the updating are reduced.
2. The security is improved, namely the integrity and the security of the updated data are ensured by adopting the technical means such as a local verification mechanism, digital signature and the like, and hacking and data tampering are prevented.
3. The cost is reduced, the data transmission quantity and the time required by updating are reduced, the network cost and the electricity consumption of the user are saved, and the updating cost is reduced.
4. The user experience is improved, the updating speed is improved, the waiting time of the user is reduced, the user experience is improved, and meanwhile, the difficulty of maintenance and management is reduced.
For the purposes of simplicity of explanation, the method steps disclosed in the above embodiments are depicted as a series of acts in a combination, but it should be understood by those skilled in the art that the embodiments of the present invention are not limited by the order of acts described, as some steps may occur in other order or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Based on the same inventive concept, the embodiment of the application also provides an updating system of the vehicle-mounted electronic manual for realizing the updating method of the vehicle-mounted electronic manual. The implementation of the solution provided by the system is similar to the implementation described in the above method, so the specific limitation in the embodiment of the update system of one or more vehicle-mounted electronic manuals provided below may be referred to the limitation of the update method of the above vehicle-mounted electronic manual, and will not be repeated here. It will be appreciated that the above description of the method is equally applicable to the description of the system.
In one embodiment, an updating system of the vehicle-mounted electronic manual is also provided, and an embodiment of the present invention is described below with reference to the accompanying drawings. As shown in fig. 2, the system specifically includes:
A response determining module 210, configured to respond to a resource upgrade request sent by a client, and determine a target vehicle-mounted electronic manual according to manual information included in the resource upgrade request;
The comparison module 220 is configured to obtain the latest resource version information of the target vehicle-mounted electronic manual from the cloud, and compare the latest resource version information with the local resource version information;
the updating module 230 is configured to perform updating for the target vehicle-mounted electronic manual in different updating modes based on the comparison result and a predefined upgrade planning scheme.
It should be noted that, although only some basic functional modules are disclosed in the embodiments of the present invention, the composition of the present system is not limited to the above basic functional modules, but rather, the present embodiment is to be construed as meaning that one skilled in the art can add one or more functional modules to any combination of the above basic functional modules to form an infinite number of embodiments or technical solutions, that is, the present system is open and not closed, and the scope of protection of the claims of the present invention should not be considered to be limited to the disclosed basic functional modules because the present embodiment only discloses individual basic functional modules. Meanwhile, for convenience of description, the above devices are described as being functionally divided into various units and modules, respectively. Of course, the functions of the units, modules may be implemented in one or more pieces of software and/or hardware when implementing the invention.
As shown in fig. 3, the present invention further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus, and the memory stores a computer program, where the computer program, when executed by the processor, causes the processor to execute the steps of the method for processing a node setting conflict.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 3, the electronic device provided in the embodiment of the present invention includes one or more processors 310 and a storage device 320, where the processor 310 in the electronic device may be one or more, and in fig. 3, one processor 310 is taken as an example, and the storage device 320 is configured to store one or more programs, where the one or more programs are executed by the one or more processors 310, so that the one or more processors 310 implement a method for processing node configuration conflicts according to any one of the embodiments of the present invention.
The electronic device may further comprise input means 330 and output means 340.
The processor 310, the storage 320, the input 330 and the output 340 of the electronic device may be connected by a bus or other means, for example by a bus connection in fig. 3.
The storage 320 in the electronic device is used as a computer readable storage medium, and may be used to store one or more programs, which may be software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the method for setting conflict in the node provided in the embodiments of the present invention. The processor 310 executes various functional applications of the electronic device and data processing by running software programs, instructions and modules stored in the storage 320, i.e. implements the method of handling node setup conflicts in the above-described method embodiments.
The storage 320 may include a storage program area that may store an operating system, an application program required for at least one function, and a storage data area that may store data created according to the use of the electronic device, etc. In addition, storage 320 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, storage 320 may further include memory located remotely from processor 310, which may be connected to the device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 330 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. The output device 340 may include a display device such as a display screen.
The present invention also provides a computer-readable storage medium storing a computer program executable by an electronic device, which when run on the electronic device, causes the electronic device to perform the steps of a method of updating an in-vehicle electronic manual.
In particular, the computer storage media of embodiments of the present invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The invention also provides a vehicle provided with a vehicle body and an updating system of the vehicle-mounted electronic manual.
It should be noted that the above embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that the technical solution described in the above embodiments may be modified or some or all of the technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present invention.
Claims (10)
1. A method for updating an in-vehicle electronic manual, the method comprising:
Responding to a resource upgrading request sent by a client, and determining a target vehicle-mounted electronic manual according to manual information contained in the resource upgrading request;
acquiring the latest resource version information of the target vehicle-mounted electronic manual from the cloud, and comparing the latest resource version information with the local resource version information;
based on the comparison result and a predefined upgrade planning scheme, updating the target vehicle-mounted electronic manual in different updating modes is performed.
2. The method of claim 1, wherein the target in-vehicle electronic manual is a vehicle electronic manual stored locally in advance in a vehicle system;
the vehicle-mounted electronic manual comprises manual information and resource version information;
the manual information comprises vehicle type information and manual types;
The manual types comprise an operation manual, an operation and maintenance manual and a spare and accessory manual.
3. The method of claim 1, wherein the obtaining the latest resource version information of the target vehicle-mounted electronic manual from the cloud comprises comparing the latest resource version information with local resource version information:
identifying whether the target vehicle-mounted electronic manual requesting resource upgrading is the latest resource version or not based on the information comparison of the latest resource version and the local resource version of the target vehicle-mounted electronic manual;
if the local resource version is inconsistent with the latest resource version, the local resource version is not the latest resource version, the resource difference inconsistent between the cloud end and the local version is obtained, and whether the data volume of the resource difference exceeds a preset threshold value is judged.
4. The method of claim 3, wherein the upgrade planning scheme is defined based on resource update operation and maintenance conditions;
the resource updating operation and maintenance conditions comprise user privacy, network conditions and equipment compatibility factors;
The upgrade planning scheme comprises an update record maintenance logic, a recovery mechanism and a local verification mechanism.
5. The method of claim 4, wherein performing the updating of the target in-vehicle electronic manual in the different update modes based on the comparison and the predefined upgrade planning scheme comprises:
Determining an updating mode based on a judging result of whether the data quantity of the resource difference exceeds a preset threshold value, and determining data to be updated according to the updating mode;
the updating modes comprise an increment updating mode and a full updating mode;
When the data quantity of the resource difference does not exceed a preset threshold value, determining that the current updating mode is an incremental updating mode;
When the data quantity of the resource difference exceeds a preset threshold value, determining that the current updating mode is a full updating mode;
In an incremental updating mode, generating an incremental package based on the resource difference of inconsistent cloud and local version, and distributing a unique version number for each incremental package;
In the updating process, a local verification mechanism is called to verify the integrity and the transmission state of the increment packet, and after verification is passed, an updating record maintenance logic is called to record the detailed information of each updating;
The updated detailed information comprises an increment package unique version number, updating time, updating content and related change records, wherein the related change records comprise a resource variable which is updated by the latest time of a target vehicle-mounted electronic manual compared with the last time;
and in the full-volume updating mode, acquiring the latest resource version from the cloud to generate a resource package, updating the target vehicle-mounted electronic manual, and clearing old resources after the updating is successful.
6. The method of claim 5, wherein verifying the integrity and transmission status of the delta packet comprises:
verifying the data integrity of the delta packet using the hash SHA-256;
After passing the integrity check, signature verification is performed to ensure that the source of the generated incremental package is trusted;
judging whether the incremental package is tampered or damaged in the transmission process;
If the situation of tampering or damage occurs in the transmission process, obtaining error information of the situation of tampering or damage of the incremental package in the transmission process, and re-regenerating the resource package and sending the resource package;
if the situation of tampering or damage occurs in the updating process, a recovery mechanism is started, so that the vehicle-mounted system is recovered to a stable state.
7. The method of claim 1, wherein the method further comprises:
The updating condition is confirmed in response to the completion of updating the target vehicle-mounted electronic manual, and the updating condition comprises the steps of checking the integrity of updating data and updated resource version information;
When the updating fails, executing an error processing flow, wherein the error processing flow comprises a resource version before the rollback is tried, when the rollback fails, deleting the resource with the failed updating, and acquiring from the cloud again when entering next time;
and when the updating is successful, loading the corresponding display interface to display the related information.
8. The method of claim 7, wherein loading the corresponding presentation interface display related information comprises:
displaying a first display interface, wherein the first display interface comprises the update progress of the target vehicle-mounted electronic manual;
When the incremental updating is detected to be completed, the incremental updating of the target vehicle-mounted electronic manual is displayed on a second display interface, wherein the second display interface comprises the target vehicle-mounted electronic manual, the resource version information, the manual information and the incremental updating data;
When the completion of the full-volume updating is detected, displaying the full-volume updating of the target vehicle-mounted electronic manual on a third display interface, wherein the third display interface comprises the target vehicle-mounted electronic manual, the resource version information, the manual information and the full-volume updating data;
after the first display interface is displayed, the method further comprises:
Generating an execution log of an update process according to the update of the target vehicle-mounted electronic manual in response to the detection of the incomplete update;
and displaying a third display interface, wherein the third display interface comprises the execution log.
9. An update system for an in-vehicle electronic manual, the system comprising:
The response determining module is used for responding to the resource upgrading request sent by the client and determining a target vehicle-mounted electronic manual according to manual information contained in the resource upgrading request;
the comparison module is used for acquiring the latest resource version information of the target vehicle-mounted electronic manual from the cloud and comparing the latest resource version information with the local resource version information;
And the updating module is used for executing updating aiming at the target vehicle-mounted electronic manual in different updating modes based on the comparison result and a predefined updating planning scheme.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the method steps of any of claims 1-8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411164702.3A CN119095028A (en) | 2024-08-23 | 2024-08-23 | A vehicle-mounted electronic manual updating method, system and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411164702.3A CN119095028A (en) | 2024-08-23 | 2024-08-23 | A vehicle-mounted electronic manual updating method, system and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN119095028A true CN119095028A (en) | 2024-12-06 |
Family
ID=93692109
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411164702.3A Pending CN119095028A (en) | 2024-08-23 | 2024-08-23 | A vehicle-mounted electronic manual updating method, system and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN119095028A (en) |
-
2024
- 2024-08-23 CN CN202411164702.3A patent/CN119095028A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8108536B1 (en) | Systems and methods for determining the trustworthiness of a server in a streaming environment | |
| CN108418787B (en) | Method for acquiring enterprise resource planning data, terminal device and medium | |
| US9632765B1 (en) | Customized application package with context specific token | |
| US10516526B2 (en) | Data transmitting method, server and client | |
| US11379216B2 (en) | Software update agent device and software patching method through the same | |
| CN109857423B (en) | Program version update method, device, server and readable storage medium | |
| CN109391673A (en) | A kind of method, system and the terminal device of management update file | |
| CN106201607A (en) | The upgrade method of a kind of software version and equipment | |
| CN105389177A (en) | Software version confirmation method, device and system | |
| CN109995523B (en) | Activation code management method and device and activation code generation method and device | |
| KR20130012929A (en) | Method and system for efficient download of data package | |
| CN106709281B (en) | Patch granting and acquisition methods, device | |
| CN111182527B (en) | OTA (over the air) firmware upgrading method and device, terminal equipment and storage medium thereof | |
| CN106886436A (en) | A kind of method and apparatus of android system upgrading | |
| CN112866195B (en) | Agile data transmission method and device, computer equipment and storage medium | |
| CN107766064A (en) | The method and device of component upgrade | |
| CN103179124A (en) | Method for authenticating third-party application, mobile terminal and cloud server | |
| CN111158729A (en) | System upgrading method, device, equipment and storage medium | |
| CN113986296A (en) | Firmware upgrading method and device, electronic equipment and storage medium | |
| CN112468511B (en) | File transmission method and device | |
| CN111221556B (en) | Remote upgrade RSU mirror image method and system | |
| CN118368308B (en) | Remote upgrade method and system for electric vehicle controller | |
| CN109408098A (en) | Dynamic updating method, system, electronic equipment and the storage medium of application | |
| CN119095028A (en) | A vehicle-mounted electronic manual updating method, system and electronic equipment | |
| CN113037850A (en) | Application program upgrading method and device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |