Document consistent data processing method and device and storage medium
By setting ID keys, service unique keys and identification unique keys under the microservice architecture, the consistency checksum encapsulation problem of invalid data accumulation caused by inconsistent transaction processing between multiple systems under the microservice architecture is solved, and the consistency of data processing transactions and optimization of storage resources is achieved.
Patent Information
- Application Number
- CN202510308257.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2045-03-17
AI Technical Summary
Under the microservice architecture, the document data between multiple systems accumulates and occupys storage resources due to inconsistent transactional processing.
By setting the ID key, the service unique key and the identification unique key in the document management system, the consistency checksum encapsulation process is performed, the document storage data is generated, and the three keys are checked when adding, deleting, modifying and checking the document data is performed to ensure the consistency of the data processing transaction.
The transaction consistency of document operation data processing of each system is realized, invalid data accumulation is avoided, and the utilization of storage resources is optimized.
Smart Images

Figure CN119829596A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data synchronization, and in particular to a document-consistent data processing method, device and storage medium. Background Art
[0002] Currently, microservice architecture has been widely used in many industries. From Internet companies to traditional industries, more and more companies are beginning to adopt microservice architecture to achieve better scalability, flexibility and maintainability. This architectural model plays an important role in the digital transformation of enterprises. With the popularization of microservice architecture, a complete ecosystem has gradually taken shape. From service discovery, configuration management, link tracking to monitoring and alarming, a series of microservice-related tools and services have emerged in an endless stream, providing enterprises with a wealth of choices.
[0003] The integration of low-code platforms has accelerated innovation, allowing teams to create applications more efficiently. By quickly orchestrating service processes through visual tools, developers can significantly shorten the development cycle. However, the increase in the number of microservices has brought management complexity. The deletion / recovery functions of multiple systems under the microservice architecture are repeatedly developed. By adding a "delete" field in the database table to mark the data status, each system must implement it separately, and historical data cannot be managed uniformly, and storage space is occupied. Therefore, in view of the fact that invalid data accumulates and occupies storage resources due to inconsistent transactional processing of document data between multiple systems under the current microservice architecture, a new technology is needed to solve the current problem. Summary of the invention
[0004] The main purpose of the present invention is to solve the technical problem that invalid data accumulates and occupies storage resources due to inconsistent transactional processing of document data between multiple systems under the current microservice architecture.
[0005] A first aspect of the present invention provides a document-consistent data processing method, the document-consistent data processing method is applied to a document-consistent data processing system, the document-consistent data processing system comprises: a document management system, a front-end interactive system, the document-consistent data processing method comprises: The front-end interactive system generates a document registration request based on the user interaction instruction, and sends the document registration request to the document management system, wherein the document registration request includes: an ID key, a business unique key, and an identification unique key; The document management system receives the document registration request, and encapsulates the ID key, the business unique key, and the identification unique key according to a preset storage structure to generate document storage data; Storing the document storage data in a preset document database, generating a document record, and sending successful registration information to the front-end interactive system; The front-end interaction system receives the successful registration information, and generates an interaction management table based on the successful registration information; Receiving an interaction instruction for a document in the interaction management table, generating a form operation instruction based on the interaction instruction and the interaction management table, and sending the form operation instruction to the document management system, wherein the form operation instruction includes: an operation ID key, an operation business unique key, an operation identification unique key, and an operation command; The document management system receives the form operation instruction, performs verification and check processing on the operation ID key, the operation business unique key, and the operation identification unique key in a one-to-one correspondence with the ID key, the business unique key, and the identification unique key, and generates a verification result; According to the verification result and the document record corresponding to the form operation instruction, the operation command is executed on the document storage data in the document database to obtain updated document storage data.
[0006] Optionally, in a first implementation of the first aspect of the present invention, the operation ID key, the operation service unique key, and the operation identification unique key are matched one-to-one with the ID key, the service unique key, and the identification unique key for verification and checking, and generating a verification result includes: Performing a consistency check between the operation ID key and the ID key to obtain a first check result; Performing a consistency check on the operation business unique key and the business unique key to obtain a second check result; The operation identification unique key and the identification unique key are subjected to consistency verification and check processing to obtain a third verification result.
[0007] Optionally, in a second implementation of the first aspect of the present invention, executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain the updated document storage data includes: When the first verification result is consistent, the second verification result is consistent, and the third verification result is consistent, the operation command is executed on the document storage data in the document database based on the document record corresponding to the form operation instruction to obtain updated document storage data.
[0008] Optionally, in a third implementation of the first aspect of the present invention, executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain the updated document storage data further includes: When the first checking result is inconsistent, the operation command is forcibly skipped and an alarm message is sent to the front-end interactive system.
[0009] Optionally, in a fourth implementation manner of the first aspect of the present invention, executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain the updated document storage data further includes: When the first checking result is consistent and the second checking result is inconsistent, the document record and the business unique key corresponding to the document storage data are adjusted according to the preset conflict configuration.
[0010] Optionally, in a fifth implementation of the first aspect of the present invention, adjusting the document record and the business unique key corresponding to the document storage data according to the preset conflict configuration includes: When the conflict configuration is an overwrite setting, the business unique key corresponding to the document record and the document storage data is modified to the operation business unique key; When the conflict configuration is a skip setting, the operation command is forcibly skipped, a conflict log of the business unique key is generated, and business unique key non-coverage information is sent to the front-end interactive system.
[0011] Optionally, in a sixth implementation manner of the first aspect of the present invention, executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain the updated document storage data further includes: When the first check result is consistent, the second check result is consistent, and the third check result is inconsistent, the operation command is forcibly skipped and a manual intervention request message is sent to the front-end interactive system.
[0012] Optionally, in a seventh implementation manner of the first aspect of the present invention, executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain the updated document storage data includes: When the verification result is consistent, the document storage data in the document database is backed up to a preset NoSQL database according to the document record corresponding to the form operation instruction, so as to obtain the document storage data backed up by the NoSQL database; According to the document record corresponding to the form operation instruction, the operation command is executed on the document storage data in the document database to obtain updated document storage data.
[0013] A second aspect of the present invention provides a document-consistent data processing device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the document-consistent data processing device executes the above-mentioned document-consistent data processing method.
[0014] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned document-consistent data processing method.
[0015] In the embodiment of the present invention, by setting three keys, namely, an ID key, a business unique key, and an identification unique key, to determine the value data of the storage table, the database data in multiple systems are integrated into a form management system, and the three keys are checked when adding, deleting, modifying, and checking document data. Based on the check results of the three keys and the registration records corresponding to the form operation instructions, the document storage data of the document database is operated and processed, and unified data storage and adjustment are realized by using the form management system, and the consistency of data processing transactions of the document operations of each system is realized, which effectively solves the technical problem of invalid data accumulation occupying storage resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of an embodiment of a method for processing data consistent with documents in an embodiment of the present invention; Figure 2 A schematic diagram of an embodiment of step 107 of the document-consistent data processing method according to an embodiment of the present invention; Figure 3 A schematic diagram of an embodiment of a document-consistent data processing device in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The embodiments of the present invention provide a document-consistent data processing method, device and storage medium.
[0018] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.
[0019] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0020] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , a schematic diagram of an embodiment of a document-consistent data processing method in an embodiment of the present invention, the document-consistent data processing method is applied to a document-consistent data processing system, the document-consistent data processing system includes: a document management system, a front-end interactive system, the document-consistent data processing method includes: 101. The front-end interactive system generates a document registration request based on the user interaction instruction, and sends the document registration request to the document management system, wherein the document registration request includes: an ID key, a business unique key, and an identification unique key; In this embodiment, the front-end interaction system can be a front-end interaction system of a variety of microservice systems such as Docker, Dubbo, and SpringCloud microservice architecture. The user sets an ID key, which is the user ID, in the front-end interaction system, sets a business unique key, which is the business branch object that the current form needs to process, and sets an identification unique key, which is a combination of user ID + creation time + current device physical address. The ID key, business unique key, and identification unique key are combined to generate a document registration request, and the registration request is sent to the document management system based on a pre-set interface. The interface address can be set to: / recycle / table / register.
[0021] An example of a document registration request is as follows: ##Request parameter example { "system": "order_system", "table": "t_order", "unique_keys": [ {"type": "PRIMARY", "fields": ["id"]},## ID key {"type": "BUSINESS", "fields": ["order_no"]},## Business unique key {"type": "COMPOSITE", "fields": ["user_id", "create_time", "mac_id"]}##Identifies the unique key ]}.
[0022] 102. The document management system receives the document registration request, and encapsulates the ID key, the business unique key, and the identification unique key according to a preset storage structure to generate document storage data; In this embodiment, the document management system receives a document registration request, encapsulates the ID key, business unique key, and identification unique key of the document registration request based on the pre-set storage structure content, and converts the document data pushed by the document registration request into JOSN format, writes it into the storage structure, and generates document storage data. The specific storage structure can refer to the following code structure: ##Unique key rule storage structure CREATE TABLE unique_key_rule ( rule_id INT PRIMARY KEY, system_code VARCHAR(32), table_name VARCHAR(64), key_type ENUM('PRIMARY', 'BUSINESS', 'COMPOSITE'), key_fields JSON-- ##Storage field list ); The code first sets the document table name, then injects 'PRIMARY', 'BUSINESS', and 'COMPOSITE' into the storage structure identifier, and converts the document data into JOSN format and writes it at the end to generate the document storage data.
[0023] 103. Storing the document storage data in a preset document database, generating a document record, and sending successful registration information to the front-end interactive system; In this embodiment, the document storage data is stored in a document database, a document record storing the document storage data is generated, and successful registration information is fed back to the front-end interactive system.
[0024] 104. The front-end interaction system receives the successful registration information, and generates an interaction management table based on the successful registration information; In this embodiment, the front-end interactive system receives the successful registration information, and then based on the successful registration information, uses the parameters corresponding to the document registration request as data in the interactive management to generate an interactive management table.
[0025] 105. Receive an interaction instruction for a document in the interaction management table, generate a form operation instruction based on the interaction instruction and the interaction management table, and send the form operation instruction to the document management system, wherein the form operation instruction includes: an operation ID key, an operation business unique key, an operation identification unique key, and an operation command; In this embodiment, a user's interactive instruction for a document in the interactive management table is received, such as an operation of adding, deleting, modifying, or checking a document data, a form operation instruction is generated, and the form operation instruction is sent to the document management system. The form operation instruction may contain an operation ID key for confirming the location of the operation form data, an operation business unique key, an operation identification unique key, and an operation command to be performed, and the operation command may be to delete data, add data, modify data, or query data, etc.
[0026] 106. The document management system receives the form operation instruction, performs verification and check processing on the operation ID key, the operation business unique key, and the operation identification unique key in a one-to-one correspondence with the ID key, the business unique key, and the identification unique key, and generates a verification result; In this embodiment, the document management system receives the form operation instruction and needs to verify and check the operation ID key, the operation business unique key, and the operation identification unique key with the ID key, the business unique key, and the identification unique key in the document record one by one to obtain the verification result.
[0027] Specifically, step 106 includes the following specific implementation methods: 1061. Perform consistency verification on the operation ID key and the ID key to obtain a first verification result; 1062. Perform consistency check and verification processing on the operation business unique key and the business unique key to obtain a second verification result; 1063. Perform consistency check on the operation identifier unique key and the identifier unique key to obtain a third check result.
[0028] In steps 1061-1063, the operation ID key, the operation business unique key, and the operation identification unique key are verified one by one, and the verification is performed in sequence to obtain a first verification result, a second verification result, and a third verification result.
[0029] The specific processing process can refer to the following code: ##Check for ID key conflicts SELECT COUNT(*) FROM t_order WHERE id = {backup_data.id}; ##Check for business unique key conflicts SELECT COUNT(*) FROM t_order WHERE order_no = {backup_data.order_no}; ##Check for unique key conflicts SELECT COUNT(*) FROM t_order WHERE user_id = {backup_data.user_id} AND create_time = {backup_data.create_time}.
[0030] 107. According to the verification result and the document record corresponding to the form operation instruction, the operation command is executed on the document storage data in the document database to obtain updated document storage data.
[0031] In this embodiment, based on the specific situation of the verification result, the document storage data stored in the document database is queried using the document record corresponding to the form operation instruction, and then the operation command is executed in the database to obtain the updated document storage data.
[0032] In the steps of Examples 1061-1063, step 107 includes the following specific implementation methods: 1071. When the first verification result is consistent, the second verification result is consistent, and the third verification result is consistent, based on the document record corresponding to the form operation instruction, the operation command is executed on the document storage data in the document database to obtain updated document storage data.
[0033] In step 1071, when the first verification result, the second verification result, and the third verification result are all consistent results, the document storage data in the document database is queried directly based on the document record corresponding to the form operation instruction, and then the operation command is executed on the document storage data to obtain the updated document storage data.
[0034] In the steps 1061-1063 of the embodiments, step 107 also includes the following specific implementation methods: 1072. When the first verification result is inconsistent, the operation command is forcibly skipped and an alarm message is sent to the front-end interactive system.
[0035] In step 1072, when the first verification result is inconsistent, it is directly determined that the user is incorrect, the operation command is directly forced to be skipped, and an alarm message is sent to the front-end interactive system to resolve the conflict result of inconsistent ID keys.
[0036] In the steps 1061-1063 of the embodiments, step 107 also includes the following specific implementation methods: 1073. When the first verification result is consistent and the second verification result is inconsistent, the document record and the business unique key corresponding to the document storage data are adjusted according to the preset conflict configuration.
[0037] In step 1073, the first verification result is consistent, but the second verification result is inconsistent, and there is a conflicting configuration. The conflicting configuration is an option provided to users in order to flexibly cooperate with business scenarios and usage environments. Users set the conflicting configuration based on their own needs. Based on the conflicting configuration, the business unique key corresponding to the document record and document storage data is adjusted.
[0038] Specifically, step 1073 includes the following specific implementation methods: 10731. When the conflict configuration is an overwrite setting, the business unique key corresponding to the document record and the document storage data is modified to the operation business unique key; 10732. When the conflict configuration is set to skip, the operation command is forcibly skipped, a conflict log of the business unique key is generated, and the business unique key non-coverage information is sent to the front-end interactive system.
[0039] In steps 10731-10732, there are at least two conflicting configurations. One is an overwrite setting. When the second check result is inconsistent, the operating business unique key will overwrite the original business unique key, so that users can flexibly adjust business objects and migrate data to different business scenarios.
[0040] The other is to skip the setting, then no overwriting is performed and the operation command is also forced to be skipped, and a conflict log of the business unique key is generated to facilitate the user to adjust the conflict configuration based on the log record, and then send the business unique key non-overlapping information to the front-end interactive system.
[0041] In the steps 1061-1063 of the embodiments, step 107 also includes the following specific implementation methods: 1074. When the first verification result is consistent, the second verification result is consistent, and the third verification result is inconsistent, the operation command is forcibly skipped and a manual intervention request message is sent to the front-end interactive system.
[0042] In step 1074, when the first check result is consistent, the second check result is consistent, and the third check result is inconsistent, it is necessary to forcibly skip the operation command and send a manual intervention request message to the front-end interactive system. The conflict is relatively complex and cannot be resolved by the system itself. Manual intervention is required to resolve the unique identification key conflict.
[0043] For details, please refer to Figure 2 , Figure 2 This is a schematic diagram of an embodiment of step 107 of the document-consistent data processing method in an embodiment of the present invention. In step 107, the following steps may be performed: 1075. When the verification result is consistent, the document storage data in the document database is backed up to a preset NoSQL database according to the document record corresponding to the form operation instruction, so as to obtain the document storage data backed up by the NoSQL database; 1076. According to the document record corresponding to the form operation instruction, execute the operation command on the document storage data in the document database to obtain updated document storage data.
[0044] In steps 1075-1076, when the verification results are considered consistent, the document storage data that needs to be operated in the document database is first backed up to the NoSQL database, and then the operation command is executed on the document storage data based on the document record corresponding to the form operation instruction. This backup can support the user to roll back data and reduce the loss caused by user operation errors. After the user issues a recovery instruction, the data that needs to be rolled back is found in the NoSQL database.
[0045] In the embodiment of the present invention, by setting three keys, namely, an ID key, a business unique key, and an identification unique key, to determine the value data of the storage table, the database data in multiple systems are integrated into a form management system, and the three keys are checked when adding, deleting, modifying, and checking document data. Based on the check results of the three keys and the registration records corresponding to the form operation instructions, the document storage data of the document database is operated and processed, and unified data storage and adjustment are realized by using the form management system, and the consistency of data processing transactions of the document operations of each system is realized, which effectively solves the technical problem of invalid data accumulation occupying storage resources.
[0046] Figure 31 is a schematic diagram of the structure of a document-consistent data processing device provided by an embodiment of the present invention. The document-consistent data processing device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 333 or data 332. Among them, the memory 320 and the storage medium 330 may be temporary storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the document-consistent data processing device 300. Furthermore, the processor 310 may be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the document-consistent data processing device 300.
[0047] The document-consistent data processing device 300 may also include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input and output interfaces 360, and / or one or more operating systems 331, such as Windows Server, Mac OS X, Unix, Linux, Free BSD, etc. Those skilled in the art will appreciate that Figure 3 The document-consistent data processing device structure shown does not constitute a limitation on the document-consistent data processing device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0048] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the document-consistent data processing method.
[0049] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.
[0050] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.
[0051] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A document-consistent data processing method, characterized in that: The document-consistent data processing method is applied to a document-consistent data processing system, the document-consistent data processing system includes: a document management system, a front-end interactive system, and the document-consistent data processing method includes: The front-end interactive system generates a document registration request based on the user interaction instruction, and sends the document registration request to the document management system, wherein the document registration request includes: an ID key, a business unique key, and an identification unique key; The document management system receives the document registration request, and encapsulates the ID key, the business unique key, and the identification unique key according to a preset storage structure to generate document storage data; Storing the document storage data in a preset document database, generating a document record, and sending successful registration information to the front-end interactive system; The front-end interaction system receives the successful registration information, and generates an interaction management table based on the successful registration information; Receiving an interaction instruction for a document in the interaction management table, generating a form operation instruction based on the interaction instruction and the interaction management table, and sending the form operation instruction to the document management system, wherein the form operation instruction includes: an operation ID key, an operation business unique key, an operation identification unique key, and an operation command; The document management system receives the form operation instruction, performs verification and check processing on the operation ID key, the operation business unique key, and the operation identification unique key in a one-to-one correspondence with the ID key, the business unique key, and the identification unique key, and generates a verification result; According to the verification result and the document record corresponding to the form operation instruction, the operation command is executed on the document storage data in the document database to obtain updated document storage data.
2. The document-consistent data processing method according to claim 1, characterized in that: The one-to-one correspondence between the operation ID key, the operation service unique key, and the operation identification unique key and the ID key, the service unique key, and the identification unique key is verified and checked to generate a verification result, including: Performing a consistency check between the operation ID key and the ID key to obtain a first check result; Performing a consistency check on the operation business unique key and the business unique key to obtain a second check result; The operation identification unique key and the identification unique key are subjected to consistency verification and check processing to obtain a third verification result.
3. The document-consistent data processing method according to claim 2, characterized in that: The step of executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain the updated document storage data comprises: When the first verification result is consistent, the second verification result is consistent, and the third verification result is consistent, the operation command is executed on the document storage data in the document database based on the document record corresponding to the form operation instruction to obtain updated document storage data.
4. The document-consistent data processing method according to claim 2, characterized in that: The step of executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain updated document storage data further comprises: When the first checking result is inconsistent, the operation command is forcibly skipped and an alarm message is sent to the front-end interactive system.
5. The document-consistent data processing method according to claim 2, characterized in that: The step of executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain updated document storage data further comprises: When the first checking result is consistent and the second checking result is inconsistent, the document record and the business unique key corresponding to the document storage data are adjusted according to the preset conflict configuration.
6. The document-consistent data processing method according to claim 5, characterized in that: The adjusting process of the document record and the business unique key corresponding to the document storage data according to the preset conflict configuration includes: When the conflict configuration is an overwrite setting, the business unique key corresponding to the document record and the document storage data is modified to the operation business unique key; When the conflict configuration is a skip setting, the operation command is forcibly skipped, a conflict log of the business unique key is generated, and the business unique key non-coverage information is sent to the front-end interactive system.
7. The document-consistent data processing method according to claim 2, characterized in that: The step of executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain updated document storage data further comprises: When the first check result is consistent, the second check result is consistent, and the third check result is inconsistent, the operation command is forcibly skipped and a manual intervention request message is sent to the front-end interactive system.
8. The document-consistent data processing method according to claim 1, characterized in that: The step of executing the operation command on the document storage data in the document database according to the verification result and the document record corresponding to the form operation instruction to obtain the updated document storage data comprises: When the verification result is consistent, the document storage data in the document database is backed up to a preset NoSQL database according to the document record corresponding to the form operation instruction, so as to obtain the document storage data backed up by the NoSQL database; According to the document record corresponding to the form operation instruction, the operation command is executed on the document storage data in the document database to obtain updated document storage data.
9. A document-consistent data processing device, characterized in that: The document-consistent data processing device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory to enable the document-consistent data processing device to execute the document-consistent data processing method according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a document-consistent data processing method as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Distributed system data final consistency method based on message queue
CN112579620A
Asynchronous processing method and device for business document auditing task and medium
CN116737414A
Form data processing method and device, equipment and storage medium
CN117350256A
Data synchronization method and device, equipment and storage medium
CN118467631A