Document mapping concurrency control method and system based on state transition matrix

By combining state transition matrices and directory-level short-cycle locks, the blocking and compliance issues of traditional document mapping methods in high-concurrency scenarios are resolved, achieving efficient document mapping services and automated compliance auditing.

CN123138192APending Publication Date: 2026-11-20SHUNWEITONG INTELLIGENT TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611410021.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-11
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Traditional document mapping methods are prone to request blocking and timeouts in high-concurrency scenarios, lack fine-grained atomic window control, make data fragmentation difficult to repair, rely on manual and unreliable compliance audits, and cannot automatically verify the continuity of process status.

Method used

A document mapping concurrency control method based on state transition matrix is ​​adopted. By constructing the state transition matrix, a directory-level short-cycle lock is generated, covering the stages of duplicate detection, target receiving node creation, mapping relationship writing, and handshake detail writing. Combined with the handshake detail audit chain, a verifiable audit sequence is generated to ensure the atomicity and compliance of the operation.

Benefits of technology

It effectively avoids the long-term blocking caused by traditional global locks, improves the throughput and response speed of document mapping services in high-concurrency scenarios, realizes automated compliance auditing and process status continuity, and generates an immutable audit evidence chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138192A_ABST
    Figure CN123138192A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of document management, in particular to a document mapping and concurrency control method and system based on a state transition matrix, comprising: constructing a state transition matrix according to operation request parameters, role permission constraint parameters and current existing mapping relationship parameters, determining a current target state and a next target state based on the state transition matrix; generating a directory level short cycle lock according to state transition condition parameters in the state transition matrix in combination with the current target state and the next target state. The present application determines state transition conditions through a state transition matrix, and generates a directory level short cycle lock covering four key stages according to the state transition conditions, and simultaneously detects the application execution sequence in combination with a concurrency control window parameter; the lock granularity is accurate to the directory level and is limited within an extremely short life cycle, and the window parameter is allocated according to stages, so that long time blocking caused by traditional global locks is effectively avoided, and the throughput and response speed of the document mapping service in a high concurrency scenario are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of document management technology, specifically to a document mapping concurrency control method and system based on a state transition matrix. Background Technology

[0002] Currently, traditional methods generally use coarse-grained global locks or table-level locks to maintain the consistency of mapping relationships. This mechanism forces all requests to queue sequentially, resulting in excessively long lock holding times. In high-concurrency scenarios, this can easily cause a large number of requests to be blocked and timed out, severely slowing down the system response speed. More importantly, traditional solutions lack fine-grained atomic window control covering multiple stages such as creation, writing, and detailed records. If a sub-stage in the mapping process fails abnormally, it often leaves a half-complete state where the node has been created but the mapping has not been written or the details are missing. Such data fragments are difficult to repair automatically through conventional mechanisms and require manual intervention to clean up the dirty data.

[0003] Furthermore, traditional methods typically rely solely on discrete operation log records, lacking cryptographic connections between log entries based on state transition paths. This makes it difficult to accurately pinpoint the process stage and permission context at the time of the operation when tracing the true responsible party for a mapping operation, and the execution result often fails to automatically align with the preset target state. Compliance audits almost entirely depend on manual review of logs and comparison of permission tables and process nodes after the fact, which is not only extremely costly to verify, but also carries the risk of log content being tampered with or overwritten by the backend, making it difficult to serve as reliable electronic evidence. In complex scenarios such as cross-directory changes, traditional methods are even less able to automatically verify the continuity of process states. Once an intermediate link is missing or changes, it is impossible to restore the complete compliance chain afterward, resulting in audit conclusions lacking key evidence. Summary of the Invention

[0004] To achieve the above objectives, the present invention provides the following technical solution: a document mapping concurrency control method based on a state transition matrix, comprising: Obtain first mapping requests from multiple role terminals. The first mapping request includes operation request parameters, role permission constraint parameters, and source document version parameters. Construct a state transition matrix based on the operation request parameters, role permission constraint parameters, and currently existing mapping relationship parameters. Determine the current target state and the next target state based on the state transition matrix. Based on the state transition condition parameters in the state transition matrix, combined with the current target state and the next target state, a directory-level short-cycle lock is generated. The directory-level short-cycle lock covers the repetition detection stage, the target receiving node creation stage, the mapping relationship writing stage, and the handshake detail writing stage. The first mapping application is checked for duplicate mapping based on the directory-level short-cycle lock. If a duplicate mapping application is detected, a lock release signal is generated based on the directory-level short-cycle lock and the duplicate mapping application is blocked. If no duplicate mapping application is detected, a lock holding signal is generated based on the directory-level short-cycle lock and the target receiving node creation stage is entered. Based on the lock holding signal, the mapping relationship is bound to the published version of the source document to obtain the determined target content. The mapping pointer and the person in charge of the task are updated according to the target content. A handshake detail audit chain is generated based on the target content and the updated mapping pointer. The handshake detail audit chain includes the status identifier and operation timestamp of each stage. A verifiable audit sequence is generated based on the handshake detail audit chain. The responsible role and execution result of each mapping operation are determined based on the audit sequence. A mapping compliance report is generated based on the responsible role and execution result. The mapping compliance report is written into the handshake detail audit chain to obtain the updated handshake detail audit chain. The second mapping confirmation data is generated based on the updated handshake detail audit chain and sent to multiple role terminals.

[0005] Preferably, the operation request parameters include the source document identifier, the target directory identifier, and the operation action type; the role permission constraint parameters include role identity, permission level, and operation scope constraints; the current target status includes the current mapping relationship parameters, the current lock holding parameters, and the current handshake detail parameters; and the next target status includes the target mapping relationship parameters, the target lock release parameters, and the target handshake detail parameters. Construct a state transition matrix based on the operation request parameters, role and permission constraint parameters, and existing mapping relationship parameters, including: Obtain historical mapping record parameters of the document mapping system and directory structure parameters of multiple document storage directories. Historical mapping record parameters include historical operation action parameters, historical role permission parameters, and historical state transition parameters. Directory structure parameters include node level parameters, node type parameters, and node association constraint parameters. The state space parameters corresponding to each directory node are determined based on historical mapping record parameters, directory structure parameters, currently existing mapping relationship parameters, and operation request parameters. The state space parameters include node reachability state parameters, node lock contention parameters, and node transition cost parameters. A state transition matrix is ​​constructed based on state space parameters, role and permission constraint parameters, and operation request parameters. Each state transition path in the state transition matrix is ​​associated with the reachable state parameters of the nodes in the state space parameters.

