A block data verification backtracking method and system

By issuing temporary certificates in the blockchain and verifying them on the server, the problems of high resource consumption and low backtracking efficiency in blockchain data verification are solved, achieving efficient data backtracking and security assurance.

CN118733531BActive Publication Date: 2025-11-28福建天晴在线互动科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410744357.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2025-11-28
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

The blockchain data verification process consumes a lot of computing resources and energy, and the data backtracking efficiency is low, especially when the network scales up and the transaction volume increases.

Method used

A temporary certificate is issued in the block and sent to the server for verification. If it passes, the operation is added as a sub-member of the formal certificate. Otherwise, the formal certificate is parsed and issued, and data backtracking is performed through the sub-member of the formal certificate.

Benefits of technology

This reduces the resource consumption for block data verification, improves data backtracking efficiency, and ensures data security and integrity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733531B_ABST
    Figure CN118733531B_ABST
Patent Text Reader

Abstract

The application discloses a kind of verification backtracking method and system of block data, obtain the upload data and operating behavior of joining block user in block, issue temporary certificate according to upload data, and send temporary certificate and operating behavior to server together.The server receives temporary certificate and verifies block, after verification, it is judged whether temporary certificate is official certificate in certificate issuing server, if yes, the operating behavior of user is added to the sub-member of official certificate, otherwise, temporary certificate is parsed, and official certificate is issued according to the parsing result, after which data backtracking can be carried out through the sub-member of official certificate.In this way, in the process of verification, verification server and block can be verified, and in the process of backtracking, only the official certificate of the data to be traced can be obtained to realize data backtracking, which can reduce the resource consumption of block data verification and improve the backtracking efficiency of block data.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of block data backtracking, and in particular to a block data verification backtracking method and system. BACKGROUND

[0002] Current blockchain data transmission and data copying need to go through the circulation of multiple servers or the operation of multiple users.

[0003] However, the verification process of the blockchain consumes a large amount of computing resources and energy, and with the expansion of the blockchain network size and the increase in the transaction volume, the resource consumption will further increase. At the same time, with the expansion of the blockchain network size and the increase in the transaction volume, the data on the blockchain will continue to grow, and when performing data backtracking, the entire blockchain history needs to be traversed to find relevant information, which will result in reduced backtracking efficiency when processing a large amount of data. SUMMARY

[0004] The technical problem to be solved by the present application is to provide a block data verification backtracking method and system that can reduce resource consumption for block data verification and improve the backtracking efficiency of block data.

[0005] To solve the above technical problems, the technical solution adopted by the present application is:

[0006] A block data verification backtracking method, comprising the steps of:

[0007] Obtaining the upload data and operation behavior of a user joining a block in the block, issuing a temporary certificate according to the upload data, and sending the temporary certificate and the operation behavior to a server;

[0008] Verifying the block uploading the temporary certificate in the server, and when the verification is passed, determining whether the temporary certificate is a formal certificate in a certificate issuing server, if yes, adding the operation behavior of the user as a sub-member of the formal certificate, otherwise, parsing the temporary certificate and issuing a formal certificate according to the parsing result;

[0009] Backtracking the block data according to the sub-members of the formal certificate.

[0010] To solve the above technical problems, another technical solution adopted by the present application is:

[0011] A block data verification backtracking system, comprising:

[0012] A block for obtaining the upload data and operation behavior of a user joining the block, issuing a temporary certificate according to the upload data, and sending the temporary certificate and the operation behavior to a server;

[0013] a server, configured to verify the block that uploads the temporary certificate, and if the verification is passed, determine whether the temporary certificate is a formal certificate in a certificate issuing server, if yes, add the operation behavior of the user as a sub-member of the formal certificate, otherwise, parse the temporary certificate and issue a formal certificate according to the parsing result; and backtrack the block data according to the sub-member of the formal certificate.

