Vehicle part upgrading method and system and electronic equipment

Through consistency detection and authorization verification methods, the safety hazards during vehicle parts replacement and upgrading are solved, ensuring the safety and compatibility of component replacement and upgrading, and avoiding illegal behaviors.

CN119127252APending Publication Date: 2024-12-13CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411221246.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

There are safety risks in the replacement and upgrading of existing vehicle parts, which may lead to poor signal transmission, delayed response, functional conflicts or system crashes, and illegal replacement or upgrades increase the risk of traffic accidents.

Method used

By obtaining the warehousing and vehicle-related information of parts, conducting consistency inspections to determine the replacement and upgrade status, generating software packages and verifying, ensuring that the replacement and upgrade behavior of parts is officially authorized, and strict control is used on the server-side system .

Benefits of technology

Improve the safety of parts when replacing and upgrading, avoid unauthorized replacement or upgrade behavior without official authorization, and ensure compatibility and stability of parts and vehicle systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127252A_ABST
    Figure CN119127252A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle upgrading, and discloses a vehicle part upgrading method and system and electronic equipment. According to the method, consistency detection is carried out on the vehicle parts needing to be replaced according to the storage related information, the replacement state of the vehicle parts is determined according to the obtained first detection result, the vehicle related information of the vehicle parts is updated after the parts are replaced, meanwhile, consistency detection is carried out on the vehicle parts needing to be upgraded according to the vehicle related information, and the upgrading efficiency of the vehicle parts is improved. The upgrading state of the vehicle part is determined according to the obtained second detection result, consistency detection is carried out through storage related information to achieve official authorization of the part changing behavior, consistency detection is carried out through vehicle related information to achieve official authorization of the upgrading behavior, and therefore part changing and part upgrading are strictly controlled, and the upgrading efficiency is improved. The safety of the parts during replacement and upgrading is improved, and the situation that the parts are arbitrarily replaced or upgraded without official official authorization is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle upgrading, and in particular to a vehicle component upgrading method, system and electronic equipment. Background Art

[0002] With the continuous intelligence and networking of automobile technology, the complexity of vehicles has increased dramatically, especially driven by the Advanced Driver Assistance System (ADAS) and future fully automatic driving (AD) technology. The components and software systems inside the car are intertwined to form a highly integrated comprehensive system. This development trend has greatly improved the level of automobile intelligence and driving convenience, but it has also brought new challenges to the management and upgrading of components.

[0003] In the current market environment, due to the rapid iteration of technology and consumers' expectations for continuous improvement in vehicle performance, the replacement and upgrade cycle of parts has been significantly shortened, and their performance and compatibility are often difficult to guarantee, bringing a series of safety hazards. For example, new parts may not work perfectly with the vehicle's original electrical system, sensors or actuators, resulting in poor signal transmission, delayed response or erroneous execution; the software version of the new parts may be incompatible with the vehicle's original control system, causing functional conflicts or system instability; illegal replacement or upgrading of key components such as the braking system and steering system may directly affect the safety performance of the vehicle and increase the risk of traffic accidents.

[0004] Therefore, the safety of existing components during replacement and upgrading is low, and many components are replaced or upgraded without official authorization, which in turn causes a series of problems such as incompatibility between devices, functional conflicts, and system crashes. Summary of the invention

[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0006] In view of the above-mentioned shortcomings of the prior art, the present application discloses a vehicle component upgrading method, system and electronic equipment to improve the safety of the components during upgrading.

[0007] The present application discloses a vehicle parts upgrading method, which is applied to a server side, and the vehicle parts upgrading method comprises: obtaining parts information corresponding to each vehicle part, wherein the parts information comprises warehouse-related information and / or vehicle-related information; performing a consistency check on the current part according to the warehouse-related information corresponding to the current part, and obtaining a first detection result, so as to determine the replacement status corresponding to the current part according to the first detection result, and if the current part is replaced with a target part, updating the vehicle-related information corresponding to the target part, wherein the vehicle parts comprise the current part and the target part; performing a consistency check on the part to be upgraded according to the vehicle-related information corresponding to the part to be upgraded, and obtaining a second detection result, so as to determine the upgrade status corresponding to the part to be upgraded according to the second detection result, wherein the part to be upgraded is any vehicle part.

