Data updating method and device and computer readable storage medium

Through collaborative work between the on-board terminal and the cloud server, data backup and update of the vehicle hardware are automatically completed, and the problem of cumbersome and inconsistent data updates in vehicle replacement is solved, and a simpler and more accurate data update process is achieved.

CN118964083APending Publication Date: 2024-11-15AVATR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410933968.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

During the vehicle replacement process, data updates in the prior art are complicated and data inconsistencies are prone to problems, and simple and accurate data update methods are lacking.

Method used

Through collaborative work between the on-board terminal and the cloud server, the data backup and update process is automatically detected when hardware replacement is triggered, and the hardware data before replacement is backed up and written into the replaced hardware to achieve data update.

Benefits of technology

Reduces manual operation steps, reduces the risk of data inconsistency, and improves the simplicity and accuracy of data updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964083A_ABST
    Figure CN118964083A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of data processing, and discloses a data updating method and device and a computer readable storage medium. The method comprises the steps that a data backup instruction for target hardware in a vehicle is obtained, the data backup instruction is issued when it is detected that the target hardware is replaced, and the target hardware is updated according to the data backup instruction; the target hardware is hardware with a data storage function in the vehicle; in response to the data backup instruction, backing up data in the target hardware before replacement into a storage; and acquiring the data in the target hardware from the storage component, and writing the data in the target hardware into the replaced target hardware to complete data updating. By means of the technical scheme, data updating can be achieved more simply and more accurately in the vehicle part changing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of data processing technology, and in particular to a data updating method, device and computer-readable storage medium. Background Art

[0002] With the widespread use of automobiles, driving has become the most common way of traveling. As the vehicle usage cycle increases, some parts in the vehicle may fail, which involves the replacement of vehicle parts.

[0003] When replacing a part, it is necessary to update the data in the part to be replaced to the part to be replaced. For data update, the existing technology generally updates the data manually by flashing the diagnostic instrument, which is cumbersome to operate and may cause the data after the replacement to be inconsistent with the data in the part to be replaced due to misoperation or other reasons.

[0004] Therefore, in the process of vehicle parts replacement, how to achieve data update more simply and accurately is still an urgent problem to be solved. Summary of the invention

[0005] In view of the above problems, the embodiments of the present invention provide a data updating method, device and computer-readable storage medium for solving the problem existing in the prior art of how to realize data updating more simply and accurately during the process of replacing vehicle parts.

[0006] According to one aspect of an embodiment of the present invention, there is provided a data updating method, which is applied to a vehicle-mounted terminal, and the method includes:

[0007] Obtaining a data backup instruction for target hardware in the vehicle, wherein the data backup instruction is issued when it is detected that the target hardware has been replaced, and the target hardware is hardware in the vehicle with a data storage function;

[0008] In response to the data backup instruction, backing up the data in the target hardware before replacement to a storage component;

[0009] The data in the target hardware is acquired from the storage component, and the data in the target hardware is written into the replaced target hardware to complete the data update.

[0010] According to one aspect of an embodiment of the present invention, there is provided a data updating method, which is applied to a cloud server and includes:

[0011] Obtain the identification of the hardware with data storage function in the vehicle uploaded by the vehicle terminal;

[0012] Compare the hardware identifier of the vehicle uploaded this time with the hardware identifier of the vehicle already stored;

[0013] When it is determined according to the comparison result that the target hardware is replaced, a data backup instruction is sent to the vehicle terminal, and the data backup instruction is used to instruct the vehicle terminal to write the data in the target hardware before the replacement into the replaced target hardware to complete the data update.

[0014] According to another aspect of an embodiment of the present invention, there is provided a data updating device, which is applied to a vehicle-mounted terminal and includes:

[0015] An acquisition module, used to acquire a data backup instruction for a target hardware in a vehicle, wherein the data backup instruction is issued when it is detected that the target hardware has been replaced, and the target hardware is hardware in the vehicle with a data storage function;

[0016] A data backup module, configured to respond to the data backup instruction and back up the data in the target hardware before replacement to a storage component;

[0017] The data writing module is used to obtain the data in the target hardware from the storage component, and write the data in the target hardware into the replaced target hardware to complete the data update.

[0018] According to another aspect of an embodiment of the present invention, there is provided a data updating device, which is applied to a cloud server and includes:

[0019] An acquisition module, which acquires the identifier of the hardware with data storage function in the vehicle uploaded by the vehicle terminal;

[0020] A comparison module, used to compare the identification of the hardware in the vehicle uploaded this time with the identification of the hardware in the stored vehicle;

[0021] The communication module is used to send a data backup instruction to the vehicle terminal when it is determined that the target hardware has been replaced based on the comparison result. The data backup instruction is used to instruct the vehicle terminal to write the data in the target hardware before the replacement into the target hardware after the replacement to complete the data update.

[0022] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0023] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the data updating method as described in the first aspect, or to perform the operation of the data updating method as described in the second aspect.

[0024] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one executable instruction, wherein the executable instruction enables an electronic device / apparatus to perform the operations of the data update method as described in the first aspect, or to perform the operations of the data update method as described in the second aspect.

[0025] In summary, this embodiment provides a data update method, which responds to the data backup instruction to perform data backup of the target hardware (i.e., the hardware to be replaced) when the hardware in the vehicle needs to be replaced. Then, the data in the target hardware is obtained from the data backup storage, and the data in the target hardware is written into the replaced target hardware to complete the data update. In other words, as long as there is a replacement of vehicle parts, the data update process is automatically triggered, and after backing up the data in the hardware to be replaced, the backed-up data is written into the replaced target hardware to complete the data update. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the cumbersome steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. Therefore, the method provided by this embodiment makes it easier and more accurate to implement data updates during vehicle parts replacement.

[0026] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation mode of the present invention is specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0028] Figure 1 A schematic diagram showing a flow chart of a first embodiment of a data updating method provided by the present invention;

[0029] Figure 2 A schematic diagram showing a flow chart of a second embodiment of a data updating method provided by the present invention;

[0030] Figure 3 A schematic diagram showing the creation of a storage area by a cloud server in the data updating method provided by the present invention;

[0031] Figure 4 A schematic diagram showing the part number of the hardware uploaded by the vehicle terminal in the data updating method provided by the present invention;

[0032] Figure 5 A schematic flow chart of a third embodiment of a data updating method provided by the present invention is shown;

[0033] Figure 6 A schematic diagram showing a flow chart of a first embodiment of another data updating method provided by the present invention;

[0034] Figure 7 A schematic structural diagram of a first embodiment of a data updating device provided by the present invention is shown;

[0035] Figure 8 A schematic structural diagram of a first embodiment of another data updating device provided by the present invention is shown;

[0036] Fig. 9 A schematic structural diagram of an embodiment of an electronic device provided by the present invention is shown. DETAILED DESCRIPTION