[0006] Preferably, performing duplicate mapping detection on the first mapping request based on the directory-level short-cycle lock includes: Obtain the queue of mapping requests to be detected based on the status identifier of the repeated detection phase; A detection key value is generated based on the source document identifier and target directory identifier of each mapping application in the queue to be detected. The detection key value is generated based on the current mapping relationship parameters in the current target state. Determine whether there are duplicate mapping requests based on the detection key value and the currently existing mapping relationship parameters; If a duplicate mapping request exists, a lock release signal is generated based on the lock release trigger condition parameters in the directory-level short-cycle lock. If no duplicate mapping request exists, a lock holding signal is generated based on the lock duration parameters in the directory-level short-cycle lock.

[0007] Preferably, the method further includes: When the operation action type in the operation request parameters is a cross-directory change request, the impact of the cross-directory change is determined based on the current mapping relationship parameter in the current target state and the target mapping relationship parameter in the next target state. Based on the impact of cross-directory changes and role permission constraints, determine the reconstruction parameters for the receiving node and the update parameters for the mapping pointer. The reconstruction parameters for the receiving node include parameters for creating a new receiving node, parameters for adjusting the node level, and parameters for reconstructing node associations. The update parameters for the mapping pointer include parameters for updating the version binding, parameters for reassigning the responsible person, and parameters for redirecting the mapping link. Reconstruct the target receiving node according to the receiving node reconstruction parameters, and copy the specified version content of the source document to the reconstructed target receiving node according to the version binding update parameters in the mapping pointer update parameters. Update the mapping pointer and the person in charge of the task according to the specified version content, and maintain the continuity of the process status according to the updated mapping pointer and the person in charge of the task to obtain the continuous status identifier. Update the handshake details audit chain based on the continuous state identifier.

[0008] Preferably, the handshake detail audit chain is updated based on the continuous state identifier, including: The changed target receiving node parameters and target binding version parameters are determined based on the continuous status identifier; Based on the target receiving node parameters and the target binding version parameters, generate mapping relationship update parameters, and determine the pending responsibility change parameters based on the mapping relationship update parameters and the responsibility reassignment parameters in the mapping-pointing update parameters; Based on the mapping relationship update parameters and the pending responsibility change parameters, a verifiable handshake detail audit chain parameter is generated by combining the current handshake detail parameters. The handshake detail audit chain is then updated based on the handshake detail audit chain parameter.

[0009] Preferably, a verifiable audit sequence is generated based on the handshake detail audit chain, including: Obtain the status identifier and operation timestamp of each stage based on the handshake detail audit chain; A verifiable audit sequence is constructed based on the status identifier and operation timestamp, and each audit node in the audit sequence corresponds one-to-one with the state transition path in the state transition matrix; The responsible role and execution result for each mapping operation are determined based on the verifiable audit sequence. The responsible role is determined based on the role identity parameter in the role permission constraint parameter, and the execution result is determined based on the target mapping relationship parameter in the next target state.

[0010] Preferably, a mapped compliance report is generated based on the responsible role and the execution result, including: The compliance status parameters of the mapping operation are determined based on the responsibility role and the execution result. The compliance status parameters include permission matching parameters, process integrity parameters, and status continuity parameters. Generate a mapping compliance report based on the compliance status parameters, and write the mapping compliance report into the handshake detail audit chain; The confirmation status field in the second mapping confirmation data is determined based on the handshake detail audit chain written into the mapping compliance report. The confirmation status field is used to indicate the compliance of the mapping operation.

[0011] Preferably, the method further includes: The concurrency control window parameters are determined based on the state transition condition parameters in the state transition matrix. The concurrency control window parameters include the repeated detection window parameters, the target receiving node creation window parameters, the mapping relationship writing window parameters, and the handshake detail writing window parameters. The first mapping application is executed sequentially based on the concurrency control window parameters, and blocking decision parameters are generated based on the detection results. Concurrency control decision parameters are determined based on the blocking decision parameters and the lock release trigger condition parameters in the directory-level short-cycle lock. The mapping process corresponding to the first mapping application is blocked based on the concurrency control decision parameters.

[0012] Preferably, second mapping confirmation data is generated based on the updated handshake detail audit chain, and the second mapping confirmation data is sent to multiple role terminals, including: Generate confirmation signature parameters based on the status identifiers and operation timestamps in the updated handshake detail audit chain; The second mapping confirmation data is generated based on the confirmation signature parameters and the mapping compliance report. The second mapping confirmation data contains the target handshake details parameters in the next target status. Send second mapping confirmation data to multiple role terminals, and the multiple role terminals update their local mapping relationship cache based on the confirmation status field in the second mapping confirmation data.

[0013] A concurrent control system for document mapping based on a state transition matrix, applicable to the aforementioned concurrent control method for document mapping based on a state transition matrix, including: The parameter acquisition unit is used to acquire first mapping applications from multiple role terminals. The first mapping application includes operation request parameters, role permission constraint parameters, and source document version parameters. A state transition matrix is ​​constructed based on the operation request parameters, role permission constraint parameters, and currently existing mapping relationship parameters. The current target state and the next target state are determined based on the state transition matrix. The periodic generation unit is used to generate a directory-level short-cycle lock based on the state transition condition parameters in the state transition matrix, combined with the current target state and the next target state. The directory-level short-cycle lock covers the repetition detection stage, the target receiving node creation stage, the mapping relationship writing stage, and the handshake detail writing stage. The mapping detection unit is used to perform duplicate mapping detection on the first mapping application based on the directory-level short-cycle lock. If a duplicate mapping application is detected, a lock release signal is generated based on the directory-level short-cycle lock and the duplicate mapping application is blocked. If no duplicate mapping application is detected, a lock holding signal is generated based on the directory-level short-cycle lock and the target receiving node creation stage is entered. The target acceptance unit is used to bind the mapping relationship to the published version of the source document according to the lock holding signal, obtain the determined target acceptance content, update the mapping pointer and the person in charge of the task according to the target acceptance content, and generate a handshake detail audit chain according to the target acceptance content and the updated mapping pointer. The handshake detail audit chain includes the status identifier and operation timestamp of each stage. The audit verification unit is used to generate a verifiable audit sequence based on the handshake detail audit chain, determine the responsible role and execution result of each mapping operation based on the audit sequence, generate a mapping compliance report based on the responsible role and execution result, and write the mapping compliance report into the handshake detail audit chain to obtain the updated handshake detail audit chain; The mapping confirmation unit is used to generate second mapping confirmation data based on the updated handshake detail audit chain and send the second mapping confirmation data to multiple role terminals.

