Audit result data storage method and device, audit result data query method and device, and audit item storage method and device
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsDongyan Wang, Maocai Li, Bo Li, Haitao Tu
Life of this patent
Estimating the term…
Abstract
This application discloses an audit result data storage method and device, an audit result data query method and device, an audit item storage method and device, an electronic device and a medium. The method includes obtaining a first hash value of audit result data of a first user; signing the first hash value according to a private key of the first user to obtain first signature data; and transmitting the first signature data to an audit result data storage subsystem, the audit result data storage subsystem being configured to store data in the form of a blockchain.
Claims18
A method comprising:
- receiving, by a node device, second signature data transmitted by a second electronic device, the second signature data indicating a first hash value signed by a first user as an audited party and a second user as an auditing party, the first hash value indicating audit result data of the first user;
- verifying, by the node device, the second signature data;
- broadcasting, by the node device, the second signature data in an audit result data storage subsystem when the second signature data is successfully verified by the node device;
- and
- storing, by the node device, the second signature data in the audit result data storage subsystem in a form of a blockchain when the second signature data is successfully verified by the audit result data storage subsystem by consensus, wherein the step of storing comprises:
- obtaining stored data of the audited party in the blockchain according to the first hash value corresponding to the audited party included in the second signature data;
- and
- generating a new block based on the second signature data and the stored data of the audited party.
A node device comprising a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to perform:
- receiving second signature data transmitted by a second electronic device, the second signature data indicating a first hash value signed by a first user as an audited party and a second user as an auditing party, the first hash value indicating audit result data of the first user;
- verifying the second signature data;
- broadcasting the second signature data in an audit result data storage subsystem when the second signature data is successfully verified by the node device;
- and
- storing the second signature data in the audit result data storage subsystem in a form of a blockchain when the second signature data is successfully verified by the audit result data storage subsystem by consensus, wherein the step of storing comprises:
- obtaining stored data of the audited party in the blockchain according to the first hash value corresponding to the audited party included in the second signature data;
- and
- generating a new block based on the second signature data and the stored data of the audited party.
Non-transitory computer-readable storage media, storing computer programs, the computer programs, when executed by one or more processors of a node device, causing the one or more processors to perform:
- receiving second signature data transmitted by a second electronic device, the second signature data indicating a first hash value signed by a first user as an audited party and a second user as an auditing party, the first hash value indicating audit result data of the first user;
- verifying the second signature data;
- broadcasting the second signature data in an audit result data storage subsystem when the second signature data is successfully verified by the node device;
- and
- storing the second signature data in the audit result data storage subsystem in a form of a blockchain when the second signature data is successfully verified by the audit result data storage subsystem by consensus, wherein the step of storing comprises:
- obtaining stored data of the audited party in the blockchain according to the first hash value corresponding to the audited party included in the second signature data;
- and
- generating a new block based on the second signature data and the stored data of the audited party.
Dependencies are inferred from the claim text.