[0008] In one embodiment of the present application, the server end is connected to a vehicle diagnostic end, and the vehicle component upgrading method further includes: if the replacement status corresponding to the current component includes allowing replacement, then obtaining a flash file corresponding to the target component, and obtaining verification information corresponding to the flash file; generating a software package according to the flash file and the verification information, and sending the software package to the vehicle diagnostic end, wherein the vehicle diagnostic end is used to verify the received flash file according to the received verification information to obtain a file verification result, and if the file verification result is verification passed, then after the current component is replaced with the target component, the target component is flashed according to the received flash file.

[0009] In one embodiment of the present application, a consistency check is performed on the current component according to the warehouse-related information corresponding to the current component to obtain a first test result, so as to determine the replacement status corresponding to the current component according to the first test result, including: receiving a replacement request sent by the vehicle diagnostic terminal, wherein the vehicle diagnostic terminal is used to obtain current information corresponding to the current component, and send the replacement request with the current information to the server end; comparing the warehouse-related information corresponding to the current component according to the current information corresponding to the current component to perform a consistency check on the current component; if the current information corresponding to the current component is consistent with the warehouse-related information corresponding to the current component, the first test result is that the test is passed, and the replacement status corresponding to the current component is that replacement is allowed; if the current information corresponding to the current component is different from the warehouse-related information corresponding to the current component, the first test result is that the test fails, and the replacement status corresponding to the current component is that replacement fails.

[0010] In one embodiment of the present application, the server end includes a signature module, and obtaining verification information corresponding to the flash file includes: calculating the flash file according to a preset integrity algorithm to obtain a file identifier corresponding to the flash file, wherein the file identifier is used to verify the integrity of the flash file; determining input parameters of the signature module according to the storage-related information corresponding to the current component and the file identifier corresponding to the flash file, and obtaining verification information fed back by the signature module based on the input parameters, wherein the verification information includes signature information and an execution script, and the signature information includes the file identifier and a signature value corresponding to the file identifier; the vehicle diagnostic end is also used to perform certificate verification according to the root certificate of the vehicle diagnostic end to obtain a first verification result, perform integrity verification on the received flash file according to the received signature information to obtain a second verification result, perform identity authentication on the server end through the authentication information in the execution script to obtain a third verification result, and perform signature verification on the received signature information by executing the signature verification address in the execution script to obtain a fourth verification result, wherein the file verification result includes at least one of the first verification result, the second verification result, the third verification result and the fourth verification result.

[0011] In one embodiment of the present application, the server side includes a parts library, which is used to store warehouse-related information corresponding to each of the vehicle parts, wherein the warehouse-related information includes at least one of the part identification corresponding to the vehicle part, the vehicle model information corresponding to the vehicle part, the ECU information of the ECU to which the vehicle part belongs, and the SOC information corresponding to the vehicle part.

[0012] In one embodiment of the present application, the vehicle component upgrade method further includes: if the current component is replaced with a target component, updating the storage-related information corresponding to the target component in the component library.

[0013] In one embodiment of the present application, the server side further includes an OTA (Over-the-Air Technology) cloud service, which performs consistency detection on the component to be upgraded according to the vehicle-related information corresponding to the component to be upgraded, obtains a second detection result, and determines the upgrade status corresponding to the component to be upgraded according to the second detection result, including: in response to the upgrade instruction corresponding to the component to be upgraded, initiating information reporting to the vehicle terminal where the component to be upgraded is located through the OTA cloud service, so that the vehicle terminal feeds back current vehicle information; comparing the current vehicle information according to the vehicle-related information corresponding to the component to be upgraded, so as to perform consistency detection on the component to be upgraded; if the vehicle-related information corresponding to the component to be upgraded is consistent with the current vehicle information, the second detection result is detection passed, and the upgrade status corresponding to the component to be upgraded is upgrade allowed; in response to the upgrade status corresponding to the component to be upgraded being upgrade allowed, sending the upgrade package corresponding to the component to be upgraded to the vehicle terminal, wherein the vehicle terminal is used to upgrade the component to be upgraded according to the upgrade package; if the vehicle-related information corresponding to the component to be upgraded is different from the current vehicle information, the second detection result is detection failure, and the upgrade status corresponding to the component to be upgraded is upgrade failure.

[0014] In one embodiment of the present application, the OTA cloud service is also used to store vehicle-related information corresponding to each of the vehicle components, wherein the vehicle-related information includes at least one of the vehicle identification of the vehicle to which the vehicle component belongs, the component identification corresponding to the vehicle component, the ECU information of the ECU (Electronic Control Unit) to which the vehicle component belongs, and the SOC (System on Chip) information corresponding to the vehicle component.