[0014] Compared with the prior art, the beneficial effects of the present invention are: This invention determines state transition conditions through a state transition matrix and generates a directory-level short-cycle lock covering four key stages. It also combines concurrency control window parameters to detect the execution order of requests. By making the lock granularity precise to the directory level and limiting it to an extremely short lifespan, and with window parameters allocated according to each stage, it effectively avoids the long-term blocking caused by traditional global locks, improves the throughput and response speed of document mapping services in high-concurrency scenarios, and ensures the atomicity of cross-stage operations from a mechanism perspective, preventing data inconsistency caused by some stages succeeding while others fail. This invention maps the transition paths in the state transition matrix to nodes in the handshake detail audit chain one-to-one, and generates a verifiable audit sequence based on the audit chain. This allows the responsible role and execution result of each mapping operation to be accurately located based on role permission constraint parameters and target state parameters. At the same time, the generated mapping compliance report can simultaneously determine three indicators: permission matching, process integrity, and state continuity. This mechanism enables each mapping operation to operate without human intervention, automatically forming an immutable and cryptographically verifiable audit evidence chain. This not only reduces the verification cost of post-event compliance audits but also ensures the continuity and traceability of process states in complex scenarios such as cross-directory changes. Attached Figure Description

[0015] Figure 1 This is a schematic flowchart of the overall method in one embodiment of the present invention; Figure 2 This is a schematic diagram of the steps involved in creating a state transition matrix in one embodiment of the present invention; Figure 3 This is a schematic diagram of the overall system architecture in one embodiment of the present invention.

[0016] In the diagram: 1. Parameter acquisition unit; 2. Periodic generation unit; 3. Mapping detection unit; 4. Target acceptance unit; 5. Audit verification unit; 6. Mapping confirmation unit. Detailed Implementation

[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0018] Example 1, please refer to Figure 1 - Figure 2 This invention provides a technical solution: a document mapping concurrency control method based on a state transition matrix, comprising: S1. Obtain first mapping requests from multiple role terminals. The first mapping request includes operation request parameters, role permission constraint parameters, and source document version parameters. Construct a state transition matrix based on the operation request parameters, role permission constraint parameters, and currently existing mapping relationship parameters. Determine the current target state and the next target state based on the state transition matrix. S2. Generate a directory-level short-cycle lock based on the state transition condition parameters in the state transition matrix, combined with the current target state and the next target state. The directory-level short-cycle lock covers the repeated detection stage, the target receiving node creation stage, the mapping relationship writing stage, and the handshake detail writing stage. S3. Perform duplicate mapping detection on the first mapping application based on the directory-level short-cycle lock. If a duplicate mapping application is detected, generate a lock release signal based on the directory-level short-cycle lock and block the duplicate mapping application. If no duplicate mapping application is detected, generate a lock holding signal based on the directory-level short-cycle lock and enter the target receiving node creation stage. S4. Bind the mapping relationship to the published version of the source document according to the lock holding signal to obtain the determined target content. Update the mapping pointer and the person in charge of the task according to the target content. Generate a handshake detail audit chain according to the target content and the updated mapping pointer. The handshake detail audit chain includes the status identifier and operation timestamp of each stage. S5. Generate a verifiable audit sequence based on the handshake detail audit chain, determine the responsible role and execution result of each mapping operation based on the audit sequence, generate a mapping compliance report based on the responsible role and execution result, and write the mapping compliance report into the handshake detail audit chain to obtain the updated handshake detail audit chain; S6. Generate second mapping confirmation data based on the updated handshake detail audit chain, and send the second mapping confirmation data to multiple role terminals.

[0019] It should be noted that large manufacturing enterprises are upgrading the document mapping module of their product lifecycle management system; this module is responsible for associating the source document versions submitted by different role terminals with the target receiving node; the following is the complete execution process of the method of the present invention when it is actually deployed in the enterprise; The first terminal is the engineer's terminal in the design department, the second is the quality auditor's terminal, and the third is the production planner's terminal. These three terminals almost simultaneously initiated the first mapping request to the mapping management server. For ease of understanding, we will focus on the request initiated by the design engineer's terminal. The operation request parameters of this request include: the source document is identified as a certain type of engine drawing, the version number is V2.3, the target receiving node type is a process compilation node, and the operation type is new mapping; the role permission constraint parameters include that the engineer's role is a design engineer, the permission level is read-write mapping relationship, and mapping to process nodes is only allowed; the source document version parameter explicitly records the release version timestamp and verification hash value of the drawing. Upon receiving the request, the system immediately reads the existing mapping parameters. These parameters include existing mappings from the same source document pointing to production preparation nodes and inspection nodes, as well as the effective status and locking flags of these mappings. Based on the target type in the operation request parameters, the allowed scope in the role permissions, and whether there are conflicts in the existing mappings, a state transition matrix is ​​constructed. This matrix is ​​a logical decision network, where the rows represent the possible current mapping states, such as idle, locked, and completed, and the columns represent the actions that this operation may trigger, such as verifying permissions, checking for duplicates, creating nodes, and writing mappings. According to the preset transition conditions in the matrix, the current target state is calculated to be the state awaiting duplicate detection, and the next target state is the node creation preparation state after the detection is passed. To ensure the atomicity and isolation of the four consecutive stages from duplicate detection to handshake detail writing, a directory-level short-cycle lock is generated based on the transition condition parameters in the state transition matrix, specifically the stage sequence flag and timeout tolerance. This lock does not lock the entire database, but rather the product directory node to which the source document belongs and its child nodes. The lock's validity period is set to 500 milliseconds, covering the duplicate detection stage, the target receiving node creation stage, the mapping relationship writing stage, and the handshake detail writing stage. This lock is written to the distributed coordination service, and all other terminals must attempt to acquire this lock before requesting any mapping operation under this directory. The system holding the directory-level short-cycle lock performs a duplicate mapping check on the design engineer's first mapping request. The detection logic compares the source document identifier, target node type, and version parameter in the operation request parameters with existing mapping relationship records. Exactly 300 milliseconds prior, the quality auditor's terminal submitted a nearly identical mapping request, which has been detected as duplicate and is awaiting lock release. Therefore, when the current request is detected to be completely identical to the quality auditor's request in terms of source document, target node, and version, it is immediately determined to be a duplicate mapping request. According to the rules of the directory-level short-cycle lock, a lock release signal is generated, which contains the release reason code "duplicate request," and the request is blocked. At the same time, a prompt message is returned to the design engineer's terminal, informing them that the mapping has been initiated by another role and there is no need to repeat the operation. Another application submitted by the production planner's terminal maps the same source document to a production scheduling node. This target node is different from the process planning node applied for by the design engineer, so the duplicate check fails. A lock holding signal is generated for the production planner's application, allowing it to enter the target receiving node creation stage. Based on the lock holding signal, the mapping relationship is bound to the published version of the source document, i.e., the drawing of version V2.3. The specific binding operation is to fix the snapshot of the structure tree and attribute metadata of this version as the basis for determining the target receiving content. Then a new process scheduling receiving node is created, and the storage path and access control list of this node are determined as the final target receiving content. The mapping is updated based on the target content, meaning the original mapping table for the source document is changed from an empty or old node to the newly created process scheduling node. Simultaneously, the "responsible person" field is updated, adding the corresponding process engineer account to the to-do list. After these updates, the handshake detail audit chain generation process is initiated. This audit chain is a chronologically linked log block. The first block records the status of the duplicate detection phase as "passed," with the operation timestamp being the 10th millisecond after the application arrived. The second block records the status of the target node creation phase as "created successfully," with the timestamp being the 50th millisecond. The third block records the status of the mapping relationship writing phase as "written and committed," with the timestamp being the 80th millisecond. The fourth block records the status of the handshake detail writing phase as "details solidified," with the timestamp being the 120th millisecond. Each block contains the hash value of the previous block, forming a chain structure. Based on this handshake detail audit chain, a verifiable audit sequence is generated by combining the status identifier and operation timestamp of each stage and attaching a digital signature. This sequence is a string of characters, and any terminal role can use a public key to verify its integrity and authenticity. Based on this audit sequence, the responsible role for each mapping operation is identified as the production planner, because their application was ultimately accepted, and the execution result is a successful mapping. The responsible role for the design engineer's application is the design engineer, and the execution result is a blocked duplicate. For blocked applications, the audit sequence also records the reason for the blocking and the responsible role for releasing the lock as the server itself. Based on the aforementioned responsibilities and execution results, a mapping compliance report is generated. This report describes the following in natural language: The mapping application from the production planner terminal complies with the permission constraints and is not duplicated; the mapping has been successfully written and bound to version V2.3. The application from the design engineer terminal is blocked due to duplication, which does not affect data consistency. The application from the quality auditor terminal is also blocked, but the blocking occurs during the lock contention phase. This report is appended to the handshake detail audit chain as the last block, thus obtaining the updated handshake detail audit chain. Based on the updated handshake detail audit chain, the confirmation data related to this successful mapping is extracted, including the source document identifier, target receiving node path, mapping effective time, responsible person for pending tasks, and tail block hash of the audit sequence, forming the second mapping confirmation data. This confirmation data is then sent to the three role terminals respectively: the production planner terminal receives the mapping success confirmation, along with a complete audit chain for verification; the design engineer terminal receives the duplicate application blocking confirmation, along with a reference to the existing mapping; and the quality auditor terminal receives the competition failure notification, informing them that they can resubmit applications for different target nodes.

