Multi-tenant student comprehensive quality archive alliance block chain uploading method

By adding a chain protection layer to the archive system side, using the methods of linking task queue, block event monitoring, chain status monitoring and chain warning collaboration, the stability and compatibility problems of data chaining under different network environments and technical architectures of blockchain and archive systems are solved, and efficient and reliable data chaining and query are achieved.

CN119621677APending Publication Date: 2025-03-14RETURNSTAR INTERACTIVE TECH GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411674604.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

Under different network environments and technical architectures of blockchain and archive systems, the success rate of data on the chain is low, the stability problems caused by network fluctuations and transaction concurrency, and the incompatibility difficulties caused by different storage mechanisms.

Method used

Add a link protection layer to the archive system side, and cooperate with the link task queue, block event monitoring, link status monitoring and link warning to ensure the stability and reliability of data linking.

Benefits of technology

It effectively solves the problems of network fluctuations, transaction concurrency and data storage during on-chain, ensures the stability of blockchain central resources, and realizes compatible query of blockchain information and archive system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621677A_ABST
    Figure CN119621677A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-tenant student comprehensive quality archive alliance block chain uplink method, which comprises the following steps: S1, after student archives pass auditing, submitting an uplink request to an uplink task queue by taking a school as a unit, and returning a task identifier to a calling party after the uplink task queue synchronously creates and persists a task; s2, the block event monitoring service is initialized to run when an upper chain guarantee layer is started, and is used for being responsible for establishing long connection communication with a block chain center and receiving a block chain center background block creation result state in real time; s3, the uplink state monitoring service is initialized to run when the uplink guarantee layer is started, and is used for being responsible for monitoring the running state of the uplink task queue consumer and the uplink task detail state; s4, the uplink early warning service is initialized to run when the uplink guarantee layer is started, and is used for carrying out early warning notification on the uplink task in cooperation with the uplink state monitoring service; according to the method, the problems of network fluctuation, transaction concurrency and data storage during archive uplink are effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of blockchain, and in particular relates to a method for uploading a multi-tenant student comprehensive quality archive alliance blockchain. Background Art

[0002] The student comprehensive quality archive (hereinafter referred to as archive) covers the key basic education data of students from primary school, junior high school to high school, and is also one of the reference credentials for the admission of ordinary colleges and universities. Combining archives with alliance blockchain (hereinafter referred to as blockchain) and using its chain data structure, decentralized architecture, consensus mechanism and cryptographic technology to achieve the characteristics of data being difficult to tamper with and behavioral operations being traceable is a means to enhance the credibility and credibility of archives. The blockchain system opens the link interface, and the archive system calls the link interface to generate blocks, which is a data link method commonly used in various fields. However, since the blockchain and archive systems belong to different network environments and different technical system architectures, the connection between the two mainly faces the following core technical difficulties. First, in different network environments, the success rate of data linking depends on the stability of the network communication transmission of both parties. The success of the archive linking is still guaranteed when network fluctuations or temporary failures are allowed. Secondly, under different technical system architectures, there are huge differences in the data storage mechanism. The blockchain is mainly based on the distributed key-value storage strategy, while the archive is based on the traditional relational storage strategy. Without changing the data query method of the archive system in advance, the blockchain information association query is realized. Again, unlike other types of blockchains, consortium blockchains are deployed on specific networks and server nodes. The system's network bandwidth throughput and computing resources are relatively limited. In the case of large-scale online transaction requests and responses in the archive system, it is crucial to strategically shield high-concurrency traffic and ensure the stability of the blockchain center system. Summary of the invention

[0003] To solve the above problems, the present invention proposes a chain-up method for a multi-tenant student comprehensive quality archive alliance blockchain. The method adds a chain-up protection layer on the archive system side, and collaborates through chain-up task queues, block event monitoring, chain-up status monitoring and chain-up early warning to effectively solve network fluctuations, transaction concurrency and data storage problems when archives are chained.

[0004] To achieve the above object, the present invention adopts the following technical solutions:

[0005] A multi-tenant student comprehensive quality archive alliance blockchain on-chain method adds an on-chain security layer on the archive system side, and collaborates through on-chain task queues, block event monitoring, on-chain status monitoring, and on-chain early warning, including the following steps:

[0006] S1. After the student file is reviewed and approved, the school submits a request to the chain task queue. The chain task queue synchronously creates and persists the task and returns the task identifier to the caller.

[0007] S2. The block event monitoring service is initialized and runs when the chain security layer is started. It is responsible for establishing a long connection communication with the blockchain center and receiving the block creation result status of the blockchain center background in real time;