[0015] The present application discloses a vehicle parts upgrade system, which is applied to a server side, and the vehicle parts upgrade system includes: an acquisition module, which is used to acquire parts information corresponding to each vehicle part, wherein the parts information includes warehouse-related information and / or vehicle-related information; a maintenance module, which is used to perform a consistency check on the current part according to the warehouse-related information corresponding to the current part, and obtain a first test result, so as to determine the replacement status corresponding to the current part according to the first test result, and if the current part is replaced with a target part, update the vehicle-related information corresponding to the target part, wherein the vehicle parts include the current part and the target part; an upgrade module, which is used to perform a consistency check on the part to be upgraded according to the vehicle-related information corresponding to the part to be upgraded, and obtain a second test result, so as to determine the upgrade status corresponding to the part to be upgraded according to the second test result, wherein the part to be upgraded is any vehicle part.

[0016] The present application discloses an electronic device, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above method.

[0017] Beneficial effects of this application:

[0018] The vehicle parts that need to be replaced are tested for consistency through warehouse-related information, the replacement status of the vehicle parts is determined based on the first test result, and the vehicle-related information of the vehicle parts is updated after the replacement. At the same time, the vehicle parts that need to be upgraded are tested for consistency through vehicle-related information, and the upgrade status of the vehicle parts is determined based on the second test result. In this way, the official authorization of the replacement behavior is achieved through consistency testing of warehouse-related information, and the official authorization of the upgrade behavior is achieved through consistency testing of vehicle-related information, so as to strictly control the replacement and upgrade of parts, improve the safety of parts during replacement and upgrade, and prevent parts from being replaced or upgraded without official authorization. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a structural schematic diagram of an application scenario for implementing a vehicle parts upgrading method in an embodiment of the present invention;

[0020] Figure 2 is a flow chart of a vehicle component upgrading method in an embodiment of the present invention;

[0021] Figure 3 is a schematic flow chart of a method for replacing vehicle parts in an embodiment of the present invention;

[0022] Figure 4 is a schematic flow chart of another method for replacing vehicle parts in an embodiment of the present invention;

[0023] Figure 5 is a flow chart of a method for updating vehicle related information in an embodiment of the present invention;

[0024] Figure 6 is a flow chart of a method for upgrading vehicle parts in an embodiment of the present invention;

[0025] Figure 7 is a structural schematic diagram of a vehicle parts upgrading system in an embodiment of the present invention;

[0026] Figure 8 It is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and sub-samples in the embodiments can be combined with each other without conflict.

[0028] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0029] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0030] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0031] Unless otherwise stated, the term "plurality" means two or more.

[0032] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0033] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0034] Combination Figure 1 As shown, an embodiment of the present disclosure provides an application scenario for implementing a vehicle parts upgrading method, including a server side, a vehicle terminal and a vehicle diagnostic side, wherein the server side is connected to the vehicle terminal and the vehicle diagnostic side respectively through a network.

[0035] The server side is composed of a software management platform, a parts library, a signature module and an OTA cloud service. The software management platform is used to implement a vehicle parts upgrade method, including at least one of the following: obtaining parts information corresponding to each vehicle part, wherein the parts information includes warehouse-related information and / or vehicle-related information; performing a consistency check on the current part according to the warehouse-related information corresponding to the current part, and obtaining a first test result, so as to determine the replacement status corresponding to the current part according to the first test result, and if the current part is replaced with a target part, updating the vehicle-related information corresponding to the target part, wherein the vehicle parts include the current part and the target part; performing a consistency check on the part to be upgraded according to the vehicle-related information corresponding to the part to be upgraded, and obtaining a second test result, so as to determine the upgrade status corresponding to the part to be upgraded according to the second test result, wherein the part to be upgraded is any vehicle part.

[0036] The vehicle terminal is composed of vehicle components and is used to collect current vehicle information and perform software upgrades on vehicle components.

[0037] The vehicle diagnostic terminal includes an after-sales diagnostic instrument, which is used to collect current information corresponding to vehicle parts; perform fault diagnosis based on the current information corresponding to the vehicle parts to obtain diagnostic information; and replace vehicle parts.

[0038] Combination Figure 2 As shown, the embodiment of the present disclosure provides a vehicle parts upgrade method, which is applied to a server side. The vehicle parts upgrade method includes:

[0039] Step S201, obtaining component information corresponding to each vehicle component;

[0040] The parts information includes warehouse-related information and / or vehicle-related information;

