Data synchronization method and device, equipment and storage medium

By determining the target key data on the domestic mirroring platform and performing data checks and desensitization, the problem of low data management efficiency in the existing technology is solved, and the efficiency, accuracy and compliance of cross-border data synchronization is achieved, ensuring the data Security and consistency.

CN119088877APending Publication Date: 2024-12-06VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411038560.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing data management methods are inefficient and difficult to meet the efficient, accurate and compliance needs of cross-border data synchronization and archiving, especially in terms of data consistency, integrity and security.

Method used

By determining the target key data on the domestic mirroring platform, data structure and verification are carried out according to the preset data format and verification strategy, ensuring synchronization is carried out after the data is successfully checked, and legality check and sensitive information are desensitized before the data goes abroad , use data synchronization method to synchronize key data to overseas OTA platforms in a structured form.

Benefits of technology

It avoids data disorder and secondary operations, ensures the compliance and security of data going overseas, and improves the efficiency of data management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088877A_ABST
    Figure CN119088877A_ABST
Patent Text Reader

Abstract

The invention discloses a data synchronization method, device and equipment and a storage medium, and relates to the technical field of data synchronization, and the data synchronization method comprises the steps: determining target key data according to management associated data and data version information corresponding to each electronic control unit; determining structured data according to a preset data format and the target key data; determining a data verification result according to a data verification strategy and the structured data; and when the data verification result is that the data verification is successful, synchronizing the formatted data. The production of each key data is completed on a domestic mirror image platform; according to the method and the system, the validity of the vehicle data is verified before the data comes out of the sea, sensitive information is desensitized, and key data is synchronized to the overseas OTA platform in the form of structured data by adopting a data synchronization mode, so that data disorder or secondary operation is avoided, meanwhile, the compliance requirement of the data coming out of the sea can be ensured, and the efficiency of data management is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data synchronization technology, and in particular to a data synchronization method, apparatus, device and storage medium. Background Art

[0002] As my country's automobile exports accelerate, major OEMs have successively launched and deployed overseas vehicle remote upgrade services. The export and import of vehicle data has become a necessity for all OEMs. However, cross-border synchronization and archiving of this data face huge challenges, including data consistency, integrity and security. The commonly used methods currently have the risks of data disorder and secondary operations, and face the challenges of local laws and regulations, making it difficult to meet the needs of efficient, accurate and compliant data management. Therefore, how to solve the low efficiency of existing data management methods has become an urgent problem to be solved. Summary of the invention

[0003] The main purpose of the present application is to provide a data synchronization method, device, equipment and storage medium, aiming to solve the technical problem of low efficiency of existing data management methods.

[0004] To achieve the above objectives, the present application proposes a data synchronization method, which includes:

[0005] Determine the target key data according to the management-related data and data version information corresponding to each electronic control unit;

[0006] Determining structured data according to a preset data format and the target key data;

[0007] Determining a data verification result according to the data verification strategy and the structured data;

[0008] When the data verification result is that the data verification is successful, the formatted data is synchronized.

[0009] In one embodiment, the step of determining the target key data according to the management-related data and the target data version corresponding to each electronic control unit includes:

[0010] Determine the management data version according to the management associated data corresponding to each electronic control unit;

[0011] Comparing the management data version with the target data version to determine a data version comparison result;

[0012] When the data version comparison result is that the management data version and the target data version are the same, target key data is determined according to the management association data.

[0013] In one embodiment, determining the structured data according to the preset data format and the target key data includes:

[0014] Generate a corresponding data format template according to the preset data format;

[0015] Determine corresponding data attributes and data types according to the target key data;

[0016] Structured data is obtained according to the data format template, the data attributes and the data type.

[0017] In one embodiment, determining the data verification result according to the data verification strategy and the structured data includes:

[0018] Determining target sensitive data according to the data verification strategy and the structured data;

[0019] Obtaining a data desensitization result according to a preset data encryption strategy and the target sensitive data;

[0020] The corresponding data verification result is determined according to the data desensitization result.