[0008] S3, the chain status monitoring service is initialized and runs when the chain security layer is started, which is responsible for monitoring the running status of the chain task queue consumers and the detailed status of the chain task;

[0009] S4. The on-chain warning service is initialized and runs when the on-chain security layer is started, and is used to cooperate with the on-chain status monitoring service to issue warning notifications for on-chain tasks.

[0010] Preferably, in step S1, the on-chain task queue consumer process pool obtains waiting on-chain tasks from the task queue in parallel, constructs the blockchain parameters of the student archives belonging to the school in batches, and then submits the data to the blockchain center on-chain interface in batches, and at the same time persists the key status fields submitted to this interface to the on-chain task details table.

[0011] Preferably, the key status fields include task identification, transaction identification on the blockchain, school identification, student identification, interface call status, interface call time and blockchain block status.

[0012] Preferably, in step S2, after the blockchain center executes the block creation action, it actively sends a creation result status notification to the block event listening service; the block event listening service receives and parses the block creation result status, synchronously updates the on-chain task details table according to the on-chain transaction identifier, and identifies whether the blockchain block status is ultimately successful.

[0013] Preferably, in step S3, the monitoring process combines the data of the on-chain task table and the task details table to determine whether the school student file on-chain has been successfully completed according to the status conditions; after identifying the existence of abnormal on-chain task data, the on-chain task and the task details table are submitted to the on-chain task queue consumer process pool, and the number of on-chain retries is marked for the abnormal data. If the number of retries exceeds the predetermined threshold, the on-chain abnormal retry will no longer be performed.

[0014] Preferably, the status conditions include the total number of students in the school, the link interface call status and the blockchain block status.

[0015] Preferably, in step S4, the school responds to the manual service in real time about the status of the school student files being uploaded to the chain for successful and abnormal tasks on a school-by-school basis, and summarizes the student information, the status of the upload interface, the blockchain block status and the cause of the abnormality for abnormal tasks.

[0016] Preferably, in step S4, the school takes the role of unit and responds to the manual service in real time by email or instant messaging on the status of the school student file upload for successful and abnormal tasks.

[0017] After adopting the above technical scheme, the present invention has the following beneficial effects: the present invention adds a blockchain chain security layer technical strategy on the archive system side, and cooperates through the chain task queue, block event monitoring, chain status monitoring and chain warning to effectively solve the difficulties of chain interface network fluctuation failure, large-scale online transaction concurrency of the block center, and storage differences between the two-side systems. Among them, through the three-capability collaboration mechanism of the chain task queue, block event monitoring and chain status monitoring, the chain interface network fluctuation failure is effectively dealt with; through the chain task queue consumer thread pool dynamic allocation and batch interface submission chain mode, the concurrent call of large-scale online transactions of the block center is strategically reduced to ensure the stability of the alliance blockchain center resources; by adding blockchain basic correlation data fields in the archive system business database, the query incompatibility difficulties caused by the storage differences between the two-side systems are effectively solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0020] like Figure 1 As shown in the figure, a method for uploading a multi-tenant student comprehensive quality archive alliance blockchain adds an uploading guarantee layer on the archive system side, and collaborates through uploading task queues, block event monitoring, uploading status monitoring, and uploading warning, including the following steps:

[0021] S1. After the student file is reviewed and approved, the school submits a request to the chain task queue. The chain task queue synchronously creates and persists the task and returns the task identifier to the caller.

[0022] In step S1, the on-chain task queue consumer process pool obtains the waiting on-chain tasks from the task queue in parallel, constructs the school-affiliated student archive blockchain parameters in batches, and then submits the data to the blockchain center on-chain interface in batches, and persists the key status fields submitted to this interface to the on-chain task details table;

[0023] The key status fields include task identification, transaction identification on the blockchain, school identification, student identification, interface call status, interface call time, and blockchain block status;

[0024] S2. The block event monitoring service is initialized and runs when the chain security layer is started. It is responsible for establishing a long connection communication with the blockchain center and receiving the block creation result status of the blockchain center background in real time;

[0025] In step S2, after the blockchain center executes the block creation action, it actively sends a creation result status notification to the block event monitoring service; the block event monitoring service receives and parses the block creation result status, synchronously updates the on-chain task details table according to the on-chain transaction identifier, and identifies whether the blockchain block status is finally successful;

[0026] S3, the chain status monitoring service is initialized and runs when the chain security layer is started, which is responsible for monitoring the running status of the chain task queue consumers and the detailed status of the chain task;