[0041] Step S202, performing consistency detection on the current component according to the storage related information corresponding to the current component to obtain a first detection result, so as to determine the replacement status corresponding to the current component according to the first detection result;

[0042] Among them, vehicle parts include current parts and target parts;

[0043] Step S203, if the current component is replaced with a target component, update the vehicle-related information corresponding to the target component;

[0044] Step S204, performing consistency detection on the component to be upgraded according to the vehicle related information corresponding to the component to be upgraded, obtaining a second detection result, and determining the upgrade status corresponding to the component to be upgraded according to the second detection result;

[0045] Among them, the parts to be upgraded are any vehicle parts.

[0046] The vehicle parts upgrade method provided by the embodiment of the present disclosure is adopted to perform consistency detection on the vehicle parts that need to be replaced through warehouse-related information, determine the replacement status of the vehicle parts according to the first detection result obtained, and update the vehicle-related information of the vehicle parts after the replacement. At the same time, the vehicle parts that need to be upgraded are tested for consistency through vehicle-related information, and the upgrade status of the vehicle parts is determined according to the second detection result obtained. In this way, the official authorization of the replacement behavior is achieved through consistency detection through warehouse-related information, and the official authorization of the upgrade behavior is achieved through consistency detection through vehicle-related information, so as to strictly control the replacement and upgrade of parts, improve the safety of parts during replacement and upgrade, and prevent parts from being replaced or upgraded without official authorization.

[0047] Optionally, the server side includes a parts library.

[0048] Optionally, the parts library is used to store warehouse-related information corresponding to each vehicle part, wherein the warehouse-related information includes at least one of the part identification corresponding to the vehicle part, the vehicle model information corresponding to the vehicle part, the ECU information of the ECU to which the vehicle part belongs, and the SOC information corresponding to the vehicle part.

[0049] In some embodiments, the storage-related information of automobile parts is maintained through the parts library to control the warehousing and outbound transportation of automobile parts. The storage-related information includes the vehicle model information of the vehicle where the vehicle parts are located, ECU attributes, SOCID (System-on-Chip Identifier, used to identify each chip), part ID, hash value corresponding to the ECU upgrade package and other data. Among them, ECU attributes include the English name corresponding to the ECU, the warehousing time of the ECU, etc.

[0050] Optionally, the vehicle parts upgrading method further includes: if the current parts are replaced with target parts, updating the storage-related information corresponding to the target parts in the parts library.

[0051] In some embodiments, if the current component is replaced with a target component, the warehouse-related information corresponding to the target component is updated in the component library, so that when the target component is replaced, consistency detection can be performed through the warehouse-related information corresponding to the target component, thereby officially authorizing the replacement of the target component.

[0052] Optionally, the server end is connected to a vehicle diagnosis end.

[0053] Optionally, a consistency check is performed on the current component according to the warehouse-related information corresponding to the current component to obtain a first test result, so as to determine the replacement status of the current component according to the first test result, including: receiving a replacement request sent by a vehicle diagnostic terminal, wherein the vehicle diagnostic terminal is used to obtain current information corresponding to the current component, and send the replacement request with the current information to the server end; comparing the warehouse-related information corresponding to the current component with the current information corresponding to the current component to perform a consistency check on the current component; if the current information corresponding to the current component is consistent with the warehouse-related information corresponding to the current component, the first test result is that the test is passed, and the replacement status of the current component is that replacement is allowed; if the current information corresponding to the current component is different from the warehouse-related information corresponding to the current component, the first test result is that the test fails, and the replacement status of the current component is that replacement fails.

[0054] In some embodiments, for a scenario where a vehicle component needs to be replaced (for example, a vehicle component becomes worn, damaged, or undergoes a technical upgrade), causing the vehicle to be unable to operate normally, the vehicle diagnostic terminal needs to initiate a replacement application, which includes current information about the current component, wherein the storage-related information corresponding to the target component includes the vehicle model information, ECU attributes, and SOCID of the vehicle where the current component is located.

[0055] In some embodiments, when the software management platform receives a replacement application, it queries the parts library based on the current information corresponding to the current part to determine whether the current part is sourced from a regular channel; if the current information corresponding to the current part is consistent with the warehousing-related information corresponding to the current part, the first detection result is that the test passed, and the replacement status corresponding to the current part is that replacement is allowed; if the current information corresponding to the current part is different from the warehousing-related information corresponding to the current part, the first detection result is that the test failed, and the replacement status corresponding to the current part is that replacement failed.