[0021] In one embodiment, determining the corresponding data verification result according to the data desensitization result includes:

[0022] When the data desensitization result is that the data desensitization is successful, determining that the data verification result is that the data verification is successful;

[0023] When the data desensitization result is a data desensitization failure, the target sensitive data is recorded and the data verification result is determined to be a data verification failure.

[0024] In one embodiment, when the data verification result is that the data verification is successful, after synchronizing the formatted data, the method further includes:

[0025] When receiving the formatted data, parsing and verifying the formatted data, and determining a data verification result;

[0026] When the data verification result is that the data verification is correct, the formatted data is archived.

[0027] In one embodiment, the parsing and verifying the formatted data and determining the data verification result includes:

[0028] Parsing the formatted data to determine the corresponding initial check value and target parsed data;

[0029] Determine a corresponding verification check value according to the target parsed data;

[0030] A data verification result is determined based on the initial verification value and the verification verification value.

[0031] In addition, to achieve the above purpose, the present application also proposes a data synchronization device, the data synchronization device comprising:

[0032] A processing module, used for determining target key data according to management-related data and data version information corresponding to each electronic control unit;

[0033] The processing module is further used to determine structured data according to a preset data format and the target key data;

[0034] A verification module, used to determine a data verification result according to a data verification strategy and the structured data;

[0035] The synchronization module is used to synchronize the formatted data when the data verification result is that the data verification is successful.

[0036] In addition, to achieve the above objectives, the present application also proposes a data synchronization device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the data synchronization method described above.

[0037] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the data synchronization method described above are implemented.

[0038] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the data synchronization method described above are implemented.

[0039] This application determines the target key data according to the management-related data and data version information corresponding to each electronic control unit; determines the structured data according to the preset data format and the target key data; determines the data verification result according to the data verification strategy and the structured data; and synchronizes the formatted data when the data verification result is a successful data verification. The key data is produced on a domestic mirror platform; before the data is exported, the legality of the vehicle data is verified, sensitive information is desensitized, and then the key data is synchronized to the overseas OTA platform in the form of structured data by using data synchronization, avoiding data disorder or secondary operations, while ensuring the compliance requirements of data export and improving the efficiency of data management. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0042] Figure 1 A flowchart of the first embodiment of the data synchronization method of the present application is provided;

[0043] Figure 2 A schematic diagram of the system architecture provided for the first embodiment of the data synchronization method of this application;

[0044] Figure 3 A schematic diagram of a data synchronization process provided in Example 1 of the data synchronization method of the present application;

[0045] Figure 4 A schematic diagram of a data archiving process provided for the second embodiment of the data synchronization method of the present application;

[0046] Figure 5 A flowchart of the second embodiment of the data synchronization method of the present application is provided;

[0047] Figure 6 This is a schematic diagram of the module structure of the data synchronization device according to an embodiment of the present application;

[0048] Figure 7 A schematic diagram of the device structure of the hardware operating environment involved in the data synchronization method in the embodiment of the present application.

[0049] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0050] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0052] The main solution of the embodiment of the present application is: determine the target key data according to the management-related data and data version information corresponding to each electronic control unit; determine the structured data according to the preset data format and the target key data; determine the data verification result according to the data verification strategy and the structured data; and when the data verification result is that the data verification is successful, synchronize the formatted data.

[0053] As my country's automobile exports accelerate, major OEMs have successively launched and deployed overseas vehicle remote upgrade services. The export and import of vehicle data has become a necessity for all OEMs. However, cross-border synchronization and archiving of this data face huge challenges, including data consistency, integrity and security. The commonly used methods currently have the risks of data disorder and secondary operations, and face the challenges of local laws and regulations, making it difficult to meet the needs of efficient, accurate and compliant data management. Therefore, how to solve the low efficiency of existing data management methods has become an urgent problem to be solved.