[0027] In step S3, the monitoring process combines the data of the on-chain task table and the task detail table to determine whether the school student file on-chain has been successfully completed according to the status conditions; after identifying the existence of abnormal on-chain task data, the on-chain task and task detail table are submitted to the on-chain task queue consumer process pool, and the number of on-chain retries is marked for the abnormal data. If the number of retries exceeds the predetermined threshold, the abnormal on-chain retry will no longer be performed;

[0028] The status conditions include the total number of students in the school, the link connection call status and the blockchain block status;

[0029] S4. The chain warning service is initialized and runs when the chain security layer is started, and is used to cooperate with the chain status monitoring service to issue warning notifications for chain tasks;

[0030] In step S4, the school responds to the manual service in real time about the status of the school student files being uploaded to the chain for successful and abnormal tasks, and summarizes the student information, the status of the upload interface, the blockchain block status and the abnormal reason for the abnormal task;

[0031] In step S4, the school takes the role of unit and responds to the manual service in real time via email or instant messaging about the status of the school student file upload to the chain for successful and abnormal tasks.

[0032] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for uploading a multi-tenant student comprehensive quality archive alliance blockchain, characterized in that: Add a chain protection layer on the archive system side, and collaborate through the chain task queue, block event monitoring, chain status monitoring and chain warning, including the following steps: S1. After the student file is reviewed and approved, the school submits a request to the chain task queue. The chain task queue synchronously creates and persists the task and returns the task identifier to the caller. S2. The block event monitoring service is initialized and runs when the chain security layer is started. It is responsible for establishing a long connection communication with the blockchain center and receiving the block creation result status of the blockchain center background in real time; S3, the chain status monitoring service is initialized and runs when the chain security layer is started, which is responsible for monitoring the running status of the chain task queue consumers and the detailed status of the chain task; S4. The on-chain warning service is initialized and runs when the on-chain security layer is started, and is used to cooperate with the on-chain status monitoring service to issue warning notifications for on-chain tasks.

2. A method for uploading a multi-tenant student comprehensive quality archive alliance blockchain as claimed in claim 1, characterized in that: In step S1, the on-chain task queue consumer process pool obtains the waiting on-chain tasks from the task queue in parallel, constructs the blockchain parameters of the student archives belonging to the school in batches, and then submits the data to the blockchain center on-chain interface in batches, and persists the key status fields submitted to this interface to the on-chain task details table.

3. A method for uploading a multi-tenant student comprehensive quality archive alliance blockchain as claimed in claim 2, characterized in that: The key status fields include task identification, transaction identification on the blockchain, school identification, student identification, interface call status, interface call time and blockchain block status.

4. A method for uploading a multi-tenant student comprehensive quality archive alliance blockchain as claimed in claim 1, characterized in that: In step S2, after the blockchain center executes the block creation action, it actively sends a creation result status notification to the block event monitoring service; The block event monitoring service receives and parses the block creation result status, synchronously updates the on-chain task details table according to the on-chain transaction identifier, and identifies whether the blockchain block status is ultimately successful.

5. A method for uploading a multi-tenant student comprehensive quality archive alliance blockchain as claimed in claim 1, characterized in that: In step S3, the monitoring process combines the data in the on-chain task table and the task details table to determine whether the school student archives have been successfully uploaded to the chain according to the status conditions; after identifying the existence of abnormal on-chain task data, the on-chain task and task details table are submitted to the on-chain task queue consumer process pool, and the number of on-chain retries is marked for the abnormal data. If the number of retries exceeds the predetermined threshold, the abnormal on-chain retry will no longer be performed.

6. A method for uploading a multi-tenant student comprehensive quality archive alliance blockchain as claimed in claim 5, characterized in that: The status conditions include the total number of students in the school, the link interface call status and the blockchain block status.

7. A method for uploading a multi-tenant student comprehensive quality archive alliance blockchain as claimed in claim 1, characterized in that: In step S4, the school responds to the manual service in real time about the status of the school student files being uploaded to the chain for successful and abnormal tasks on a school-by-school basis, and summarizes the student information, the status of the upload interface, the blockchain block status, and the cause of the abnormality for abnormal tasks.

8. A method for uploading a multi-tenant student comprehensive quality archive alliance blockchain as claimed in claim 7, characterized in that: In step S4, the school takes the role of unit and responds to the manual service in real time via email or instant messaging about the status of the school student file upload to the chain for successful and abnormal tasks.