[0056] Optionally, the vehicle component upgrading method also includes: if the replacement status corresponding to the current component includes allowing replacement, then obtaining the flash file corresponding to the target component, and obtaining verification information corresponding to the flash file; generating a software package according to the flash file and the verification information, and sending the software package to the vehicle diagnostic terminal, wherein the vehicle diagnostic terminal is used to verify the received flash file according to the received verification information to obtain a file verification result, and if the file verification result is verification passed, then after the current component is replaced with the target component, the target component is flashed according to the received flash file.

[0057] Optionally, the server side includes a signature module to obtain verification information corresponding to the flash file, including: calculating the flash file according to a preset integrity algorithm to obtain a file identifier corresponding to the flash file, wherein the file identifier is used to verify the integrity of the flash file; determining the input parameters of the signature module according to the storage-related information corresponding to the current parts and the file identifier corresponding to the flash file, and obtaining the verification information fed back by the signature module based on the input parameters, wherein the verification information includes the signature information and the execution script, and the signature information includes the file identifier and the signature value corresponding to the file identifier; the vehicle diagnostic end is also used to perform certificate verification according to the root certificate of the vehicle diagnostic end to obtain a first verification result, perform integrity verification on the received flash file according to the received signature information to obtain a second verification result, perform identity authentication on the server side through the authentication information in the execution script to obtain a third verification result, and perform signature verification on the received signature information through the execution of the signature verification address in the execution script to obtain a fourth verification result, wherein the file verification result includes at least one of the first verification result, the second verification result, the third verification result and the fourth verification result.

[0058] In some embodiments, the software management platform uses the SHA256 value of the flash file as the file identifier corresponding to the flash file, and uses the file identifier, SOCID, etc. as input parameters to obtain verification information from the signature module.

[0059] In some embodiments, SHA-256 (Secure Hash Algorithm 256 bit) is a cryptographic hash function that belongs to the SHA-2 algorithm family. Through a mathematical process, it receives an input and then outputs a 256-bit (32-byte) hash value. In theory, even if two inputs have only slight differences, their SHA-256 hash values ​​will be very different.

[0060] In some embodiments, the flash file, signature information and key chain are packaged into a ZIP file to form a software package, and the software package is stored in a file center; the flash file in the software package exists in the form of a ZIP file; the signature information in the software package exists in the form of JSON data and is saved as a data.json file, including the signature original and the signature value, wherein the signature original is the file identifier corresponding to the flash file, and the signature value is obtained by signing the signature original; the key chain in the software package exists in the form of an executable script, for example, an executable Shell script command, and the key chain stores identity authentication information, signature verification address, signature original, signature value and other data.

[0061] In some embodiments, the party applying for replacement parts (i.e., the vehicle diagnostic end) obtains the software package after the replacement application is approved; determines whether the authorization of the diagnostic instrument has expired based on the root certificate of the diagnostic instrument; reads the signature information in the data.json file, and verifies whether the SHA256 value of the received flash file is consistent through the signature information; executes the Shell script command, verifies the signature value according to the signature verification address, and authenticates the server side.

[0062] Combination Figure 3 As shown, the embodiment of the present disclosure provides a method for replacing vehicle parts, comprising:

[0063] Step S301, the parts library obtains storage-related information corresponding to each vehicle part;

[0064] Step S302, the vehicle diagnosis terminal sends a replacement request corresponding to the current component to the software management platform;

[0065] Step S303, the software management platform queries the parts library for storage-related information corresponding to the current parts;

[0066] Step S304, the parts library feeds back the query results to the software management platform;

[0067] Step S305, if the query result is a query failure, the software management platform determines the replacement status corresponding to the current component as replacement failure;

[0068] Step S306: the software management platform feeds back the status of the replacement part to the vehicle diagnosis terminal.

[0069] Combination Figure 4 As shown, the embodiment of the present disclosure provides a method for replacing vehicle parts, comprising:

[0070] Step S401, the parts library obtains storage-related information corresponding to each vehicle part;

[0071] Step S402, the vehicle diagnosis terminal sends a replacement request corresponding to the current component to the software management platform;

[0072] Step S403, the software management platform queries the parts library for storage-related information corresponding to the current parts;

[0073] Step S404, the parts library feeds back the query results to the software management platform;

[0074] Step S405, if the query result is successful, the software management platform determines the replacement status corresponding to the current component as replacement successful;

[0075] Step S406, the software management platform sends the input parameters corresponding to the flash file to the signature module;

[0076] Step S407, the signature module sends verification information to the software management platform;