[0054] This application determines the target key data according to the management-related data and data version information corresponding to each electronic control unit; determines the structured data according to the preset data format and the target key data; determines the data verification result according to the data verification strategy and the structured data; and synchronizes the formatted data when the data verification result is a successful data verification. The key data is produced on a domestic mirror platform; before the data is exported, the legality of the vehicle data is verified, sensitive information is desensitized, and then the key data is synchronized to the overseas OTA platform in the form of structured data by using data synchronization, avoiding data disorder or secondary operations, while ensuring the compliance requirements of data export and improving the efficiency of data management.

[0055] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a data synchronization device capable of realizing the above functions, etc. The following takes the data synchronization device as the execution subject as an example to illustrate this embodiment and the following embodiments.

[0056] Based on this, the present application embodiment provides a data synchronization method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the data synchronization method of the present application.

[0057] In this embodiment, the data synchronization method includes steps S10 to S40:

[0058] Step S10, determining target key data according to management-related data and data version information corresponding to each electronic control unit;

[0059] It should be noted that this embodiment completes the production of key data such as the flashing specifications, diagnostic sequences, and software package configurations of each electronic control unit (ECU) on a domestic mirroring platform; establishes a "data customs" to verify the legitimacy of vehicle data before data is exported, and desensitizes sensitive information to ensure data compliance and security; uses data synchronization to synchronize key data in the form of structured data to an overseas OTA (Over-The-Air Technology) platform; this solution can directly archive data that meets the requirements, without data disorder or secondary operations, and can ensure the compliance requirements for data export.

[0060] It can be understood that management-related data includes the flashing specifications, diagnostic sequences, software package configurations, etc. of each ECU. Data version information refers to the version information of ECU management data. Target key data refers to a collection of information that is crucial to ensuring the normal operation, maintenance, upgrade, and diagnosis of the ECU.

[0061] In the specific implementation, data is aggregated according to the flashing specifications, diagnostic sequence, software package configuration, etc. of each ECU and the version information of ECU management data to obtain a collection of information that is crucial to ensuring the normal operation, maintenance, upgrade and diagnosis of the ECU.

[0062] In a feasible implementation, step S10 may include steps A11 to A13:

[0063] Step A11, determining the management data version according to the management associated data corresponding to each electronic control unit;

[0064] It can be understood that the management data version refers to the data version corresponding to the current management associated data.

[0065] In the specific implementation, a unified version numbering system is formulated for each data type, usually including a major version number, a minor version number and a revision number, and a naming rule for the data packet is established, which should include key information such as the ECU model, data type, version number, etc., to facilitate identification and management, so as to determine the data version corresponding to the currently managed associated data.

[0066] Step A12, comparing the management data version and the target data version to determine a data version comparison result;

[0067] It is understandable that the target data version refers to the data version required for the software update, and the data version comparison result is used to determine whether the version of the key data is correct.

[0068] In a specific implementation, the data version corresponding to the current management-related data is compared with the data version required for the software update to obtain a data version comparison result. For example, if the data version corresponding to the current management-related data is different from the data version required for the software update, it indicates that the data version of the current management-related data is not the data version required for the software update, that is, the target key data cannot be determined based on the current management-related data.

[0069] Step A13: when the data version comparison result is that the management data version and the target data version are the same, determine the target key data according to the management associated data.

[0070] It can be understood that when the data version comparison result is that the management data version and the target data version are the same, it indicates that the data version of the current management-related data is the data version required for software update, that is, the management-related data is determined to be the target key data.

[0071] It should be noted that if Figure 2 As shown, in this embodiment, the system architecture includes a domestic mirror platform, data customs, a data synchronization module and an overseas OTA platform, wherein the domestic mirror platform is used to produce and manage key data such as the flashing specifications, diagnostic sequences, and software package configurations of each ECU. The platform has data verification and version control functions to ensure the accuracy and integrity of the data. When data customs is used for cross-sea data transmission, the data customs can ensure the secure transmission of sensitive data and meet the data compliance requirements of various countries. The data synchronization module is responsible for synchronizing the key data of the domestic mirror platform to the overseas OTA platform through structured data (such as XML or JSON format). This module supports encrypted transmission and data compression to ensure the security and efficiency of data during transmission. The overseas OTA platform is used to receive and archive key data synchronized from the domestic mirror platform. The platform has data parsing and verification functions to ensure that the data meets the requirements of the target system and can be used directly.