[0014] The application has the advantages that the uploading data and operation behavior of the user who joins the block are obtained in the block, a temporary certificate is issued according to the uploading data, and the temporary certificate and the operation behavior are sent to the server. After the server receives the temporary certificate, the block is verified, and if the verification is passed, it is determined whether the temporary certificate is a formal certificate in a certificate issuing server, if yes, the operation behavior of the user is added to the sub-member of the formal certificate, otherwise, the temporary certificate is parsed and a formal certificate is issued according to the parsing result, and then the data is backtracked through the sub-member of the formal certificate. In this way, the server and the block are verified in the verification process, and only the formal certificate of the data to be traced is needed in the backtracking process, so that the data backtracking is realized, the resource consumption of the block data verification is reduced, and the backtracking efficiency of the block data is improved. BRIEF DESCRIPTION OF DRAWINGS

[0015] Figure 1 a flowchart of a block data verification and backtracking method according to an embodiment of the application;

[0016] Figure 2 a schematic diagram of a block data verification and backtracking system according to an embodiment of the application. DETAILED DESCRIPTION

[0017] To make the technical content, purposes and effects of the application clear, the following describes the application in conjunction with the embodiments and the drawings.

[0018] Please refer to Figure 1 The embodiment of the application provides a block data verification and backtracking method, which comprises the following steps.

[0019] Obtain the uploading data and operation behavior of the user who joins the block in the block, issue a temporary certificate according to the uploading data, and send the temporary certificate and the operation behavior to a server;

[0020] Verify the block that uploads the temporary certificate in the server, and if the verification is passed, determine whether the temporary certificate is a formal certificate in a certificate issuing server, if yes, add the operation behavior of the user as a sub-member of the formal certificate, otherwise, parse the temporary certificate and issue a formal certificate according to the parsing result;

[0021] Trace back the block data according to the sub-member of the formal certificate.

[0022] From the above description, the beneficial effects of the present application are that the uploaded data and operation behavior of the user joining the block are obtained in the block, the temporary certificate is issued according to the uploaded data, and the temporary certificate and the operation behavior are sent to the server together. After the server receives the temporary certificate, the block is verified, and after the verification is passed, it is judged whether the temporary certificate is the formal certificate in the certificate issuing server, if yes, the operation behavior of the user is appended to the sub-member of the formal certificate, otherwise, the temporary certificate is parsed, and the formal certificate is issued according to the parsing result, and then the data can be traced back through the sub-member of the formal certificate. In this way, the server and the block can be verified in the verification process, and only the formal certificate of the data to be traced can be obtained in the tracing process to realize data tracing, which can reduce the resource consumption of block data verification and improve the tracing efficiency of block data.

[0023] Further, the temporary certificate is issued according to the uploaded data, comprising:

[0024] The data type of the uploaded data is taken as the header data of the temporary certificate, and the user information of the user corresponding to the uploaded data is added in the certificate data of the temporary certificate.

[0025] The user information includes user IP, time, hardware information and location.

[0026] From the above description, according to the type of the uploaded data and the user information, the temporary certificate can be quickly issued for the user in the block. This way can give a preliminary, temporary identity or right immediately after the data is generated, so as to facilitate subsequent verification.

[0027] Further, the block uploading the temporary certificate is verified in the server, comprising:

[0028] It is judged whether the relationship between the block uploading the temporary certificate and the user in the block exists in the trusted area, if yes, the verification is passed, otherwise, the verification is not passed.

[0029] From the above description, when the relationship between the block and the user is not trusted, the block user is not allowed to process the data, thereby ensuring the security of the data.

[0030] Further, the temporary certificate is parsed, and the formal certificate is issued according to the parsing result, comprising:

[0031] The data type of the uploaded data and the user information are parsed from the temporary certificate.

[0032] acquire a trusted zone path of a trusted zone of the block, the trusted zone path including associated block and user information;

[0033] establish a formal certificate in combination with the data type, user information and trusted zone path.