[0037] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0038] Figure 1 FIG. 1 is a flow chart showing a first embodiment of a data updating method of the present invention, which is executed by a vehicle-mounted terminal. Figure 1 As shown, the method comprises the following steps:

[0039] Step 110: Obtain data backup instructions for target hardware in the vehicle.

[0040] Among them, the target hardware is the hardware with data storage function in the vehicle, such as automatic adjustment and continuous damping control (Continuous Damping Control, referred to as CDC), mobile data center (Mobile Data Center, referred to as MDC), vehicle controller (Vehicle Control Unit, referred to as VCU), battery pack circuit breaker unit (Battery Distribution Unit, referred to as BDC), telematics BOX (Telematics BOX, referred to as TBOX), power domain controller, body domain controller, cockpit domain controller, intelligent driving domain controller, etc.

[0041] The target hardware may be one hardware or multiple hardware.

[0042] It should be noted that the hardware described in this embodiment refers to hardware with data storage function. The reason is that for components without data storage function, replacement of components will not affect the vehicle-side data, so it is not mandatory to back up the data of these components without data storage function.

[0043] The data backup instruction is issued when the target hardware is detected to be replaced. The data backup instruction can be sent by the cloud server to the vehicle terminal. In other words, the cloud server decides whether to perform data backup.

[0044] For example, each hardware has a unique identifier, such as a part number. If a hardware replacement occurs in practice, the vehicle terminal will upload the part number of the hardware on the vehicle to the cloud server, and the cloud server will determine whether data backup is required based on the part number of the hardware uploaded this time. If the cloud server determines that the part number of the hardware uploaded this time is inconsistent with the part number of the hardware stored in the vehicle, the inconsistent hardware is determined to be the target hardware that needs data backup, and a data backup instruction for the target hardware is sent to the vehicle terminal.

[0045] Step 120: In response to the data backup instruction, back up the data in the target hardware before replacement to a storage component.

[0046] Among them, backup can be understood as writing.

[0047] The storage component may be a cloud server or non-target hardware in the vehicle. Non-target hardware refers to hardware that does not require data backup and has a data storage function.

[0048] After receiving the data backup instruction, the vehicle-mounted terminal responds to the data backup instruction and backs up the data in the target hardware.

[0049] It should be noted that the data backup in the target hardware is only performed when the data backup instruction is received, and will not be performed in other cases, such as poor network connection.

[0050] The data backup in the target hardware is performed by the vehicle-mounted terminal, thus avoiding the problem of data backup errors caused by manual operation.

[0051] Step 130: Acquire the data in the target hardware from the storage component.

[0052] If the storage component is a cloud server, when obtaining the data in the target hardware from the storage component, a request can be made to the cloud server. The request can carry the vehicle identification number (VIN) of the vehicle and the identification of the target hardware, so that the cloud server can retrieve the data in the target hardware based on the VIN code and the identification of the target hardware, and send the data in the target hardware to the vehicle terminal.

[0053] If the storage component is non-target hardware, the data in the target hardware can be retrieved from the non-target hardware according to the identifier of the target hardware.

[0054] Step S140: writing the data in the target hardware into the replaced target hardware to complete the data update.

[0055] The replaced target hardware refers to the hardware used to replace the target hardware. The replaced target hardware also has a data storage function. The replaced target hardware and the target hardware can be the same type of hardware, for example, both are VCUs. As described in the above example, each hardware has a unique identifier. Although the target hardware and the replaced target hardware are both VCUs, the identifier of the target hardware is different from the identifier of the replaced target hardware.

[0056] After the data in the target hardware is written to the replaced target hardware, the data update is completed. The purpose of the data update is to allow the replaced target hardware to adapt to the vehicle's operating environment and avoid data loss or data errors caused by hardware replacement, which may lead to poor vehicle operation.

[0057] In summary, this embodiment provides a data update method, which responds to the data backup instruction to perform data backup of the target hardware (i.e., the hardware to be replaced) when the hardware in the vehicle needs to be replaced. Then, the data in the target hardware is obtained from the storage component of the data backup, and the data in the target hardware is written into the replaced target hardware to complete the data update. In other words, as long as there is a replacement of vehicle parts, the data update process is automatically triggered, and after backing up the data in the hardware to be replaced, the backed-up data is written into the replaced target hardware to complete the data update. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the cumbersome steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. Therefore, the method provided by this embodiment makes it easier and more accurate to implement data updates during vehicle parts replacement.

[0058] Figure 2 A flow chart of another embodiment of the data updating method of the present invention is shown, and the method is executed by a vehicle-mounted terminal. The storage component includes a cloud server and / or non-target hardware in the vehicle.

[0059] like Figure 2 As shown, the method comprises the following steps:

[0060] Step 210: Obtain data backup instructions for target hardware in the vehicle.

[0061] For the relevant description of step S210, reference may be made to the relevant description of step S110, which will not be repeated here.

[0062] Step 220: When the storage component includes a cloud server, in response to the data backup instruction, the data in the target hardware is uploaded to a storage area in the cloud server used to store the hardware data in the vehicle; when the storage component includes non-target hardware in the vehicle, the data in the target hardware is stored in the non-target hardware in the vehicle.

[0063] The following describes in detail uploading the data in the target hardware to a storage area in the cloud server for storing the hardware data in the vehicle.

[0064] As shown in Table 1, each vehicle has a unique VIN code, and each hardware on the vehicle has a unique identification (part number as shown in the table). The part number of the hardware is generally written on the production line, and the hardware itself can also read the part number.

[0065] The cloud server is provided with a storage area for each vehicle, and the storage area is used to store the identification of each hardware in the vehicle, the data in each hardware, etc. The storage area described here can be understood as a storage location.

[0066] Table 1:

[0067]

[0068] The data in the target hardware is uploaded to the storage area in the cloud server used to store the hardware data in the vehicle. For example, vehicle 1 responds to the data backup instruction and uploads the CDC data to the storage area used to store the hardware data in vehicle 1.

[0069] When storing data in hardware, the hardware identifier can be stored together so that the cloud server can find the data in the hardware through the hardware identifier when calling the data in the hardware. For example, when storing the data of the CDC in vehicle 1, the CDC part number HWcdc001 is stored together.

[0070] Please refer to Figure 3 , the cloud server stores the hardware identification and data in vehicle 1, vehicle 2, and vehicle 3 in different storage areas. For example, the storage area corresponding to vehicle 1 stores: the unique identification and data (such as mileage) of the power domain controller, the unique identification and data (such as account number) of the body domain controller, the unique identification and data (such as seat memory position) of the cockpit domain controller, etc. The identification is represented by an identification code in the figure, which can be understood as a part number.

[0071] The following describes in detail how to store the data in the target hardware into the non-target hardware in the vehicle.