[0072] Step S20, determining structured data according to a preset data format and the target key data;

[0073] It is understandable that the preset data format refers to a pre-set data encapsulation format, for example, structured data (such as XML or JSON format), and the structured data refers to the encapsulated target key data.

[0074] In the specific implementation, a structured data format (such as XML or JSON) is used to encapsulate a set of information that is crucial to ensuring the normal operation, maintenance, upgrade and diagnosis of the ECU, and the encapsulated target key data is obtained, which facilitates the unified management and transmission of data.

[0075] In a feasible implementation, step S20 may include steps A21 to A23:

[0076] Step A21, generating a corresponding data format template according to a preset data format;

[0077] It is understandable that a data format template refers to a predefined data structure or pattern that is used to specify how data should be organized, stored, and presented.

[0078] In a specific implementation, a corresponding data template is generated according to a data format such as XML or JSON. For example, the attributes and types of data specified in the XML data template are filled into corresponding positions of the template to complete data encapsulation.

[0079] Step A22, determining corresponding data attributes and data types according to the target key data;

[0080] It can be understood that data analysis is performed on a set of information that is critical to ensuring the normal operation, maintenance, upgrade, and diagnosis of the ECU to determine the data attributes and data types corresponding to each data, thereby packaging the data according to the data attributes and data types.

[0081] Step A23, obtaining structured data according to the data format template, the data attributes and the data type.

[0082] In the specific implementation, first, clarify the encapsulated key data content, including ECU flashing specifications, diagnostic sequences, software package configurations, etc., determine the hierarchical structure of the XML document, define the corresponding elements and attributes for each type of data, use XMLSchema to define the data type of the element, ensure the correct format of the data, such as string, integer or date, etc., create a specific XML document instance according to XMLSchema, fill in the actual key data, so as to obtain the encapsulated target key data.

[0083] Step S30, determining a data verification result according to the data verification strategy and the structured data;

[0084] It can be understood that the data verification strategy refers to the sensitive data detection strategy, and the data verification result is used to determine whether the sensitive data is processed successfully.

[0085] In specific implementation, before data is exported, the legality of vehicle data is verified and sensitive information is desensitized to ensure data compliance and security. For example, sensitive data detection strategies are used to detect structured data and identify sensitive data to obtain data verification results.

[0086] In a feasible implementation, step S30 may include steps A31 to A33:

[0087] Step A31, determining target sensitive data according to the data verification strategy and the structured data;

[0088] It is understandable that target sensitive data refers to identified sensitive information, including personal information and vehicle information.

[0089] In the specific implementation, sensitive information is identified for the encapsulated target key information. Specifically, the identified personal information includes the owner's name, telephone number, address, etc., and the vehicle information includes the VIN code, detailed maintenance records, etc. Although the VIN code may need to be retained in some cases, whether desensitization is needed should be determined based on specific needs.

[0090] Step A32, obtaining a data desensitization result according to a preset data encryption strategy and the target sensitive data;

[0091] It can be understood that the preset data encryption strategy refers to the encryption strategy for sensitive data, and the data desensitization result is used to determine whether the data desensitization processing is completed.

[0092] In the specific implementation, an encryption algorithm is used to encrypt sensitive information, and only authorized users can decrypt and view it. After the encryption is completed, the data desensitization result is obtained. The data desensitization method can also be replaced or shielded. For example, replacement: replace sensitive information with a randomly generated, meaningless string or number; shielding: partially or completely hide sensitive information, such as displaying a mobile phone number as "123****1234".

[0093] Step A33, determining the corresponding data verification result according to the data desensitization result.

[0094] It can be understood that when the data desensitization result is that the sensitive data desensitization processing is successful, it indicates that the data verification result is that the data verification is successful, that is, the current data is correct and can be synchronized to the overseas OTA platform.

[0095] In a feasible implementation, step A33 may include steps B331 to B332:

