Search

CN-122023043-A - Account data processing method and device, program product and electronic equipment

CN122023043ACN 122023043 ACN122023043 ACN 122023043ACN-122023043-A

Abstract

The invention discloses a processing method of account data, a device, a program product and electronic equipment thereof, and relates to the field of financial science and technology or other related fields, wherein the processing method comprises the following steps: in the case where the accounting agency node submits a data access request to the blockchain, determining whether the accounting agency node has access rights, in the case where the accounting agency node has access rights, based on the access conditions, detecting whether the access data is stored in the blockchain, and if the access data is stored in the blockchain, transmitting the access data and a key associated with the access data to the accounting agency node. The invention solves the technical problem that the account data cannot be safely processed in the related technology.

Inventors

  • LIU YUHUI

Assignees

  • 中国工商银行股份有限公司

Dates

Publication Date
20260512
Application Date
20260130

Claims (10)

  1. 1. The processing method of the financial data is characterized by being applied to a blockchain, wherein the blockchain at least comprises an enterprise client node, a financial institution node, an accounting institution node and an audit node, and comprises the following steps: Judging whether the accounting mechanism node has access rights or not under the condition that the accounting mechanism node submits a data access request to the blockchain, wherein the data access request at least comprises access conditions; detecting whether access data is stored in the blockchain or not based on the access condition under the condition that the accounting mechanism node has the access right; And under the condition that the access data is stored in the blockchain, sending the access data and a key associated with the access data to the accounting agency node, wherein the accounting agency node adopts the key to decrypt the access data and performs accounting processing on the decrypted access data.
  2. 2. The processing method according to claim 1, wherein before determining whether the accounting agency node has access authority in a case where the accounting agency node submits a data access request to the blockchain, further comprising: Verifying, by the financial institution node, an enterprise account of the enterprise client node if the enterprise client node determines, by an intelligent contract, to authorize, by the blockchain, accounting data generated by an enterprise client indicated by the enterprise client node; In the event that the enterprise account of the enterprise client node is verified as passing, determining that authorization of the enterprise client node to the blockchain passes.
  3. 3. The processing method according to claim 1, wherein before determining whether the accounting agency node has access authority in a case where the accounting agency node submits a data access request to the blockchain, further comprising: receiving a mechanism file uploaded by a accounting mechanism end; Performing digital processing on the mechanism file to obtain mechanism information, and performing hash processing on the mechanism information to generate a hash value; Generating uplink data based on the hash value and the mechanism identification of the accounting mechanism end, and uploading the uplink data to the blockchain; and verifying the uplink data, and constructing the accounting mechanism node of the accounting mechanism end on the blockchain under the condition that the uplink data is successfully verified.
  4. 4. The processing method according to claim 1, wherein the step of determining whether the accounting mechanism node has access rights includes: Determining the security level of the data to be accessed based on the access condition; Judging whether the accounting mechanism node has the authority of the enterprise client node or not under the condition that the security level is the first level, and determining that the accounting mechanism node has the access authority under the condition that the accounting mechanism node has the authority of the enterprise client node; Judging whether the accounting mechanism node has the authorization of the enterprise client node and the financial mechanism node or not under the condition that the security level is a second level, and determining that the accounting mechanism node has the access right under the condition that the accounting mechanism node has the authorization of the enterprise client node and the financial mechanism node; And if the security level is a third level, judging whether the accounting agency node has the authority of the enterprise client node, the financial institution node and the audit node, and if the accounting agency node has the authority of the enterprise client node, the financial institution node and the audit node, determining that the accounting agency node has the access authority.
  5. 5. The processing method of claim 1, wherein the data access request further comprises an access account, after detecting whether access data is stored in the blockchain based on the access condition, further comprising: verifying, by the financial institution node, the access account if the access data is not stored in the blockchain; under the condition that the access account is verified, inquiring accounting flow details through the financial institution node based on the access condition to obtain the access data; encrypting the access data by the financial institution node and uploading the encrypted access data to the blockchain.
  6. 6. The processing method according to claim 1, characterized in that the processing method further comprises: monitoring the operation of the enterprise client node, the financial institution node, the accounting institution node and the audit node on all data on the blockchain to generate an operation log; and uploading the operation log to the blockchain.
  7. 7. The processing method of claim 6, wherein the blockchain further comprises a supervisory node, after uploading the oplog to the blockchain, further comprising: Acquiring the operation log through the supervision node, and judging whether risk operation exists or not based on the operation log; and sending an alarm notification through the supervision node under the condition that the risk operation is judged.
  8. 8. The processing device of the financial data is applied to a blockchain, wherein the blockchain at least comprises an enterprise client node, a financial institution node, a proxy institution node and an audit node, and comprises the following components: the judging unit is used for judging whether the accounting mechanism node has access rights or not under the condition that the accounting mechanism node submits a data access request to the blockchain, wherein the data access request at least comprises access conditions; the detection unit is used for detecting whether the access data is stored in the blockchain or not based on the access condition under the condition that the accounting mechanism node has the access right; And the sending unit is used for sending the access data and the secret key associated with the access data to the accounting agency node under the condition that the access data is stored in the blockchain, wherein the accounting agency node decrypts the access data by adopting the secret key and performs accounting processing on the decrypted access data.
  9. 9. A computer program product comprising a non-volatile computer readable storage medium storing a computer program which when executed by a processor implements the method of processing accounting data as claimed in any one of claims 1 to 7.
  10. 10. An electronic device comprising one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of processing accounting data of any of claims 1-7.