[0072] Taking vehicle 1 as an example, when the target hardware is CDC, the non-target hardware is MDC, VCU, BDC and TBOX. The data of CDC can be stored in any one or more of MDC, VCU, BDC and TBOX. When storing the data of CDC, the identifier of CDC (such as HWcdc001) needs to be carried.

[0073] As mentioned above, the data in the target hardware can be stored in the cloud server or in non-target hardware, as long as a readable path can be provided. The hardware that needs to be backed up and the storage path of the data in the hardware can be identified in advance. Figure 3 As shown, the data in the power domain controller can be backed up to the cockpit domain controller, and the data in the body domain controller and the data in the cockpit domain controller can be backed up to the cloud server.

[0074] Step S230: Acquire the data in the target hardware from the storage area, or acquire the data in the target hardware from the non-target hardware.

[0075] When the data in the target hardware is stored in the storage area, if you want to obtain the data in the target hardware, the vehicle terminal can send a request to the cloud server, and the request carries the identifier of the target hardware. Correspondingly, after receiving the request, the cloud server retrieves the data in the target hardware according to the identifier of the target hardware, and sends the data in the target hardware to the vehicle terminal. The request can also carry the vehicle VIN code, and the cloud server can first find the storage area according to the vehicle VIN code, and then retrieve the data in the target hardware based on the storage area.

[0076] When the data in the target hardware is stored in the non-target hardware, the data in the target hardware may be retrieved from the non-target hardware according to the identifier of the target hardware.

[0077] Step S240: writing the data in the target hardware into the replaced target hardware to complete the data update.

[0078] For the relevant description of step S240, reference may be made to the relevant description of step S140, which will not be repeated here.

[0079] The data update method provided in this embodiment can back up the data in the target hardware to the cloud server and / or non-target hardware when the data backup instruction is obtained, and then read from the cloud server or non-target hardware when the data is updated. The entire process of data backup and data update does not require manual operation, reducing the risk of data inconsistency caused by manual operation.

[0080] See also Figure 4In some embodiments, the data updating method further includes:

[0081] Step 1: When the vehicle leaves the factory or is powered on, the identification of the hardware in the vehicle and the VIN code of the vehicle are sent to the cloud server so that the cloud server creates the storage area.

[0082] Refer to Table 1 and Figure 4 When the vehicle leaves the factory, the identification of each hardware in the vehicle will be synchronized to the cloud server. In other words, when the vehicle is powered on, each hardware automatically reports its own part number to the cloud server. Correspondingly, the cloud server creates the storage area for different vehicles based on the vehicle's VIN code and the identification of the hardware in the vehicle. Preferably, the storage area is created when the vehicle leaves the factory, and the hardware part number is reported again when the vehicle is powered on, so that the cloud server can update or correct the stored hardware part number.

[0083] The identification of all hardware in the vehicle can be uploaded to the cloud server in one upload or in batches. The specific uploading method is not limited in this embodiment.

[0084] The method provided in this embodiment uploads the hardware identification when the vehicle leaves the factory or is powered on, so that the cloud server creates the storage area, which facilitates the subsequent cloud server to issue the data backup instruction and retrieve the data in the target hardware.

[0085] In some embodiments, step S110 or step S210 includes:

[0086] Step 1: In response to the identification reporting instruction, the identification of the hardware in the vehicle is uploaded to the cloud server, so that the cloud server compares the identification of the hardware in the vehicle uploaded this time with the identification of the hardware in the vehicle that has been stored.

[0087] Each hardware has a unique identifier. If a part is replaced, the identifier of the hardware uploaded this time will be different from the identifier of the stored hardware. In other words, the cloud server determines whether data backup is required based on the identification of the hardware. If the hardware identifiers are different, it is determined that data backup is required. For example, for vehicle 1, the identifier of the CDC uploaded this time is different from the identifier of the stored CDC, then it is determined that CDC needs to perform data backup.

[0088] The identification reporting instruction may be sent by the cloud server. For example, the cloud server periodically sends identification reporting instructions to the vehicle terminal in order to timely update the identification of the hardware stored in itself. At this time, responding to the identification reporting instruction means responding to the identification reporting instruction sent by the cloud server.

[0089] Among them, the identification reporting indication can be obtained according to user operation. For example, the user instructs the vehicle terminal to send the hardware identification to the cloud server by operating the human-computer interaction interface. The user operation can be in the scenario of replacing parts for repair. In order to delay or accelerate data update, the user generates the identification reporting indication through user operation to autonomously control the rhythm of data update. At this time, responding to the identification reporting indication means responding to the identification reporting indication obtained according to the user operation.

[0090] Among them, the identification reporting indication can be obtained when any hardware replacement action is detected. The replacement action can be understood as the action of removing the hardware, and it can be to confirm that a replacement action has occurred when the hardware is detected to be offline. The identification reporting indication is generated when a replacement action is detected, which can speed up the pace of data update, thereby helping to complete the data update more quickly. At this time, responding to the identification reporting indication refers to responding to the identification reporting indication obtained when any hardware replacement action is detected.

[0091] Optionally, there is no need for the identification reporting indication, and the vehicle-mounted terminal may periodically upload the hardware identification to the cloud server.

[0092] Step 2: Obtain the data backup instruction sent by the cloud server, wherein the data backup instruction is generated after the cloud server compares and determines that the identification of the target hardware has been changed.

[0093] After determining that the identification of the target hardware has been changed, the cloud server generates a data backup instruction for the target hardware. For example, if the identification of the CDC in the vehicle 1 is changed, a data backup instruction for the CDC in the vehicle 1 is generated.

[0094] The method provided in this embodiment can trigger the vehicle terminal to upload the hardware identification to the cloud server through a variety of triggering methods. The various triggering methods described above respond to the identification reporting instruction sent by the cloud server, respond to the identification reporting instruction obtained according to the user operation, and respond to the identification reporting instruction obtained when any hardware replacement action is detected. In this way, the flexibility of data update is further improved, making data update more practical or faster, and improving the effect of data update.

[0095] See also Figure 5 In some embodiments, when the target hardware includes multiple hardware, the data update method further includes: creating an environment.

[0096] When the data in the target hardware before replacement is backed up to the storage component, the data in the target hardware before replacement is backed up to the storage component under this environment.

[0097] That is to say, before data backup, some hardware data will not exist in the cloud server, and some data is still in the vehicle terminal. Since some data is in the vehicle terminal, when two or more hardware parts need to be replaced, it is necessary to create an environment. Creating an environment can be understood as retrieving some data. At this time, the maintenance personnel manually start the data backup action, that is, creating an environment.

[0098] If it is just a hardware replacement, there is no need to manually start the data backup action.

[0099] The following combination Figure 5 , and then describe the data update method.