[0020] In an optional embodiment, the operation request parameters include the source document identifier, the target directory identifier, and the operation action type; the role permission constraint parameters include role identity, permission level, and operation scope constraints; the current target state includes the current mapping relationship parameters, the current lock holding parameters, and the current handshake detail parameters; and the next target state includes the target mapping relationship parameters, the target lock release parameters, and the target handshake detail parameters. Construct a state transition matrix based on the operation request parameters, role and permission constraint parameters, and existing mapping relationship parameters, including: S101. Obtain historical mapping record parameters of the document mapping system and directory structure parameters of multiple document storage directories. The historical mapping record parameters include historical operation action parameters, historical role permission parameters and historical state transition parameters. The directory structure parameters include node level parameters, node type parameters and node association constraint parameters. S102. Determine the state space parameters corresponding to each directory node based on the historical mapping record parameters, directory structure parameters, currently existing mapping relationship parameters, and operation request parameters. The state space parameters include node reachability state parameters, node lock contention parameters, and node transition cost parameters. S103. Construct a state transition matrix based on state space parameters, role and permission constraint parameters, and operation request parameters. Each state transition path in the state transition matrix is ​​associated with the reachable state parameters of the nodes in the state space parameters.

[0021] It should be noted that the enterprise maintains a document mapping system, and its document storage directory is divided into three layers according to product model, component level, and version status. When starting up, it reads the parameters of historical mapping records. These records contain the action types of all mapping operations in the past year, such as creation, modification, and obsolescence, the roles corresponding to each operation, such as designer, reviewer, and approver, and the combination of conditions before each status transition, such as version has been released, node is idle, and permissions are granted. At the same time, it reads the directory structure parameters to know whether each directory node belongs to the final assembly level, sub-assembly level, or part level, and whether the node type is a compilation node, review node, or archive node. There are strong association constraints between nodes. For example, the mapping of the part level must be completed before the mapping of the sub-assembly level can be completed. The existing mapping parameters and the operation request parameters submitted by the design terminal are superimposed to calculate the state space parameters for each directory node. For example, the reachable states of the final assembly directory node include mappable, locked, and mapped pending review. The lock contention parameter shows that the node is currently being contested by two roles: reviewer and designer. The transition cost parameter is calculated based on historical statistics, including the average time taken from locked to mapped and the probability of failure rollback. Based on these state space parameters, and considering that the target node in the application is at the part level, the role is designer, and the permission is limited to creating drafts, a state transition matrix for this operation is constructed. The paths in the matrix are not mathematical arrays but a series of decision rules. For example, after permission verification, the system can only enter the mappable state of the part node from the initial state, and cannot directly jump to the final assembly node, because the node reachable state parameters clearly indicate that the association path between the part node and the design role is valid. This matrix guides the system to select a unique legal transition path for this application, that is, from the pending detection state through node idle detection to the creation state, and finally to the write completed state. All paths are bound to the actual reachable states of the directory nodes, thereby avoiding invalid mapping operations.

[0022] In an optional embodiment, performing duplicate mapping detection on the first mapping request based on a directory-level short-cycle lock includes: Obtain the queue of mapping requests to be detected based on the status identifier of the repeated detection phase; A detection key value is generated based on the source document identifier and target directory identifier of each mapping application in the queue to be detected. The detection key value is generated based on the current mapping relationship parameters in the current target state. Determine whether there are duplicate mapping requests based on the detection key value and the currently existing mapping relationship parameters; If a duplicate mapping request exists, a lock release signal is generated based on the lock release trigger condition parameters in the directory-level short-cycle lock. If no duplicate mapping request exists, a lock holding signal is generated based on the lock duration parameters in the directory-level short-cycle lock.