[0034] As can be seen from the above description, the formal certificate is established in combination with the content of the temporary certificate and the trusted zone path, and in this way, the addition of block data can be realized.

[0035] Further, the block data is traced back according to the sub-members of the formal certificate, including:

[0036] The operation behavior of each user on the block data is acquired by acquiring the sub-members of the formal certificate.

[0037] As can be seen from the above description, the original block data can be acquired through the formal certificate, and the data access and modification data can be acquired through the data in the sub-members of the formal certificate, so that the rapid tracing back of the block data can be realized.

[0038] Please refer to Figure 2 Another embodiment of the present application provides a block data verification and tracing back system, including:

[0039] a block, configured to acquire uploaded data and operation behavior of a user who joins the block, issue a temporary certificate according to the uploaded data, and send the temporary certificate and the operation behavior to a server;

[0040] a server, configured to verify the block which uploads the temporary certificate, judge whether the temporary certificate is a formal certificate in a certificate issuing server after the verification is passed, if yes, add the operation behavior of the user as a sub-member of the formal certificate, otherwise, parse the temporary certificate and issue a formal certificate according to the parsing result, and trace back the block data according to the sub-members of the formal certificate.

[0041] As can be seen from the above description, the present application has the following beneficial effects: the uploaded data and operation behavior of a user who joins the block are acquired in the block, a temporary certificate is issued according to the uploaded data, and the temporary certificate and the operation behavior are sent to a server together. After the server receives the temporary certificate, the block is verified, after the verification is passed, it is judged whether the temporary certificate is a formal certificate in a certificate issuing server, if yes, the operation behavior of the user is added to the sub-members of the formal certificate, otherwise, the temporary certificate is parsed, and a formal certificate is issued according to the parsing result, and then the data is traced back through the sub-members of the formal certificate. In this way, the verification server and the block can be verified in the process of verification, and only the formal certificate of the data to be traced back is needed to realize the data tracing back in the process of tracing back, which can reduce the resource consumption of block data verification and improve the tracing back efficiency of block data.

[0042] Further, issuing a temporary certificate according to the uploaded data, including:

[0043] Taking the data type of the uploaded data as the header data of the temporary certificate, and adding the user information of the user corresponding to the uploaded data in the certificate data of the temporary certificate;

[0044] The user information includes user IP, time, hardware information and location.

[0045] As can be seen from the above description, according to the type of the uploaded data and the user information, a temporary certificate can be quickly issued for the user in the block. This way can give a preliminary, temporary identity or right immediately after the data is generated, so as to facilitate subsequent verification.

[0046] Further, verifying the block uploading the temporary certificate in the server, including:

[0047] Judging whether the relationship between the block uploading the temporary certificate and the user in the block exists in the trusted area, if yes, the verification is passed, otherwise, the verification is not passed.

[0048] As can be seen from the above description, when the relationship between the block and the user is not trusted, the block user is not allowed to process the data, thereby ensuring the security of the data.

[0049] Further, parsing the temporary certificate and issuing a formal certificate according to the parsing result, including:

[0050] Parsing the data type of the uploaded data and the user information from the temporary certificate;

[0051] Obtaining the trust area path of the trusted area of the block, the trust area path containing the associated block and user information;

[0052] Establishing a formal certificate in combination with the data type, user information and trust area path.

[0053] As can be seen from the above description, a formal certificate is established in combination with the content of the temporary certificate and the trust area path. In this way, the addition of block data can be realized.

[0054] Further, according to the sub-members of the formal certificate, the block data is traced back, including:

[0055] Obtaining the operation behavior of each user on the block data by obtaining the sub-members of the formal certificate.

[0056] As can be known from the above description, the block original data can be acquired through the formal certificate, and the data access and modification data can be acquired through the data in the sub-member of the formal certificate, so that the fast backtracking of the block data can be realized.

[0057] The block data verification backtracking method and system can reduce the resource consumption of block data verification and improve the backtracking efficiency of block data.

[0058] Embodiment one