[0100] like Figure 5 As shown, when the vehicle leaves the factory, the hardware identification is synchronized to the cloud server.

[0101] The vehicle-mounted terminal continuously monitors the vehicle management system, wherein the vehicle management system is used to obtain data backup instructions from the cloud server. Based on the monitoring, the vehicle management system can know whether a part is replaced. If the part is replaced, data backup is triggered, that is, the data in the target hardware is backed up to the storage component. Then the data in the target hardware is obtained from the storage component, and the data in the target hardware is written to the replaced target hardware to complete the data update. Optionally, when the acquisition of the data in the target hardware from the storage component fails, an alarm is issued, and the cause of the failure can be manually checked after the alarm.

[0102] The method provided in this embodiment takes into account that when multiple hardware parts are replaced, if some data is in the vehicle terminal, the data backup action is manually started to create an environment to prevent the problem that the data in the vehicle terminal cannot be backed up. The method provided in this embodiment further improves the effect of data backup and data update when multiple hardware parts are replaced.

[0103] In some embodiments, after step S140 or step S240, the data updating method further includes:

[0104] Step 1: After completing the data update, the identification of the replaced target hardware is sent to the storage component.

[0105] The storage component includes a cloud server and / or non-target hardware as described above.

[0106] After the replacement and data update are completed, the data of the target hardware has been written into the replaced target hardware, and the replaced target hardware replaces the target hardware. At this time, in order to facilitate the knowledge of the replaced hardware when the parts are replaced next time, the stored identification of the vehicle hardware needs to be updated, that is, the identification of the target hardware is replaced with the identification of the replaced target hardware.

[0107] Preferably, this step is automatically and quickly triggered after the data update is completed.

[0108] The method provided in this embodiment, after completing the data update, sends the identification of the replaced target hardware to the storage component, so that the storage component updates the identification of the stored vehicle hardware. The method provided in this embodiment can improve the efficiency of comparing the hardware that needs data backup when replacing parts next time, and improve the effect of data update.

[0109] Figure 6 FIG. 1 is a flow chart showing a first embodiment of a data updating method of the present invention, which is executed by a cloud server. Figure 6 As shown, the method comprises the following steps:

[0110] S610: Obtain the identifier of the hardware with data storage function in the vehicle uploaded by the vehicle terminal.

[0111] Hardware with data storage functions includes automatic adjustment and continuous damping control (Continuous Damping Control, CDC), mobile data center (Mobile Data Center, MDC), vehicle control unit (VCU), battery distribution unit (BDC), telematics BOX (TBOX), power domain controller, body domain controller, cockpit domain controller, intelligent driving domain controller, etc.

[0112] Each piece of hardware has a unique identifier, such as a part number. For example, as shown in Table 1, each piece of hardware has a unique part number.

[0113] Optionally, when the vehicle leaves the factory or is powered on, the identification of each piece of hardware in the vehicle and the vehicle identification code are uploaded.

[0114] S620: Compare the identifier of the hardware in the vehicle uploaded this time with the identifier of the hardware in the stored vehicle, and when it is determined according to the comparison result that the target hardware is to be replaced, send a data backup instruction to the vehicle terminal.

[0115] The data backup instruction is used to instruct the vehicle terminal to write the data in the target hardware into the replaced target hardware to complete the data update. The target hardware can be one hardware or multiple hardware.

[0116] If hardware replacement actually occurs, the vehicle terminal will upload the part number of the vehicle's hardware to the cloud server, and the cloud server will determine whether data backup is required based on the part number of the hardware uploaded this time. If the cloud server determines that the part number of the hardware uploaded this time is inconsistent with the part number of the hardware stored in the vehicle, the inconsistent hardware is determined to be the target hardware that needs data backup, and a data backup instruction for the target hardware is sent to the vehicle terminal.

[0117] It should be noted that the data backup in the target hardware is only performed when the data backup instruction is received, and will not be performed in other cases, such as poor network connection.

[0118] In summary, this embodiment provides a data update method, which compares the hardware identification uploaded by the vehicle terminal with the stored hardware identification after receiving it, so as to determine whether data update is needed. If hardware with inconsistent identification is found after comparison, that is, the target hardware, a data backup instruction for the target hardware is sent to the vehicle terminal, triggering the vehicle terminal to execute the data update from the target hardware to the replaced target hardware. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the tedious steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. Therefore, the method provided by this embodiment makes it easier and more accurate to implement data update during vehicle parts replacement.

[0119] In some embodiments, after sending the data backup instruction to the vehicle-mounted terminal, the method further includes:

[0120] Step 1: Obtain the data in the target hardware uploaded by the vehicle terminal.

[0121] That is to say, when the vehicle-mounted terminal chooses to back up the data in the target hardware to the cloud server, the cloud server obtains the data in the target hardware uploaded by the vehicle-mounted terminal.

[0122] Step 2: Storing the data in the target hardware in a storage area used to store the hardware data in the vehicle.

[0123] Please refer to Table 1. Each vehicle has a unique VIN code, and each hardware on the vehicle has a unique identification (as shown in the table). The hardware part number is usually written on the production line, and the hardware itself can also read the part number.

[0124] The cloud server is provided with a storage area for each vehicle, and the storage area is used to store the identification of each hardware in the vehicle, the data in each hardware, etc. The storage area described here can be understood as a storage location.

[0125] The data in the target hardware is uploaded to the storage area in the cloud server used to store the hardware data in the vehicle. For example, vehicle 1 responds to the data backup instruction and uploads the CDC data to the storage area used to store the hardware data in vehicle 1.

[0126] When storing data in hardware, the hardware identifier can be stored together so that the cloud server can find the data in the hardware through the hardware identifier when calling the data in the hardware. For example, when storing the data of the CDC in vehicle 1, the CDC part number HWcdc001 is stored together.

[0127] Please refer to Figure 3 The cloud server stores the hardware identifiers and data in different storage areas of vehicle 1, vehicle 2, and vehicle 3. For example, the storage area corresponding to vehicle 1 stores: the unique identifier and data (such as mileage) of the power domain controller, the unique identifier and data (such as account number) of the body domain controller, the unique identifier and data (such as seat memory position) of the cockpit domain controller, etc.

[0128] Step 3: Send the data in the target hardware to the vehicle terminal.

[0129] When the vehicle terminal needs to retrieve the data in the target hardware for data update, it can send a request to the cloud server, and the request carries the identifier of the target hardware.

[0130] Correspondingly, the cloud server obtains the data of the target hardware from the storage area according to the identifier of the target hardware, and sends the data of the target hardware to the vehicle-mounted terminal, so that the vehicle-mounted terminal completes the data update.

[0131] The method provided in this embodiment stores the data in the target hardware in the storage area when the vehicle terminal selects the cloud server to back up the data in the target hardware. When the vehicle terminal needs to retrieve the data in the target hardware, the data in the target hardware is sent to the vehicle terminal. No manual intervention is required throughout the process, and the data backup process is more accurate, simple and efficient.