[0023] It should be noted that after the document mapping server starts the duplicate detection phase, it reads the status flag of this phase to confirm that the detection is active, and then obtains the queue of mapping applications to be detected. This queue contains three applications, which come from the hull designer, the engine engineer and the electrical auditor respectively. They all point to the same general layout drawing source document of the ship, but the target directories are the hull structure directory, the engine equipment directory and the electrical wiring directory respectively. Each application is assigned a detection key value. The generation method is to concatenate the source document identifier (drawing number) and the target directory identifier (directory path) of each application, and add the mapping relationship parameters in the current target status, such as whether the source document is already mapped to a draft or effective state. The application key value for the hull designer is the drawing number plus the hull directory plus the effective status code of the current mapping. The key value for the marine engineer is similar. The key value for the electrical auditor is also similar. These three key values ​​are compared with the existing mapping parameters. A mapping record already exists, with the source document being the drawing and the target directory being the hull structure directory, and the status being active. Therefore, the hull designer's key value matches the existing record perfectly and is determined to be a duplicate mapping application. The marine engineer's key value points to the marine engineering directory, which currently has no mapping for the same source document, and is determined to be non-duplicate. The electrical auditor's key value points to the electrical directory, which also has no conflict and is determined to be non-duplicate. For the hull designer's application, the lock release trigger condition parameter in the directory-level short-cycle lock is retrieved. This condition explicitly stipulates that when a source document is detected to be completely duplicated with the target directory and an existing mapping is in effect, the lock release is triggered immediately. Based on this, a lock release signal is generated to block the application and notify the designer. For the applications from the marine engineer and electrical reviewer, the lock duration parameter is checked. This parameter sets that the lock must be held for at least 400 milliseconds in the absence of conflict to complete the subsequent stages. Therefore, lock holding signals are generated for these two applications respectively, allowing them to enter the node creation stage.

[0024] In an optional embodiment, the method further includes: When the operation action type in the operation request parameters is a cross-directory change request, the impact of the cross-directory change is determined based on the current mapping relationship parameter in the current target state and the target mapping relationship parameter in the next target state. Based on the impact of cross-directory changes and role permission constraints, determine the reconstruction parameters for the receiving node and the update parameters for the mapping pointer. The reconstruction parameters for the receiving node include parameters for creating a new receiving node, parameters for adjusting the node level, and parameters for reconstructing node associations. The update parameters for the mapping pointer include parameters for updating the version binding, parameters for reassigning the responsible person, and parameters for redirecting the mapping link. Reconstruct the target receiving node according to the receiving node reconstruction parameters, and copy the specified version content of the source document to the reconstructed target receiving node according to the version binding update parameters in the mapping pointer update parameters. Update the mapping pointer and the person in charge of the task according to the specified version content, and maintain the continuity of the process status according to the updated mapping pointer and the person in charge of the task to obtain the continuous status identifier. Update the handshake details audit chain based on the continuous state identifier.

[0025] It should be noted that in the document mapping system of automotive OEMs, the design team needs to change an engine block drawing from the R&D directory to the mass production preparation directory. The operation action type in this request is clearly marked as a cross-directory change request. Based on the current mapping relationship parameters in the current target state, that is, the drawing is currently bound to the prototype node under the R&D directory, and the target mapping relationship parameters in the next target state, that is, it is required to be bound to the process node under the mass production preparation directory, the impact of the cross-directory change is determined. The impact includes that all related sub-nodes under the original directory, such as prototype process cards and inspection standard documents, will lose their mapping points, and the receiving nodes under the mass production directory need to inherit version information. Based on the impact of cross-directory changes and role permission constraints, this role is the design supervisor with cross-directory migration permissions. Therefore, the following parameters are generated: Reconstruction parameters for the receiving node and update parameters for mapping pointers. The reconstruction parameters include: New receiving node creation parameters (creating a new process node under the mass production directory and naming it "Mass Production Cylinder Block Process"); Node level adjustment parameters (placing the node below the final assembly process rather than the part level); Node association reconstruction parameters (re-establishing the association between this node and the upstream design release node and the downstream production feedback node); and Mapping pointer update parameters, including: Version binding update parameters (specifying the V3.2 released version of the drawing); Responsible person reassignment parameters (changing the responsible person from R&D engineer to mass production process engineer); and Mapping link redirection parameters (redirecting the original link from the prototype node in the R&D directory to the process node in the mass production directory). Based on the reconstruction parameters of the receiving node, a new process node was successfully created in the mass production directory. The entire contents of the source document version V3.2, including 2D and 3D data files, were copied to this new node according to the version binding update parameters. After copying, the mapping was updated so that the latest mapping record of the source document points to the new node. Simultaneously, the person responsible for the pending task was updated to the mass production process engineer, and the process status was kept continuous. This means the review history of the original node was retained and extended to the new node, generating a continuous status identifier to indicate that the change did not interrupt the approval process. Finally, based on this continuous status identifier, a new block was added to the handshake detail audit chain, recording the cross-directory change start status, reconstruction node identifier, version copy completion time, and person responsible change information.

[0026] In an optional embodiment, updating the handshake detail audit chain based on the continuous state identifier includes: The changed target receiving node parameters and target binding version parameters are determined based on the continuous status identifier; Based on the target receiving node parameters and the target binding version parameters, generate mapping relationship update parameters, and determine the pending responsibility change parameters based on the mapping relationship update parameters and the responsibility reassignment parameters in the mapping-pointing update parameters; Based on the mapping relationship update parameters and the pending responsibility change parameters, a verifiable handshake detail audit chain parameter is generated by combining the current handshake detail parameters. The handshake detail audit chain is then updated based on the handshake detail audit chain parameter.

[0027] It should be noted that after the automotive OEM completes the cross-catalog change, it holds a continuous status identifier, which records the continuity of the mapping status before and after the change; based on this identifier, the parameters of the target receiving node after the change are determined, namely the storage path, node type and access permissions of the newly created mass production catalog process node; at the same time, the target binding version parameters are determined, namely the V3.2 version number of the source document and its file hash value. Based on these two parameters, a mapping relationship update parameter is generated. This parameter includes the identifier of the new mapping record, the effective timestamp, and the status as effective. Then, combined with the responsible person reassignment parameter in the mapping point update parameter, i.e. the mass production process engineer account, a pending responsible person change parameter is generated. This parameter clarifies that the original responsible person, the R&D engineer, has been removed, and the new responsible person, the mass production process engineer, has been added, with the change reason code being cross-directory migration. The mapping update parameters and the pending responsibility change parameters are merged with the current handshake detail parameters, which include existing duplicate detection pass records, node creation records, and version replication records. Digital digest processing is performed on this data to generate verifiable handshake detail audit chain parameters. These parameters are essentially the payload of a new block in the audit chain, containing a compact encoding of all the aforementioned change information and the hash value of the previous block. Based on these audit chain parameters, the new block is appended to the end of the handshake detail audit chain. The updated chain fully records the entire process from application to cross-directory change to responsibility adjustment, and any terminal can verify the authenticity and sequence of each change operation.