[0059] Please refer to Figure 1 A block data verification backtracking method comprises the following steps:

[0060] S1, obtaining the uploaded data and operation behavior of a user who joins a block in the block, issuing a temporary certificate according to the uploaded data, and sending the temporary certificate and the operation behavior to a server.

[0061] Specifically, after a user joins a block, the user uploads data to the block and operates the data. In this embodiment, the data can include image data, file data, text data, etc., and the operation can include adding, accessing, deleting, modifying, etc.

[0062] Further, the block takes the data type of the uploaded data as the header data of the temporary certificate, and adds the user information of the user corresponding to the uploaded data in the certificate data of the temporary certificate.

[0063] Specifically, the block acquires the data type of the uploaded data, takes the data type as the header data of the temporary certificate, and takes the user information as the certificate data. The user information includes the user IP, the current time, the current hardware information, and the current location.

[0064] S2, verifying the block that uploads the temporary certificate in the server, when the verification is passed, judging whether the temporary certificate is a formal certificate in the certificate issuing server, if yes, adding the operation behavior of the user as a sub-member of the formal certificate, otherwise, parsing the temporary certificate, and issuing a formal certificate according to the parsing result.

[0065] Specifically, the server receives the block data, and first verifies the block. In this embodiment, a trusted area is set for the block. The trusted area includes a trusted area path and a trusted member. The trusted area path includes a path identifier (i.e. block information) and a path member (i.e. user information), and the trusted member has its corresponding certificate. Therefore, it is judged whether the relationship between the block and the user exists in the trusted area, if yes, the verification is passed, otherwise, the verification is not passed.

[0066] Further, when the verification is passed, it is judged whether the temporary certificate is a formal certificate in the certificate issuing server. In the embodiment, the certificate issuing server stores a plurality of formal certificates, and the server currently in use can only operate the data corresponding to the formal certificates after being authorized by the certificate issuing server. In this way, it is convenient to verify the source and integrity of the data in a safe and reliable manner.

[0067] When the temporary certificate belongs to the formal certificate, the operation behavior of the user is added as a sub-member of the formal certificate. Specifically, an access tag can be added to the formal certificate, and the operation behavior of the user is recorded in the access tag, which can provide a reference and a time change period when the data changes, so as to prove the legitimacy of the data.

[0068] When the temporary certificate does not belong to the formal certificate, the certificate information is generated and the certificate path is recorded according to the data submitted by the block, that is, the data type and user information of the uploaded data are parsed from the temporary certificate, the trust zone path of the trusted zone of the block is obtained, wherein the trust zone path contains the associated block and user information, and then the formal certificate is established in combination with the data type, user information and trust zone path.

[0069] Therefore, only the servers and blocks that have passed the verification and authorization can participate in the modification and management of the data, thereby preventing unauthorized access and tampering.

[0070] S3, backtracking the block data according to the sub-members of the formal certificate.

[0071] Specifically, the operation behavior of each user on the block data is obtained by obtaining the sub-members of the formal certificate. In the embodiment, the issuance of the certificate can provide a reference for the original data of the block, and the data (time, hardware information, location) in the sub-member can provide a reference for the data access and modification.

[0072] Embodiment two

[0073] Please refer to Figure 2 A block data verification and backtracking system includes blocks and servers, the blocks implement each step in a block data verification and backtracking method with the blocks as the main body, and the servers implement each step in a block data verification and backtracking method with the servers as the main body.

[0074] In summary, the block data verification and backtracking method and system provided by the application obtains the uploaded data and operation behavior of the user who joins the block in the block, issues a temporary certificate according to the uploaded data, and sends the temporary certificate and the operation behavior to the server. The server verifies the block after receiving the temporary certificate, and if the verification is passed, it is judged whether the temporary certificate is a formal certificate in the certificate issuing server. If yes, the operation behavior of the user is appended to the sub-member of the formal certificate, otherwise, the temporary certificate is parsed, and a formal certificate is issued according to the parsing result, and then the data backtracking can be realized through the sub-member of the formal certificate. In this way, the server and the block can be verified in the verification process, and only the formal certificate of the data to be traced is needed in the backtracking process to realize data backtracking, which can reduce the resource consumption of block data verification and improve the backtracking efficiency of block data.