[0132] In some embodiments, the data updating method further includes:

[0133] Step 1: Obtain the hardware identification of the vehicle and the VIN code of the vehicle.

[0134] Refer to Table 1 and Figure 4When the vehicle leaves the factory, the identification of each hardware in the vehicle will be synchronized to the cloud server. In other words, when the vehicle is powered on, each hardware automatically reports its own part number to the cloud server. Correspondingly, the cloud server creates the storage area for different vehicles based on the vehicle's VIN code and the identification of the hardware in the vehicle. Preferably, the storage area is created when the vehicle leaves the factory, and the hardware part number is reported again when the vehicle is powered on, so that the cloud server can update or correct the stored hardware part number.

[0135] The identification of all hardware in the vehicle can be uploaded to the cloud server in one upload or in batches. The specific uploading method is not limited in this embodiment.

[0136] The method provided in this embodiment uploads the hardware identification when the vehicle leaves the factory or is powered on, so that the cloud server creates the storage area, which facilitates the subsequent cloud server to issue the data backup instruction and retrieve the data in the target hardware.

[0137] Step 2: Create a storage area for storing hardware data in the vehicle.

[0138] As shown in Table 1, each vehicle has a unique VIN code, and each hardware on the vehicle has a unique identification (part number as shown in the table). The part number of the hardware is generally written on the production line, and the hardware itself can also read the part number.

[0139] The cloud server is provided with a storage area for each vehicle, and the storage area is used to store the identification of each hardware in the vehicle, the data in each hardware, etc. The storage area described here can be understood as a storage location.

[0140] Please refer to Figure 3 The cloud server stores the hardware identifiers and data in different storage areas of vehicle 1, vehicle 2, and vehicle 3. For example, the storage area corresponding to vehicle 1 stores: the unique identifier and data (such as mileage) of the power domain controller, the unique identifier and data (such as account number) of the body domain controller, the unique identifier and data (such as seat memory position) of the cockpit domain controller, etc.

[0141] In the method provided in this embodiment, the cloud server creates a storage area for the vehicle to facilitate the subsequent generation of data backup instructions, storage of data in the target hardware, retrieval of data in the target hardware, etc. No manual intervention is required throughout the process, which improves the effect of data backup and data update.

[0142] In some embodiments, the data updating method further includes:

[0143] Step 1: Obtain the identifier of the replaced target hardware.

[0144] Step 2: Update the stored identifier of the target hardware to the identifier of the replaced target hardware.

[0145] After the replacement and data update are completed, the data of the target hardware has been written into the replaced target hardware, and the replaced target hardware replaces the target hardware. At this time, in order to facilitate the knowledge of the replaced hardware when the parts are replaced next time, the stored identification of the vehicle hardware needs to be updated, that is, the identification of the target hardware is replaced with the identification of the replaced target hardware.

[0146] Preferably, this step is automatically and quickly triggered after the data update is completed.

[0147] The method provided in this embodiment updates the stored identification of the vehicle hardware after completing the data update. The method provided in this embodiment can improve the efficiency of comparing the hardware that needs data backup when replacing parts next time, and improve the effect of data update.

[0148] Figure 7 FIG. 1 is a schematic diagram showing the structure of an embodiment of a data updating device of the present invention, which is applied to a vehicle-mounted terminal. Figure 7 As shown, the device 700 includes: an acquisition module 710 , a data backup module 720 and a data writing module 730 .

[0149] In an optional manner, the acquisition module 710 is used to obtain a data backup instruction for a target hardware in a vehicle, wherein the data backup instruction is issued when it is detected that the target hardware has been replaced, and the target hardware is hardware with data storage function in the vehicle.

[0150] The data backup module 720 is used to respond to the data backup instruction and back up the data in the target hardware before replacement to the storage component.

[0151] The data writing module 730 is used to obtain the data in the target hardware from the storage component, and write the data in the target hardware into the replaced target hardware to complete the data update.

[0152] When it is necessary to replace the hardware in the vehicle, the data backup of the target hardware (i.e., the hardware to be replaced) is performed in response to the data backup instruction. The data in the target hardware is then obtained from the storage component of the data backup, and the data in the target hardware is written into the replaced target hardware to complete the data update. In other words, as long as there is a replacement of vehicle parts, the data update process is automatically triggered, and after backing up the data in the hardware to be replaced, the backed-up data is written into the replaced target hardware to complete the data update. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the tedious steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. This makes it easier and more accurate to update data during vehicle parts replacement.

[0153] In an optional manner, the data backup module 720 is used to:

[0154] The data in the target hardware is uploaded to a storage area in the cloud server for storing the hardware data in the vehicle; and / or, the data in the target hardware is stored in non-target hardware in the vehicle.

[0155] In an optional manner, the data writing module 730 is used to:

[0156] The data in the target hardware is obtained from the storage area; or the data in the target hardware is obtained from the non-target hardware.

[0157] When the data backup instruction is obtained, the data in the target hardware can be backed up to the cloud server and / or non-target hardware, and then read from the cloud server or non-target hardware when the data is updated. The entire process of data backup and data update does not require manual operation, reducing the risk of data inconsistency caused by manual operation.

[0158] In an optional manner, the device 700 further includes a data uploading module 740, which is used to:

[0159] When the vehicle leaves the factory or is powered on, the identifier of the hardware in the vehicle and the identification code of the vehicle are sent to the cloud server so that the cloud server creates the storage area.

[0160] The hardware identification is uploaded when the vehicle leaves the factory or is powered on, so that the cloud server creates the storage area, which facilitates the subsequent cloud server to issue the data backup instruction and retrieve the data in the target hardware.

[0161] In an optional manner, the acquisition module 710 is used to:

[0162] In response to the identification reporting instruction, the identification of the hardware in the vehicle is uploaded to the cloud server, so that the cloud server compares the identification of the hardware in the vehicle uploaded this time with the identification of the hardware in the vehicle that has been stored; wherein each hardware has a unique identification;

[0163] The data backup indication sent by the cloud server is obtained, wherein the data backup indication is generated after the cloud server compares and determines that the identification of the target hardware is changed.

[0164] In an optional manner, the acquisition module 710 is used to:

[0165] Respond to the identification reporting indication sent by the cloud server; respond to the identification reporting indication obtained according to the user operation; respond to the identification reporting indication obtained when any hardware replacement action is detected.

[0166] The vehicle terminal can be triggered to upload the hardware identification to the cloud server through a variety of triggering methods. The various triggering methods described above respond to the identification reporting instruction sent by the cloud server, respond to the identification reporting instruction obtained according to the user operation, and respond to the identification reporting instruction obtained when any hardware replacement action is detected. In this way, the flexibility of data update is further improved, making data update more practical or faster, and improving the effect of data update.

