CN116775079A - Vehicle part refreshing method and device, electronic equipment and storage medium - Google Patents

Vehicle part refreshing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116775079A
CN116775079A CN202310787958.9A CN202310787958A CN116775079A CN 116775079 A CN116775079 A CN 116775079A CN 202310787958 A CN202310787958 A CN 202310787958A CN 116775079 A CN116775079 A CN 116775079A
Authority
CN
China
Prior art keywords
vehicle
refreshing
package
vehicle part
brushing
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
Application number
CN202310787958.9A
Other languages
Chinese (zh)
Inventor
胡舒瀚
钟月华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202310787958.9A priority Critical patent/CN116775079A/en
Publication of CN116775079A publication Critical patent/CN116775079A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The application relates to a vehicle part refreshing method, a device, electronic equipment and a storage medium, wherein the vehicle part refreshing method comprises the following steps: when detecting that a plurality of vehicle parts are accessed and requesting to be written, acquiring part information of the plurality of vehicle parts; acquiring a refreshing packet corresponding to the part information of each vehicle part from the server; respectively deploying a plurality of the brushing packages into the corresponding vehicle parts; and sending a brushing instruction to each vehicle part so that the vehicle part uses the brushing package to brush and cover the original program. The embodiment of the application can realize the upgrade and the brush-writing of a large number of parts with different types at the same time, simplify the upgrade and the brush-writing flow of the vehicle parts, improve the brush-writing efficiency, ensure that the obtained brush-writing packet is matched with the brush-writing packet used by the expected brush-writing, and improve the brush-writing accuracy of the vehicle parts.

Description

