Data synchronization method, device and electronic equipment
Through the secondary landing method and unique identification code mapping of the central server, the complex problem of data synchronization in the enterprise information system is solved, the data synchronization process is simplified and the matching efficiency is improved.
Patent Information
- Application Number
- CN202211010998.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-08-23
AI Technical Summary
Due to the inconsistent pace of enterprise information system construction, the same data is modified in multiple application systems, resulting in inconsistent data source and complex data synchronization.
The basic data is obtained through the central server and the limitation of unique data sources is broken. The secondary implementation method is used to establish a mapping relationship between the unique identification code and the basic data, simplifying the data synchronization process.
It realizes simplification of data synchronization, improves matching efficiency, and avoids a large number of changes to the application system.
Smart Images

Figure CN115391456B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data synchronization method, device and electronic equipment. Background Art
[0002] As enterprise informatization continues to deepen, the number of business and office systems is increasing. However, due to limitations in planning, budgeting, and implementation calculations, the pace and planning of each information system are inconsistent. As a result, when business systems are integrated, the same data may be modified in multiple application systems, resulting in inconsistent data sources and complex data synchronization.
[0003] Therefore, a data synchronization method, device and electronic device are proposed. Summary of the Invention
[0004] This specification provides a data synchronization method, device, and electronic device, which break the limitation of a single data source and simplify the problem of data synchronization.
[0005] This specification provides a data synchronization method, including:
[0006] Get basic data;
[0007] Landing the basic data on a central server and / or application system to obtain a central timestamp for the basic data;
[0008] Determine whether the data source time of the landed basic data is newer than the central timestamp;
[0009] When the data source time of the landed basic data is updated compared to the central timestamp, the updated basic data is updated to the central server and / or the application system, and the central timestamp is updated based on the data source time.
[0010] Optionally, the step of storing the basic data in a central server and / or application system to obtain a central timestamp of the basic data includes:
[0011] Landing the basic data once on a central server, obtaining a unique identifier that is mapped one-to-one with the basic data landed once, and recording a central timestamp of the basic data landed once;
[0012] The basic data that was landed once is landed in the application system for a second time, and a mapping relationship between the basic data that was landed twice and the unique identifier is established.
[0013] Optionally, when the data source time of the landed basic data is updated compared to the central timestamp, updating the updated basic data to the central server and / or the application system, and updating the central timestamp based on the data source time includes:
[0014] The basic data of the landing includes the basic data of the first landing and the basic data of the second landing;
[0015] When the data source time of the basic data landed once is updated compared to the central timestamp, the updated basic data is updated to the central server, and the central timestamp is updated based on the data source time;
[0016] Based on the unique identifier matching the basic data of the secondary landing, the updated basic data is updated to the application system.
[0017] Optionally, when the data source time of the landed basic data is updated compared to the central timestamp, updating the updated basic data to the central server and / or the application system, and updating the central timestamp based on the data source time, further includes:
[0018] When the data source time of the secondary landing basic data is updated compared to the central timestamp, the basic data of the primary landing is matched based on the unique identifier, the updated basic data is updated to the central server, and the central timestamp is updated based on the data source time;
[0019] Based on the unique identifier matching the basic data of the secondary landing, the updated basic data is updated to the application system.
[0020] Optionally, the matching the basic data of the secondary landing based on the unique identifier and updating the updated basic data to the application system includes:
[0021] Obtaining field information of the basic data of the secondary landing;
[0022] Determine whether the field information of the updated basic data is consistent with the field information of the secondary landing basic data;
[0023] When the field information of the updated basic data is inconsistent with the field information of the secondary landing basic data, the field information of the updated basic data is forcibly converted to be consistent with the field information of the secondary landing basic data;
[0024] The updated basic data after forced conversion is updated to the application system.
[0025] This specification provides a data synchronization device, including:
[0026] Acquisition module, used to obtain basic data;
[0027] A landing module is used to land the basic data on a central server and / or application system to obtain a central timestamp of the basic data;
[0028] A judgment module, configured to judge whether the data source time of the landed basic data is updated compared to the central timestamp;
[0029] An update module is used to update the updated basic data to the central server and / or the application system when the data source time of the landed basic data is updated compared to the central timestamp, and to update the central timestamp based on the data source time.
[0030] Optionally, the landing module includes:
[0031] A one-time landing unit is used to land the basic data on the central server once, obtain a unique identifier that is mapped one-to-one with the basic data landed once, and record a central timestamp of the basic data landed once;
[0032] The secondary landing unit is used to land the basic data of the primary landing in the application system for the secondary landing, and establish a mapping relationship between the basic data of the secondary landing and the unique identifier.
[0033] Optionally, the update module includes:
[0034] The basic data of the landing includes the basic data of the first landing and the basic data of the second landing;
[0035] a primary updating unit, configured to update the updated basic data to the central server when the data source time of the primary landed basic data is updated compared to the central timestamp, and to update the central timestamp based on the data source time;
[0036] A secondary updating unit is used to update the updated basic data to the application system based on the unique identifier matching the basic data of the secondary landing.
[0037] Optionally, the update module further includes:
[0038] a matching unit, adapted to match the basic data of the first landing based on the unique identifier when the data source time of the basic data of the second landing is updated compared to the central timestamp, update the updated basic data to the central server, and update the central timestamp based on the data source time;
[0039] A synchronization unit is used to match the basic data of the secondary landing based on the unique identifier, and update the updated basic data to the application system.
[0040] Optionally, the secondary updating unit includes:
[0041] Obtaining field information of the basic data of the secondary landing;
[0042] Determine whether the field information of the updated basic data is consistent with the field information of the secondary landing basic data;
[0043] When the field information of the updated basic data is inconsistent with the field information of the secondary landing basic data, the field information of the updated basic data is forcibly converted to be consistent with the field information of the secondary landing basic data;
[0044] The updated basic data after forced conversion is updated to the application system.
[0045] This specification also provides an electronic device, wherein the electronic device includes:
[0046] processor; and,
[0047] A memory storing computer executable instructions, which, when executed, cause the processor to perform any of the above methods.
[0048] This specification also provides a computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, any of the above methods is implemented.
[0049] The present invention adopts an innovative method of secondary landing, breaking the limitation of a single data source; through a central server, it does not invade the application system and does not require a large number of changes to the application system; it establishes a mapping relationship between the unique identification code and the basic data, improves matching efficiency, and simplifies the problem of data synchronization. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0051] Figure 1 A schematic diagram of the principle of a data synchronization method provided in an embodiment of this specification;
[0052] Figure 2 A schematic diagram of the structure of a data synchronization device provided in an embodiment of this specification;
[0053] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification;
[0054] Figure 4 A schematic diagram of a computer-readable medium provided in accordance with an embodiment of this specification. DETAILED DESCRIPTION
[0055] The following description is intended to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are for illustrative purposes only, and those skilled in the art will readily appreciate other obvious variations. The basic principles of the present invention defined in the following description may be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not depart from the spirit and scope of the present invention.
[0056] The following is combined with Figure 1-4 The exemplary embodiments of the present invention are described more fully. However, the exemplary embodiments can be implemented in various forms, and the present invention should not be construed as being limited to the embodiments set forth herein. On the contrary, providing these exemplary embodiments enables the present invention to be more comprehensive and complete, and more conveniently conveys the inventive concept to those skilled in the art. In the figures, the same reference numerals represent the same or similar elements, components, or parts, and thus their repeated description will be omitted.
[0057] Under the premise of being consistent with the technical concept of the present invention, the features, structures, characteristics or other details described in a specific embodiment do not exclude that they can be combined in one or more other embodiments in a suitable manner.
[0058] In the description of specific embodiments, the features, structures, characteristics, or other details of the present invention are described to enable those skilled in the art to fully understand the embodiments. However, this does not preclude those skilled in the art from practicing the technical solutions of the present invention without one or more of the specific features, structures, characteristics, or other details.
[0059] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0060] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0061] The term "and / or" or "and / or" includes all combinations of any one or more of the associated listed items.
[0062] Figure 1 A schematic diagram of a data synchronization method provided in an embodiment of this specification includes:
[0063] S110: Obtain basic data;
[0064] S120: Landing the basic data on a central server and / or application system to obtain a central timestamp of the basic data;
[0065] Optionally, the S120 includes:
[0066] Landing the basic data once on a central server, obtaining a unique identifier that is mapped one-to-one with the basic data landed once, and recording a central timestamp of the basic data landed once;
[0067] The basic data that was landed once is landed in the application system for a second time, and a mapping relationship between the basic data that was landed twice and the unique identifier is established.
[0068] In the specific implementation of this specification, basic data can be obtained by uploading or generated by users. The basic data is first landed on the central server once, and a uuid is assigned to establish a mapping relationship with the basic data of the first landing, and a central timestamp is added. Subsequently, the basic data is pushed to the application system for a second landing, and a mapping relationship between the uuid and the basic data of the second landing is established. Through the mapping relationship between the uuid and the basic data of the first landing and the basic data of the second landing, the limitation of the unique data source is eliminated.
[0069] S130: Determine whether the data source time of the landed basic data is updated compared to the central timestamp;
[0070] S140: When the data source time of the landed basic data is updated compared to the central timestamp, the updated basic data is updated to the central server and / or the application system, and the central timestamp is updated based on the data source time.
[0071] Optionally, the S140 includes:
[0072] The basic data of the landing includes the basic data of the first landing and the basic data of the second landing;
[0073] When the data source time of the basic data landed once is updated compared to the central timestamp, the updated basic data is updated to the central server, and the central timestamp is updated based on the data source time;
[0074] Based on the unique identifier matching the basic data of the secondary landing, the updated basic data is updated to the application system.
[0075] In the specific implementation of this specification, if the data source time of the basic data is compared with the central timestamp and there is an update, the updated basic data is re-landed on the central server in real time and the central timestamp is updated. Subsequently, based on the unique identifier, the basic data that is matched to the second landing is pushed to the corresponding application system.
[0076] Optionally, the matching the basic data of the secondary landing based on the unique identifier and updating the updated basic data to the application system includes:
[0077] Obtaining field information of the basic data of the secondary landing;
[0078] Determine whether the field information of the updated basic data is consistent with the field information of the secondary landing basic data;
[0079] When the field information of the updated basic data is inconsistent with the field information of the secondary landing basic data, the field information of the updated basic data is forcibly converted to be consistent with the field information of the secondary landing basic data;
[0080] The updated basic data after forced conversion is updated to the application system.
[0081] In the specific implementation of this specification, field information includes but is not limited to field type, field length, and field format. To determine whether the field information of the updated basic data meets the field rules, the field information of the secondary landing basic data can be referenced. If the two are inconsistent, the updated basic information is forcibly converted based on the field rules.
[0082] Optionally, the S140 further includes:
[0083] When the data source time of the secondary landing basic data is updated compared to the central timestamp, the basic data of the primary landing is matched based on the unique identifier, the updated basic data is updated to the central server, and the central timestamp is updated based on the data source time;
[0084] Based on the unique identifier matching the basic data of the secondary landing, the updated basic data is updated to the application system.
[0085] In the specific implementation of this specification, after the secondary landing basic data is updated, the central server obtains the updated secondary landing basic data from the application system based on the unique identifier and implements it. Subsequently, the central server pushes the updated basic data to the remaining application systems for update.
[0086] The present invention adopts an innovative method of secondary landing, breaking the limitation of a single data source; through a central server, it does not invade the application system and does not require a large number of changes to the application system; it establishes a mapping relationship between the unique identification code and the basic data, improves matching efficiency, and simplifies the problem of data synchronization.
[0087] Figure 2 A schematic diagram of a data synchronization device provided in an embodiment of this specification includes:
[0088] An acquisition module 10 is used to acquire basic data;
[0089] A landing module 20 is used to land the basic data on a central server and / or application system to obtain a central timestamp of the basic data;
[0090] A judgment module 30 is used to judge whether the data source time of the basic data is updated compared with the central timestamp;
[0091] The update module 40 is used to update the updated basic data to the central server and / or the application system when the data source time of the landed basic data is updated compared to the central timestamp, and update the central timestamp based on the data source time.
[0092] Optionally, the landing module includes:
[0093] A one-time landing unit is used to land the basic data on the central server once, obtain a unique identifier that is mapped one-to-one with the basic data landed once, and record a central timestamp of the basic data landed once;
[0094] The secondary landing unit is used to land the basic data of the primary landing in the application system for the secondary landing, and establish a mapping relationship between the basic data of the secondary landing and the unique identifier.
[0095] Optionally, the update module includes:
[0096] The basic data of the landing includes the basic data of the first landing and the basic data of the second landing;
[0097] a primary updating unit, configured to update the updated basic data to the central server when the data source time of the primary landed basic data is updated compared to the central timestamp, and to update the central timestamp based on the data source time;
[0098] A secondary updating unit is used to update the updated basic data to the application system based on the unique identifier matching the basic data of the secondary landing.
[0099] Optionally, the update module further includes:
[0100] a matching unit, configured to, when the data source time of the basic data of the secondary landing is updated compared to the central timestamp, match the basic data of the primary landing based on the unique identifier, update the updated basic data to the central server, and update the central timestamp based on the data source time;
[0101] A synchronization unit is used to match the basic data of the secondary landing based on the unique identifier, and update the updated basic data to the application system.
[0102] Optionally, the secondary updating unit includes:
[0103] Obtaining field information of the basic data of the secondary landing;
[0104] Determine whether the field information of the updated basic data is consistent with the field information of the secondary landing basic data;
[0105] When the field information of the updated basic data is inconsistent with the field information of the secondary landing basic data, the field information of the updated basic data is forcibly converted to be consistent with the field information of the secondary landing basic data;
[0106] The updated basic data after forced conversion is updated to the application system.
[0107] The functions of the device in the embodiment of the present invention have been described in the above method embodiment. Therefore, for details not fully described in this embodiment, please refer to the relevant description in the above embodiment and will not be repeated here.
[0108] Based on the same inventive concept, an embodiment of this specification also provides an electronic device.
[0109] The following describes an electronic device embodiment of the present invention, which can be considered a specific physical implementation of the method and apparatus embodiments of the present invention described above. Details described in the electronic device embodiment of the present invention should be considered supplementary to the above-mentioned method or apparatus embodiments; details not disclosed in the electronic device embodiment of the present invention can be implemented with reference to the above-mentioned method or apparatus embodiments.
[0110] Figure 3 This is a schematic diagram of the structure of an electronic device provided in the embodiment of this specification. Figure 3 The electronic device 300 according to this embodiment of the present invention will be described. Figure 3 The electronic device 300 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present invention.
[0111] like Figure 3 As shown, electronic device 300 is implemented as a general-purpose computing device. Components of electronic device 300 may include, but are not limited to, at least one processing unit 310, at least one storage unit 320, a bus 330 connecting various system components (including storage unit 320 and processing unit 310), a display unit 340, and the like.
[0112] The storage unit stores program codes that can be executed by the processing unit 310, so that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the above processing method section of this specification. For example, the processing unit 310 can perform the following steps: Figure 1 Steps shown.
[0113] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 3201 and / or a cache memory unit 3202 , and may further include a read-only memory unit (ROM) 3203 .
[0114] The storage unit 320 may also include a program / utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.
[0115] Bus 330 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0116] The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 300, and / or any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 350. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 through the bus 330. It should be understood that although Figure 3 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0117] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the exemplary embodiments described in the present invention can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the present invention. When the computer program is executed by a data processing device, the computer-readable medium is enabled to implement the above method of the present invention, that is: Figure 1 The method shown.
[0118] Figure 4 A schematic diagram of a computer-readable medium provided in accordance with an embodiment of this specification.
[0119] accomplish Figure 1The computer program of the method shown can be stored on one or more computer-readable media. The computer-readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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 thereof.
[0120] The computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. The data signal propagated may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or component. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0121] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0122] In summary, the present invention can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that general data processing equipment such as a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing a part or all of the methods described herein. Such a program for implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0123] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the present invention is not inherently related to any specific computer, virtual device, or electronic device, and various general-purpose devices can also implement the present invention. The above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention.
[0124] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.
[0125] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A data synchronization method, characterized in that: include: Get basic data; Landing the basic data on a central server and / or an application system to obtain a central timestamp of the basic data includes: landing the basic data on a central server once, obtaining a unique identifier that is mapped one-to-one with the basic data that has been landed once, and recording the central timestamp of the basic data that has been landed once; landing the basic data that has been landed once on an application system a second time, and establishing a mapping relationship between the basic data that has been landed twice and the unique identifier; Determine whether the data source time of the landed basic data is newer than the central timestamp; When the data source time of the landed basic data is updated compared to the central timestamp, the updated basic data is updated to the central server and / or the application system, and the central timestamp is updated based on the data source time.
2. The data synchronization method according to claim 1, wherein: When the data source time of the landed basic data is updated compared to the central timestamp, updating the updated basic data to the central server and / or the application system, and updating the central timestamp based on the data source time, includes: The basic data of the landing includes the basic data of the first landing and the basic data of the second landing; When the data source time of the basic data landed once is updated compared to the central timestamp, the updated basic data is updated to the central server, and the central timestamp is updated based on the data source time; Based on the unique identifier matching the basic data of the secondary landing, the updated basic data is updated to the application system.
3. The data synchronization method according to claim 2, wherein: When the data source time of the landed basic data is updated compared to the central timestamp, the updated basic data is updated to the central server and / or the application system, and the central timestamp is updated based on the data source time, further comprising: When the data source time of the secondary landing basic data is updated compared to the central timestamp, the basic data of the primary landing is matched based on the unique identifier, the updated basic data is updated to the central server, and the central timestamp is updated based on the data source time; Based on the unique identifier matching the basic data of the secondary landing, the updated basic data is updated to the application system.
4. The data synchronization method according to claim 3, wherein: The matching of the basic data of the secondary landing based on the unique identifier and updating the updated basic data to the application system includes: Obtaining field information of the basic data of the secondary landing; Determine whether the field information of the updated basic data is consistent with the field information of the secondary landing basic data; When the field information of the updated basic data is inconsistent with the field information of the secondary landing basic data, the field information of the updated basic data is forcibly converted to be consistent with the field information of the secondary landing basic data; The updated basic data after forced conversion is updated to the application system.
5. A data synchronization device, characterized in that: include: Acquisition module, used to obtain basic data; A landing module is used to land the basic data on a central server and / or an application system and obtain a central timestamp of the basic data, including: landing the basic data on a central server once, obtaining a unique identifier that is mapped one-to-one with the basic data landed once, and recording the central timestamp of the basic data landed once; landing the basic data landed once a second time on an application system, and establishing a mapping relationship between the basic data landed twice and the unique identifier; A judgment module, configured to judge whether the data source time of the landed basic data is updated compared to the central timestamp; An update module is used to update the updated basic data to the central server and / or the application system when the data source time of the landed basic data is updated compared to the central timestamp, and to update the central timestamp based on the data source time.
6. The data synchronization device according to claim 5, wherein: The landing module includes: A one-time landing unit is used to land the basic data on the central server once, obtain a unique identifier that is mapped one-to-one with the basic data landed once, and record a central timestamp of the basic data landed once; The secondary landing unit is used to land the basic data of the primary landing in the application system for the secondary landing, and establish a mapping relationship between the basic data of the secondary landing and the unique identifier.
7. The data synchronization device according to claim 6, wherein: The update module includes: The basic data of the landing includes the basic data of the first landing and the basic data of the second landing; a primary updating unit, configured to update the updated basic data to the central server when the data source time of the primary landed basic data is updated compared to the central timestamp, and to update the central timestamp based on the data source time; A secondary updating unit is used to update the updated basic data to the application system based on the unique identifier matching the basic data of the secondary landing.
8. An electronic device, wherein: The electronic device includes: processor; and, A memory storing computer executable instructions which, when executed, cause the processor to perform the method according to any one of claims 1 to 4.
9. A computer-readable storage medium, wherein: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method of any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Data synchronization method and device
CN110858197A