[0096] Step B331, when the data desensitization result is that the data desensitization is successful, determining that the data verification result is that the data verification is successful;

[0097] It can be understood that when the data desensitization result is that the data desensitization is successful, it indicates that the sensitive data is successfully desensitized, that is, the data verification result is that the data verification is successful.

[0098] Step B332, when the data desensitization result is data desensitization failure, record the target sensitive data and determine that the data verification result is data verification failure.

[0099] It is understandable that when the data desensitization result is data desensitization failure, it indicates that the desensitization processing of the sensitive data has failed, that is, the data verification result is data verification failure.

[0100] Step S40: When the data verification result is that the data verification is successful, synchronize the formatted data.

[0101] It is understandable that if Figure 3 As shown in the figure, the data synchronization module is responsible for synchronizing the key data of the domestic mirror platform to the overseas OTA platform through structured data (such as XML or JSON format). This module supports encrypted transmission and data compression to ensure the security and efficiency of data during transmission.

[0102] This embodiment determines the target key data according to the management-related data and data version information corresponding to each electronic control unit; determines the structured data according to the preset data format and the target key data; determines the data verification result according to the data verification strategy and the structured data; and synchronizes the formatted data when the data verification result is a successful data verification. The key data is produced on a domestic mirror platform; before the data is exported, the legality of the vehicle data is verified, sensitive information is desensitized, and then the key data is synchronized to the overseas OTA platform in the form of structured data by using data synchronization, which avoids data disorder or secondary operations, while ensuring the compliance requirements of data export and improving the efficiency of data management.

[0103] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 4 After step S40, the data synchronization method further includes steps S41 to S42:

[0104] Step S41, when the formatted data is received, parsing and verifying the formatted data, and determining a data verification result;

[0105] It is understandable that if Figure 5 As shown in the figure, after receiving the data, the overseas OTA platform automatically parses the structured data and verifies it to ensure that the data meets the requirements of the target system. The parsed data is directly archived to the target database or file system, avoiding secondary operations on the data and ensuring the timeliness and accuracy of the data.

[0106] In a feasible implementation, step S41 may include steps A411 to A413:

[0107] Step A411, parsing the formatted data to determine the corresponding initial check value and target parsed data;

[0108] It can be understood that the initial check value refers to the check value generated before data synchronization, and the target parsed data refers to the formatted data after parsing.

[0109] In the specific implementation, after the overseas OTA platform receives the data, it automatically parses the structured data and verifies it to ensure that the data meets the requirements of the target system. Specifically, after parsing the formatted data, it obtains the check value generated before data synchronization and the formatted data after parsing. For example, it selects a suitable parsing library according to the format of the data file, such as using Jackson or Gson to parse JSON, and using DOM, SAX, StAX, etc. to parse XML; then parse the data file according to the predefined data template or Schema, and convert the original data into an easy-to-process data structure, such as a dictionary, list, object, etc.

[0110] Step A412, determining a corresponding verification check value according to the target parsed data;

[0111] It can be understood that the verification check value refers to the data verification value recalculated by the overseas OTA platform.

[0112] In the specific implementation, the data verification strategy includes CRC (cyclic redundancy check) strategy and hash function verification strategy, etc. Through the above data verification strategy, the overseas OTA platform recalculates the verification value of the target parsed data to obtain the verification check value.

[0113] Step A413, determining a data verification result according to the initial verification value and the verification verification value.

[0114] It is understandable that the data verification result is used to determine whether the data is incorrect.

[0115] In a specific implementation, the initial verification value and the data verification value recalculated by the overseas OTA platform are compared to obtain a result of whether the initial verification value and the data verification value recalculated by the overseas OTA platform are consistent, that is, the data verification result. For example, when the initial verification value and the data verification value recalculated by the overseas OTA platform are consistent, it means that the data verification is correct and the data meets the requirements of the target system.

[0116] Step S42: when the data verification result is that the data verification is correct, archiving the formatted data.

[0117] It can be understood that when the data verification result is that the data verification is correct, it indicates that the data verification is correct and the data meets the requirements of the target system. The parsed data is directly archived to the target database or file system, avoiding secondary operations on the data and ensuring the timeliness and accuracy of the data.