Vehicle part refreshing method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of software refreshing, in particular to a vehicle part refreshing method, a device, electronic equipment and a storage medium.
Background
With the rapid development of the automobile industry, software on automobiles is more and more important for automobiles; meanwhile, the complexity of the software is higher and the updating iteration period is shorter and shorter, and for automobile manufacturers, different software is operated on different parts, and all parts are well matched to ensure normal functions of the automobile; however, the number of parts is large, the types are many, the management of the software version of each part is difficult, mismatching between the software of the part and the expected is easy to cause, and the assembly and the normal delivery of the automobile are affected.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a vehicle part brushing method, a device, electronic equipment and a storage medium.
In a first aspect, the present application provides a vehicle component part refreshing method, including:
when detecting that a plurality of vehicle parts are accessed and requesting to be written, acquiring part information of the plurality of vehicle parts;
acquiring a refreshing packet corresponding to the part information of each vehicle part from the server;
respectively deploying a plurality of the brushing packages into the corresponding vehicle parts;
and sending a brushing instruction to each vehicle part so that the vehicle part uses the brushing package to brush and cover the original program.
Optionally, obtaining, from the server, a brushwrite packet corresponding to the part information of each of the vehicle parts, including:
sending a part upgrading request to a server;
if a part upgrading response from the server is received, a first communication link is established with the server;
if a part information acquisition request from the server is received, sending a refreshing package downloading request to the server through the first communication link, wherein the refreshing package downloading request comprises part information of a plurality of vehicle parts;
and receiving a refreshing package downloading response from the server, wherein the refreshing package downloading response comprises refreshing packages corresponding to the part information of each vehicle part.
Optionally, the method further comprises:
acquiring part information of the accessed vehicle parts;
if the vehicle part is determined to be in a non-version state according to the part information, the vehicle part is written into a factory version;
if the version of the vehicle part is determined according to the part information, performing over-the-air technology upgrading, refreshing and pre-detecting;
if the detection is passed, a step of respectively deploying a plurality of the brushing packages into the corresponding vehicle parts can be executed;
and if the detection is not passed, the vehicle part is written into a factory version.
Optionally, before deploying the plurality of the brush packages into the corresponding vehicle parts, the method further includes:
carrying out integrity check on each brushing package;
if the verification is passed, deploying the brushing package into the corresponding vehicle part;
if the verification is not passed and the current downloading times of the refreshing package is smaller than the preset downloading times, downloading the refreshing package again;
if the verification is not passed and the current downloading times of the writing package is larger than or equal to the preset downloading times, judging that the writing package is abnormally downloaded and recording a log.
Optionally, disposing the plurality of the brush packages into the corresponding vehicle parts respectively includes:
transmitting the corresponding brushing package to each vehicle part;
determining whether there is a transmission failure of the brush packet;
if no transmission failure refreshing packet exists, executing a step of sending refreshing instructions to all the vehicle parts;
if the transmission failure of the refreshing packet exists and the current transmission times of the refreshing packet are smaller than the preset transmission times, the refreshing packet is transmitted again;
if there is a transmission failure of the refresh packet and the current transmission times of the refresh packet is greater than or equal to the preset transmission times, determining that the refresh packet is abnormal in transmission and recording a log.
Optionally, before sending the brushing instruction to each of the vehicle parts, the method further includes:
backing up the brush package corresponding to each vehicle part;
after sending a flashing instruction to each of the vehicle parts, determining whether each of the vehicle parts successfully overwrites an original program with the flashing package;
and if any vehicle part fails to overwrite the original program by using the overwrite package, sending a version rollback instruction to the vehicle part so as to enable the vehicle part to carry out version rollback.
Optionally, the method further comprises:
if the original program is successfully overwritten by the overwriting package, sending a version inquiry and a basic command to each vehicle part so as to enable the vehicle part to return a response;
if the response content returned by any vehicle part is matched with the preset content, determining that the vehicle part is successfully written;
if the response content returned by any vehicle part is not matched with the preset content, determining that the vehicle part fails to be written and recording a log.
In a second aspect, the present application provides a vehicle component part writing apparatus, comprising:
the first acquisition module is used for acquiring part information of a plurality of vehicle parts when detecting that the vehicle parts are accessed and requesting to be written;
a second acquisition module, configured to acquire, from the server, a brushwrite packet corresponding to the part information of each of the vehicle parts;
the deployment module is used for respectively deploying the plurality of the brushing packages into the corresponding vehicle parts;
and the sending module is used for sending a brushing instruction to each vehicle part so that the vehicle part uses the brushing package to brush and cover the original program.
In a third aspect, the present application 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;
a memory for storing a computer program;
and the processor is used for realizing the vehicle part refreshing method according to any one of the first aspect when executing the program stored in the memory.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a vehicle part swiping method program which when executed by a processor implements the steps of any one of the vehicle part swiping methods of the first aspect.
The application has the beneficial effects that:
according to the embodiment of the application, the update and the writing of a large number of parts of different types can be realized simultaneously by simultaneously acquiring the writing packages corresponding to the part information of the vehicle parts from the server according to the part information of the vehicle parts, the update and writing flow of the vehicle parts is simplified, the writing efficiency is improved, and the acquired writing packages for each vehicle part are corresponding to the vehicle part information, so that the acquired writing packages are matched with the writing packages used by the expected writing, and the accuracy of the writing of the vehicle parts is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a system architecture diagram in practical application provided in an embodiment of the present application;
FIG. 2 is a flowchart of a method for refreshing vehicle components according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a screen of an industrial personal computer according to an embodiment of the present application;
FIG. 4 is a block diagram of a vehicle component writing device according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. 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.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. 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.
Because the number of the automobile parts is large, the types are multiple, the management of the software version of each part is difficult, mismatching between the software of the part and the expected is easy to cause, and the assembly and the normal delivery of the automobile are affected. Therefore, the embodiment of the application provides a vehicle part brushing method, a device, electronic equipment and a storage medium. The application can utilize the link of the Over-the-Air Technology (OTA) upgrade channel to establish a software flow which can upgrade parts in large quantities. Wherein the over-the-air technology link comprises: version collection (denoted as a), installation package download (denoted as B), installation package deployment (denoted as C), installation package installation (denoted as D), upgrade information synchronization (denoted as E), and flush status check (F), i.e., the execution of the sequence of ABCDEF, flush parts by upgrades.
And establishing a refreshing pipeline for refreshing a large number of vehicle parts based on the upgrading link of the air downloading technology.
As shown in fig. 1, a network link is first configured on a production line to support wired or wireless modes. The network link accesses the server and the production line. The servers may implement data interactive communications over network links and pipelines.
And then, arranging an industrial personal computer, wherein processing logic for brushing parts is realized in the industrial personal computer, and the industrial personal computer is connected to a server through a network link on one hand and is connected to a production line and the parts through a wire harness on the other hand. One industrial personal computer can be simultaneously connected with a plurality of parts and execute operations in parallel.
And then storing the software upgrade package (the upgrade package is matched with each part) which is written by all the parts on the server. All the upgrade packages can be called and transmitted to the industrial personal computer through the network link, and then the industrial personal computer is transmitted to each device on the production line. The industrial personal computer on the assembly line is a control center, the upper part of the control center is connected with the server, and the lower part of the control center is connected with parts on the assembly line. The industrial personal computer plays a role of writing the version brush to the parts. The industrial personal computer is provided with a Master control node (hereinafter referred to as a Master) and a slave node (hereinafter referred to as a Submaster), and the Master controls the whole upgrade and brush call flow and the Submaster. The Submaster directly communicates with the parts, and the Submaster realizes the upgrade and the brush writing of the parts.
In practical application, network cables can be arranged at fixed places (such as places for testing independent machine rooms and the like), including wired optical cables and wireless routes, access to a network, and a gateway is set to form an independent network domain, so that a public network cannot be accessed. Constructing server resources and accessing the constructed independent network domain; and arranging a vehicle part brushing industrial personal computer, and arranging Master and subMaster programs in the industrial personal computer. And arranging a circuit line for other electric equipment such as an industrial personal computer, brushing part equipment, a server and the like. Thus, the hardware environment is built.
Next, a vehicle component part writing environment is configured. Parts to be brushed are prepared. Preparing an A-type part a piece, a B-type part B piece, a C-type part C piece, a D-type part D piece, an E-type part E piece and an F-type part F piece. And sequentially connecting all the parts into the industrial personal computer according to the sequence of A-F, and selecting a part initializing module by the industrial personal computer.
Firstly, after the parts are connected, the Master detects the behavior and sends a control command to the Submaster to start the brushing flow. After the Submaster receives the control command sent by the Master, the execution of the brushing flow is started.
The vehicle part refreshing method provided by the application can be applied to an industrial personal computer, and as shown in fig. 2, the vehicle part refreshing method can comprise the following steps:
step S101, when detecting that a plurality of vehicle parts are accessed and request to be written, acquiring part information of the plurality of vehicle parts;
in the embodiment of the application, the vehicle parts can refer to parts needing software refreshing in the vehicle, the refreshing is updated, and the part information comprises: software and hardware version information, numbers of vehicle parts, upgrading batches and the like.
Step S102, acquiring a refreshing packet corresponding to the part information of each vehicle part from the server;
in one embodiment of the present application, acquiring, from the server, a brushwrite packet corresponding to the part information of each of the vehicle parts, includes:
the method comprises the steps that a part upgrading request is sent to a server, and after the server receives the part upgrading request, part upgrading response is returned to an industrial personal computer;
if a part upgrading response from the server is received, a first communication link is established with the server;
if a part information acquisition request from the server is received, sending a refreshing package downloading request to the server through the first communication link, wherein the refreshing package downloading request comprises part information of a plurality of vehicle parts;
and receiving a refreshing package downloading response from the server, wherein the refreshing package downloading response comprises refreshing packages corresponding to the part information of each vehicle part.
Step S103, respectively deploying a plurality of the brushing packages into the corresponding vehicle parts;
after the industrial personal computer receives the brushing package, the brushing packages can be respectively sent to corresponding vehicle parts, so that the vehicle parts can be conveniently brushed by the brushing package.
Step S104, a brushing instruction is sent to each vehicle part, so that the vehicle part uses the brushing package to brush and cover the original program.
According to the embodiment of the application, the update and the writing of a large number of parts of different types can be realized simultaneously by simultaneously acquiring the writing packages corresponding to the part information of the vehicle parts from the server according to the part information of the vehicle parts, the update and writing flow of the vehicle parts is simplified, the writing efficiency is improved, and the acquired writing packages for each vehicle part are corresponding to the vehicle part information, so that the acquired writing packages are matched with the writing packages used by the expected writing, and the accuracy of the writing of the vehicle parts is improved.
In yet another embodiment of the present application, before step S103, the method further includes:
firstly, acquiring part information of an accessed vehicle part;
secondly, if the vehicle part is determined to be in a non-version state according to the part information, the vehicle part is written into a factory version;
thirdly, if the part version information is empty and the server does not have the version of the part, directly refreshing the part into a pre-refreshing version, namely a factory version;
or if the version matched with the part is not found in the server, judging that the part is wrong, packaging and storing the part model, the hardware version, the software version, the unique part identification code and the error code into a cache, and uniformly feeding back to the industrial personal computer visual interface and the server < log storage directory > (recorded as a storage path of a log file) after all the parts are updated (success or failure).
Thirdly, if the version of the vehicle part is determined according to the part information, performing over-the-air technology upgrading, brushing and pre-detection;
if the current software version is lower than the pre-refreshing version and the current software version and the pre-refreshing version belong to the same iteration branch, judging that the part needs to be refreshed;
or if the current software version is the same as the pre-written version and the current software version and the pre-written version belong to the same iteration branch, judging that the part does not need updating and writing;
or if the current software version is higher than the pre-refreshing version and the current software version and the pre-refreshing version belong to the same iteration branch, judging that the part needs updating and refreshing;
or if the current software version and the pre-written version do not belong to the same iteration branch, judging that the part needs to be updated and written;
if the detection is passed, a step of respectively deploying a plurality of the brushing packages into the corresponding vehicle parts can be executed;
and finally, if the detection is not passed, the vehicle part is written into a factory version.
After all parts are detected, an initialization result is displayed on an industrial personal computer page, and a log is stored in a storage path of a log file of a log storage directory to prepare batch refreshing.
In yet another embodiment of the present application, before deploying the plurality of the brush packages into the corresponding vehicle parts in step S103, the method further includes:
firstly, carrying out integrity check on each brushing package; in the embodiment of the application, the file integrity check can be performed through the sha 256;
secondly, if the verification is passed, deploying the brushing package into the corresponding vehicle part;
thirdly, if the verification is not passed and the current downloading times of the refreshing package is smaller than the preset downloading times, downloading the refreshing package again;
and finally, if the verification is not passed and the current downloading times of the refreshing package is greater than or equal to the preset downloading times, judging that the refreshing package is abnormally downloaded and recording a log.
That is, if the verification is not passed, the bundle is downloaded again, and the preset download times are downloaded repeatedly at most, for example: and 3 times, exceeding the preset downloading times, judging that the downloading of the refreshing package is abnormal, and recording the log into a storage path of the log file.
In yet another embodiment of the present application, step S103 of deploying a plurality of the brush packages into the corresponding vehicle parts respectively includes:
firstly, transmitting corresponding brushing packets to each vehicle part;
secondly, determining whether a transmission failure brushing packet exists;
if no transmission failure refreshing packet exists, executing a step of sending refreshing instructions to all the vehicle parts;
if the transmission failure of the refreshing packet exists and the current transmission times of the refreshing packet are smaller than the preset transmission times, the refreshing packet is transmitted again;
and finally, if the transmission failure of the refreshing package exists and the current transmission times of the refreshing package is larger than or equal to the preset transmission times, judging that the refreshing package is abnormal in transmission and recording a log.
The embodiment of the application can enter the installation package deployment stage after all the brush package downloads are completed. Uniformly scheduling by the Master of the industrial personal computer, and scheduling the Submaster in the industrial personal computer to deploy all the downloaded and verified brush-written packages into corresponding parts; if the transmission fails, the transmission is repeated, and the preset transmission times are repeated at most, for example: and 3 times, exceeding the preset transmission times, judging that the transmission of the part refreshing package has a problem, and recording the log into a storage path of the log file.
In yet another embodiment of the present application, before the step S104 of sending the brushing instruction to each of the vehicle parts, the method further includes:
firstly, backing up the brush writing package corresponding to each vehicle part;
secondly, after a brushing instruction is sent to each vehicle part, determining whether each vehicle part successfully uses the brushing package to brush and cover an original program;
and finally, if any vehicle part fails to cover the original program by using the flashing package, sending a version rollback instruction to the vehicle part so as to enable the vehicle part to carry out version rollback.
After the deployment of the installation package is completed, the Submaster sends a brushing instruction to the parts, and the brushing package is used for brushing and writing the original program in the covered parts. Before brushing, the Submaster backs up the existing programs in the parts; if the flushing fails, the corresponding backup program is used for carrying out the recoiling rollback flushing on the parts. In order to prevent the abnormal brick change of the equipment caused by multiple writing-version rollback, only one writing-back task is executed, and if writing-back fails, after version rollback is continued, the abnormal log is recorded into the storage path of the log file. The progress can be displayed on the industrial personal computer in a visual form during the whole installation period of the upgrade package.
Next, upgrade information synchronization is performed. And updating the installation state of the all parts and components in real time, and displaying the installation state on the screen of the industrial personal computer in a visual progress bar mode (shown in fig. 3).
In yet another embodiment of the present application, the method further comprises:
firstly, if the original program is successfully overwritten by the overwriting package, sending a version inquiry and a basic command to each vehicle part so as to enable the vehicle part to return a response;
secondly, if the response content returned by any vehicle part is matched with the preset content, determining that the vehicle part is successfully written;
and finally, if the response content returned by any vehicle part is not matched with the preset content, determining that the vehicle part fails to be written and recording a log.
After the industrial personal computer displays that the brushing of all the parts is finished, the brushing state inspection is executed, the industrial personal computer Master issues an inspection instruction to the Submaster of the industrial personal computer, and then the Submaster sends version inquiry and basic commands to all the parts, and the parts are returned. If the reply result is consistent with the expected result, the successful refreshing of the refreshing package is indicated, and if the reply result is failed, the log is recorded into a storage path of the log file.
The process of the brushing is presented in a visual form in the industrial personal computer (as shown in fig. 3), and a user can look up the brushing progress in the industrial personal computer in real time; if errors occur in the middle, the errors are presented to a user in a popup window mode; if the execution is completed, the execution success is prompted. After the task is completed, the parts can be detached.
And finally, checking the visual execution state of the industrial personal computer and the log content of the storage path directory of the log file, and finishing the refreshing of the parts after finishing the data.
In still another embodiment of the present application, there is also provided a vehicle component brushing apparatus, as shown in fig. 4, including:
a first obtaining module 11, configured to obtain part information of a plurality of vehicle parts when detecting that the plurality of vehicle parts are connected and requesting to be written;
a second acquisition module 12 for acquiring, from the server, a brushwrite packet corresponding to the part information of each of the vehicle parts;
a deployment module 13, configured to deploy the plurality of the brushwrite packages to the corresponding vehicle parts respectively;
and the sending module 14 is used for sending a brushing instruction to each vehicle part so that the vehicle part uses the brushing package to brush and cover the original program.
In yet another embodiment of the present application, there is provided an electronic device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the vehicle part refreshing method according to any method embodiment when executing the program stored in the memory.
According to the electronic equipment provided by the embodiment of the application, the processor can realize the upgrade and the refresh of a large number of parts with different types at the same time by executing the program stored in the memory and simultaneously acquiring the refresh packet corresponding to the part information of the plurality of vehicle parts from the server according to the part information of the plurality of vehicle parts, so that the upgrade and the refresh flow of the vehicle parts is simplified, the refresh efficiency is improved, and the acquired refresh packet for each vehicle part corresponds to the part information of the vehicle part, so that the acquired refresh packet is matched with the refresh packet used by the expected refresh, and the refresh accuracy of the vehicle parts is improved.
The communication bus 1140 mentioned above for the electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industrial Standard Architecture (EISA) bus, etc. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 5, but not only one bus or one type of bus.
The communication interface 1120 is used for communication between the electronic device and other devices described above.
The memory 1130 may include Random Access Memory (RAM) or non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor 1110 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSP), application Specific Integrated Circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored thereon a vehicle part swiping method program which when executed by a processor implements the steps of the vehicle part swiping method of any of the preceding method embodiments.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, 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 process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of refreshing vehicle components, comprising:
when detecting that a plurality of vehicle parts are accessed and requesting to be written, acquiring part information of the plurality of vehicle parts;
acquiring a refreshing packet corresponding to the part information of each vehicle part from a server;
respectively deploying a plurality of the brushing packages into the corresponding vehicle parts;
and sending a brushing instruction to each vehicle part so that the vehicle part uses the brushing package to brush and cover the original program.
2. The vehicle component flashing method of claim 1, wherein obtaining, from the server, a flashing packet corresponding to the component information of each of the vehicle components, comprises:
sending a part upgrading request to a server;
if a part upgrading response from the server is received, a first communication link is established with the server;
if a part information acquisition request from the server is received, sending a refreshing package downloading request to the server through the first communication link, wherein the refreshing package downloading request comprises part information of a plurality of vehicle parts;
and receiving a refreshing package downloading response from the server, wherein the refreshing package downloading response comprises refreshing packages corresponding to the part information of each vehicle part.
3. The vehicle component painting method according to claim 1, characterized in that the method further comprises:
acquiring part information of the accessed vehicle parts;
if the vehicle part is determined to be in a non-version state according to the part information, the vehicle part is written into a factory version;
if the version of the vehicle part is determined according to the part information, performing over-the-air technology upgrading, refreshing and pre-detecting;
if the detection is passed, a step of respectively deploying a plurality of the brushing packages into the corresponding vehicle parts can be executed;
and if the detection is not passed, the vehicle part is written into a factory version.
4. The vehicle component flashing method of claim 1, wherein prior to deploying the plurality of flashing packages into the corresponding vehicle components, respectively, the method further comprises:
carrying out integrity check on each brushing package;
if the verification is passed, deploying the brushing package into the corresponding vehicle part;
if the verification is not passed and the current downloading times of the refreshing package is smaller than the preset downloading times, downloading the refreshing package again;
if the verification is not passed and the current downloading times of the writing package is larger than or equal to the preset downloading times, judging that the writing package is abnormally downloaded and recording a log.
5. The vehicle component flashing method of claim 1, wherein deploying a plurality of the flashing packages into the corresponding vehicle components, respectively, comprises:
transmitting the corresponding brushing package to each vehicle part;
determining whether there is a transmission failure of the brush packet;
if no transmission failure refreshing packet exists, executing a step of sending refreshing instructions to all the vehicle parts;
if the transmission failure of the refreshing packet exists and the current transmission times of the refreshing packet are smaller than the preset transmission times, the refreshing packet is transmitted again;
if there is a transmission failure of the refresh packet and the current transmission times of the refresh packet is greater than or equal to the preset transmission times, determining that the refresh packet is abnormal in transmission and recording a log.
6. The vehicle component painting method according to claim 1, characterized in that before the transmission of the painting instruction to each of the vehicle components, the method further comprises:
backing up the brush package corresponding to each vehicle part;
after sending a flashing instruction to each of the vehicle parts, determining whether each of the vehicle parts successfully overwrites an original program with the flashing package;
and if any vehicle part fails to overwrite the original program by using the overwrite package, sending a version rollback instruction to the vehicle part so as to enable the vehicle part to carry out version rollback.
7. The vehicle component painting method according to claim 6, characterized in that the method further comprises:
if the original program is successfully overwritten by the overwriting package, sending a version inquiry and a basic command to each vehicle part so as to enable the vehicle part to return a response;
if the response content returned by any vehicle part is matched with the preset content, determining that the vehicle part is successfully written;
if the response content returned by any vehicle part is not matched with the preset content, determining that the vehicle part fails to be written and recording a log.
8. A vehicle component part flashing device, comprising:
the first acquisition module is used for acquiring part information of a plurality of vehicle parts when detecting that the vehicle parts are accessed and requesting to be written;
the second acquisition module is used for acquiring the refreshing package corresponding to the part information of each vehicle part from the server;
the deployment module is used for respectively deploying the plurality of the brushing packages into the corresponding vehicle parts;
and the sending module is used for sending a brushing instruction to each vehicle part so that the vehicle part uses the brushing package to brush and cover the original program.
9. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method for refreshing vehicle parts according to any one of claims 1 to 7 when executing a program stored in a memory.
10. A computer readable storage medium, wherein a vehicle part swiping method program is stored on the computer readable storage medium, and when executed by a processor, the vehicle part swiping method program implements the steps of the vehicle part swiping method of any one of claims 1-7.
CN202310787958.9A 2023-06-29 2023-06-29 Vehicle part refreshing method and device, electronic equipment and storage medium Pending CN116775079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310787958.9A CN116775079A (en) 2023-06-29 2023-06-29 Vehicle part refreshing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310787958.9A CN116775079A (en) 2023-06-29 2023-06-29 Vehicle part refreshing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116775079A true CN116775079A (en) 2023-09-19