[0167] In an optional manner, when the target hardware includes multiple hardware, the data upload module 740 is used to: create an environment in which the data in the target hardware before replacement is backed up to a storage component.

[0168] Considering that when multiple hardware parts are replaced, if some data is in the vehicle terminal, the data backup action is manually started to create an environment to prevent the problem that the data in the vehicle terminal cannot be backed up. The method provided in this embodiment further improves the effect of data backup and data update when multiple hardware parts are replaced.

[0169] In an optional manner, the data upload module 740 is further used to:

[0170] After the data update is completed, the identification of the replaced target hardware is sent to the storage component.

[0171] After the data update is completed, the identification of the replaced target hardware is sent to the storage component, so that the storage component updates the identification of the stored vehicle hardware. The method provided in this embodiment can improve the efficiency of comparing the hardware that needs data backup when replacing parts next time, and improve the effect of data update.

[0172] In an optional manner, the data writing module 730 is further used for:

[0173] When the acquisition of the data in the target hardware from the storage component fails, an alarm is issued.

[0174] Figure 8 The schematic diagram of the structure of the data updating device of the present invention is shown, which is applied to a cloud server. Figure 8 As shown, the device 800 includes: an acquisition module 810 , a comparison module 820 and a communication module 830 .

[0175] In an optional manner, the acquisition module 810 acquires the identifier of the hardware with data storage function in the vehicle uploaded by the vehicle-mounted terminal.

[0176] The comparison module 820 is used to compare the identification of the hardware in the vehicle uploaded this time with the identification of the hardware in the stored vehicle.

[0177] The communication module 830 is used to send a data backup instruction to the vehicle terminal when it is determined according to the comparison result that the target hardware is replaced. The data backup instruction is used to instruct the vehicle terminal to write the data in the target hardware before the replacement into the target hardware after the replacement to complete the data update.

[0178] After receiving the hardware identification uploaded by the vehicle terminal, it is compared with the stored hardware identification to determine whether data update is required. If hardware with inconsistent identification is found after comparison, that is, the target hardware, a data backup instruction for the target hardware is sent to the vehicle terminal, triggering the vehicle terminal to execute the data update from the target hardware to the replaced target hardware. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the tedious steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. This makes it easier and more accurate to update data during vehicle replacement parts.

[0179] In an optional manner, the acquisition module 810 is further used to: acquire the data in the target hardware uploaded by the vehicle-mounted terminal; and store the data in the target hardware in a storage area used to store hardware data in the vehicle.

[0180] In an optional manner, the communication module 830 is also used to send the data in the target hardware before replacement to the vehicle-mounted terminal.

[0181] When the vehicle terminal selects the cloud server to back up the data in the target hardware, the data in the target hardware is stored in the storage area. When the vehicle terminal needs to retrieve the data in the target hardware, the data in the target hardware is sent to the vehicle terminal. No manual intervention is required throughout the process, and the data backup process is more accurate, simple and efficient.

[0182] In an optional manner, the acquisition module 810 is used to: acquire the identification of the hardware in the vehicle and the identification code of the vehicle; and create a storage area for storing the hardware data in the vehicle.

[0183] The cloud server creates a storage area for the vehicle to facilitate the subsequent generation of data backup instructions, storage of data in the target hardware, retrieval of data in the target hardware, etc. No manual intervention is required throughout the process, which improves the effect of data backup and data update.

[0184] In an optional manner, the acquisition module 810 is further used to: acquire the identifier of the replaced target hardware; and update the stored identifier of the target hardware to the identifier of the replaced target hardware.

[0185] After completing the data update, the stored vehicle hardware identification is updated to improve the efficiency of comparing the hardware that needs data backup when replacing parts next time, and improve the effect of data update.

[0186] Fig. 9 The schematic diagram of the structure of an embodiment of the electronic device of the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.

[0187] like Fig. 9 As shown, the electronic device may include: a processor (processor) 402 , a communication interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .

[0188] The processor 902, the communication interface 904, and the memory 906 communicate with each other via a communication bus 908. The communication interface 904 is used to communicate with other devices such as a client or other server network elements. The processor 902 is used to execute a program 910, which can specifically execute the relevant steps in the above-mentioned data update method embodiment.

[0189] Specifically, the program 910 may include program code, which includes computer-executable instructions.

[0190] The processor 902 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0191] The memory 906 is used to store the program 910. The memory 906 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0192] When the electronic device is a vehicle-mounted terminal, the program 910 may be specifically called by the processor 902 to enable the electronic device to perform the following operations:

[0193] Obtain a data backup instruction for target hardware in a vehicle, wherein the data backup instruction is issued when it is detected that the target hardware has been replaced, and the target hardware is hardware with data storage function in the vehicle; in response to the data backup instruction, back up the data in the target hardware before the replacement to a storage component; obtain the data in the target hardware from the storage component, and write the data in the target hardware to the replaced target hardware to complete the data update.

[0194] When it is necessary to replace the hardware in the vehicle, the data backup of the target hardware (i.e., the hardware to be replaced) is performed in response to the data backup instruction. The data in the target hardware is then obtained from the storage component of the data backup, and the data in the target hardware is written into the replaced target hardware to complete the data update. In other words, as long as there is a replacement of vehicle parts, the data update process is automatically triggered, and after backing up the data in the hardware to be replaced, the backed-up data is written into the replaced target hardware to complete the data update. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the tedious steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. This makes it easier and more accurate to update data during vehicle parts replacement.

[0195] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0196] The data in the target hardware is uploaded to a storage area in the cloud server for storing the hardware data in the vehicle; and / or, the data in the target hardware is stored in non-target hardware in the vehicle.

[0197] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0198] The data in the target hardware is obtained from the storage area; or the data in the target hardware is obtained from the non-target hardware.

[0199] When the data backup instruction is obtained, the data in the target hardware can be backed up to the cloud server and / or non-target hardware, and then read from the cloud server or non-target hardware when the data is updated. The entire process of data backup and data update does not require manual operation, reducing the risk of data inconsistency caused by manual operation.

[0200] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0201] When the vehicle leaves the factory or is powered on, the identifier of the hardware in the vehicle and the identification code of the vehicle are sent to the cloud server so that the cloud server creates the storage area.

[0202] The hardware identification is uploaded when the vehicle leaves the factory or is powered on, so that the cloud server creates the storage area, which facilitates the subsequent cloud server to issue the data backup instruction and retrieve the data in the target hardware.

[0203] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0204] In response to the identification reporting instruction, the identification of the hardware in the vehicle is uploaded to the cloud server, so that the cloud server compares the identification of the hardware in the vehicle uploaded this time with the identification of the hardware in the vehicle that has been stored; wherein each hardware has a unique identification;

