Machine account synchronous management method based on multiple data sources

By defining the main management end and sub-management end in the ledger synchronization network, standardized conversion and synchronization of ledger data is performed, which solves the problem of ledger format confusion and synchronization in multiple places, achieves effective management and synchronization of ledger data, and reduces Reduce the storage pressure of local database.

CN118626560APending Publication Date: 2024-09-10GUANGDONG NENGYANG ELECTRIC POWER CONSTR CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410746947.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing technology cannot effectively solve the problems of confusing ledger formats, ledger synchronization in multiple places, and excessive local database data when performing ledger synchronization.

Method used

By establishing a ledger synchronization network, defining the main management end and sub-management end, the data information to be synchronized is generated and sent to the server. The server parses and matches the corresponding sub-management end, generates synchronization data packets, and the sub-management end updates the local database to realize the ledger. Standardized transformation and synchronization of data.

Benefits of technology

It achieves effective management of ledger data and synchronization of ledger data in multiple places, reduces the storage pressure on local databases, and improves the efficiency and accuracy of data synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626560A
    Figure CN118626560A
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and discloses a machine account synchronous management method based on multiple data sources, and the method comprises the steps: defining any machine account management end as a main management end when changed machine account data appears in any machine account management end, and defining other machine account management ends as sub management ends; the main management end generates standing book data information to be synchronized and sends the standing book data information to the server; the server obtains data features in the to-be-synchronized standing book data information, matches the corresponding sub-management end, and sends a standing book synchronization data packet to the sub-management end; the sub management end obtains data features in the machine account synchronous data packet, matches historical machine account data, extracts a machine account data segment to be updated from the historical machine account data, and sends the data segment to the server; the server receives and backs up the to-be-updated standing book data segment and the data position, and sends changed standing book data to the sub-management end; and the sub management end updates the changed standing book data. According to the invention, effective management of machine account data chaos and synchronization of multi-place machine account data are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and specifically to a ledger synchronization management method based on multiple data sources. Background Art

[0002] With the development of modern office technology, ledgers have gradually changed from paper documents to electronic data. With the development of the Internet, collaborative office work in multiple locations has become more and more common, and the problem of storing local ledger data has arisen.

[0003] Chinese Patent No. CN202211130739.5 discloses a method, device and medium for synchronizing ledger data from multiple data sources, which realizes data conversion and real-time synchronization of multiple databases in the ledger system; Chinese Patent No. CN201811216571.3 discloses a method and system for bidirectional synchronization of data in different locations, which ensures the sameness and integrity of data during the bidirectional synchronization process.

[0004] However, the existing technology still cannot effectively solve the problems of chaotic ledger format, synchronization of ledgers in multiple locations, and excessive local database data when synchronizing ledgers. Summary of the invention

[0005] The purpose of this application is to provide a ledger synchronization management method based on multiple data sources to solve the technical problems raised in the above background technology.

[0006] To achieve the above purpose, the present application discloses the following technical solution: a ledger synchronization management method based on multiple data sources, the method comprising the following steps:

[0007] S1: Establishing a ledger synchronization network, which includes multiple ledger management terminals. Each ledger management terminal establishes a local database based on the collected ledger data and converts the collected ledger data into a standard format. When any ledger management terminal has changed ledger data, it is defined as the main management terminal, and the other ledger management terminals are defined as sub-management terminals.

[0008] S2: The main management end generates the ledger data information to be synchronized corresponding to the changed ledger data, and the ledger data information to be synchronized includes the changed ledger data and its corresponding data features; the main management end sends the ledger data information to be synchronized to the server;

[0009] S3: The server receives and parses the ledger data information to be synchronized, obtains the data features, matches the corresponding sub-management terminal based on the data features, and generates a ledger synchronization data packet, wherein the ledger synchronization data packet includes a synchronization instruction and the data features;

[0010] S4: The sub-management end receives and parses the ledger synchronization data packet, obtains the synchronization instruction and the data feature, matches the historical ledger data corresponding to the main management end in the local database based on the data feature, and extracts the ledger data segment to be updated corresponding to the data feature from the historical ledger data, and sends the ledger data segment to be updated and its data location in the historical ledger data to the server;

[0011] S5: the server receives and backs up the to-be-updated ledger data segment and the data location, and sends the changed ledger data to the sub-management terminal;

[0012] S6: The sub-management terminal receives the changed ledger data, and inserts the ledger data into the location of the historical ledger data corresponding to the data location, thereby completing ledger synchronization.