Family

ID=87992798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310787958.9A Pending CN116775079A (en) 2023-06-29 2023-06-29 Vehicle part refreshing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116775079A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117092958A (en) * 2023-10-17 2023-11-21 浙江正泰中自控制工程有限公司 Multi-platform controller synchronization method of software defined hardware
CN117193603A (en) * 2023-10-18 2023-12-08 镁佳(北京)科技有限公司 Upgrade progress display method and device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117092958A (en) * 2023-10-17 2023-11-21 浙江正泰中自控制工程有限公司 Multi-platform controller synchronization method of software defined hardware
CN117092958B (en) * 2023-10-17 2024-01-12 浙江正泰中自控制工程有限公司 Multi-platform controller synchronization method of software defined hardware
CN117193603A (en) * 2023-10-18 2023-12-08 镁佳(北京)科技有限公司 Upgrade progress display method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN116775079A (en) Vehicle part refreshing method and device, electronic equipment and storage medium
US9940225B2 (en) Automated error checking system for a software application and method therefor
CN106802814A (en) For the method and device of software release upgrade
CN109977008B (en) Method and terminal for making JS code depended on by application program compatible with native library
CN114880220B (en) Development system and method of vehicle automatic driving software
CN109614109B (en) Application deployment method, device and system
CN106648762B (en) Method and device for building development environment
CN105045671B (en) The method for upgrading system and device of a kind of intelligent terminal
CN116257438A (en) Updating method of interface test case and related equipment
CN114675855A (en) Vehicle software remote upgrading method and device and platform equipment
CN107590064A (en) A kind of application upgrade method of testing, device and system
CN117041111A (en) Vehicle cloud function test method and device, electronic equipment and storage medium
CN109144524B (en) Version release method of subject game on education platform and electronic equipment
CN116483409A (en) Remote firmware updating method, system, electronic equipment and storage medium
CN115118577A (en) Method and device for determining remote upgrade abnormal reason, electronic equipment and storage medium
CN115437910A (en) Vehicle offline detection method and device, vehicle, management equipment and storage medium
CN114003250A (en) Software deployment method and device
KR101123685B1 (en) System and method for upgrading program in terminal with dynamic software upgrade technology
CN113377468A (en) Script execution method and device, electronic equipment and storage medium
CN114115813B (en) Plug-in development method and device for Web application, electronic equipment, medium and program
CN115509912A (en) Firmware upgrade test method and device, intelligent terminal and readable storage medium
CN118132120B (en) Service system updating method and device, electronic equipment and storage medium
CN112597030B (en) Task release method and device, execution method and device and system
CN112817623B (en) Method and device for publishing application program, mobile terminal and readable storage medium
CN117608612A (en) EPS software system with software bootstrap program remote upgrade function

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