[0077] Step S408, the software management platform generates a software package according to the flash file and the verification information;

[0078] Step S409, the software management platform sends the software package to the vehicle diagnosis terminal;

[0079] Step S410, the vehicle diagnosis terminal verifies the received flash file according to the received verification information to obtain a file verification result;

[0080] Step S411, if the file verification result is verification passed, after the current component is replaced with the target component, the vehicle diagnosis end flashes the target component according to the received flashing file.

[0081] Combination Figure 5 As shown, the embodiment of the present disclosure provides a method for updating vehicle related information, including:

[0082] Step S501, the vehicle diagnosis terminal flashes the target component according to the received flash file;

[0083] Step S502, the vehicle diagnosis terminal sends vehicle-related information corresponding to the target component to the software management platform;

[0084] Step S503, the software management platform sends vehicle-related information corresponding to the target component to the OTA cloud service;

[0085] Step S504: The OTA cloud service updates the vehicle-related information corresponding to the target component.

[0086] Optionally, the server side also includes OTA cloud service.

[0087] Optionally, the OTA cloud service is used to store vehicle-related information corresponding to each vehicle component, wherein the vehicle-related information includes at least one of the vehicle identification of the vehicle to which the vehicle component belongs, the component identification corresponding to the vehicle component, the ECU information of the ECU to which the vehicle component belongs, and the SOC information corresponding to the vehicle component.

[0088] In some embodiments, after the current component is replaced with the target component and the software package of the target component is flashed, the vehicle-related information corresponding to the target component is obtained, for example, the vehicle-related information includes the vehicle's VIN (Vehicle Identification Number) code, ECU attributes, SOCID and other data; the vehicle terminal uploads the vehicle-related information corresponding to the target component to the software management platform, and sends it to the OTA cloud service through the software management platform, so that the OTA cloud service is updated according to the received vehicle-related information corresponding to the target component.

[0089] Optionally, a consistency check is performed on the component to be upgraded based on the vehicle-related information corresponding to the component to be upgraded to obtain a second test result, so as to determine the upgrade status corresponding to the component to be upgraded based on the second test result, including: in response to the upgrade instruction corresponding to the component to be upgraded, initiating information reporting to the vehicle terminal where the component to be upgraded is located through the OTA cloud service, so that the vehicle terminal feeds back the current vehicle information; comparing the current vehicle information with the vehicle-related information corresponding to the component to be upgraded to perform a consistency check on the component to be upgraded; if the vehicle-related information corresponding to the component to be upgraded is consistent with the current vehicle information, the second test result is that the test is passed, and the upgrade status of the component to be upgraded is that upgrade is allowed; in response to the upgrade status corresponding to the component to be upgraded being that upgrade is allowed, sending the upgrade package corresponding to the component to be upgraded to the vehicle terminal, wherein the vehicle terminal is used to upgrade the component to be upgraded according to the upgrade package; if the vehicle-related information corresponding to the component to be upgraded is different from the current vehicle information, the second test result is that the test failed, and the upgrade status of the component to be upgraded is that upgrade failed.

[0090] In some embodiments, the current vehicle information includes data such as the vehicle's VIN code, ECU attributes and SOCID; after the OTA cloud service receives the current vehicle information reported by the vehicle terminal, it compares it with the vehicle-related information corresponding to the parts to be upgraded in the OTA cloud service to obtain a second test result; if the second test result is that the test passes, it proves that the parts to be upgraded and the corresponding software packages are both officially authorized.

[0091] Combination Figure 6 As shown, the embodiment of the present disclosure provides a method for upgrading vehicle parts, comprising:

[0092] Step S601, the OTA cloud service initiates information reporting to the vehicle terminal;

[0093] Step S602, the vehicle terminal sends current vehicle information to the OTA cloud service;

[0094] Step S603, the OTA cloud service compares the current vehicle information with the vehicle-related information corresponding to the component to be upgraded, so as to perform consistency detection on the component to be upgraded;

[0095] Step S604: If the vehicle-related information corresponding to the component to be upgraded is consistent with the current vehicle information, the OTA cloud service determines the upgrade status corresponding to the component to be upgraded as upgrade allowed;

[0096] Step S605, the OTA cloud service obtains the upgrade package corresponding to the component to be upgraded;

[0097] Step S606, the OTA cloud service sends the upgrade package corresponding to the component to be upgraded to the vehicle terminal;

[0098] Step S607: the vehicle terminal upgrades the components to be upgraded according to the received upgrade package.