[0013] Based on the above, this application lays a data foundation for multiple ledger management terminals to synchronize ledgers through a ledger synchronization network by performing standardized conversion on the collected ledger data; the ledger synchronization of multiple ledger management terminals is realized through the ledger synchronization network; and the storage pressure of the local database of each ledger management terminal is reduced by taking out the data segments to be updated.

[0014] Preferably, the data characteristics include ledger synchronization requirements, data categories, data content forms, data naming methods, data formats and change occurrence time.

[0015] Furthermore, the data features provide a basis for matching the sub-management terminal and matching the data segment to be updated, and provide an accurate update time when the ledger data segment to be updated and the data location are backed up.

[0016] Preferably, the sub-management terminal corresponding to the data feature matching includes:

[0017] The server obtains the data features and determines whether there is a ledger synchronization requirement. If yes, the ledger synchronization is completed in the ledger synchronization network based on the ledger synchronization requirement. Otherwise, the ledger synchronization is completed in the ledger synchronization network based on other features in the data features.

[0018] Furthermore, the priority of ledger synchronization is determined by judging whether there is a requirement for ledger synchronization. If so, the requirements for ledger synchronization are met first. Otherwise, ledger synchronization is completed based on data category, data content form, data naming method and data format.

[0019] Preferably, the sub-management terminal corresponding to the data feature matching further includes:

[0020] Based on the data category, multiple sub-management terminals are traversed, and when the sub-management terminal has ledger data with the same data category, the sub-management terminal is determined as the sub-management terminal corresponding to the data feature.

[0021] Furthermore, in the local databases of multiple ledger management terminals, by judging whether the data categories are the same, the screening of sub-management terminals that need to perform ledger synchronization is achieved.

[0022] Preferably, the matching of the historical ledger data corresponding to the primary management terminal in the local database based on the data feature includes:

[0023] The local database includes multiple types of historical ledger data. The multiple types of historical ledger data are traversed based on the data category and the data content form. When the data category and the data content form of the historical ledger data are the same as the data category and the data content form, the historical ledger data is determined as the historical ledger data corresponding to the main management end.

[0024] Furthermore, among the various historical ledger data in the local database of the sub-management end, by judging whether the data category and the data content format are the same, the historical ledger data that needs to be synchronized is further screened.

[0025] Preferably, the extracting the to-be-updated ledger data segment corresponding to the data feature from the historical ledger data comprises:

[0026] The historical ledger data includes multiple ledger data segments. Based on the data naming method and the data format, the multiple ledger data segments are traversed. When the data naming method and the data format of the ledger data segment are the same as the data naming method and the data format, the ledger data segment is determined as the ledger data segment to be updated corresponding to the data feature.

[0027] Furthermore, among multiple ledger data segments of historical ledger data, by determining whether the data naming method and data format are the same, the ledger data segment to be updated that requires ledger synchronization is located.

[0028] Preferably, the extracting of the to-be-updated ledger data segment corresponding to the data feature from the historical ledger data further comprises:

[0029] When there are multiple ledger data segments to be updated, the ledger data segments to be updated and their data locations in the historical ledger data are marked.

[0030] Furthermore, accurate positioning when inserting ledger data is achieved by marking the one-to-one correspondence between the updated ledger data segment and its data location in the historical ledger data.

[0031] Preferably, the server receiving and backing up the to-be-updated ledger data segment and the data location comprises:

[0032] When backing up the to-be-updated ledger data segment and the data location, the server records the time when the change in the data feature occurs.

[0033] Furthermore, accurate records of the time when changes occur facilitate the query of ledger data.

[0034] Preferably, the standard format conversion of the collected ledger data includes:

[0035] When processing the ledger data, the multiple ledger management terminals convert the ledger data into a standard format based on a unified category, a unified content form, a unified naming rule and a unified format.

[0036] Furthermore, by standardizing the collected ledger data, the goals of simplifying the ledger establishment process, beautifying the ledger data, improving inspection efficiency and reducing ledger problems were achieved, and a data foundation was laid for the timely synchronization of ledgers.

[0037] Beneficial effects: The ledger synchronization management method based on multiple data sources of the present application includes: when any ledger management terminal has changed ledger data, it is defined as the main management terminal, and other ledger management terminals are defined as sub-management terminals; the main management terminal generates ledger data information to be synchronized and sends it to the server; the server obtains data features in the ledger data information to be synchronized, matches the corresponding sub-management terminal, and sends a ledger synchronization data packet to it; the sub-management terminal obtains data features in the ledger synchronization data packet, matches historical ledger data and takes out the ledger data segment to be updated in the historical ledger data, and sends it to the server; the server receives and backs up the ledger data segment to be updated and the data location, and sends the changed ledger data to the sub-management terminal; the sub-management terminal updates the changed ledger data. This application realizes the effective management of ledger data chaos and the synchronization of ledger data in multiple locations. . BRIEF DESCRIPTION OF THE DRAWINGS

