Part replacement management method, system and device
By comparing vehicle records with a serial number database to trace the source of vehicle parts, the origin of vehicle parts can be identified and controlled, solving the software compatibility problem after parts replacement and improving vehicle safety and maintenance convenience.
Patent Information
- Application Number
- CN202611304320.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, the difficulty in identifying the source of vehicle parts after replacement makes it difficult to achieve software compatibility, which may lead to functional abnormalities and safety hazards.
By acquiring vehicle records and the hardware identifiers of currently assembled parts, and comparing and tracing them with a serial number database, the system identifies target parts and issues control instructions based on their source attributes to execute differentiated control operations, ensuring the legality of the parts' origin.
It enables comprehensive perception of parts replacement behavior and accurate determination of the source attributes, improving vehicle safety and maintenance convenience, and avoiding vehicle malfunctions and driving safety risks caused by unknown sources.
Smart Images

Figure CN123140918A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive electronic control technology, specifically to a method, system, and equipment for managing component replacement. Background Technology
[0002] With the increasing level of automotive electronics, vehicles are equipped with numerous interconnected electronic controllers. To ensure the normal operation and safety of the entire vehicle, all controllers typically need to be on the same software baseline version. In vehicle repair scenarios, if a controller is replaced, the software of the replaced controller must be upgraded to align with the vehicle's baseline version.
[0003] However, in the existing technology, designated repair shops rely on special equipment and keys to carry out upgrades, while non-designated repair shops cannot obtain the keys and therefore have difficulty completing software adaptation. This may result in the replacement controller being incompatible with the vehicle, causing functional abnormalities or even safety hazards. Summary of the Invention
[0004] In view of the above, it is necessary to propose a method, system and equipment for component replacement control to solve the technical problems of difficulty in identifying the source of replaced components and the inability to achieve software compatibility control in the existing technology.
[0005] Firstly, this application provides a method for controlling the replacement of components, which involves obtaining a vehicle file corresponding to a vehicle and the hardware identifiers of multiple components currently installed on the vehicle, wherein the vehicle file records the hardware identifiers of each registered component; identifying a target component from the multiple components based on the comparison results between the hardware identifiers of the multiple components and the hardware identifiers in the vehicle file, enabling a server to query the hardware identifier of the target component in a serial number database and determine the source attribute of the target component based on the query results; receiving a control instruction returned by the server based on the source attribute, and performing control operations based on the control instruction.
[0006] The component replacement control method in this application compares the vehicle file with the hardware identifiers of the actually assembled components and performs secondary tracing using a serial number database. Utilizing only existing communication links and storage resources, and without increasing hardware costs, it achieves comprehensive perception of component replacement behavior and accurate determination of its origin. Furthermore, the server issues differentiated control commands based on the origin attribute, and the vehicle executes differentiated control operations based on these commands. This effectively avoids vehicle malfunctions and driving safety risks caused by unknown component origins, significantly improving vehicle safety and maintenance convenience throughout its entire lifecycle.
[0007] In some embodiments of this application, the method further includes: if the hardware identifier of any currently assembled component is inconsistent with the hardware identifier in the vehicle file, determining the arbitrary component as the target component; if the hardware identifier of the target component is recorded in the serial number database, the query result indicates that the target component is a standard component assembled through a non-specified method; if the hardware identifier of the target component is not recorded in the serial number database, the query result indicates that the target component is a non-standard component assembled through a non-specified method.
[0008] In some embodiments of this application, the vehicle file also records the standard software version of the vehicle, the control instruction includes a software upgrade instruction, and the step of receiving the control instruction returned by the server based on the source attribute and performing control operations based on the control instruction includes: when the target component is determined to be a standard component assembled through a non-specified method based on the query result, obtaining the current software version of the target component and reporting the current software version to the server, so that the server compares the current software version with the standard software version, and when there is a difference between the current software version and the standard software version, obtaining the key data corresponding to the hardware identifier of the target component from the serial number database, and returning the software upgrade instruction, wherein the software upgrade instruction carries an upgrade package matching the standard software version and the key data corresponding to the hardware identifier of the target component; receiving the software upgrade instruction and using the key data to perform security verification on the target component, and installing the upgrade package after the target component passes the security verification.
[0009] In some embodiments of this application, when the server determines, based on the query result, that the target component is a standard component assembled through a non-specified method, it determines the data entry for the corresponding position in the vehicle file according to the position identifier of the target component in the vehicle; updates the hardware identifier recorded in the data entry to the hardware identifier of the target component, and associates the key data corresponding to the hardware identifier of the target component with the data entry.
[0010] In some embodiments of this application, when the target component is a non-standard component assembled through an unspecified method, the control instruction includes a vehicle-side prompt instruction. Receiving the control instruction returned by the server based on the source attribute and performing control operations based on the control instruction includes: receiving the vehicle-side prompt instruction, wherein the vehicle-side prompt instruction carries a preset configuration file, which records components of different functional types and their corresponding preset hazard levels and preset prompt information; obtaining the preset hazard level and preset prompt information corresponding to the target component from the configuration file according to the target component's functional type; performing corresponding functional restriction actions according to the preset hazard level, and / or outputting the preset prompt information.
[0011] In some embodiments of this application, when the server determines, based on the query results, that the target component is a non-standard component assembled through an unspecified method, it generates a remote upgrade blocking command for the vehicle and generates a risk warning work order. The risk warning work order is then sent to the vehicle's after-sales management system, causing the after-sales management system to notify after-sales personnel to contact the vehicle's user.
[0012] In some embodiments of this application, the vehicle file also records the vehicle identification code, the key data corresponding to each component, and the binding relationship between the vehicle identification code and the hardware identifier and key data of each component. Obtaining the vehicle file corresponding to the vehicle includes: obtaining the vehicle identification code of the vehicle; and obtaining the corresponding vehicle file from the server according to the vehicle identification code.
[0013] Secondly, this application also provides a component replacement control system, the system comprising a vehicle and a server, the vehicle being communicatively connected to the server; the vehicle being used to: obtain a vehicle file corresponding to the vehicle and hardware identifiers of multiple components currently installed on the vehicle, wherein the vehicle file records the hardware identifiers of each registered component; and identify a target component from the multiple components based on a comparison result between the hardware identifiers of the multiple components and the hardware identifiers in the vehicle file; and report the hardware identifier of the target component to the server; the server being used to: query the hardware identifier of the target component in a serial number database and determine the source attribute of the target component based on the query result; and return a control instruction to the vehicle based on the source attribute; the vehicle being used to: receive the control instruction and perform control operations based on the control instruction.
[0014] Thirdly, this application also provides a component replacement control system, the system comprising a vehicle and a server, the vehicle being communicatively connected to the server; the vehicle being used to: acquire hardware identifiers of multiple components currently assembled on the vehicle, and report the hardware identifiers of the multiple components currently assembled to the server; the server being used to: receive the hardware identifiers of the multiple components currently assembled; and identify a target component from the multiple components based on the comparison result of the hardware identifiers of the multiple components with the hardware identifiers in the vehicle file corresponding to the vehicle, wherein the vehicle file records the hardware identifiers of each registered component; and query the hardware identifier of the target component in a serial number database, and determine the source attribute of the target component based on the query result; and generate a corresponding control instruction based on the source attribute, and return the control instruction to the vehicle; the vehicle is further used to: receive the control instruction, and perform control operations based on the control instruction.
[0015] Fourthly, this application also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the component replacement control method described in the above embodiments.
[0016] Understandably, the component replacement control system of the second aspect, the component replacement control system of the third aspect, and the electronic equipment of the fourth aspect provided above all correspond to the component replacement control method of the first aspect. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding component replacement control methods provided above, and will not be repeated here. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the architecture of a component replacement control system provided in one embodiment of this application.
[0018] Figure 2 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.
[0019] Figure 3 This is a schematic flowchart of a parts replacement control method for vehicles provided in an embodiment of this application.
[0020] Figure 4 This is a flowchart illustrating a component replacement control method provided in another embodiment of this application.
[0021] Figure 5 This is a flowchart illustrating a component replacement control method provided in another embodiment of this application.
[0022] Figure 6This is a schematic diagram of the architecture of a parts replacement control system provided in another embodiment of this application.
[0023] Figure 7 This is a flowchart illustrating a component replacement control method for servers provided in an embodiment of this application.
[0024] Component Symbol Explanation Electronic devices 10 Memory 11 Processor 12 The following detailed description, in conjunction with the accompanying drawings, will further illustrate this application. Detailed Implementation
[0025] To make the technical problems, technical solutions, and beneficial effects solved by this application clearer, the following detailed description is provided in conjunction with embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0026] To provide a clearer understanding of the embodiments of the present invention, the invention will be described in detail below with reference to the accompanying drawings and specific examples. In some embodiments, the embodiments and features thereof can be combined with each other unless otherwise specified.
[0027] Please see Figure 1 This is a schematic diagram of the architecture of a component replacement control system provided in an embodiment of this application.
[0028] In some embodiments of this application, a parts replacement management system is provided. The parts replacement management system includes a vehicle and a server. This embodiment uses a vehicle as an example. Figure 1 The vehicle and server shown are Figure 1 The cloud server shown is used as an example for illustration. In other embodiments, the server may also be an edge computing node or a distributed cloud service platform, and this application does not limit this.
[0029] In some embodiments, the vehicle and the cloud server communicate with each other to achieve data transmission in a vehicle-to-cloud collaborative manner. For example, the vehicle and the cloud server can communicate with each other through an in-vehicle remote communication terminal (T-Box), a 4G / 5G mobile communication module, a Wi-Fi hotspot, or a vehicle-to-everything (V2X) communication unit.
[0030] Although the diagram shows an architecture where the vehicle communicates directly with the cloud server, in other embodiments, edge computing nodes or regional gateways can be introduced as relays, as long as they can enable bidirectional data interaction between the vehicle and the cloud server.
[0031] The flexible communication architecture design in the above embodiments enables the component replacement management system to adapt to the management needs of different network environments, ensuring business continuity.
[0032] In some embodiments of this application, each standard component is registered with a unique hardware identifier (e.g., serial number) by the vehicle manufacturer's own or authorized component manufacturing plant (hereinafter referred to as the designated manufacturing plant) before leaving the factory.
[0033] In some embodiments, a designated manufacturing plant, acting as a registration entity recognized or authorized by the vehicle manufacturer, performs a registration operation on the hardware identifier of the component after production but before it leaves the factory. This registration operation involves the designated manufacturing plant using its internal registration management system to associate and register basic attribute information such as the component model, production batch, production date, production line number, and production number, forming an immutable registration record, i.e., a hardware identifier, which is then uploaded to a serial number database on a cloud server for filing. After registration, the component's hardware identifier is considered a registered hardware identifier, and such components are considered standard components with legitimate traceability. The hardware identifier recorded in the serial number database serves as the sole proof of the component's legal identity throughout its entire lifecycle. The above registration operation ensures that each registered component has a unique and traceable hardware identifier throughout its entire lifecycle.
[0034] In other embodiments, the serial number can also be generated using the Universally Unique Identifier (UUID) standard. This application does not limit the specific rules for generating the serial number, as long as it ensures that the hardware identifier of each component is unique throughout its entire lifecycle.
[0035] In the above embodiment, the hardware identifier is written into the non-volatile memory of the component. Even if the component is powered off after writing, the stored hardware identifier will not be lost. At the same time, the hardware identifier is locked after being written and cannot be deleted or rewritten, so as to ensure that a one-to-one and tamper-proof binding relationship is formed between the hardware identifier and the component.
[0036] In some embodiments, a designated manufacturing plant will directly transport a portion of the components that have completed hardware identification registration to the component assembly stage for vehicle assembly.
[0037] In some embodiments, the designated manufacturing plant will also ship the parts that have completed hardware identification registration to the after-sales service stations designated by the vehicle manufacturer (such as 4S stores authorized by the vehicle manufacturer) as compliant spare parts reserves for subsequent users to assemble and use when replacing parts at the designated after-sales service stations.
[0038] In some embodiments of this application, after the assembly of the components is completed through a specified method, the binding relationship between the registered hardware identifier of the component, the corresponding key data and the vehicle identification number (VIN) of the vehicle must be uploaded to the cloud server.
[0039] In some embodiments, the designated pathway refers to a compliant assembly channel authorized by the vehicle manufacturer and possessing the permission to upload hardware identifiers for components. This includes, but is not limited to, the vehicle assembly stage at a designated manufacturing plant and the component replacement assembly stage at a designated after-sales service station. In other words, whether in the vehicle assembly stage after the component leaves the factory or in the replacement assembly stage at a designated after-sales service station, after the component assembly is completed, the aforementioned binding relationship must be uploaded to the cloud server to complete the registration or update of this component information in the vehicle file. Specifically, depending on the component assembly scenario, the binding relationship is uploaded in different forms: In some embodiments, during the vehicle assembly stage after the parts have left the factory (e.g.) Figure 1 In the "factory off-line" scenario shown, after the assembled parts are ready for shipment, the off-line diagnostic equipment writes a randomly generated key into the parts. Subsequently, the equipment reads the parts' hardware identifier, the random key, and the vehicle's VIN, binds these three elements, generates a binding relationship data packet, and uploads this packet as outgoing information to a cloud server via the factory's internal network or mobile communication network. The cloud server stores the binding relationship from the outgoing information in the vehicle's VIN's corresponding vehicle file, completing the vehicle's pre-shipment data registration.
[0040] In some embodiments, when a user replaces parts at a designated after-sales service center (e.g.) Figure 1 In the "after-sales parts replacement" scenario shown, after-sales service personnel retrieve the corresponding compliant spare parts from the spare parts warehouse and assemble them onto the vehicle. After assembly, the after-sales diagnostic equipment writes the factory key to the newly assembled part (the factory key is generated by the designated manufacturing plant during part production and pre-set along with the hardware identifier, stored in the after-sales diagnostic equipment in advance, or pre-delivered to the after-sales diagnostic equipment by the cloud server before repair). After writing, the after-sales diagnostic equipment reads the hardware identifier, factory key, and vehicle VIN of the part, binds the three together, generates a binding relationship data packet, and uploads the binding relationship data packet as repair information to the cloud server via the network. The cloud server updates the binding relationship in the repair information to the vehicle file corresponding to the vehicle VIN, completing the post-repair file update.
[0041] In some embodiments, each VIN in the vehicle file is associated with multiple data entries. Each data entry corresponds to the assembly location of a component on the vehicle, and the assembly location is distinguished in the file by a location identifier (e.g., engine control unit location, brake control unit location, etc.). When updating the file, the cloud server uses the VIN as an index to locate the data record corresponding to the VIN in the vehicle file. Within the data record, the component's location identifier is used as an index to associate the hardware identifier and key data with the data entry corresponding to the location identifier. If the location identifier is already associated with a hardware identifier (e.g., an old component was previously installed at the location of the location identifier), the existing hardware identifier is updated to the hardware identifier of the newly installed component.
[0042] In some of the above embodiments, the random key and the factory key are both key data used for verifying the write permission of the component. They are different in type but have the same function. The random key is randomly generated when the manufacturing plant assembles the component, while the factory key preset at the time of manufacture is used when the after-sales service station assembles the component. This application does not limit the specific source of the key data, as long as the key data corresponds one-to-one with the hardware identifier of the component.
[0043] Through the collaboration of the two scenarios of vehicle assembly and after-sales spare parts storage, the flow management of parts after they have completed hardware identification registration at designated manufacturing plants has been completed in the two key stages of vehicle manufacturing and after-sales maintenance. This ensures that all registered parts have traceable binding relationships in the cloud server throughout their entire life cycle, providing a complete data foundation for identifying the source of parts based on vehicle files during the subsequent vehicle use stage.
[0044] In some embodiments of this application, the cloud server also stores the hardware identifiers and corresponding key data of all registered components in a serial number database. It is understood that the vehicle file records the current assembly status of each vehicle and is instance data specific to a single vehicle; while the serial number database records the hardware identifiers and key data of all registered components and is global master data. The vehicle file and the serial number database communicate with each other through the hardware identifier as a linking field, jointly providing data support for determining the origin attributes of components.
[0045] In some embodiments, the hardware identifier is used as the primary key in the serial number database to record the binding relationship between the hardware identifier and key data corresponding to each registered component. Specifically, when any component completes its factory registration at a designated manufacturing plant or is replaced and assembled at a designated after-sales service station and the binding relationship is uploaded, the cloud server stores the hardware identifier and corresponding key data of this component as a record in the serial number database.
[0046] Through the above embodiments, the serial number database accumulates and records the hardware identifier and corresponding key data of each registered component. After the vehicle reports the target component, the cloud server only needs to search the serial number database using the hardware identifier of the target component as an index. If a match is found, it indicates that the hardware identifier has a legitimate registration source; if no match is found, it indicates that the hardware identifier has not been registered, and the source attribute of the target component can be determined accordingly.
[0047] The data structure division of the vehicle file and serial number database mentioned above is only an exemplary implementation. In actual deployment, the two major data sets can be deployed in different data tables of the same physical database, or they can be deployed on different physical storage nodes, as long as the storage, association and query functions of the above data can be realized. This application does not make any specific limitations in this regard.
[0048] In some embodiments of this application, the implementation logic of the parts replacement control system is as follows: First, the vehicle-side is used to: obtain the vehicle file corresponding to the vehicle and the hardware identifiers of multiple components currently installed on the vehicle; and identify the target component from the multiple components based on the comparison results of the hardware identifiers of the multiple components with the hardware identifiers in the vehicle file; and report the hardware identifier of the target component to the server.
[0049] In some embodiments, the multiple components currently assembled on the vehicle may include, but are not limited to, an electronic control unit (ECU), for example... Figure 1 The ECUs shown are ECU1, ECU2, ECU3, and ECU4.
[0050] In some embodiments, the functions inside the vehicle are mainly composed of Figure 1 The vehicle-side main control unit is shown. The vehicle-side main control unit establishes communication connections with various components through the vehicle bus (such as Controller Area Network (CAN) bus), and periodically reads the serial number of each component as a hardware identifier.
[0051] In some embodiments, the comparison logic is executed within the vehicle's main control unit. Once it is detected that the hardware identifier of any component read from the actual vehicle does not match the hardware identifier in the vehicle file, it indicates that this component has been replaced without a specified method. In this case, the component is automatically marked as the target component, and the hardware identifier of the target component is packaged and sent to the server. In other words, the target component refers to the component whose hardware identifier currently installed in the vehicle does not match the hardware identifier recorded in the vehicle file. The inconsistency indicates that the target component has been replaced without a specified method.
[0052] The above embodiments, by decentralizing data collection and preliminary screening to the vehicle end, effectively reduce the upload traffic of invalid data and improve the response time of the parts replacement management system to parts replacement behavior.
[0053] Secondly, the cloud server is used to: query the hardware identifier of the target component in the serial number database, determine the source attribute of the target component based on the query results, and return control instructions to the vehicle based on the source attribute.
[0054] For ease of description, this application categorizes components into standard and non-standard components based on whether their hardware identifiers are registered in the serial number database of a cloud server. Standard components are those whose hardware identifiers have been registered in the serial number database, and whose registration records contain the corresponding key data, enabling traceability of their origin through the database. In other words, whether a component qualifies as a standard component depends on whether its hardware identifier has a valid registration record in the serial number database. Conversely, non-standard components are those whose hardware identifiers are not recorded in the serial number database, making traceability impossible.
[0055] In some embodiments, after receiving the hardware identifier of the target component reported by the vehicle, the cloud server first performs a global search in the serial number database. If the search is successful, the query result indicates that the target component is a standard component assembled through a non-specified method (e.g., a salvaged part); if the search is unsuccessful, the query result indicates that the target component is a non-standard component assembled through a non-specified method (e.g., a counterfeit part). Based on the source attribute of the target component, the cloud server generates corresponding control instructions, such as generating a software upgrade instruction containing key data and a software upgrade package for standard components assembled through a non-specified method (i.e.,...). Figure 1 The "software push" shown) and the replacement of the original data in the vehicle file (i.e. Figure 1 The "background data modification" shown, or the generation of vehicle-side prompts for non-standard parts assembled through non-specified methods (i.e., Figure 1 The "trigger vehicle-side prompt" and the Over-The-Air (OTA) technology blocking command (i.e.) are shown. Figure 1 The message "OTA function disabled" indicates that the after-sales management system should notify after-sales personnel to contact the user of the vehicle (i.e., Figure 1 (The "After-sales Reminder Call" shown).
[0056] The above embodiments, through a centralized cloud-based decision-making architecture, ensure the uniformity and authority of the control strategies. At the same time, they also facilitate the dynamic updating and iteration of the control strategies without the need for frequent upgrades to the vehicle-side software.
[0057] Finally, the vehicle terminal is also used to: receive control commands and execute control operations based on the control commands.
[0058] In some embodiments, after receiving the control instructions from the cloud server, the vehicle-side main controller will parse and verify the control instructions. Then, it will execute corresponding control operations based on the parsing results of the control instructions, such as calling key data to upgrade the software of the target component, or performing operations such as "function control", "large screen prompts", and "driving restrictions".
[0059] In the vehicle-cloud collaborative architecture of some of the above embodiments, the vehicle's file is obtained from the vehicle and compared with the hardware identifier of the currently installed parts. This is then combined with a serial number database on the cloud server for secondary traceability. This leverages both the real-time computing power of the vehicle and the global traceability capabilities of the cloud's big data, achieving comprehensive perception of parts replacement behavior and accurate determination of their origin attributes without increasing additional hardware costs. Furthermore, differentiated control commands issued based on origin attributes provide automated key matching and software baseline repair services for standard parts, resolving compatibility issues when assembling standard parts through non-designated channels. Simultaneously, upgrade blocking and tiered security control are implemented for non-standard parts assembled through non-designated channels, effectively avoiding vehicle malfunctions and driving safety risks caused by unknown parts origins, significantly improving vehicle safety and maintenance convenience throughout its entire lifecycle.
[0060] For detailed implementation information regarding the parts replacement management system, please refer to the relevant descriptions in the following method embodiments applied to vehicles. To avoid repetition, this application will not repeat them here.
[0061] Please see Figure 2 This is a schematic diagram of the hardware structure of an electronic device 10 provided in an embodiment of this application.
[0062] In some embodiments of this application, an electronic device 10 is also provided. The electronic device 10 may be the physical carrier of the vehicle-side master controller mentioned in the above embodiments, and is used to perform the following... Figures 3-5 The component replacement control method is shown.
[0063] In some embodiments, the electronic device 10 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0064] In some embodiments, the electronic device 10 includes, but is not limited to, a memory 11, a processor 12, and a computer program stored in the memory 11 and executable on the processor 12, such as a component replacement control program. When the computer program is executed by the processor 12, it implements the component replacement control method as described in the following embodiments.
[0065] In some embodiments of this application, a vehicle is also provided, which can be the physical carrier of the vehicle mentioned in the above embodiments. The vehicle may include the electronic device 10 of the above embodiments.
[0066] In some embodiments, the electronic device 10 may be an independent control unit within the vehicle, such as a Body Control Module (BCM), Vehicle Control Unit (VCU), or Microcontroller Unit (MCU), etc., and this application does not impose any limitations on this. In a domain-centralized or central computing architecture, the electronic device 10 may also be a functional module or virtual machine instance integrated into the intelligent driving domain controller, cockpit domain controller, or central computing platform.
[0067] In some of the above embodiments, without changing the vehicle's existing mechanical structure or adding a dedicated safety chip, the vehicle is given the ability to autonomously perceive and adaptively control the replacement of parts, thereby improving the vehicle's intelligent operation and maintenance level and vehicle safety throughout its entire life cycle.
[0068] Please see Figure 3 This is a flowchart illustrating a method for controlling the replacement of vehicle parts, provided in an embodiment of this application.
[0069] The steps in this embodiment can be based on Figure 1 The component replacement management system shown is implemented with the vehicle-side main controller as the execution entity, and with the cooperation of the cloud server, it completes the identification of component replacement, determination of source, and differentiated management.
[0070] Specifically, the parts replacement management method includes the following process. Depending on different needs, the order of some steps in this flowchart can be changed, and some steps can be omitted.
[0071] Step S10: Obtain the vehicle file corresponding to the vehicle and the hardware identifiers of the multiple components currently installed on the vehicle.
[0072] In some embodiments of this application, each vehicle or vehicle of the same model may correspond to a vehicle file, which records the hardware identifiers of each registered component.
[0073] In some embodiments, a designated manufacturing plant, acting as a registration entity recognized or authorized by the vehicle manufacturer, performs a registration operation on the hardware identifier of the component after production but before it leaves the factory. This registration operation involves the designated manufacturing plant using its internal registration management system to associate and register basic attribute information of the component, such as component model, production batch, production date, production line number, and production number, forming an immutable registration record, i.e., the hardware identifier. This hardware identifier is then uploaded to a serial number database on a cloud server for filing. After registration, the component's hardware identifier is considered a registered hardware identifier, and such components are considered standard components with legitimate traceability.
[0074] In some embodiments, vehicle files may be stored on a server (e.g., Figure 1 In the cloud server shown, when the vehicle is powered on or a preset trigger condition is met (e.g., the vehicle's main control detects that the ignition switch has switched from the OFF position to the ON position), electronic devices (e.g., Figure 1 The vehicle-side main controller (shown) is synchronized from the server to the vehicle's local storage.
[0075] In some embodiments, the registered components include, but are not limited to, components assembled by a designated manufacturing plant when the vehicle leaves the factory, and components replaced by a designated after-sales service station.
[0076] In some embodiments, the hardware identifier is a unique identification code written by the manufacturing plant for each component, which is globally unique and cannot be tampered with. The hardware identifier can be a serial number, and there are various ways to generate the serial number, such as using a combination of "production date + production line number + production number".
[0077] In some embodiments of this application, the vehicle-side master controller can periodically read the hardware identifiers of all currently assembled components of the vehicle via the vehicle bus (e.g., CAN) to reflect the current actual assembly status of the vehicle.
[0078] In some embodiments, the reading cycle can be flexibly set according to the actual application scenario to achieve a dynamic balance of detection timeliness without increasing the load on the vehicle network. For example, it can be set to every 30 seconds, every minute, or every 5 minutes, and this application does not make a specific limitation. For example, when the vehicle is in motion, the reading operation is performed with a first cycle (e.g., every minute), and when the vehicle is parked, the reading operation is performed with a second cycle (e.g., every 5 minutes).
[0079] Through the above embodiments, basic data collection can be completed using existing communication and storage resources without the need to integrate a dedicated security chip into the components, significantly reducing hardware costs.
[0080] In some embodiments of this application, in order to ensure the integrity of the identification link and the accuracy of the data benchmark, the vehicle file also records the VIN, the key data corresponding to each registered component of the VIN, and the binding relationship between the VIN and the hardware identifier and key data of each component. Then, when the vehicle-side master controller obtains the vehicle identification code of the vehicle corresponding to the vehicle, it obtains the corresponding vehicle file from the server based on the vehicle identification code.
[0081] In some embodiments, the VIN serves as a unique global identification index for the vehicle, acting as a key value associated with the vehicle's data throughout its entire lifecycle. Upon power-on initialization or when network recovery is detected, the vehicle's main controller actively reads the locally stored VIN and initiates a file synchronization request to the server. The server retrieves the corresponding vehicle file from the database based on the VIN. Specifically, if the vehicle has been repaired at a designated after-sales service station, the latest vehicle file after repair is obtained; otherwise, the vehicle file generated at the time of manufacture is obtained.
[0082] The above embodiments ensure that the vehicle files obtained are authoritative and timely, and also provide necessary data support for dynamic key matching and software repair in subsequent assembly scenarios without designated methods.
[0083] Although this embodiment uses VIN as an index, in other embodiments, the same function can be achieved by using codes such as engine number or chassis number that can uniquely identify the vehicle.
[0084] Step S20: Identify the target component from the multiple components based on the comparison results between the hardware identifiers of multiple components and the hardware identifiers in the vehicle file.
[0085] In some embodiments of this application, the comparison action in this step can be performed locally on the vehicle by the vehicle-side main controller. In other embodiments, it can also be uploaded to the cloud for processing, without specific limitations. The following description will take the execution of the comparison action locally on the vehicle as an example.
[0086] In some embodiments, the vehicle-side main controller matches the hardware identifiers read in step S10 with the hardware identifiers in the locally cached vehicle file one by one. If the hardware identifier of any currently installed component does not match the hardware identifier in the vehicle file, it indicates that this component has been replaced, and the replacement was not completed through a designated method. Then, this component is identified as the target component, i.e., a component suspected of being installed through an unauthorized method. In other words, the target component refers to a component whose currently installed hardware identifier does not match the hardware identifier recorded in the vehicle file; this inconsistency indicates that the target component has been replaced without a designated method.
[0087] In some embodiments, when the vehicle-side main controller performs the comparison, as long as it detects that the hardware identifier fed back by any node on the vehicle bus is inconsistent with the hardware identifier in the vehicle file, regardless of whether the remaining components are normal, it will immediately lock the inconsistent component as the target component.
[0088] The judgment criteria of the above embodiments can effectively prevent system compatibility risks caused by the omission of partial replacement behavior, ensure that any hardware changes that are not assembled through a specified means can be captured in a timely manner, and push the comparison logic down to the vehicle end for execution, which can effectively reduce the data throughput of vehicle-cloud communication, reduce the dependence on network bandwidth, and at the same time avoid recognition delays caused by network latency, thereby improving the real-time response capability and data privacy security of parts replacement management.
[0089] Step S30: Report the hardware identifier of the target component to the server, so that the server can query the hardware identifier of the target component in the serial number database and determine the source attribute of the target component based on the query result.
[0090] In some embodiments, the vehicle-side main controller reports the hardware identifier of the identified target component to the server, further saving communication resources.
[0091] In some embodiments, the serial number database records the hardware identifiers and associated key data of all registered components. For ease of description, this application categorizes components into standard components and non-standard components based on whether the hardware identifier has a registration record in the serial number database on the cloud server. A standard component refers to a component whose hardware identifier has been registered in the serial number database, and the registration record contains the key data corresponding to the hardware identifier, enabling traceability of its origin through the serial number database. In other words, whether a component is a standard component as defined in this application depends on whether its hardware identifier has a valid registration record in the serial number database. Correspondingly, a non-standard component refers to a component whose hardware identifier is not recorded in the serial number database and cannot be traced back to its origin through the serial number database.
[0092] In some embodiments, after receiving the reported information, the server will search the serial number database. If the hardware identifier of the target component is found in the serial number database, the query result indicates that the target component is a standard component assembled through a non-designated method, that is, the target component is a registered standard component, but it was not assembled through the designated method. For example, a typical physical scenario is a component disassembled from a scrapped vehicle and installed on this vehicle by a non-designated repair shop. Although such components may be compatible with the original vehicle in terms of hardware specifications, due to the lack of software adaptation and key injection for assembly through the designated method, there are often problems such as software version mismatch or functional limitations.
[0093] Conversely, if the hardware identifier of the target component is not recorded in the serial number database, the query results indicate that the target component is a non-standard component assembled through unauthorized channels. In other words, the target component is one that has never been registered and was not assembled through the designated channels. For example, a typical physical scenario is purchasing counterfeit or substandard components from unauthorized manufacturers, modifying them privately, or installing them in the vehicle at unauthorized repair shops. These components may not only be incompatible with the original vehicle in terms of hardware specifications, but may also pose serious security risks or malicious code injection risks.
[0094] In some of the above embodiments, the dual identification mechanism of vehicle-side initial screening combined with cloud-based verification not only utilizes the timeliness of vehicle-side comparison but also leverages the traceability advantages of global cloud data, ensuring the accuracy of source attribute determination. This provides a precise decision-making basis for subsequent differentiated management and control, thereby maximizing the preservation of vehicle availability and user maintenance options while ensuring safety.
[0095] Step S40: Receive the control instructions returned by the server based on the source attribute, and perform control operations based on the control instructions.
[0096] In some embodiments of this application, the server generates targeted control instructions based on the source attributes of the target component and issues them to the vehicle. Upon receiving the control instructions, the vehicle's main controller parses them, determines the control strategy corresponding to the source attribute based on the parsing results, and executes the corresponding control operations according to the control strategy. Different source attributes correspond to different control strategies.
[0097] In some embodiments, the content of the control strategy is not fixed but dynamically generated based on factors such as the source attributes and functional importance of the components. For example, for standard components with outdated software versions, the control instructions may include software upgrade instructions containing software upgrade packages and key data, and the control strategy may include, but is not limited to, upgrade strategies that repair the software of the target component (i.e., upgrade strategies). Figure 1 The "software push" shown refers to the filing strategy that corrects the registration status of target components in the vehicle file (i.e., Figure 1 (As shown in "Backend Data Modification"); For non-standard parts, the control command can be a vehicle-side prompt command that includes functional restrictions, alarm prompts, etc., and the control strategy can include, but is not limited to, alarm strategies that output prompt information to the user (i.e., Figure 1 The "trigger vehicle-side prompt" shown), and the restriction strategy that restricts the function of the target component or the whole vehicle (i.e. Figure 1 The "driving restrictions" shown), and the blocking policy that prohibits the delivery of software updates to vehicles (i.e. Figure 1 The "OTA function disabled" message is displayed.
[0098] The specific implementation methods for the above-mentioned control strategies will be discussed later. Figure 4 and Figure 5 The embodiments shown are illustrated by way of example.
[0099] In the technical solutions provided by the above embodiments of this application, the vehicle files obtained by the vehicle end are compared with the hardware identifiers of the actually assembled parts, and secondary tracing is performed in conjunction with the serial number database of the server. This constructs a dual identification mechanism that combines initial screening at the vehicle end with confirmation in the cloud. Utilizing only existing communication links and storage resources, and without increasing any hardware costs, it achieves comprehensive perception of parts replacement behavior and accurate determination of source attributes. Furthermore, the differentiated control instructions issued by the server based on source attributes can provide automated key matching and software baseline repair services for standard parts, solving the compatibility pain point when assembling standard parts through non-designated channels; it can also implement upgrade blocking and hierarchical security control for non-standard parts assembled through non-designated channels, effectively avoiding vehicle functional abnormalities and driving safety risks caused by unknown parts sources, and significantly improving the safety and maintenance convenience of the vehicle throughout its entire life cycle.
[0100] Please see Figure 4 This is a flowchart illustrating a component replacement control method provided in another embodiment of this application.
[0101] This embodiment further illustrates how to perform control operations when the target component is a standard component assembled through a non-designated method. Specifically, it includes the following process: Step S41: If the target component is determined to be a standard component assembled through a non-specified method based on the query results, obtain the current software version of the target component.
[0102] In some embodiments, although the hardware identifier of a "standard component assembled through a non-designated method" is registered, its internal software version is often inconsistent with the current baseline version of the vehicle because it was not assembled through a designated method. Furthermore, non-designated repair shops lack the dedicated flashing key to upgrade its software or configure its parameters, which can easily lead to abnormal vehicle functions or communication failures. Therefore, when it is determined that the target component is a standard component assembled through a non-designated method, the vehicle's main controller will actively read the current software version of the target component, such as the software version number.
[0103] Step S411: Report the current software version to the server, so that the server compares the current software version with the standard software version. If there is a difference between the current software version and the standard software version, the server retrieves the key data corresponding to the hardware identifier of the target component from the serial number database and returns a software upgrade instruction.
[0104] In some embodiments of this application, the software upgrade instruction carries an upgrade package that matches the standard software version, as well as key data corresponding to the hardware identifier of the target component.
[0105] In some embodiments, the vehicle-side controller reports the current software version to the server. The server compares the current software version of the target component with the standard software version recorded in the vehicle file for the current vehicle. When the software versions do not match, the server not only generates an upgrade package containing the latest firmware, but also precisely extracts the key data uniquely bound to the hardware identifier of the target component from the serial number library, and packages the two into a software upgrade instruction and sends it to the vehicle.
[0106] In some embodiments of this application, when the current software version is consistent with the standard software version, it indicates that the software version running inside the target component is consistent with the current baseline version of the vehicle, and no upgrade operation is required.
[0107] Step S412: Receive the software upgrade instruction and use the key data to perform security verification on the target component. After the target component passes the security verification, install the upgrade software package.
[0108] In some embodiments, after receiving a software upgrade instruction, the vehicle-side main controller parses the software upgrade instruction and uses the parsed key data to perform integrity verification and security unlocking of the upgrade software package. Only after the verification is successful will the upgrade software package be installed, so that the updated software version of the target component is consistent with the standard software version.
[0109] In some embodiments, the verification process is completed collaboratively by the vehicle-side master controller and the target component. The specific verification process may include: First, the vehicle-side master controller sends a software write request to the target component. Second, upon receiving the request, the target component returns its internally stored key to the vehicle-side master controller. Finally, the vehicle-side master controller compares the key returned by the target component with the key data sent by the server. If they match, the verification passes, the target component unlocks its write permission, and the vehicle-side master controller is allowed to install the upgrade software package; if they do not match, the verification fails, and the target component rejects subsequent write requests.
[0110] In some of the above embodiments, for standard parts assembled through non-designated methods, the server dynamically matches keys and issues upgrade instructions, which solves the technical problem that standard parts cannot be flashed due to lack of keys when assembled through non-designated methods. This allows standard parts replaced through non-designated methods to automatically align with the vehicle software baseline, avoiding compatibility risks caused by software version inconsistencies. At the same time, it also avoids the security risk of mistakenly sending upgrade packages to non-standard parts.
[0111] In some embodiments of this application, in order to ensure the accuracy and continuity of vehicle data throughout its entire lifecycle, when the server determines that the target component is a standard component assembled through a non-specified method based on the query results, it also determines the data entry at the corresponding location in the vehicle file based on the location identifier of the target component in the vehicle; updates the hardware identifier recorded in the data entry to the hardware identifier of the target component, and associates the key data corresponding to the hardware identifier of the target component with the data entry.
[0112] In some embodiments, during non-designated repair scenarios, although the target component has been replaced, the vehicle file on the server typically retains information about the old component. This can lead to data discrepancies in subsequent vehicle diagnostics and OTA upgrades. Therefore, while determining that the target component is a standard component assembled through a non-designated method and preparing for software repair, the server precisely locates the corresponding data entry in the vehicle file based on the target component's location identifier in the vehicle (e.g., left front door controller ECU1, power domain main control ECU2, etc.). Subsequently, the server replaces the old hardware identifier in the corresponding data entry with the newly reported hardware identifier of the target component and rebinds the newly acquired key data to this data entry, ensuring the integrity of the file data.
[0113] Through the above embodiments, even if standard parts undergo assembly through unspecified means, the vehicle files on the server can automatically sense and adapt to changes in the physical entity, always maintaining consistency between vehicle-side data and cloud-based data. This not only provides an accurate data benchmark for subsequent maintenance services, but also enables the correct identification of the current assembly status of parts when the vehicle undergoes secondary transfer, avoiding management blind spots caused by missing historical maintenance records.
[0114] Please see Figure 5 This is a flowchart illustrating a component replacement control method provided in another embodiment of this application.
[0115] This embodiment further illustrates how to execute control operations based on control instructions when the target component is a non-standard component assembled through a non-specified method. Specifically, it includes the following steps: Step S42: Receive prompt instructions from the vehicle.
[0116] In some embodiments of this application, the vehicle-side prompting command carries a preset configuration file, which records components of different functional types and the preset hazard levels and preset prompting information corresponding to the components of different functional types.
[0117] In some embodiments, the function type refers to the category of responsibilities undertaken by the target component in the vehicle's electronic and electrical architecture, such as the power domain, chassis domain, body domain, cockpit domain, or intelligent driving domain.
[0118] In some embodiments, the preset hazard level is a quantitative representation of the severity of the consequences that may result from the failure of the target component. It can usually be divided into multiple levels such as high risk, medium risk, and low risk, with each level corresponding to a different risk tolerance.
[0119] In some embodiments, the preset prompts are proprietary language that is predefined and conforms to human-computer interaction standards for specific abnormal states of components, and are used to accurately convey the nature of the fault and handling suggestions to the user.
[0120] Through the hierarchical configuration of the above embodiments, the response strategy can be dynamically adjusted according to the actual functional importance of the target components, which not only ensures the bottom line of driving safety, but also avoids the excessive restriction of the whole vehicle function due to the abnormality of non-critical components, thus achieving the optimal balance between safety and availability.
[0121] In some embodiments of this application, the configuration file can be dynamically updated from the server via OTA to adapt to the security level adjustment requirements brought about by vehicle model changes, software iterations, or regulatory changes.
[0122] Step S421: Based on the functional type of the target component, obtain the preset hazard level and preset warning information corresponding to the target component from the configuration file.
[0123] For example, when the identified target component is a brake controller, the corresponding function type belongs to the chassis safety domain, which is directly related to the vehicle's deceleration and parking safety. The vehicle-side main controller can query the configuration file to find that the preset danger level corresponding to the chassis safety domain is high-risk.
[0124] When the identified target component is the infotainment host, the corresponding function type belongs to the cockpit infotainment domain. Anomalies in this type of component only affect non-safety-related functions such as multimedia playback and navigation display, and will not have any negative impact on the vehicle's driving dynamics. The vehicle-side main controller can query the configuration file to find that the preset danger level corresponding to the cockpit infotainment domain is low-risk.
[0125] Step S422: Execute the corresponding functional restriction action according to the preset danger level, and / or output the preset prompt information.
[0126] Following the above embodiments, when the preset danger level corresponding to the target component is high-risk, the functional restriction actions include, but are not limited to, limiting the vehicle's power output or prohibiting the vehicle from starting. At the same time, a corresponding preset prompt message such as "Braking system abnormal, please stop safely and contact rescue" is output in the form of a pop-up reminder on the instrument panel or central control screen.
[0127] When the preset danger level corresponding to the target component is low, a preset prompt message such as "The entertainment system has detected non-original parts, and some functions may be limited" can be output without interfering with the normal driving function of the vehicle.
[0128] The above-mentioned embodiments, through differentiated processing, ensure that high-intensity control measures are implemented when critical components malfunction, which can effectively prevent traffic accidents caused by reduced or failed braking performance, reflecting the design principle of safety first. At the same time, it ensures that users can still maintain basic vehicle use needs when facing malfunctions of non-critical components, avoiding unnecessary maintenance anxiety and travel interruptions.
[0129] In other embodiments, for intermediate-level components, such as window lift motors or air conditioning compressors, the corresponding preset hazard level can be set to medium hazard. The corresponding control action can be to restrict some functions of the target component (e.g., only allow manual mode or reduce power operation) and accompany it with voice prompts, so as to retain the remaining functions as much as possible under the premise of controllable risk.
[0130] In some embodiments of this application, when the query results determine that the target component is a non-standard component assembled through an unspecified method, in order to prevent the user from continuing to use the vehicle at a high risk without their knowledge, the server will generate a remote upgrade blocking command for the vehicle and generate a risk warning work order. The risk warning work order will be sent to the vehicle's after-sales management system, so that the after-sales management system will notify after-sales personnel to contact the vehicle's user.
[0131] In some embodiments, when the server confirms through a serial number database that the target component is a non-standard component, it sends a remote upgrade blocking command for the vehicle's VIN to the OTA management platform. Upon receiving the remote upgrade blocking command, the OTA management platform adds the vehicle's VIN to the OTA upgrade blacklist. Subsequently, before issuing an upgrade task, the OTA management platform first checks whether the vehicle's VIN is on the OTA upgrade blacklist; if the query result is yes, the OTA management platform intercepts the issuance request, prohibiting the sending of any software upgrade commands to the vehicle.
[0132] In some embodiments, the server will also automatically generate a risk warning work order containing key information such as the vehicle's VIN and the hardware identifier of the target component, and push the risk warning work order to the after-sales management system in real time through a standardized data interface, triggering a manual intervention process. After receiving the risk warning work order, the after-sales management system will automatically assign the task to the corresponding after-sales service specialist according to preset timeliness rules. The after-sales service specialist will then proactively contact the vehicle's user via telephone, SMS, or a dedicated application to explain that the vehicle is equipped with non-standard components that have not been sourced from designated channels, inform the user that the vehicle will not be able to undergo software upgrades via OTA, and that there may be security risks. The user is advised to visit a designated after-sales service station for inspection and repair as soon as possible.
[0133] In some of the above embodiments, the dual mechanism of technical blocking combined with human care not only cuts off the secondary disasters that may be caused by non-standard parts at the source, but also ensures that users can be informed of potential safety hazards of the vehicle in a timely manner and receive professional handling advice, thus preventing users from continuing to use the vehicle at high risk without their knowledge.
[0134] Please see Figure 6 This is a schematic diagram of the architecture of a component replacement control system provided in another embodiment of this application.
[0135] In some embodiments of this application, a parts replacement management system is provided. The parts replacement management system includes a vehicle and a server. This embodiment uses a vehicle as an example. Figure 6 The vehicle and server shown are Figure 6 The cloud server shown is used as an example for illustration. In other embodiments, the server may also be an edge computing node or a distributed cloud service platform, and this application does not limit this.
[0136] In some embodiments, the vehicle and the cloud server communicate with each other to achieve data transmission in a vehicle-to-cloud collaborative manner. For example, the vehicle and the cloud server can communicate with each other through an in-vehicle remote communication terminal (T-Box), a 4G / 5G mobile communication module, a Wi-Fi hotspot, or a vehicle-to-everything (V2X) communication unit.
[0137] Although the diagram shows an architecture where the vehicle communicates directly with the cloud server, in other embodiments, edge computing nodes or regional gateways can be introduced as relays, as long as they can enable bidirectional data interaction between the vehicle and the cloud server.
[0138] The flexible communication architecture design in the above embodiments enables the component replacement management system to adapt to the management needs of different network environments, ensuring business continuity.
[0139] In some embodiments of this application, each standard component is registered with a unique hardware identifier (e.g., serial number) by the vehicle manufacturer's own or authorized component manufacturing plant (hereinafter referred to as the designated manufacturing plant) before leaving the factory.
[0140] In some embodiments, a designated manufacturing plant, acting as a registration entity recognized or authorized by the vehicle manufacturer, performs a registration operation on the hardware identifier of the component after production but before it leaves the factory. This registration operation involves the designated manufacturing plant using its internal registration management system to associate and register basic attribute information such as the component model, production batch, production date, production line number, and production number, forming an immutable registration record, i.e., a hardware identifier, which is then uploaded to a serial number database on a cloud server for filing. After registration, the component's hardware identifier is considered a registered hardware identifier, and such components are considered standard components with legitimate traceability. The hardware identifier recorded in the serial number database serves as the sole proof of the component's legal identity throughout its entire lifecycle. The above registration operation ensures that each registered component has a unique and traceable hardware identifier throughout its entire lifecycle.
[0141] In other embodiments, the serial number can also be generated using the Universally Unique Identifier (UUID) standard. This application does not limit the specific rules for generating the serial number, as long as it ensures that the hardware identifier of each component is unique throughout its entire lifecycle.
[0142] In the above embodiment, the hardware identifier is written into the non-volatile memory of the component. Even if the component is powered off after writing, the stored hardware identifier will not be lost. At the same time, the hardware identifier is locked after being written and cannot be deleted or rewritten, so as to ensure that a one-to-one and tamper-proof binding relationship is formed between the hardware identifier and the component.
[0143] In some embodiments, a designated manufacturing plant will directly transport a portion of the components that have completed hardware identification registration to the component assembly stage for vehicle assembly.
[0144] In some embodiments, the designated manufacturing plant will also ship the parts that have completed hardware identification registration to the after-sales service stations designated by the vehicle manufacturer (such as 4S stores authorized by the vehicle manufacturer) as compliant spare parts reserves for subsequent users to assemble and use when replacing parts at the designated after-sales service stations.
[0145] In some embodiments of this application, after the assembly of the components is completed through a specified method, the binding relationship between the registered hardware identifier of the component, the corresponding key data and the vehicle identification number (VIN) of the vehicle must be uploaded to the cloud server.
[0146] In some embodiments, the designated pathway refers to a compliant assembly channel authorized by the vehicle manufacturer and possessing the permission to upload hardware identifiers for components. This includes, but is not limited to, the vehicle assembly stage at a designated manufacturing plant and the component replacement assembly stage at a designated after-sales service station. In other words, whether in the vehicle assembly stage after the component leaves the factory or in the replacement assembly stage at a designated after-sales service station, after the component assembly is completed, the aforementioned binding relationship must be uploaded to the cloud server to complete the registration or update of this component information in the vehicle file. Specifically, depending on the component assembly scenario, the binding relationship is uploaded in different forms: In some embodiments, during the vehicle assembly stage after the parts have left the factory (e.g.) Figure 6 In the "factory off-line" scenario shown, after the assembled parts are ready for shipment, the off-line diagnostic equipment writes a randomly generated key into the parts. Subsequently, the equipment reads the parts' hardware identifier, the random key, and the vehicle's VIN, binds these three elements, generates a binding relationship data packet, and uploads this packet as outgoing information to a cloud server via the factory's internal network or mobile communication network. The cloud server stores the binding relationship from the outgoing information in the vehicle's VIN's corresponding vehicle file, completing the vehicle's pre-shipment data registration.
[0147] In some embodiments, when a user replaces parts at a designated after-sales service center (e.g.) Figure 6 In the "after-sales parts replacement" scenario shown, after-sales service personnel retrieve the corresponding compliant spare parts from the spare parts warehouse and assemble them onto the vehicle. After assembly, the after-sales diagnostic equipment writes the factory key to the newly assembled part (the factory key is generated by the designated manufacturing plant during part production and pre-set along with the hardware identifier, stored in the after-sales diagnostic equipment in advance, or pre-delivered to the after-sales diagnostic equipment by the cloud server before repair). After writing, the after-sales diagnostic equipment reads the hardware identifier, factory key, and vehicle VIN of the part, binds the three together, generates a binding relationship data packet, and uploads the binding relationship data packet as repair information to the cloud server via the network. The cloud server updates the binding relationship in the repair information to the vehicle file corresponding to the vehicle VIN, completing the post-repair file update.
[0148] In some embodiments, each VIN in the vehicle file is associated with multiple data entries. Each data entry corresponds to the assembly location of a component on the vehicle, and the assembly location is distinguished in the file by a location identifier (e.g., engine control unit location, brake control unit location, etc.). When updating the file, the cloud server uses the VIN as an index to locate the data record corresponding to the VIN in the vehicle file. Within the data record, the component's location identifier is used as an index to associate the hardware identifier and key data with the data entry corresponding to the location identifier. If the location identifier is already associated with a hardware identifier (e.g., an old component was previously installed at the location of the location identifier), the existing hardware identifier is updated to the hardware identifier of the newly installed component.
[0149] In some of the above embodiments, the random key and the factory key are both key data used for verifying the write permission of the component. They are different in type but have the same function. The random key is randomly generated when the manufacturing plant assembles the component, while the factory key preset at the time of manufacture is used when the after-sales service station assembles the component. This application does not limit the specific source of the key data, as long as the key data corresponds one-to-one with the hardware identifier of the component.
[0150] Through the collaboration of the two scenarios of vehicle assembly and after-sales spare parts storage, the flow management of parts after they have completed hardware identification registration at designated manufacturing plants has been completed in the two key stages of vehicle manufacturing and after-sales maintenance. This ensures that all registered parts have traceable binding relationships in the cloud server throughout their entire life cycle, providing a complete data foundation for identifying the source of parts based on vehicle files during the subsequent vehicle use stage.
[0151] In some embodiments of this application, the cloud server also stores the hardware identifiers and corresponding key data of all registered components in a serial number database. It is understood that the vehicle file records the current assembly status of each vehicle and is instance data specific to a single vehicle; while the serial number database records the hardware identifiers and key data of all registered components and is global master data. The vehicle file and the serial number database communicate with each other through the hardware identifier as a linking field, jointly providing data support for determining the origin attributes of components.
[0152] In some embodiments, the hardware identifier is used as the primary key in the serial number database to record the binding relationship between the hardware identifier and key data corresponding to each registered component. Specifically, when any component completes its factory registration at a designated manufacturing plant or is replaced and assembled at a designated after-sales service station and the binding relationship is uploaded, the cloud server stores the hardware identifier and corresponding key data of this component as a record in the serial number database.
[0153] Through the above embodiments, the serial number database accumulates and records the hardware identifier and corresponding key data of each registered component. After the vehicle reports the target component, the cloud server only needs to search the serial number database using the hardware identifier of the target component as an index. If a match is found, it indicates that the hardware identifier has a legitimate registration source; if no match is found, it indicates that the hardware identifier has not been registered, and the source attribute of the target component can be determined accordingly.
[0154] The data structure division of the vehicle file and serial number database mentioned above is only an exemplary implementation. In actual deployment, the two major data sets can be deployed in different data tables of the same physical database, or they can be deployed on different physical storage nodes, as long as the storage, association and query functions of the above data can be realized. This application does not make any specific limitations in this regard.
[0155] In some embodiments of this application, the implementation logic of the parts replacement control system is as follows: First, the vehicle-side is used to: obtain the hardware identifiers of multiple components currently installed on the vehicle, and report the hardware identifiers of these multiple components to the server.
[0156] In some embodiments, the multiple components currently assembled on the vehicle may include, but are not limited to, an electronic control unit (ECU), for example... Figure 6 The ECUs shown are ECU1, ECU2, ECU3, and ECU4.
[0157] In some embodiments, the functions inside the vehicle are mainly composed of Figure 6 The vehicle-side main control unit is shown. The vehicle-side main control unit establishes communication connections with various components through the vehicle bus (such as Controller Area Network (CAN) bus), periodically reads the serial number of each component as a hardware identifier, and reports the hardware identifiers of multiple currently assembled components to the cloud server.
[0158] Secondly, the cloud server is used to: receive the hardware identifiers of multiple currently assembled components; and identify the target component from among the multiple components based on the comparison results between the hardware identifiers of the multiple components and the hardware identifiers in the vehicle file corresponding to the vehicle, wherein the vehicle file records the hardware identifiers of each registered component; and query the hardware identifier of the target component in the serial number database and determine the source attribute of the target component based on the query results; and generate corresponding control instructions based on the source attribute and return the control instructions to the vehicle.
[0159] In some embodiments, the comparison logic is executed within a cloud server. Once it is detected that the hardware identifier of any received component does not match the hardware identifier in the vehicle file, it indicates that the component has been replaced without a specified method. In this case, the component is automatically marked as the target component. That is, the target component refers to the component whose hardware identifier currently installed in the vehicle does not match the hardware identifier recorded in the vehicle file. The inconsistency indicates that the target component has been replaced without a specified method.
[0160] For ease of description, this application categorizes components into standard and non-standard components based on whether their hardware identifiers are registered in the serial number database of a cloud server. Standard components are those whose hardware identifiers have been registered in the serial number database, and whose registration records contain the corresponding key data, enabling traceability of their origin through the database. In other words, whether a component qualifies as a standard component depends on whether its hardware identifier has a valid registration record in the serial number database. Conversely, non-standard components are those whose hardware identifiers are not recorded in the serial number database, making traceability impossible.
[0161] In some embodiments, after identifying the target component, the cloud server first performs a global search in the serial number database. If the search finds a match, the query result indicates that the target component is a standard component assembled through a non-specified method (e.g., a salvaged part); if the search does not find a match, the query result indicates that the target component is a non-standard component assembled through a non-specified method (e.g., a counterfeit part). Then, based on the source attributes of the target component, the cloud server generates corresponding control instructions, such as generating a software upgrade instruction containing key data and a software upgrade package for standard components assembled through a non-specified method (i.e.,...). Figure 6 The "software push" shown) and the replacement of the original data in the vehicle file (i.e. Figure 6 The "background data modification" shown, or the generation of vehicle-side prompts for non-standard parts assembled through non-specified methods (i.e., Figure 6 The "trigger vehicle-side prompt" and the Over-The-Air (OTA) technology blocking command (i.e.) are shown. Figure 6 The message "OTA function disabled" indicates that the after-sales management system should notify after-sales personnel to contact the user of the vehicle (i.e., Figure 6 (The "After-sales Reminder Call" shown).
[0162] The above embodiments, through a centralized cloud-based decision-making architecture, ensure the uniformity and authority of the control strategies. At the same time, they also facilitate the dynamic updating and iteration of the control strategies without the need for frequent upgrades to the vehicle-side software.
[0163] Finally, the vehicle terminal is also used to: receive control commands and execute control operations based on the control commands.
[0164] In some embodiments, after receiving the control instructions from the cloud server, the vehicle-side main controller will parse and verify the control instructions. Then, it will execute corresponding control operations based on the parsing results of the control instructions, such as calling key data to upgrade the software of the target component, or performing operations such as "function control", "large screen prompts", and "driving restrictions".
[0165] In the vehicle-cloud collaborative architecture of some of the above embodiments, the vehicle file is compared with the hardware identifiers of the actually installed parts through a cloud server. When the part identification rules need to be adjusted, the configuration only needs to be updated on the cloud server for immediate effect, without having to push OTA upgrades to a large number of vehicles on the road, significantly reducing the operation and maintenance costs of policy updates. At the same time, the vehicle only undertakes data collection and uploading tasks, without having to store complete vehicle files or perform comparison calculations, thus requiring less storage space and computing power from the vehicle's main controller. Therefore, it can be adapted to low-end or older models that do not have high-performance main controllers, expanding the scope of application of this application. Furthermore, the server performs secondary tracing using a serial number database, again utilizing only existing communication links and storage resources, achieving comprehensive perception of part replacement behavior and accurate determination of source attributes without increasing any hardware costs. Furthermore, the differentiated control instructions issued by the server based on the source attribute can provide automated key matching and software baseline repair services for standard parts, solving the compatibility pain point when assembling standard parts through non-designated channels; it can also implement upgrade blocking and hierarchical security control for non-standard parts assembled through non-designated channels, effectively avoiding the risk of vehicle malfunction and driving safety due to unknown parts sources, and significantly improving the safety and maintenance convenience of the vehicle throughout its entire life cycle.
[0166] For detailed implementation information on the parts replacement management system, please refer to the relevant descriptions in the following method embodiments applied to the server. To avoid repetition, this application will not repeat them here.
[0167] In some embodiments of this application, Figure 2 The electronic device 10 shown may be Figure 6 The cloud server shown is used to perform the following Figure 7 The component replacement control method is shown.
[0168] In other words, Figure 2 The electronic device 10 shown can be set on the vehicle side and the cloud side respectively. The electronic device 10 on the vehicle side executes the vehicle-related steps, and the electronic device 10 on the cloud side executes the server-related steps. The two sides work together to realize the component replacement control method provided in this application.
[0169] In some of the above embodiments, the cloud server achieves global awareness and unified decision-making on parts replacement events by centrally managing vehicle files and serial number databases, providing vehicle manufacturers with a low-cost, easy-to-deploy, and scalable remote parts management solution.
[0170] Please see Figure 7 This is a flowchart illustrating a component replacement control method for servers provided in an embodiment of this application.
[0171] The steps in this embodiment can be based on Figure 6 The component replacement control system shown is implemented by a motion server as the execution entity, which, with the cooperation of the vehicle, completes the identification of component replacements, determination of their origin, and differentiated control.
[0172] Specifically, the parts replacement management method includes the following process. Depending on different needs, the order of some steps in this flowchart can be changed, and some steps can be omitted.
[0173] Step S100: Receive the hardware identifiers of multiple components currently installed on the vehicle reported by the vehicle.
[0174] In some embodiments, the hardware identifier is a unique identification code written by the manufacturing plant for each component, which is globally unique and cannot be tampered with. The hardware identifier can be a serial number, and there are various ways to generate the serial number, such as using a combination of "production date + production line number + production number".
[0175] In some embodiments of this application, when the vehicle is powered on or a preset triggering condition is met (e.g., after detecting that the ignition switch has switched from the OFF position to the ON position), the vehicle end (e.g., Figure 6 The vehicle-side main controller shown can periodically read the hardware identifiers of all currently assembled components in the vehicle via the vehicle bus (e.g., CAN), and report the hardware identifiers of multiple currently assembled components to the server (e.g., CAN). Figure 6 The cloud server shown reflects the current actual assembly status of the vehicle.
[0176] In some embodiments, the reading cycle can be flexibly set according to the actual application scenario to achieve a dynamic balance of detection timeliness without increasing the load on the vehicle network. For example, it can be set to every 30 seconds, every minute, or every 5 minutes, and this application does not make a specific limitation. For example, when the vehicle is in motion, the reading operation is performed with a first cycle (e.g., every minute), and when the vehicle is parked, the reading operation is performed with a second cycle (e.g., every 5 minutes).
[0177] Through the above embodiments, basic data collection can be completed using existing communication and storage resources without the need to integrate a dedicated security chip into the components, significantly reducing hardware costs.
[0178] Step S200: Identify the target component from the multiple components based on the comparison results between the hardware identifiers of multiple components and the hardware identifiers in the vehicle file corresponding to the vehicle.
[0179] In some embodiments of this application, each vehicle or vehicle of the same model may correspond to a vehicle file, which records the hardware identifiers of each registered component.
[0180] In some embodiments, a designated manufacturing plant, acting as a registration entity recognized or authorized by the vehicle manufacturer, performs a registration operation on the hardware identifier of the component after production but before it leaves the factory. This registration operation involves the designated manufacturing plant using its internal registration management system to associate and register basic attribute information of the component, such as component model, production batch, production date, production line number, and production number, forming an immutable registration record, i.e., the hardware identifier. This hardware identifier is then uploaded to a serial number database on a cloud server for filing. After registration, the component's hardware identifier is considered a registered hardware identifier, and such components are considered standard components with legitimate traceability.
[0181] In some embodiments, the registered components include, but are not limited to, components assembled by a designated manufacturing plant when the vehicle leaves the factory, and components replaced by a designated after-sales service station.
[0182] In some embodiments of this application, in order to ensure the integrity of the identification link and the accuracy of the data benchmark, the vehicle file also records the VIN, the key data corresponding to each registered component of the VIN, and the binding relationship between the VIN and the hardware identifier and key data of each component. Thus, when the cloud server obtains the vehicle file corresponding to the vehicle, it can obtain the vehicle identification code of the vehicle and obtain the vehicle file corresponding to the vehicle based on the vehicle identification code.
[0183] In some embodiments, the VIN serves as a unique global identifier for the vehicle, acting as a key value associated with the vehicle's data throughout its entire lifecycle. Upon power-on initialization or when network recovery is detected, the vehicle's main controller actively reads the locally stored VIN and reports it to the server. The server retrieves the corresponding vehicle file from the database based on the VIN. Specifically, if the vehicle has been repaired at a designated after-sales service station, the latest vehicle file is retrieved; otherwise, the vehicle file generated at the time of manufacture is retrieved.
[0184] The above embodiments ensure that the acquired vehicle files are authoritative and timely, and at the same time, provide necessary data support for dynamic key matching and software repair in subsequent assembly scenarios without designated methods.
[0185] Although this embodiment uses VIN as an index, in other embodiments, the same function can be achieved by using codes such as engine number or chassis number that can uniquely identify the vehicle.
[0186] In some embodiments of this application, the server matches the hardware identifiers received in step S10 with the corresponding hardware identifiers in the vehicle file one by one. If the hardware identifier of any currently installed component does not match the hardware identifier in the vehicle file, it indicates that this component has been replaced, and the replacement was not completed through a designated method. Therefore, this component is identified as a target component, i.e., a component suspected of being installed through an unauthorized method. In other words, a target component refers to a component whose currently installed hardware identifier does not match the hardware identifier recorded in the vehicle file; this inconsistency indicates that the target component has been replaced without a designated method.
[0187] In some embodiments, when the server performs the comparison, as long as it detects that the hardware identifier reported by any node on the vehicle bus is inconsistent with the hardware identifier in the vehicle file, regardless of whether the remaining components are normal, it will immediately lock the inconsistent component as the target component.
[0188] The judgment criteria described in the above embodiments can effectively prevent system compatibility risks caused by the omission of partial replacements, ensuring that any hardware changes that are not assembled through a designated method can be captured in a timely manner. Furthermore, by executing the comparison logic on the server, the vehicle does not need to store vehicle files, nor does it need to periodically request file synchronization from the cloud or receive file update pushes, thus eliminating the communication overhead required for file acquisition and synchronization, and enabling centralized and unified management and real-time updates of component identification rules.
[0189] Step S300: Query the hardware identifier of the target component in the serial number database, and determine the source attribute of the target component based on the query results.
[0190] In some embodiments, the serial number database records the hardware identifiers and associated key data of all registered components. For ease of description, this application categorizes components into standard components and non-standard components based on whether the hardware identifier has a registration record in the serial number database on the cloud server. A standard component refers to a component whose hardware identifier has been registered in the serial number database, and the registration record contains the key data corresponding to the hardware identifier, enabling traceability of its origin through the serial number database. In other words, whether a component is a standard component as defined in this application depends on whether its hardware identifier has a valid registration record in the serial number database. Correspondingly, a non-standard component refers to a component whose hardware identifier is not recorded in the serial number database and cannot be traced back to its origin through the serial number database.
[0191] In some embodiments, after receiving the reported information, the server will search the serial number database. If the hardware identifier of the target component is found in the serial number database, the query result indicates that the target component is a standard component assembled through a non-designated method, that is, the target component is a registered standard component, but it was not assembled through the designated method. For example, a typical physical scenario is a component disassembled from a scrapped vehicle and installed on this vehicle by a non-designated repair shop. Although such components may be compatible with the original vehicle in terms of hardware specifications, due to the lack of software adaptation and key injection for assembly through the designated method, there are often problems such as software version mismatch or functional limitations.
[0192] Conversely, if the hardware identifier of the target component is not recorded in the serial number database, the query results indicate that the target component is a non-standard component assembled through unauthorized channels. In other words, the target component is one that has never been registered and was not assembled through the designated channels. For example, a typical physical scenario is purchasing counterfeit or substandard components from unauthorized manufacturers, modifying them privately, or installing them in the vehicle at unauthorized repair shops. These components may not only be incompatible with the original vehicle in terms of hardware specifications, but may also pose serious security risks or malicious code injection risks.
[0193] In some of the above embodiments, the dual identification mechanism ensures the accuracy of the source attribute determination, which can provide a precise decision-making basis for subsequent differentiated management and control, thereby maximizing the preservation of vehicle availability and user maintenance options while ensuring safety.
[0194] Step S400: Generate the corresponding control command based on the source attribute and return the control command to the vehicle, so that the vehicle can perform control operations based on the control command.
[0195] In some embodiments of this application, the server generates targeted control instructions based on the source attributes of the target component and issues them to the vehicle. Upon receiving the control instructions, the vehicle's main controller parses them, determines the control strategy corresponding to the source attribute based on the parsing results, and executes the corresponding control operations according to the control strategy. Different source attributes correspond to different control strategies.
[0196] In some embodiments, the content of the control strategy is not fixed but dynamically generated based on factors such as the source attributes and functional importance of the components. For example, for standard components with outdated software versions, the control instructions may include software upgrade instructions containing software upgrade packages and key data, and the control strategy may include, but is not limited to, upgrade strategies that repair the software of the target component (i.e., upgrade strategies). Figure 6 The "software push" shown refers to the filing strategy that corrects the registration status of target components in the vehicle file (i.e., Figure 6 (As shown in "Backend Data Modification"); For non-standard parts, the control command can be a vehicle-side prompt command that includes functional restrictions, alarm prompts, etc., and the control strategy can include, but is not limited to, alarm strategies that output prompt information to the user (i.e., Figure 6 The "trigger vehicle-side prompt" shown), and the restriction strategy that restricts the function of the target component or the whole vehicle (i.e. Figure 6 The "driving restrictions" shown), and the blocking policy that prohibits the delivery of software updates to vehicles (i.e. Figure 6 The "OTA function disabled" message is displayed.
[0197] The specific implementation methods of the various control strategies mentioned above will be explained in the foregoing embodiments. Figure 4 and Figure 5 The embodiments shown are illustrated by way of example.
[0198] In the technical solutions provided by some embodiments of this application, the vehicle file is compared with the hardware identifiers of the actually assembled parts through a cloud server. When it is necessary to adjust the part identification rules, the configuration only needs to be updated on the cloud server to take effect immediately, without having to push OTA upgrades to a large number of vehicles in transit, which significantly reduces the operation and maintenance costs of policy updates. At the same time, the vehicle end only undertakes data collection and uploading tasks, without having to store complete vehicle files or perform comparison calculations, thus requiring less storage space and computing power from the vehicle end main controller. Therefore, it can be adapted to low-end or older models that do not have high-performance main controllers, expanding the scope of application of this application. Furthermore, the server performs secondary tracing in conjunction with the serial number database, again using only existing communication links and storage resources, achieving comprehensive perception of part replacement behavior and accurate determination of source attributes without increasing any hardware costs. Furthermore, the differentiated control instructions issued by the server based on the source attribute can provide automated key matching and software baseline repair services for standard parts, solving the compatibility pain point when assembling standard parts through non-designated channels; it can also implement upgrade blocking and hierarchical security control for non-standard parts assembled through non-designated channels, effectively avoiding the risk of vehicle malfunction and driving safety due to unknown parts sources, and significantly improving the safety and maintenance convenience of the vehicle throughout its entire life cycle.
[0199] The above Figure 1 , Figure 3 The "comparison logic is executed on the vehicle side" described in the illustrated embodiment and Figure 6 , Figure 7 The "comparison logic executed on a cloud server" described in the illustrated embodiments are all optional implementations of this application. Those skilled in the art can flexibly choose the appropriate deployment location for the comparison logic based on the actual application scenario (e.g., vehicle communication capabilities, network environment, cloud computing resources, etc.). For example, delegating data collection and preliminary screening to the vehicle end can effectively reduce the upload traffic of invalid data, suitable for scenarios with limited network bandwidth or high real-time requirements; deploying the comparison logic on a cloud server facilitates centralized and dynamic adjustment of the comparison rules, suitable for scenarios where vehicles have stable network connections and sufficient cloud computing resources. Both solutions can solve the technical problems of this application and are both within the protection scope of this application.
[0200] Following the above embodiments, combined with Figure 2 As shown, the electronic device 10 provided in this application embodiment includes, but is not limited to, a memory 11, a processor 12, and a computer program stored in the memory 11 and capable of running on the processor 12, such as a component replacement control program. When the computer program is executed by the processor 12, it implements the component replacement control method as described in the above embodiment.
[0201] Figure 2Only the electronic device 10 with memory 11 and processor 12 is shown. It will be understood by those skilled in the art that... Figure 2 The structure shown does not constitute a limitation on the electronic device 10, and may include fewer or more components than shown, or combine certain components, or have different component arrangements.
[0202] In some embodiments of this application, the electronic device 10 can be communicatively connected to devices such as desktop computers, laptops, handheld computers, and cloud servers.
[0203] In some embodiments of this application, the electronic device 10 can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control device.
[0204] In some embodiments of this application, the network where the electronic device 10 is located includes, but is not limited to, the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.
[0205] In some embodiments of this application, the memory 11 stores multiple computer-readable instructions to implement a component replacement control method, and the processor 12 can execute multiple instructions to implement the component replacement control method of the above embodiments.
[0206] Specifically, the processor 12's implementation method for the above instructions can be found in [reference needed]. Figure 3-5 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.
[0207] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 10 and does not constitute a limitation on the electronic device 10. The electronic device 10 can be a bus topology or a star topology. The electronic device 10 may also include more or fewer other hardware or software than shown in the diagram, or different component arrangements. For example, the electronic device 10 may also include input / output devices, network access devices, etc.
[0208] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, in... Figure 2 The symbol is represented by only one arrow, but this does not mean that there is only one bus or one type of bus. The bus is configured to enable communication between memory 11 and at least one processor 12, etc.
[0209] In some embodiments, electronic device 10 is merely an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.
[0210] In some embodiments of this application, the processor 12 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 12 is the control unit of the electronic device 10, connecting various components of the electronic device 10 via various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., executing a component replacement control program) and calls data stored in the memory 11 to perform various functions of the electronic device 10 and process data.
[0211] The processor 12 executes the operating system and various installed applications of the electronic device 10. The processor 12 executes these applications to implement the steps in each of the above-described embodiments of the component replacement control method, for example... Figure 3-5 The steps are shown.
[0212] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in memory 11 and executed by processor 12 to complete this application. One or more modules / units may be a series of computer-readable instruction segments capable of performing a specific function, which describe the execution process of the computer program in electronic device 10.
[0213] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. This software functional module, stored in a storage medium, includes several instructions to cause a computer device (which may be a personal computer, computer equipment, or network device, etc.) or processor to execute a portion of a component replacement control method according to various embodiments of this application.
[0214] If the modules / units integrated in the electronic device 10 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware devices. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above.
[0215] Computer programs include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory, and other types of memory.
[0216] This application also provides a computer-readable storage medium (not shown), which stores computer-readable instructions. These computer-readable instructions are executed by a processor in an electronic device 10 to implement a component replacement control method according to any of the above embodiments.
[0217] Specifically, computer-readable storage media can be non-volatile or volatile. Computer-readable storage media include flash memory, portable hard drives, multimedia cards, card-type memories (e.g., SD memory, DX memory, etc.), magnetic storage, magnetic disks, optical disks, etc. In some embodiments, memory 11 can be an internal storage unit of electronic device 10, such as a portable hard drive of electronic device 10. In other embodiments, memory 11 can also be an external storage device of electronic device 10, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on electronic device 10. Memory 11 can be used not only to store application software and various types of data installed on electronic device 10, such as the code of a component replacement control method program, but also to temporarily store data that has been output or will be output.
[0218] Furthermore, the computer-readable storage medium may primarily include a stored program area and a stored data area, wherein the stored program area may store the operating system, an application program required for at least one function, etc.; and the stored data area may store data created based on the use of blockchain nodes, etc.
[0219] In the embodiments of this application, unless otherwise expressly specified and limited, "multiple" means two or more.
[0220] In the embodiments of this application, unless otherwise expressly specified and limited, the word "for example" is used to indicate an example, illustration, or description. Any embodiment or design scheme described as "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the word "for example" is intended to present the relevant concepts in a specific manner.
[0221] In the description of this application, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linkage" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication between them; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0222] In the description of this application, unless otherwise expressly specified and limited, "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Furthermore, the character " / " in this application generally indicates that the preceding and following related objects have an "or" relationship.
[0223] Unless otherwise specified, all steps in this application may be performed sequentially or randomly. For example, if a method includes steps A and B, it means that the method may include steps A and B performed sequentially, or it may include steps B and A performed sequentially. For example, if a method may also include step C, it means that step C may be added to the method in any order. For example, the method may include steps A, B, and C, or it may include steps A, C, and B, or it may include steps C, A, and B, etc.
[0224] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.
[0225] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0226] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices described in the specification may also be implemented by a single unit or device through software or hardware.
[0227] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. A method for controlling the replacement of parts, characterized in that, The method includes: Obtain the vehicle file corresponding to the vehicle and the hardware identifiers of multiple components currently installed on the vehicle, wherein the vehicle file records the hardware identifiers of each registered component. Based on the comparison results between the hardware identifiers of the multiple components and the hardware identifiers in the vehicle file, the target component is identified from the multiple components, so that the server queries the hardware identifier of the target component in the serial number database and determines the source attribute of the target component based on the query results; Receive the control instructions returned by the server based on the source attribute, and perform control operations based on the control instructions.
2. The component replacement control method as described in claim 1, characterized in that, The method further includes: If the hardware identifier of any currently assembled component does not match the hardware identifier in the vehicle file, then that component is identified as the target component. If the hardware identifier of the target component is recorded in the serial number database, the query result indicates that the target component is a standard component assembled through a non-specified method; If the hardware identifier of the target component is not recorded in the serial number database, the query result indicates that the target component is a non-standard component assembled through an unspecified method.
3. The component replacement control method as described in claim 2, characterized in that, The vehicle file also records the standard software version of the vehicle. The control instructions include software upgrade instructions. Receiving the control instructions returned by the server based on the source attribute and performing control operations based on the control instructions include: If, based on the query results, it is determined that the target component is a standard component assembled through a non-specified method, the current software version of the target component is obtained and reported to the server. The server then compares the current software version with the standard software version. If there is a difference between the current software version and the standard software version, the server retrieves the key data corresponding to the hardware identifier of the target component from the serial number database and returns the software upgrade instruction. The software upgrade instruction carries an upgrade package matching the standard software version and the key data corresponding to the hardware identifier of the target component. The system receives the software upgrade instruction and uses the key data to perform a security verification on the target component. After the target component passes the security verification, the upgrade software package is installed.
4. The component replacement control method as described in claim 3, characterized in that, When the server determines, based on the query results, that the target component is a standard component assembled through a non-specified method, it determines the corresponding data entry in the vehicle file according to the location identifier of the target component in the vehicle; updates the hardware identifier recorded in the data entry to the hardware identifier of the target component, and associates the key data corresponding to the hardware identifier of the target component with the data entry.
5. The component replacement control method as described in claim 2, characterized in that, In the case where the target component is a non-standard component assembled through an unspecified method, the control instruction includes a vehicle-side prompt instruction. Receiving the control instruction returned by the server based on the source attribute and performing control operations based on the control instruction includes: The vehicle-side prompting instruction is received, wherein the vehicle-side prompting instruction carries a preset configuration file, which records components of different functional types and preset hazard levels and preset prompting information corresponding to the components of different functional types; Based on the functional type of the target component, obtain the preset hazard level and preset warning information corresponding to the target component from the configuration file; Perform corresponding functional restriction actions according to the preset danger level, and / or output the preset prompt information.
6. The component replacement control method as described in claim 2, characterized in that, If the server determines, based on the query results, that the target component is a non-standard component assembled through an unspecified method, it generates a remote upgrade blocking command for the vehicle and generates a risk warning work order. The risk warning work order is then sent to the vehicle's after-sales management system, which in turn notifies after-sales personnel to contact the vehicle's user.
7. The component replacement control method as described in claim 1, characterized in that, The vehicle file also records the vehicle identification code, the key data corresponding to each component, and the binding relationship between the vehicle identification code and the hardware identifier and key data of each component. Obtaining the vehicle file corresponding to the vehicle includes: Obtain the vehicle identification number of the vehicle; The corresponding vehicle file is retrieved from the server based on the vehicle identification code.
8. A parts replacement control system, characterized in that, The system includes a vehicle and a server, and the vehicle is communicatively connected to the server; The vehicle is used to: obtain the vehicle file corresponding to the vehicle and the hardware identifiers of multiple components currently installed on the vehicle, wherein the vehicle file records the hardware identifiers of each registered component; and identify the target component from the multiple components based on the comparison results between the hardware identifiers of the multiple components and the hardware identifiers in the vehicle file; and report the hardware identifier of the target component to the server. The server is used to: query the hardware identifier of the target component in the serial number database, determine the source attribute of the target component based on the query result, and return a control command to the vehicle based on the source attribute; The vehicle is also used to: receive the control instructions and perform control operations based on the control instructions.
9. A parts replacement control system, characterized in that, The system includes a vehicle and a server, and the vehicle is communicatively connected to the server; The vehicle is used to: obtain the hardware identifiers of multiple components currently assembled on the vehicle, and report the hardware identifiers of the multiple components currently assembled to the server; The server is configured to: receive hardware identifiers of multiple currently assembled components; identify a target component from the multiple components based on a comparison between the hardware identifiers of the multiple components and the hardware identifiers in the vehicle file corresponding to the vehicle, wherein the vehicle file records the hardware identifiers of each registered component; query the hardware identifier of the target component in a serial number database and determine the source attribute of the target component based on the query result; generate a corresponding control command based on the source attribute and return the control command to the vehicle; The vehicle is also used to: receive the control instructions and perform control operations based on the control instructions.
10. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the component replacement control method as described in any one of claims 1 to 7.