[0075] The above is only an embodiment of the application, and does not limit the patent scope of the application. Any equivalent transformation or direct or indirect application in the related technical field based on the content of the specification and drawings is also included in the patent protection scope of the application.

Claims

1. A method for verifying and backtracking block data, characterized in that, Including the following steps: The system retrieves the uploaded data and operational behavior of users who have joined the block, issues a temporary certificate based on the uploaded data, and sends the temporary certificate and the operational behavior to the server. The server verifies the block of the uploaded temporary certificate. If the verification is successful, it determines whether the temporary certificate is a formal certificate in the certificate issuing server. If it is, the user's operation is added as a child member of the formal certificate. Otherwise, the temporary certificate is parsed and a formal certificate is issued based on the parsing result. Backtracking of block data based on the sub-members of the formal certificate; A temporary certificate is issued based on the uploaded data, including: The data type of the uploaded data is used as the header data of the temporary certificate, and the user information of the user corresponding to the uploaded data is added to the certificate data of the temporary certificate. The user information includes the user's IP address, time, hardware information, and location; Verify the block containing the uploaded temporary certificate on the server, including: Determine whether the relationship between the block in which the temporary certificate is uploaded and the user in the block exists in the trusted zone. If yes, the verification passes; otherwise, the verification fails. The temporary certificate is parsed, and a formal certificate is issued based on the parsing result, including: The data type and user information of the uploaded data are parsed from the temporary certificate; Obtain the trusted zone path of the trusted zone of the block, wherein the trusted zone path contains the associated block and user information; A formal certificate is established by combining the data type, user information, and trusted zone path.

2. The method for verifying and tracing back block data according to claim 1, characterized in that, Backtracking of block data based on the sub-members of the formal certificate includes: By obtaining the sub-members of the official certificate, we can obtain the operational behavior of each user on the block data.

3. A verification and backtracking system for block data, characterized in that, include: The block is used to obtain the uploaded data and operation behavior of users who join the block, issue temporary certificates based on the uploaded data, and send the temporary certificates and the operation behavior to the server; The server is used to verify the blocks of the uploaded temporary certificate. When the verification is successful, it determines whether the temporary certificate is a formal certificate in the certificate issuing server. If it is, the user's operation is added as a child member of the formal certificate. Otherwise, the temporary certificate is parsed and a formal certificate is issued based on the parsing result. Backtracking of block data based on the sub-members of the formal certificate; A temporary certificate is issued based on the uploaded data, including: The data type of the uploaded data is used as the header data of the temporary certificate, and the user information of the user corresponding to the uploaded data is added to the certificate data of the temporary certificate. The user information includes the user's IP address, time, hardware information, and location; Verify the block containing the uploaded temporary certificate on the server, including: Determine whether the relationship between the block in which the temporary certificate is uploaded and the user in the block exists in the trusted zone. If yes, the verification passes; otherwise, the verification fails. The temporary certificate is parsed, and a formal certificate is issued based on the parsing result, including: The data type and user information of the uploaded data are parsed from the temporary certificate; Obtain the trusted zone path of the trusted zone of the block, wherein the trusted zone path contains the associated block and user information; A formal certificate is established by combining the data type, user information, and trusted zone path.

4. The block data verification and backtracking system according to claim 3, characterized in that, Backtracking of block data based on the sub-members of the formal certificate includes: By obtaining the sub-members of the official certificate, we can obtain the operational behavior of each user on the block data.

Citation Information

Patent Citations

  • Digital content copyright protection method and device based on block chain platform

    CN112364305A

  • Identity trusted service system and method, electronic equipment and computer readable medium

    CN112560005A