[0038] 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, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 A flowchart of a ledger synchronization management method based on multiple data sources provided in an embodiment of the present application. DETAILED DESCRIPTION

[0040] The technical solutions in the embodiments of the present application are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0041] In this article, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0042] This embodiment discloses Figure 1 A ledger synchronization management method based on multiple data sources is shown, and the method includes the following steps:

[0043] S1: Establish a ledger synchronization network. The ledger synchronization network includes multiple ledger management terminals. Each ledger management terminal establishes a local database based on the collected ledger data and converts the collected ledger data into a standard format. When any ledger management terminal has changed ledger data, it is defined as the main management terminal, and the other ledger management terminals are defined as sub-management terminals.

[0044] S2: The main management end generates the ledger data information to be synchronized corresponding to the changed ledger data, and the ledger data information to be synchronized includes the changed ledger data and its corresponding data features; the main management end sends the ledger data information to be synchronized to the server;

[0045] S3: The server receives and parses the ledger data information to be synchronized, obtains data features, matches the corresponding sub-management terminal based on the data features, and generates a ledger synchronization data packet, which includes synchronization instructions and data features;

[0046] S4: The sub-management end receives and parses the ledger synchronization data packet, obtains the synchronization instruction and data features, matches the historical ledger data corresponding to the main management end in the local database based on the data features, and extracts the ledger data segment to be updated corresponding to the data features from the historical ledger data, and sends the ledger data segment to be updated and its data location in the historical ledger data to the server;

[0047] S5: The server receives and backs up the ledger data segment and data location to be updated, and sends the changed ledger data to the sub-management terminal;

[0048] S6: The sub-management end receives the changed ledger data and inserts the ledger data into the location corresponding to the data location in the historical ledger data to complete the ledger synchronization.

[0049] By performing standardized conversion on the collected ledger data, a data foundation is laid for multiple ledger management terminals to synchronize ledgers through the ledger synchronization network; ledger synchronization of multiple ledger management terminals is achieved through the ledger synchronization network; and the storage pressure of the local database of each ledger management terminal is reduced by taking out the data segments to be updated.

[0050] Specifically, data characteristics include ledger synchronization requirements, data categories, data content forms, data naming methods, data formats, and change occurrence time.

[0051] The data features provide a basis for matching the sub-management end and matching the data segment to be updated, and provide accurate update time when the ledger data segment to be updated and the data location are backed up.

[0052] As a preferred embodiment of this embodiment, the corresponding sub-management terminal based on data feature matching includes:

[0053] The server obtains data features and determines whether there is a ledger synchronization requirement. If so, the ledger synchronization is completed in the ledger synchronization network based on the ledger synchronization requirement. Otherwise, the ledger synchronization is completed in the ledger synchronization network based on other features in the data features.

[0054] The priority of ledger synchronization is determined by judging whether there is a requirement for ledger synchronization. If so, the requirements for ledger synchronization are met first. Otherwise, ledger synchronization is completed based on data category, data content form, data naming method and data format.

[0055] In a simple example, for example, the main ledger management terminal A has changed ledger data, and the ledger data category does not exist in the historical ledger data of the ledger synchronization network. There is a ledger synchronization requirement in the data characteristics of the generated ledger data information to be synchronized, and the ledger synchronization requirement requires the sub-ledger management terminal C to perform ledger synchronization, and other sub-ledger management terminals do not need to perform ledger synchronization. At this time, the server receives the ledger synchronization requirement and only sends a ledger synchronization data packet to the sub-ledger management terminal C to meet the requirements of the ledger synchronization requirement.

[0056] Specifically, the corresponding sub-management terminal based on data feature matching also includes:

[0057] Based on the data category, multiple sub-management terminals are traversed. When the sub-management terminal has ledger data with the same data category, the sub-management terminal is determined as the sub-management terminal corresponding to the data feature.

[0058] In the local databases of multiple ledger management terminals, by judging whether the data categories are the same, the sub-management terminals that need to synchronize ledgers are screened.

[0059] In a simple example 1, for example, if the category of the ledger data that has been changed is "standard, system, file management", multiple sub-management terminals are traversed to filter out the sub-management terminals that have "standard, system, file management" in the local database of the sub-management terminal. The filtered results can be one or more, and the filtered sub-management terminals are determined as the sub-management terminals corresponding to the data characteristics.