[0205] The data backup indication sent by the cloud server is obtained, wherein the data backup indication is generated after the cloud server compares and determines that the identification of the target hardware is changed.

[0206] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0207] Respond to the identification reporting indication sent by the cloud server; respond to the identification reporting indication obtained according to the user operation; respond to the identification reporting indication obtained when any hardware replacement action is detected.

[0208] The vehicle terminal can be triggered to upload the hardware identification to the cloud server through a variety of triggering methods. The various triggering methods described above respond to the identification reporting instruction sent by the cloud server, respond to the identification reporting instruction obtained according to the user operation, and respond to the identification reporting instruction obtained when any hardware replacement action is detected. In this way, the flexibility of data update is further improved, making data update more practical or faster, and improving the effect of data update.

[0209] In an optional manner, when the target hardware includes multiple hardware, the executable instructions enable the electronic device / apparatus to perform the following operations: create an environment in which the data in the target hardware before replacement is backed up to a storage component.

[0210] Considering that when multiple hardware parts are replaced, if some data is in the vehicle terminal, the data backup action is manually started to create an environment to prevent the problem that the data in the vehicle terminal cannot be backed up. The method provided in this embodiment further improves the effect of data backup and data update when multiple hardware parts are replaced.

[0211] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations: after completing the data update, sending the identifier of the replaced target hardware to the storage component.

[0212] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations: when the acquisition of the data in the target hardware from the storage component fails, an alarm is issued.

[0213] In some embodiments, when the electronic device is a cloud server, the program 910 may be specifically called by the processor 902 to enable the electronic device to perform the following operations:

[0214] Obtain the identification of the hardware with data storage function in the vehicle uploaded by the vehicle terminal;

[0215] Compare the hardware identifier of the vehicle uploaded this time with the hardware identifier of the vehicle already stored;

[0216] When it is determined according to the comparison result that the target hardware is replaced, a data backup instruction is sent to the vehicle terminal, and the data backup instruction is used to instruct the vehicle terminal to write the data in the target hardware before the replacement into the target hardware after the replacement to complete the data update.

[0217] After receiving the hardware identification uploaded by the vehicle terminal, it is compared with the stored hardware identification to determine whether data update is required. If hardware with inconsistent identification is found after comparison, that is, the target hardware, a data backup instruction for the target hardware is sent to the vehicle terminal, triggering the vehicle terminal to execute the data update from the target hardware to the replaced target hardware. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the tedious steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. This makes it easier and more accurate to update data during vehicle replacement parts.

[0218] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0219] Obtaining data in the target hardware uploaded by the vehicle terminal;

[0220] The data in the target hardware is stored in a storage area for storing data of the hardware in the vehicle.

[0221] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0222] The data in the target hardware before the replacement is sent to the vehicle-mounted terminal.

[0223] When the vehicle terminal selects the cloud server to back up the data in the target hardware, the data in the target hardware is stored in the storage area. When the vehicle terminal needs to retrieve the data in the target hardware, the data in the target hardware is sent to the vehicle terminal. No manual intervention is required throughout the process, and the data backup process is more accurate, simple and efficient.

[0224] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0225] The identification of the hardware in the vehicle and the identification code of the vehicle are obtained; and a storage area for storing the hardware data in the vehicle is created.

[0226] The cloud server creates a storage area for the vehicle to facilitate the subsequent generation of data backup instructions, storage of data in the target hardware, retrieval of data in the target hardware, etc. No manual intervention is required throughout the process, which improves the effect of data backup and data update.

[0227] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0228] Obtaining the identification of the target hardware after replacement; and updating the stored identification of the target hardware to the identification of the target hardware after replacement.

[0229] After completing the data update, the stored vehicle hardware identification is updated to improve the efficiency of comparing the hardware that needs data backup when replacing parts next time, and improve the effect of data update.

[0230] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on an electronic device / apparatus, the electronic device / apparatus executes the data updating method in any of the above method embodiments.

[0231] When the computer-readable storage medium is provided in the vehicle-mounted terminal, the executable instructions may be used to enable the electronic device / apparatus to perform the following operations:

[0232] Obtaining a data backup instruction for target hardware in the vehicle, wherein the data backup instruction is issued when it is detected that the target hardware has been replaced, and the target hardware is hardware in the vehicle with a data storage function;

[0233] In response to the data backup instruction, backing up the data in the target hardware before replacement to the storage component;

[0234] The data in the target hardware is obtained from the storage component, and the data in the target hardware is written into the replaced target hardware to complete the data update.

[0235] When it is necessary to replace the hardware in the vehicle, the data backup of the target hardware (i.e., the hardware to be replaced) is performed in response to the data backup instruction. The data in the target hardware is then obtained from the storage component of the data backup, and the data in the target hardware is written into the replaced target hardware to complete the data update. In other words, as long as there is a replacement of vehicle parts, the data update process is automatically triggered, and after backing up the data in the hardware to be replaced, the backed-up data is written into the replaced target hardware to complete the data update. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the tedious steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. This makes it easier and more accurate to update data during vehicle parts replacement.

[0236] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0237] The data in the target hardware is uploaded to a storage area in the cloud server for storing the hardware data in the vehicle; and / or, the data in the target hardware is stored in non-target hardware in the vehicle.

[0238] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0239] The data in the target hardware is obtained from the storage area; or the data in the target hardware is obtained from the non-target hardware.

[0240] When the data backup instruction is obtained, the data in the target hardware can be backed up to the cloud server and / or non-target hardware, and then read from the cloud server or non-target hardware when the data is updated. The entire process of data backup and data update does not require manual operation, reducing the risk of data inconsistency caused by manual operation.

[0241] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0242] When the vehicle leaves the factory or is powered on, the identifier of the hardware in the vehicle and the identification code of the vehicle are sent to the cloud server so that the cloud server creates the storage area.

[0243] The hardware identification is uploaded when the vehicle leaves the factory or is powered on, so that the cloud server creates the storage area, which facilitates the subsequent cloud server to issue the data backup instruction and retrieve the data in the target hardware.

[0244] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0245] In response to the identification reporting instruction, the identification of the hardware in the vehicle is uploaded to the cloud server, so that the cloud server compares the identification of the hardware in the vehicle uploaded this time with the identification of the hardware in the vehicle that has been stored; wherein each hardware has a unique identification;

[0246] The data backup indication sent by the cloud server is obtained, wherein the data backup indication is generated after the cloud server compares and determines that the identification of the target hardware is changed.

[0247] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0248] Respond to the identification reporting indication sent by the cloud server; respond to the identification reporting indication obtained according to the user operation; respond to the identification reporting indication obtained when any hardware replacement action is detected.