[0099] Combination Figure 7 As shown, an embodiment of the present disclosure provides a vehicle parts upgrade system, which is applied to a server side. The vehicle parts upgrade system includes an acquisition module 701, a maintenance module 702 and an upgrade module 703.

[0100] The acquisition module 701 is used to acquire component information corresponding to each vehicle component, wherein the component information includes warehouse-related information and / or vehicle-related information.

[0101] The maintenance module 702 is used to perform consistency detection on the current component according to the warehouse-related information corresponding to the current component, obtain a first detection result, and determine the replacement status corresponding to the current component according to the first detection result, and if the current component is replaced with a target component, update the vehicle-related information corresponding to the target component, wherein the vehicle components include the current component and the target component.

[0102] The upgrade module 703 is used to perform consistency detection on the components to be upgraded according to the vehicle-related information corresponding to the components to be upgraded, and obtain a second detection result, so as to determine the upgrade status corresponding to the components to be upgraded according to the second detection result, wherein the components to be upgraded are any vehicle components.

[0103] The vehicle parts upgrade system provided by the embodiment of the present disclosure performs consistency detection on the vehicle parts that need to be replaced through warehouse-related information, determines the replacement status of the vehicle parts based on the first detection result, and updates the vehicle-related information of the vehicle parts after the replacement. At the same time, the vehicle parts that need to be upgraded are tested for consistency through vehicle-related information, and the upgrade status of the vehicle parts is determined based on the second detection result. In this way, the official authorization of the replacement behavior is achieved through consistency detection through warehouse-related information, and the official authorization of the upgrade behavior is achieved through consistency detection through vehicle-related information, thereby strictly controlling the replacement and upgrade of parts, improving the safety of parts during replacement and upgrade, and preventing parts from being replaced or upgraded without official authorization.

[0104] An embodiment of the present disclosure further provides an electronic device, including: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above method.

[0105] Figure 8 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 8 The computer system 800 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0106] like Figure 8 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage part 808 to the random access memory (RAM) 803, such as executing the method in the above embodiment. In the random access memory 803, various programs and data required for system operation are also stored. The central processing unit 801, the read-only memory 802 and the random access memory 803 are connected to each other through a bus 804. The input / output (I / O) interface 805 is also connected to the bus 804.

[0107] The following components are connected to the input / output interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed so that a computer program read therefrom is installed into the storage section 808 as needed.

[0108] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 809, and / or installed from a removable medium 811. When the computer program is executed by a central processing unit (CPU) 801, various functions defined in the system of the present application are executed.

[0109] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operation can be changed. Parts and sub-samples of some embodiments may be included in or replace parts and sub-samples of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of a stated sub-sample, whole, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other sub-samples, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0110] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0111] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some sub-samples can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0112] The flowchart and block diagram in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A vehicle parts upgrading method, characterized in that: Applied to the server side, the vehicle parts upgrading method includes: Acquire component information corresponding to each vehicle component, wherein the component information includes warehouse-related information and / or vehicle-related information; Performing consistency detection on the current component according to the storage-related information corresponding to the current component to obtain a first detection result, determining the replacement status corresponding to the current component according to the first detection result, and if the current component is replaced with a target component, updating the vehicle-related information corresponding to the target component, wherein the vehicle component includes the current component and the target component; A consistency test is performed on the component to be upgraded according to vehicle related information corresponding to the component to be upgraded to obtain a second test result, so as to determine an upgrade status corresponding to the component to be upgraded according to the second test result, wherein the component to be upgraded is any vehicle component.

2. The method according to claim 1, characterized in that The server end is connected to a vehicle diagnostic end, and the vehicle parts upgrading method further includes: If the replacement status corresponding to the current component includes allowing replacement, obtaining a flash file corresponding to the target component, and obtaining verification information corresponding to the flash file; A software package is generated according to the flash file and the verification information, and the software package is sent to the vehicle diagnostic terminal, wherein the vehicle diagnostic terminal is used to verify the received flash file according to the received verification information to obtain a file verification result, and if the file verification result is that the verification is passed, after the current component is replaced with the target component, the target component is flashed according to the received flash file.