[0060] Furthermore, matching the historical ledger data corresponding to the primary management terminal in the local database based on the data features includes:

[0061] The local database includes multiple historical ledger data. Based on the data category and data content form, the multiple historical ledger data are traversed. When the data category and data content form of the historical ledger data are the same as the data category and data content form, the historical ledger data is determined as the historical ledger data corresponding to the main management end.

[0062] Among the various historical ledger data in the local database of the sub-management end, by judging whether the data category and the data content format are the same, the historical ledger data that needs to be synchronized is further screened.

[0063] In a simple example 1, the category of the changed ledger data is "standards, systems, and document management", and the data content form is "main information". Then, the various historical ledger data in the filtered out local database of the sub-management end are further screened to obtain the historical ledger data with the data category of "standards, systems, and document management" and the data content form of "main information".

[0064] Furthermore, extracting the to-be-updated ledger data segments corresponding to the data features from the historical ledger data includes:

[0065] The historical ledger data includes multiple ledger data segments. Based on the data naming method and data format, the multiple ledger data segments are traversed. When the data naming method and data format of the ledger data segment are the same as the data naming method and data format, the ledger data segment is determined as the ledger data segment to be updated corresponding to the data feature.

[0066] In multiple ledger data segments of historical ledger data, by judging whether the data naming method and data format are the same, the ledger data segment to be updated that needs to be synchronized is located.

[0067] In a simple example 1, the category of the ledger data that has changed is "standards, systems, and document management", the data content is in the form of "main information", the data naming method is "xxx registration form", and the data format is Excel, then you can further filter out the ledger data segments to be updated that correspond to the data characteristics, such as the "File and Information Receiving and Sending Registration Form" in Excel file format, and locate its data position on the ledger management end.

[0068] As a preferred embodiment of this embodiment, extracting the to-be-updated ledger data segment corresponding to the data feature from the historical ledger data further includes:

[0069] When there are multiple ledger data segments to be updated, the ledger data segments to be updated and their data locations in the historical ledger data are marked.

[0070] By marking the one-to-one correspondence between the ledger data segments to be updated and their data locations in the historical ledger data, accurate positioning when inserting ledger data is achieved.

[0071] Specifically, the server receives and backs up the ledger data segments and data locations to be updated, including:

[0072] When backing up the ledger data segment and data location to be updated, the server records the time when the change in the data feature occurs.

[0073] Accurate record of the time when changes occurred facilitates the query of ledger data.

[0074] In a simple example, during an investigation, you need to know what improvements were made to the previous construction plan (March 25, 2024 version) at the construction meeting on April 25, 2024. You only need to retrieve the construction plan (April 25, 2024 version) from the ledger management terminal, and retrieve the construction plan (March 25, 2024 version) that was synchronized with the ledger on April 25, 2024 from the server to compare the two versions.

[0075] Specifically, the standard format conversion of the collected ledger data includes:

[0076] When multiple ledger management terminals process ledger data, they convert the ledger data into a standard format based on a unified category, unified content form, unified naming rules, and a unified format.

[0077] By standardizing the collected ledger data, we have achieved the goals of simplifying the ledger establishment process, beautifying the ledger data, improving inspection efficiency and reducing ledger problems, and laid a data foundation for the timely synchronization of ledgers.

[0078] In a simple example, for example, the collected ledger data is "Meeting on April 21, 2024". After data processing, it is found that the ledger data corresponds to "Regular Site Meeting" and belongs to the "Project Meeting Management" category. After standard format conversion, the data category is "Project Meeting Management", the data content form is "Main Information", the naming method is "xxx Meeting Minutes" and the data format is Word, and the ledger data of "Minutes of Regular Site Meeting on April 21, 2024" is obtained.

[0079] In summary, the ledger synchronization management method based on multiple data sources in this embodiment includes: when any ledger management terminal has changed ledger data, it is defined as the main management terminal, and other ledger management terminals are defined as sub-management terminals; the main management terminal generates ledger data information to be synchronized and sends it to the server; the server obtains data features in the ledger data information to be synchronized, matches the corresponding sub-management terminal, and sends a ledger synchronization data packet to it; the sub-management terminal obtains data features in the ledger synchronization data packet, matches historical ledger data and takes out the ledger data segment to be updated in the historical ledger data, and sends it to the server; the server receives and backs up the ledger data segment to be updated and the data location, and sends the changed ledger data to the sub-management terminal; the sub-management terminal updates the changed ledger data. This embodiment realizes the effective management of ledger data chaos and the synchronization of ledger data in multiple locations.