[0249] The vehicle terminal can be triggered to upload the hardware identification to the cloud server through a variety of triggering methods. The various triggering methods described above respond to the identification reporting instruction sent by the cloud server, respond to the identification reporting instruction obtained according to the user operation, and respond to the identification reporting instruction obtained when any hardware replacement action is detected. In this way, the flexibility of data update is further improved, making data update more practical or faster, and improving the effect of data update.

[0250] In an optional manner, when the target hardware includes multiple hardware, the executable instructions enable the electronic device / apparatus to perform the following operations: create an environment in which the data in the target hardware before replacement is backed up to a storage component.

[0251] Considering that when multiple hardware parts are replaced, if some data is in the vehicle terminal, the data backup action is manually started to create an environment to prevent the problem that the data in the vehicle terminal cannot be backed up. The method provided in this embodiment further improves the effect of data backup and data update when multiple hardware parts are replaced.

[0252] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations: after completing the data update, sending the identifier of the replaced target hardware to the storage component.

[0253] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations: when the acquisition of the data in the target hardware from the storage component fails, an alarm is issued.

[0254] In some embodiments, when the computer-readable storage component medium is disposed in the cloud server, the executable instructions cause the electronic device / apparatus to perform the following operations:

[0255] Obtain the identification of the hardware with data storage function in the vehicle uploaded by the vehicle terminal;

[0256] Compare the hardware identifier of the vehicle uploaded this time with the hardware identifier of the vehicle already stored;

[0257] When it is determined according to the comparison result that the target hardware is replaced, a data backup instruction is sent to the vehicle terminal, and the data backup instruction is used to instruct the vehicle terminal to write the data in the target hardware before the replacement into the target hardware after the replacement to complete the data update.

[0258] After receiving the hardware identification uploaded by the vehicle terminal, it is compared with the stored hardware identification to determine whether data update is required. If hardware with inconsistent identification is found after comparison, that is, the target hardware, a data backup instruction for the target hardware is sent to the vehicle terminal, triggering the vehicle terminal to execute the data update from the target hardware to the replaced target hardware. The entire process of data backup and data update for vehicle replacement parts does not require manual data backup and data update, which not only reduces the tedious steps of manual operation, but also reduces the risk of data inconsistency caused by manual operation. This makes it easier and more accurate to update data during vehicle replacement parts.

[0259] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0260] Obtaining data in the target hardware uploaded by the vehicle terminal;

[0261] The data in the target hardware is stored in a storage area for storing data of the hardware in the vehicle.

[0262] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0263] The data in the target hardware before the replacement is sent to the vehicle-mounted terminal.

[0264] When the vehicle terminal selects the cloud server to back up the data in the target hardware, the data in the target hardware is stored in the storage area. When the vehicle terminal needs to retrieve the data in the target hardware, the data in the target hardware is sent to the vehicle terminal. No manual intervention is required throughout the process, and the data backup process is more accurate, simple and efficient.

[0265] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0266] The identification of the hardware in the vehicle and the identification code of the vehicle are obtained; and a storage area for storing the hardware data in the vehicle is created.

[0267] The cloud server creates a storage area for the vehicle to facilitate the subsequent generation of data backup instructions, storage of data in the target hardware, retrieval of data in the target hardware, etc. No manual intervention is required throughout the process, which improves the effect of data backup and data update.

[0268] In an optional manner, the executable instruction enables the electronic device / apparatus to perform the following operations:

[0269] Obtaining the identification of the target hardware after replacement; and updating the stored identification of the target hardware to the identification of the target hardware after replacement.

[0270] After completing the data update, the stored vehicle hardware identification is updated to improve the efficiency of comparing the hardware that needs data backup when replacing parts next time, and improve the effect of data update.

[0271] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.

[0272] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.

[0273] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0274] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A data updating method, characterized in that: Applied to a vehicle-mounted terminal, the method comprises: Obtaining a data backup instruction for target hardware in the vehicle, wherein the data backup instruction is issued when it is detected that the target hardware has been replaced, and the target hardware is hardware in the vehicle with a data storage function; In response to the data backup instruction, backing up the data in the target hardware before replacement to a storage component; The data in the target hardware is acquired from the storage component, and the data in the target hardware is written into the replaced target hardware to complete the data update.

2. The method according to claim 1, characterized in that The storage component includes a cloud server and / or non-target hardware in the vehicle. When the storage component includes a cloud server, backing up data in the target hardware before replacement to the storage component includes: Uploading the data in the target hardware to a storage area in a cloud server for storing the hardware data in the vehicle; When the storage component includes the non-target hardware, backing up the data in the target hardware before the replacement to the storage component includes: The data in the target hardware is stored in non-target hardware in the vehicle.

3. The method according to claim 2, characterized in that The method further comprises: When the vehicle leaves the factory or is powered on, the identifier of the hardware in the vehicle and the identification code of the vehicle are sent to the cloud server so that the cloud server creates the storage area.

4. The method according to any one of claims 1 to 3, characterized in that: The obtaining of a data backup instruction for target hardware in the vehicle includes: In response to the identification reporting instruction, the identification of the hardware in the vehicle is uploaded to the cloud server, so that the cloud server compares the identification of the hardware in the vehicle uploaded this time with the identification of the hardware in the vehicle that has been stored; wherein each hardware has a unique identification; The data backup indication sent by the cloud server is obtained, wherein the data backup indication is generated after the cloud server compares and determines that the identification of the target hardware is changed.

5. The method according to any one of claims 1 to 3, characterized in that: When the target hardware includes multiple hardware, the method further includes: Create an environment; The step of backing up the data in the target hardware before the replacement to the storage component includes: In the environment, data in the target hardware before replacement is backed up to the storage component.

6. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: After completing the data update, the identifier of the replaced target hardware is sent to the storage component.

7. A data updating method, characterized in that: Applied to cloud servers, including: Obtain the identification of the hardware with data storage function in the vehicle uploaded by the vehicle terminal; Compare the hardware identifier of the vehicle uploaded this time with the hardware identifier of the vehicle already stored; When it is determined according to the comparison result that the target hardware is replaced, a data backup instruction is sent to the vehicle terminal, and the data backup instruction is used to instruct the vehicle terminal to write the data in the target hardware before the replacement into the replaced target hardware to complete the data update.

8. The method according to claim 7, characterized in that After sending the data backup instruction to the vehicle-mounted terminal, the method further includes: Acquire the data in the target hardware uploaded by the vehicle-mounted terminal; The data in the target hardware is stored in a storage area for storing data of the hardware in the vehicle.

9. An electronic device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the data updating method as described in any one of claims 1-6, or to perform the operation of the data updating method as described in claim 7 or 8.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction. When the executable instruction is executed on the electronic device / apparatus, the electronic device / apparatus executes the operation of the data updating method as described in any one of claims 1 to 6, or executes the operation of the data updating method as described in claim 7 or 8.