Description

Account data processing method and device, program product and electronic equipment Technical Field The invention relates to the field of financial science and technology, in particular to a method and a device for processing accounting data, a program product and electronic equipment. Background With economic transformation, the financial compliance requirements of small enterprises are continuously upgraded, and auditors are required to audit the financial compliance of enterprise clients regularly, so that the accounting industry appears. These accounting institutions are dedicated to providing accounting, tax declaration and financial statement generation services for small enterprises. In the related technology, accounting data processing is mainly performed in the following modes that (1) an email transmission mode is performed, an enterprise manually exports bank flowing water through channels such as an enterprise bank, then an email is sent to an accounting company, an accounting person checks the enterprise bank flowing water and manually inputs a system, original data is sent again in audit, if the accounting company needs to repeatedly send authorization, cloud storage sharing is performed, the enterprise exports the bank flowing water and then uploads the bank flowing water to a network disk, a sharing link is set, an accounting/auditing party downloads clear text data, and (3) a basic blockchain document is used for uploading a hash value of a flowing water document to a document, but the original data is still stored in a centralized server in a clear text mode. However, for the mail transmission mode, the enterprise needs to manually export the bank flow repeatedly, and the sensitive data is transmitted to the multiparty account exchange company, the auditor and the like in a mail, USB flash disk and other modes, so that the efficiency is low, and risks of repeated authorization, data run nakedly, operation black boxes, hidden dangers of tampering and the like are further faced. For cloud storage sharing, the authority control granularity is coarse, the out-of-range access is frequent, and the 'only classification result is checked' cannot be limited. For the basic blockchain certification, the data processing process cannot be verified, and an auditor must acquire the original data to review, so as to violate the 'minimum necessary principle'. For the above problems, no effective solution has been proposed at present. Disclosure of Invention The embodiment of the invention provides a processing method and device of account data, a program product and electronic equipment, which at least solve the technical problem that the account data cannot be safely processed in the related technology. According to one aspect of the embodiment of the invention, the processing method of the accounting data is applied to a blockchain, the blockchain at least comprises an enterprise client node, a financial institution node, an accounting institution node and an audit node, and the processing method comprises the steps of judging whether the accounting institution node has access rights or not when the accounting institution node submits a data access request to the blockchain, wherein the data access request at least comprises access conditions, the access rights are authorized by the enterprise client node, the financial institution node and/or the audit node, detecting whether the access data is stored in the blockchain or not based on the access conditions when the accounting institution node has the access rights, and sending the access data and a key associated with the access data to the accounting institution node when the access data is stored in the blockchain, wherein the accounting institution node decrypts the access data by adopting the key and performs accounting processing on the decrypted access data. Further, before judging whether the accounting mechanism node has the access right or not under the condition that the accounting mechanism node submits the data access request to the blockchain, the method further comprises the steps of verifying an enterprise account of the enterprise client node through the financial mechanism node under the condition that the enterprise client node determines that the accounting data generated by an enterprise client indicated by the enterprise client node is authorized to the blockchain through the intelligent contract, and determining that the authorization of the enterprise client node to the blockchain is passed under the condition that the enterprise account of the enterprise client node is verified to be passed. Further, before the accounting mechanism node submits the data access request to the blockchain, judging whether the accounting mechanism node has the access right or not, the method further comprises the steps of receiving an mechanism file uploaded by an accounting mechanism end, carrying out digital processing on the mechanism file to obta