[0080] Finally, it should be noted that the above is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A ledger synchronization management method based on multiple data sources, characterized in that: The method comprises the following steps: S1: Establishing a ledger synchronization network, which includes multiple ledger management terminals. Each ledger management terminal establishes a local database based on the collected ledger data and converts the collected ledger data into a standard format. When any ledger management terminal has changed ledger data, it is defined as the main management terminal, and the other ledger management terminals are defined as sub-management terminals. S2: The main management end generates the ledger data information to be synchronized corresponding to the changed ledger data, and the ledger data information to be synchronized includes the changed ledger data and its corresponding data features; the main management end sends the ledger data information to be synchronized to the server; S3: The server receives and parses the ledger data information to be synchronized, obtains the data features, matches the corresponding sub-management terminal based on the data features, and generates a ledger synchronization data packet, wherein the ledger synchronization data packet includes a synchronization instruction and the data features; S4: The sub-management end receives and parses the ledger synchronization data packet, obtains the synchronization instruction and the data feature, matches the historical ledger data corresponding to the main management end in the local database based on the data feature, and extracts the ledger data segment to be updated corresponding to the data feature from the historical ledger data, and sends the ledger data segment to be updated and its data location in the historical ledger data to the server; S5: the server receives and backs up the to-be-updated ledger data segment and the data location, and sends the changed ledger data to the sub-management terminal; S6: The sub-management terminal receives the changed ledger data, and inserts the ledger data into the location of the historical ledger data corresponding to the data location, thereby completing ledger synchronization.

2. The ledger synchronization management method based on multiple data sources according to claim 1 is characterized in that: The data characteristics include ledger synchronization requirements, data categories, data content forms, data naming methods, data formats and change occurrence time.

3. The ledger synchronization management method based on multiple data sources according to claim 2 is characterized in that: The sub-management terminal corresponding to the data feature matching includes: The server obtains the data features and determines whether there is a ledger synchronization requirement. If yes, the ledger synchronization is completed in the ledger synchronization network based on the ledger synchronization requirement. Otherwise, the ledger synchronization is completed in the ledger synchronization network based on other features in the data features.

4. The method for synchronous management of ledgers based on multiple data sources according to claim 2 is characterized in that: The sub-management terminal corresponding to the data feature matching further includes: Based on the data category, multiple sub-management terminals are traversed, and when the sub-management terminal has ledger data with the same data category, the sub-management terminal is determined as the sub-management terminal corresponding to the data feature.

5. The method for synchronous management of ledgers based on multiple data sources according to claim 4 is characterized in that: The matching of the historical account data corresponding to the primary management terminal in the local database based on the data features includes: The local database includes multiple types of historical ledger data. The multiple types of historical ledger data are traversed based on the data category and the data content form. When the data category and the data content form of the historical ledger data are the same as the data category and the data content form, the historical ledger data is determined as the historical ledger data corresponding to the main management end.

6. The method for synchronous management of ledgers based on multiple data sources according to claim 5 is characterized in that: The extracting the to-be-updated ledger data segment corresponding to the data feature from the historical ledger data comprises: The historical ledger data includes multiple ledger data segments. Based on the data naming method and the data format, the multiple ledger data segments are traversed. When the data naming method and the data format of the ledger data segment are the same as the data naming method and the data format, the ledger data segment is determined as the ledger data segment to be updated corresponding to the data feature.

7. The method for synchronous management of ledgers based on multiple data sources according to claim 6 is characterized in that: The method of extracting the to-be-updated ledger data segment corresponding to the data feature from the historical ledger data further includes: When there are multiple ledger data segments to be updated, the ledger data segments to be updated and their data locations in the historical ledger data are marked.

8. The method for synchronous management of ledgers based on multiple data sources according to claim 7 is characterized in that: The server receiving and backing up the to-be-updated ledger data segment and the data location includes: When backing up the to-be-updated ledger data segment and the data location, the server records the time when the change in the data feature occurs.

9. The method for synchronous management of ledgers based on multiple data sources according to claim 1, characterized in that: The standard format conversion of the collected ledger data includes: When processing the ledger data, the multiple ledger management terminals convert the ledger data into a standard format based on a unified category, a unified content form, a unified naming rule and a unified format.

Citation Information

Cited By

  • Data maintenance system and method for electric power communication reserve equipment and related equipment

    CN119621839A