[0028] In an optional embodiment, generating a verifiable audit sequence based on the handshake detail audit chain includes: Obtain the status identifier and operation timestamp of each stage based on the handshake detail audit chain; A verifiable audit sequence is constructed based on the status identifier and operation timestamp, and each audit node in the audit sequence corresponds one-to-one with the state transition path in the state transition matrix; The responsible role and execution result for each mapping operation are determined based on the verifiable audit sequence. The responsible role is determined based on the role identity parameter in the role permission constraint parameter, and the execution result is determined based on the target mapping relationship parameter in the next target state.

[0029] It should be noted that after a manufacturing enterprise completes a mapping application, it sequentially reads the status identifier and operation timestamp of each stage from the handshake detail audit chain; the status identifier of the first stage is that the duplicate detection has passed, and the timestamp is the 10th millisecond; the status identifier of the second stage is that the target node has been successfully created, and the timestamp is the 50th millisecond; the status identifier of the third stage is that the mapping relationship has been written and submitted, and the timestamp is the 80th millisecond; the status identifier of the fourth stage is that the handshake details have been solidified, and the timestamp is the 120th millisecond. These status identifiers and corresponding timestamps are arranged in order, and a digital signature is attached to each node to generate a verifiable audit sequence. The first audit node in this sequence corresponds to the path from the initial state to the detection passed in the state transition matrix, the second corresponds to the path from the detection passed to the node creation, the third corresponds to the path from the node creation to the writing completion, and the fourth corresponds to the path from the writing completion to the detail solidification. Each audit node corresponds one-to-one with the state transition path in the matrix, ensuring a strict mapping between the audit sequence and the preset process. The audit sequence is parsed to extract the responsible role field. Based on the role identity parameter in the role permission constraint parameters, the initiator of the application is identified as the production planner, because the role number recorded in the sequence matches the production planner account. At the same time, the target mapping relationship parameter in the next target status is checked. This parameter shows that the final target status is that the source document has been bound to the target receiving node and the status is effective. Therefore, the execution result is determined to be a successful mapping. The responsible role and execution result are recorded in the metadata of the audit sequence for use in subsequent compliance reviews.

[0030] In an optional embodiment, a mapped compliance report is generated based on the responsible role and the execution result, including: The compliance status parameters of the mapping operation are determined based on the responsibility role and the execution result. The compliance status parameters include permission matching parameters, process integrity parameters, and status continuity parameters. Generate a mapping compliance report based on the compliance status parameters, and write the mapping compliance report into the handshake detail audit chain; The confirmation status field in the second mapping confirmation data is determined based on the handshake detail audit chain written into the mapping compliance report. The confirmation status field is used to indicate the compliance of the mapping operation.

[0031] It should be noted that after the production planner's mapping application is successfully completed, the compliance status parameters are determined based on the two pieces of information: the responsible role is the production planner and the execution result is successful mapping. First is the permission matching parameter, which verifies the role permission constraint parameter to confirm that the production planner role is allowed to establish mappings to process scheduling nodes; this parameter is determined to be matched. Second is the process integrity parameter, which checks whether the audit chain contains complete records of the four stages of duplicate detection, node creation, relationship writing, and detail solidification, and whether there are any abnormal termination markers; this parameter is determined to be complete. Finally, the status continuity parameter verifies that the source document version status changes from idle to bound, the target node status changes from newly created to valid, and the timestamp increases without rollback; this parameter is determined to be continuous. These three parameters are combined to generate a mapping compliance report. The report describes the compliance of the mapping operation in concise text, the completeness of the process, and the continuity of the status, and includes timestamps for each stage. This report is written into the handshake detail audit chain as the last audit block, which contains the report content and the hash value of the previous block. After the write is completed, the confirmation status field is extracted according to the updated handshake details audit chain. Since the report shows that all three compliance parameters are passed, the confirmation status field is assigned the value of compliance passed. The confirmation status field, together with the source document identifier, target node path and other data, is combined into the second mapping confirmation data and sent to the production planner terminal. After receiving it, the terminal displays that the mapping has been completed in compliance and no manual review is required.

[0032] In an optional embodiment, the method further includes: The concurrency control window parameters are determined based on the state transition condition parameters in the state transition matrix. The concurrency control window parameters include the repeated detection window parameters, the target receiving node creation window parameters, the mapping relationship writing window parameters, and the handshake detail writing window parameters. The first mapping application is executed sequentially based on the concurrency control window parameters, and blocking decision parameters are generated based on the detection results. Concurrency control decision parameters are determined based on the blocking decision parameters and the lock release trigger condition parameters in the directory-level short-cycle lock. The mapping process corresponding to the first mapping application is blocked based on the concurrency control decision parameters.

[0033] It should be noted that the document mapping system of automotive component companies processes a batch of concurrent requests; it reads the state transition condition parameters from the state transition matrix, which include the maximum number of concurrent requests allowed at each stage, the timeout threshold, and the prerequisite dependency flag; based on these conditions, it calculates the concurrency control window parameters: the duplicate detection window is set to process only the first ten requests within 50 milliseconds, the target receiving node creation window is limited to allowing only three creation operations at the same time in the same directory, the mapping relationship writing window is limited to serializing the writing of the same source document, and the handshake detail writing window is limited to no more than one hundred writes per second globally; At this point, four first mapping applications arrive almost simultaneously, all pointing to the same directory in the same chip specification. These four applications are then checked sequentially according to their arrival timestamps. Within the duplicate detection window, the first application is checked, followed immediately by the second, while the third and fourth are deferred because the queue is full. The detection reveals that the first application has no conflict with existing mappings, while the second application is a complete duplicate of the first application in both the source document and the target directory. Based on this, blocking decision parameters are generated, determining that the second application should be blocked, while the third and fourth applications need to be re-queued due to window overflow. Combining the blocking decision parameters with the lock release trigger condition parameters in the directory-level short-cycle lock, which stipulates that the lock is released immediately when a duplicate or window overflow is detected; determining the concurrency control decision parameters, including immediately blocking the second request and releasing the lock it holds, delaying retries instead of blocking the third and fourth requests, and adjusting their priorities; based on these decision parameters, issuing a blocking instruction to the mapping process corresponding to the second request, terminating its subsequent stages, and releasing the directory-level short-cycle lock for subsequent requests; the third and fourth requests are marked as pending retry status, waiting for the next window cycle.

[0034] In an optional embodiment, second mapping confirmation data is generated based on the updated handshake detail audit chain, and the second mapping confirmation data is sent to multiple role terminals, including: Generate confirmation signature parameters based on the status identifiers and operation timestamps in the updated handshake detail audit chain; The second mapping confirmation data is generated based on the confirmation signature parameters and the mapping compliance report. The second mapping confirmation data contains the target handshake details parameters in the next target status. Send second mapping confirmation data to multiple role terminals, and the multiple role terminals update their local mapping relationship cache based on the confirmation status field in the second mapping confirmation data.