3. The method according to claim 2, characterized in that Performing consistency detection on the current component according to the storage related information corresponding to the current component to obtain a first detection result, and determining the replacement status corresponding to the current component according to the first detection result, including: Receiving a replacement part request sent by the vehicle diagnosis end, wherein the vehicle diagnosis end is used to obtain current information corresponding to the current component, and send the replacement part request with the current information to the server end; Comparing the storage-related information corresponding to the current component with the current information corresponding to the current component to perform consistency detection on the current component; If the current information corresponding to the current component is consistent with the storage-related information corresponding to the current component, the first detection result is that the detection is passed, and the replacement status corresponding to the current component is that replacement is allowed; If the current information corresponding to the current component is different from the warehouse-related information corresponding to the current component, the first detection result is detection failure, and the replacement status corresponding to the current component is replacement failure.

4. The method according to claim 2, characterized in that: The server side includes a signature module, and obtains verification information corresponding to the flash file, including: Calculating the flash file according to a preset integrity algorithm to obtain a file identifier corresponding to the flash file, wherein the file identifier is used to verify the integrity of the flash file; Determine the input parameters of the signature module according to the storage-related information corresponding to the current component and the file identifier corresponding to the flash file, and obtain verification information fed back by the signature module based on the input parameters, wherein the verification information includes signature information and an execution script, and the signature information includes the file identifier and a signature value corresponding to the file identifier; The vehicle diagnostic end is also used to perform certificate verification according to the root certificate of the vehicle diagnostic end to obtain a first verification result, perform integrity verification on the received flash file according to the received signature information to obtain a second verification result, perform identity authentication on the server end through the authentication information in the execution script to obtain a third verification result, and perform signature verification on the received signature information by executing the signature verification address in the execution script to obtain a fourth verification result, wherein the file verification result includes at least one of the first verification result, the second verification result, the third verification result and the fourth verification result.

5. The method according to claim 1, characterized in that The server side includes a parts library, which is used to store storage-related information corresponding to each of the vehicle parts, wherein the storage-related information includes at least one of the part identification corresponding to the vehicle part, the vehicle model information corresponding to the vehicle part, the ECU information of the ECU to which the vehicle part belongs, and the SOC information corresponding to the vehicle part.

6. The method according to claim 1, characterized in that The vehicle parts upgrading method further comprises: If the current component is replaced with a target component, the storage-related information corresponding to the target component is updated in the component library.

7. The method according to any one of claims 1 to 6, characterized in that: The server side also includes an OTA cloud service, which performs consistency detection on the component to be upgraded according to vehicle related information corresponding to the component to be upgraded, obtains a second detection result, and determines the upgrade status corresponding to the component to be upgraded according to the second detection result, including: In response to an upgrade instruction corresponding to the component to be upgraded, initiating information reporting to a vehicle terminal where the component to be upgraded is located through the OTA cloud service, so that the vehicle terminal feeds back current vehicle information; Comparing the current vehicle information with the vehicle-related information corresponding to the component to be upgraded, so as to perform consistency detection on the component to be upgraded; If the vehicle-related information corresponding to the component to be upgraded is consistent with the current vehicle information, the second detection result is detection passed, and the upgrade status corresponding to the component to be upgraded is upgrade allowed; In response to the upgrade status corresponding to the component to be upgraded being upgrade allowed, sending an upgrade package corresponding to the component to be upgraded to the vehicle terminal, wherein the vehicle terminal is used to upgrade the component to be upgraded according to the upgrade package; If the vehicle-related information corresponding to the component to be upgraded is different from the current vehicle information, the second detection result is detection failure, and the upgrade status corresponding to the component to be upgraded is upgrade failure.

8. The method according to claim 7, characterized in that The OTA cloud service is also used to store vehicle-related information corresponding to each of the vehicle components, wherein the vehicle-related information includes at least one of a vehicle identification of the vehicle to which the vehicle component belongs, a component identification corresponding to the vehicle component, ECU information of the ECU to which the vehicle component belongs, and SOC information corresponding to the vehicle component.

9. A vehicle parts upgrade system, characterized in that: Applied to the server side, the vehicle parts upgrade system includes: An acquisition module, used to acquire component information corresponding to each vehicle component, wherein the component information includes warehouse-related information and / or vehicle-related information; A maintenance module, configured to perform consistency detection on the current component according to the storage-related information corresponding to the current component, obtain a first detection result, determine a replacement status corresponding to the current component according to the first detection result, and if the current component is replaced with a target component, update vehicle-related information corresponding to the target component, wherein the vehicle component includes the current component and the target component; The upgrade module is used to perform consistency detection on the component to be upgraded according to the vehicle-related information corresponding to the component to be upgraded, and obtain a second detection result, so as to determine the upgrade status corresponding to the component to be upgraded according to the second detection result, wherein the component to be upgraded is any vehicle component.

10. An electronic device, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 8.