[0118] It should be noted that in this embodiment, the domestic mirror platform is used to produce and manage key data such as the flashing specifications, diagnostic sequences, and software package configurations of each ECU. The platform has data verification and version control functions to ensure the accuracy and integrity of the data. When data customs transmit data across the sea, the data customs can ensure the secure transmission of sensitive data and meet the data compliance requirements of various countries. The data synchronization module is responsible for synchronizing the key data of the domestic mirror platform to the overseas OTA platform through structured data (such as XML or JSON format). This module supports encrypted transmission and data compression to ensure the security and efficiency of data during transmission. The overseas OTA platform receives and archives key data synchronized from the domestic mirror platform. The platform has data parsing and verification functions to ensure that the data meets the requirements of the target system and can be used directly.

[0119] This embodiment parses and verifies the formatted data when the formatted data is received to determine the data verification result; when the data verification result is that the data verification is correct, the formatted data is archived. After receiving the data on the overseas OTA platform, the structured data is automatically parsed and verified to ensure that the data meets the requirements of the target system. The parsed data is directly archived to the target database or file system, avoiding secondary operations on the data and ensuring the timeliness and accuracy of the data.

[0120] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the data synchronization method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0121] This application also provides a data synchronization device, please refer to Figure 6 , the data synchronization device comprises:

[0122] The processing module 10 is used to determine the target key data according to the management-related data and data version information corresponding to each electronic control unit;

[0123] The processing module 10 is further used to determine structured data according to a preset data format and the target key data;

[0124] A verification module 20, configured to determine a data verification result according to a data verification strategy and the structured data;

[0125] The synchronization module 30 is used to synchronize the formatted data when the data verification result is that the data verification is successful.

[0126] Optionally, the processing module 10 is further used for:

[0127] Determine the management data version according to the management associated data corresponding to each electronic control unit;

[0128] Comparing the management data version with the target data version to determine a data version comparison result;

[0129] When the data version comparison result is that the management data version and the target data version are the same, target key data is determined according to the management association data.

[0130] Optionally, the processing module 10 is further used for:

[0131] Generate a corresponding data format template according to the preset data format;

[0132] Determine corresponding data attributes and data types according to the target key data;

[0133] Structured data is obtained according to the data format template, the data attributes and the data type.

[0134] Optionally, the verification module 20 is further used to:

[0135] Determining target sensitive data according to the data verification strategy and the structured data;

[0136] Obtaining a data desensitization result according to a preset data encryption strategy and the target sensitive data;

[0137] The corresponding data verification result is determined according to the data desensitization result.

[0138] Optionally, the verification module 20 is further used to:

[0139] When the data desensitization result is that the data desensitization is successful, determining that the data verification result is that the data verification is successful;

[0140] When the data desensitization result is a data desensitization failure, the target sensitive data is recorded and the data verification result is determined to be a data verification failure.

[0141] Optionally, the synchronization module 30 is further used for:

[0142] When receiving the formatted data, parsing and verifying the formatted data, and determining a data verification result;

[0143] When the data verification result is that the data verification is correct, the formatted data is archived.

[0144] Optionally, the synchronization module 30 is further used for:

[0145] Parsing the formatted data to determine the corresponding initial check value and target parsed data;

[0146] Determine a corresponding verification check value according to the target parsed data;

[0147] A data verification result is determined based on the initial verification value and the verification verification value.

[0148] The data synchronization device provided by the present application adopts the data synchronization method in the above embodiment, which can solve the technical problem of low efficiency of the existing data management method. Compared with the prior art, the beneficial effects of the data synchronization device provided by the present application are the same as the beneficial effects of the data synchronization method provided by the above embodiment, and the other technical features in the data synchronization device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0149] The present application provides a data synchronization device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the data synchronization method in the above-mentioned embodiment one.