[0035] It should be noted that after an automotive company completes a mapping operation, it extracts the status identifiers and operation timestamps of the last three blocks from the updated handshake detail audit chain. For example, block A indicates that the mapping was successfully written and the timestamp is 100 milliseconds, block B indicates that the compliance report has been attached and the timestamp is 120 milliseconds, and block C indicates that the audit chain is completed and the timestamp is 130 milliseconds. The company then uses its own private key to digitally sign the combination of these identifiers and timestamps to generate confirmation signature parameters. The confirmation signature parameter is merged with the previously generated mapping compliance report to construct the second mapping confirmation data. In addition to the source document identifier, target node path, and responsible person change record, this data also explicitly embeds the target handshake details parameters in the next target state, such as the audit chain tail block hash value and the final state as effective. This second mapping confirmation data is sent to the terminals of the design engineer, production planner, and quality auditor. Upon receiving the data, each terminal uses its public key to verify the signature parameters to confirm data integrity. After successful verification, each terminal updates its local mapping cache based on the confirmation status field in the data, which has a value of "compliant and passed". The design engineer terminal refreshes the mapping status of the source document in its local cache from "draft" to "effective". The production planner terminal adds the mapping record to its local index. The quality auditor terminal clears the "pending audit" mark in its cache and changes it to "confirmed".

[0036] Example 2, please refer to Figure 3 This invention provides a technical solution: a document mapping concurrent control system based on a state transition matrix, which is applicable to the aforementioned document mapping concurrent control method based on a state transition matrix, comprising: The parameter acquisition unit 1 is used to acquire first mapping applications from multiple role terminals. The first mapping application includes operation request parameters, role permission constraint parameters, and source document version parameters. A state transition matrix is ​​constructed based on the operation request parameters, role permission constraint parameters, and currently existing mapping relationship parameters. The current target state and the next target state are determined based on the state transition matrix. Periodic generation unit 2 is used to generate a directory-level short-cycle lock based on the state transition condition parameters in the state transition matrix, combined with the current target state and the next target state. The directory-level short-cycle lock covers the repetition detection stage, the target receiving node creation stage, the mapping relationship writing stage, and the handshake detail writing stage. The mapping detection unit 3 is used to perform duplicate mapping detection on the first mapping application according to the directory-level short-cycle lock. If a duplicate mapping application is detected, a lock release signal is generated according to the directory-level short-cycle lock and the duplicate mapping application is blocked. If no duplicate mapping application is detected, a lock holding signal is generated according to the directory-level short-cycle lock and the target receiving node creation stage is entered. Target Acceptance Unit 4 is used to bind the mapping relationship to the published version of the source document according to the lock holding signal, obtain the determined target acceptance content, update the mapping pointer and the person in charge of the task according to the target acceptance content, and generate a handshake detail audit chain according to the target acceptance content and the updated mapping pointer. The handshake detail audit chain includes the status identifier and operation timestamp of each stage. Audit verification unit 5 is used to generate a verifiable audit sequence based on the handshake detail audit chain, determine the responsible role and execution result of each mapping operation based on the audit sequence, generate a mapping compliance report based on the responsible role and execution result, and write the mapping compliance report into the handshake detail audit chain to obtain the updated handshake detail audit chain; Mapping confirmation unit 6 is used to generate second mapping confirmation data based on the updated handshake detail audit chain and send the second mapping confirmation data to multiple role terminals.

[0037] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited thereto. Various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the spirit of the present invention.

Claims

1. A document mapping concurrency control method based on a state transition matrix, characterized in that, include: Obtain first mapping requests from multiple role terminals. The first mapping request includes operation request parameters, role permission constraint parameters, and source document version parameters. Construct a state transition matrix based on the operation request parameters, role and permission constraint parameters, and existing mapping relationship parameters; determine the current target state and the next target state based on the state transition matrix. Based on the state transition condition parameters in the state transition matrix, combined with the current target state and the next target state, a directory-level short-cycle lock is generated. The directory-level short-cycle lock covers the repetition detection stage, the target receiving node creation stage, the mapping relationship writing stage, and the handshake detail writing stage. The first mapping application is checked for duplicate mapping based on the directory-level short-cycle lock. If a duplicate mapping application is detected, a lock release signal is generated based on the directory-level short-cycle lock and the duplicate mapping application is blocked. If no duplicate mapping application is detected, a lock holding signal is generated based on the directory-level short-cycle lock and the target receiving node creation stage is entered. Based on the lock holding signal, the mapping relationship is bound to the published version of the source document to obtain the determined target content. The mapping pointer and the person in charge of the task are updated according to the target content. A handshake detail audit chain is generated based on the target content and the updated mapping pointer. The handshake detail audit chain includes the status identifier and operation timestamp of each stage. A verifiable audit sequence is generated based on the handshake detail audit chain. The responsible role and execution result of each mapping operation are determined based on the audit sequence. A mapping compliance report is generated based on the responsible role and execution result. The mapping compliance report is written into the handshake detail audit chain to obtain the updated handshake detail audit chain. The second mapping confirmation data is generated based on the updated handshake detail audit chain and sent to multiple role terminals.

2. The document mapping concurrency control method based on state transition matrix according to claim 1, characterized in that, The operation request parameters include the source document identifier, the target directory identifier, and the operation action type; the role and permission constraint parameters include the role identity, permission level, and operation scope constraints; the current target status includes the current mapping relationship parameters, the current lock holding parameters, and the current handshake detail parameters; the next target status includes the target mapping relationship parameters, the target lock release parameters, and the target handshake detail parameters. Construct a state transition matrix based on the operation request parameters, role and permission constraint parameters, and existing mapping relationship parameters, including: Obtain historical mapping record parameters of the document mapping system and directory structure parameters of multiple document storage directories. Historical mapping record parameters include historical operation action parameters, historical role permission parameters, and historical state transition parameters. Directory structure parameters include node level parameters, node type parameters, and node association constraint parameters. The state space parameters corresponding to each directory node are determined based on historical mapping record parameters, directory structure parameters, currently existing mapping relationship parameters, and operation request parameters. The state space parameters include node reachability state parameters, node lock contention parameters, and node transition cost parameters. A state transition matrix is ​​constructed based on state space parameters, role and permission constraint parameters, and operation request parameters. Each state transition path in the state transition matrix is ​​associated with the reachable state parameters of the nodes in the state space parameters.