[0150] Reference below Figure 7 , which shows a schematic diagram of the structure of a data synchronization device suitable for implementing the embodiment of the present application. The data synchronization device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The data synchronization device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0151] like Figure 7As shown, the data synchronization device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the data synchronization device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the data synchronization device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a data synchronization device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0152] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0153] The data synchronization device provided by the present application adopts the data synchronization method in the above embodiment, which can solve the technical problem of low efficiency of the existing data management method. Compared with the prior art, the beneficial effects of the data synchronization device provided by the present application are the same as the beneficial effects of the data synchronization method provided by the above embodiment, and the other technical features in the data synchronization device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0154] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0155] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0156] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the data synchronization method in the above-mentioned embodiment.

[0157] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0158] The computer-readable storage medium may be included in the data synchronization device; or may exist independently without being assembled into the data synchronization device.

[0159] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the data synchronization device, the data synchronization device: determines the target key data according to the management-related data and data version information corresponding to each electronic control unit; determines the structured data according to the preset data format and the target key data; determines the data verification result according to the data verification strategy and the structured data; and synchronizes the formatted data when the data verification result is that the data verification is successful.

[0160] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0161] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0162] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0163] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned data synchronization method, and can solve the technical problem of low efficiency of the existing data management method. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the data synchronization method provided by the above-mentioned embodiment, and will not be repeated here.

[0164] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned data synchronization method when executed by a processor.

[0165] The computer program product provided by this application can solve the technical problem of low efficiency of existing data management methods. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the data synchronization method provided by the above embodiment, which will not be repeated here.

[0166] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A data synchronization method, characterized in that: The data synchronization method comprises: Determine the target key data according to the management-related data and data version information corresponding to each electronic control unit; Determining structured data according to a preset data format and the target key data; Determining a data verification result according to the data verification strategy and the structured data; When the data verification result is that the data verification is successful, the formatted data is synchronized.

2. The method according to claim 1, characterized in that The step of determining the target key data according to the management-related data and the target data version corresponding to each electronic control unit includes: Determine the management data version according to the management associated data corresponding to each electronic control unit; Comparing the management data version with the target data version to determine a data version comparison result; When the data version comparison result is that the management data version and the target data version are the same, target key data is determined according to the management association data.

3. The method according to claim 1, characterized in that The determining of structured data according to the preset data format and the target key data includes: Generate a corresponding data format template according to the preset data format; Determine corresponding data attributes and data types according to the target key data; Structured data is obtained according to the data format template, the data attributes and the data type.

4. The method according to claim 1, characterized in that Determining the data verification result according to the data verification strategy and the structured data includes: Determining target sensitive data according to the data verification strategy and the structured data; Obtaining a data desensitization result according to a preset data encryption strategy and the target sensitive data; The corresponding data verification result is determined according to the data desensitization result.

5. The method according to claim 4, characterized in that The determining the corresponding data verification result according to the data desensitization result includes: When the data desensitization result is that the data desensitization is successful, determining that the data verification result is that the data verification is successful; When the data desensitization result is a data desensitization failure, the target sensitive data is recorded and the data verification result is determined to be a data verification failure.

6. The method according to claim 1, characterized in that When the data verification result is that the data verification is successful, after synchronizing the formatted data, the method further includes: When receiving the formatted data, parsing and verifying the formatted data, and determining a data verification result; When the data verification result is that the data verification is correct, the formatted data is archived.

7. The method according to claim 6, characterized in that The parsing and verifying the formatted data and determining the data verification result includes: Parsing the formatted data to determine the corresponding initial check value and target parsed data; Determine a corresponding verification check value according to the target parsed data; A data verification result is determined based on the initial verification value and the verification verification value.

8. A data synchronization device, characterized in that: The device comprises: A processing module, used for determining target key data according to management-related data and data version information corresponding to each electronic control unit; The processing module is further used to determine structured data according to a preset data format and the target key data; A verification module, used to determine a data verification result according to a data verification strategy and the structured data; The synchronization module is used to synchronize the formatted data when the data verification result is that the data verification is successful.

9. A data synchronization device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the data synchronization method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the data synchronization method according to any one of claims 1 to 7 are implemented.