3. The document mapping concurrency control method based on state transition matrix according to claim 2, characterized in that, Perform duplicate mapping detection on the first mapping request based on the directory-level short-cycle lock, including: Obtain the queue of mapping requests to be detected based on the status identifier of the repeated detection phase; A detection key value is generated based on the source document identifier and target directory identifier of each mapping application in the queue to be detected. The detection key value is generated based on the current mapping relationship parameters in the current target state. Determine whether there are duplicate mapping requests based on the detection key value and the currently existing mapping relationship parameters; If a duplicate mapping request exists, a lock release signal is generated based on the lock release trigger condition parameters in the directory-level short-cycle lock. If no duplicate mapping request exists, a lock holding signal is generated based on the lock duration parameters in the directory-level short-cycle lock.

4. The document mapping concurrency control method based on state transition matrix according to claim 3, characterized in that, The method further includes: When the operation action type in the operation request parameters is a cross-directory change request, the impact of the cross-directory change is determined based on the current mapping relationship parameter in the current target state and the target mapping relationship parameter in the next target state. Based on the impact of cross-directory changes and role permission constraints, determine the reconstruction parameters for the receiving node and the update parameters for the mapping pointer. The reconstruction parameters for the receiving node include parameters for creating a new receiving node, parameters for adjusting the node level, and parameters for reconstructing node associations. The update parameters for the mapping pointer include parameters for updating the version binding, parameters for reassigning the responsible person, and parameters for redirecting the mapping link. Reconstruct the target receiving node according to the receiving node reconstruction parameters, and copy the specified version content of the source document to the reconstructed target receiving node according to the version binding update parameters in the mapping pointer update parameters. Update the mapping pointer and the person in charge of the task according to the specified version content, and maintain the continuity of the process status according to the updated mapping pointer and the person in charge of the task to obtain the continuous status identifier. Update the handshake details audit chain based on the continuous state identifier.

5. The document mapping concurrency control method based on state transition matrix according to claim 4, characterized in that, Update the handshake detail audit chain based on the continuous state identifier, including: The changed target receiving node parameters and target binding version parameters are determined based on the continuous status identifier; Based on the target receiving node parameters and the target binding version parameters, generate mapping relationship update parameters, and determine the pending responsibility change parameters based on the mapping relationship update parameters and the responsibility reassignment parameters in the mapping-pointing update parameters; Based on the mapping relationship update parameters and the pending responsibility change parameters, a verifiable handshake detail audit chain parameter is generated by combining the current handshake detail parameters. The handshake detail audit chain is then updated based on the handshake detail audit chain parameter.

6. The document mapping concurrency control method based on state transition matrix according to claim 5, characterized in that, Generate a verifiable audit sequence based on the handshake detail audit chain, including: Obtain the status identifier and operation timestamp of each stage based on the handshake detail audit chain; A verifiable audit sequence is constructed based on the status identifier and operation timestamp, and each audit node in the audit sequence corresponds one-to-one with the state transition path in the state transition matrix; The responsible role and execution result for each mapping operation are determined based on the verifiable audit sequence. The responsible role is determined based on the role identity parameter in the role permission constraint parameter, and the execution result is determined based on the target mapping relationship parameter in the next target state.

7. The document mapping concurrency control method based on state transition matrix according to claim 6, characterized in that, Generate a mapping compliance report based on the responsible role and the execution result, including: The compliance status parameters of the mapping operation are determined based on the responsibility role and the execution result. The compliance status parameters include permission matching parameters, process integrity parameters, and status continuity parameters. Generate a mapping compliance report based on the compliance status parameters, and write the mapping compliance report into the handshake detail audit chain; The confirmation status field in the second mapping confirmation data is determined based on the handshake detail audit chain written into the mapping compliance report. The confirmation status field is used to indicate the compliance of the mapping operation.

8. The document mapping concurrency control method based on state transition matrix according to claim 7, characterized in that, The method further includes: The concurrency control window parameters are determined based on the state transition condition parameters in the state transition matrix. The concurrency control window parameters include the repeated detection window parameters, the target receiving node creation window parameters, the mapping relationship writing window parameters, and the handshake detail writing window parameters. The first mapping application is executed sequentially based on the concurrency control window parameters, and blocking decision parameters are generated based on the detection results. Concurrency control decision parameters are determined based on the blocking decision parameters and the lock release trigger condition parameters in the directory-level short-cycle lock. The mapping process corresponding to the first mapping application is blocked based on the concurrency control decision parameters.

9. The document mapping concurrency control method based on state transition matrix according to claim 8, characterized in that, The second mapping confirmation data is generated based on the updated handshake detail audit chain and sent to multiple role terminals, including: Generate confirmation signature parameters based on the status identifiers and operation timestamps in the updated handshake detail audit chain; The second mapping confirmation data is generated based on the confirmation signature parameters and the mapping compliance report. The second mapping confirmation data contains the target handshake details parameters in the next target status. Send second mapping confirmation data to multiple role terminals, and the multiple role terminals update their local mapping relationship cache based on the confirmation status field in the second mapping confirmation data.

10. A concurrent control system for document mapping based on a state transition matrix, applicable to the concurrent control method for document mapping based on a state transition matrix as described in any one of claims 1-9, characterized in that, include: The parameter acquisition unit is used to acquire first mapping applications from multiple role terminals. The first mapping application includes operation request parameters, role permission constraint parameters, and source document version parameters. A state transition matrix is ​​constructed based on the operation request parameters, role permission constraint parameters, and currently existing mapping relationship parameters. The current target state and the next target state are determined based on the state transition matrix. The periodic generation unit is used to generate a directory-level short-cycle lock based on the state transition condition parameters in the state transition matrix, combined with the current target state and the next target state. The directory-level short-cycle lock covers the repetition detection stage, the target receiving node creation stage, the mapping relationship writing stage, and the handshake detail writing stage. The mapping detection unit is used to perform duplicate mapping detection on the first mapping application based on the directory-level short-cycle lock. If a duplicate mapping application is detected, a lock release signal is generated based on the directory-level short-cycle lock and the duplicate mapping application is blocked. If no duplicate mapping application is detected, a lock holding signal is generated based on the directory-level short-cycle lock and the target receiving node creation stage is entered. The target acceptance unit is used to bind the mapping relationship to the published version of the source document according to the lock holding signal, obtain the determined target acceptance content, update the mapping pointer and the person in charge of the task according to the target acceptance content, and generate a handshake detail audit chain according to the target acceptance content and the updated mapping pointer. The handshake detail audit chain includes the status identifier and operation timestamp of each stage. The audit verification unit is used to generate a verifiable audit sequence based on the handshake detail audit chain, determine the responsible role and execution result of each mapping operation based on the audit sequence, generate a mapping compliance report based on the responsible role and execution result, and write the mapping compliance report into the handshake detail audit chain to obtain the updated handshake detail audit chain; The mapping confirmation unit is used to generate second mapping confirmation data based on the updated handshake detail audit chain and send the second mapping confirmation data to multiple role terminals.