CN111897879B - Transaction record sharing method and device based on blockchain network and electronic equipment - Google Patents

Transaction record sharing method and device based on blockchain network and electronic equipment Download PDF

Info

Publication number
CN111897879B
CN111897879B CN202010899612.4A CN202010899612A CN111897879B CN 111897879 B CN111897879 B CN 111897879B CN 202010899612 A CN202010899612 A CN 202010899612A CN 111897879 B CN111897879 B CN 111897879B
Authority
CN
China
Prior art keywords
account
transaction
user
authorized
blockchain network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010899612.4A
Other languages
Chinese (zh)
Other versions
CN111897879A (en
Inventor
徐惠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202010899612.4A priority Critical patent/CN111897879B/en
Publication of CN111897879A publication Critical patent/CN111897879A/en
Application granted granted Critical
Publication of CN111897879B publication Critical patent/CN111897879B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

One or more embodiments of the present application provide a transaction record sharing method, device and electronic equipment based on a blockchain network. The method is applied to node equipment in the blockchain network, and specifically can comprise the steps of responding to a transaction record synchronization request initiated by a user, and synchronizing a transaction record completed by the user in a third party transaction account into an authorized account created for the user in the blockchain network; wherein the transaction account and the authorization account are associated accounts. Constructing a certification transaction corresponding to the authorized account; wherein the forensic transaction includes the transaction record. And sending the certification transaction to other node equipment in the blockchain network to perform consensus processing on the transaction record, and storing the transaction record into a distributed account book of the blockchain network after the consensus is passed.

Description

Transaction record sharing method and device based on blockchain network and electronic equipment
Technical Field
The present disclosure relates to the field of blockchain networks, and in particular, to a blockchain network-based transaction record sharing method, device and electronic equipment.
Background
Blockchain networking technology, also known as distributed ledger technology, is an emerging technology that is commonly engaged in "accounting" by several computing devices, together maintaining a complete distributed database. The blockchain network technology has the characteristics of decentralization, disclosure transparency, capability of participating in database recording for each computing device and capability of rapidly performing data synchronization between the computing devices, so that the blockchain network technology is widely applied in a plurality of fields.
Disclosure of Invention
The application provides a transaction record sharing method based on a blockchain network, which is applied to node equipment in the blockchain network; the method comprises the following steps:
responding to a transaction record synchronization request initiated by a user, and synchronizing a transaction record completed by the user in a third party transaction account into an authorized account created for the user in the blockchain network; wherein the transaction account and the authorization account are associated accounts;
constructing a certification transaction corresponding to the authorized account; wherein the forensic transaction includes the transaction record;
and sending the certification transaction to other node equipment in the blockchain network to perform consensus processing on the transaction record, and storing the transaction record into a distributed account book of the blockchain network after the consensus is passed.
In an embodiment shown, the method further comprises:
and responding to an association request initiated by a user, and associating the transaction account corresponding to the user with an authorized account created for the user in the blockchain network.
In one illustrated embodiment, associating the transaction account corresponding to the user with an authorized account created for the user in the blockchain network includes:
granting the authority for operating the authorized account to the transaction account to form an association relationship between the authorized account and the transaction account;
storing the association relationship into the authorized account to complete the association;
the step of synchronizing the transaction records completed by the user in the third party transaction account to the authorized account created for the user in the blockchain network in response to the transaction record synchronization request initiated by the user comprises the following steps:
and receiving a transaction record which is written by a user through a third-party transaction account and is completed in the third-party transaction account by the user through the third-party transaction account, and sending the transaction record to the authorization account in response to a data writing request which is initiated by the user through the third-party transaction account and is aimed at the authorization account which is created for the user in the blockchain network.
In one embodiment shown, before granting the authority to operate the authorized account to the transaction account, the method further includes:
initiating an entity identity authentication request aiming at the user;
collecting the identity authentication information of the user;
performing entity identity authentication based on the entity identity authentication information;
and if the identity authentication for the user passes, granting the authority to operate the authorized account to the transaction account.
In one illustrated embodiment, associating the transaction account corresponding to the user with an authorized account created for the user in the blockchain network includes:
granting the authority for operating the transaction account to the authorized account to form an association relationship between the authorized account and the transaction account;
storing the association relationship into the authorized account to complete the association;
the step of synchronizing the transaction records completed by the user in the third party transaction account to the authorized account created for the user in the blockchain network in response to the transaction record synchronization request initiated by the user comprises the following steps:
and responding to a data reading request of a transaction record completed in a third party transaction account corresponding to the user, which is initiated by the user through an authorization account created for the user in the blockchain network, and reading the transaction record from the transaction account.
In an embodiment shown, the method further comprises:
analyzing the transaction records synchronized to the authorized account to obtain an analysis result;
and carrying out multidimensional statistics on the transaction records based on the analysis result.
In one embodiment shown, the blockchain network includes a number of authorized accounts created for users; the plurality of authorized accounts together maintain a distributed ledger of the blockchain.
In one illustrated embodiment, the authorization account is associated with transaction accounts registered by the user at a plurality of third party platforms
In an embodiment shown, the method further comprises:
randomly selecting an authorized account and sending an authorized request to the selected authorized account;
and responding to the response of the authorization account to receive the authorization, and granting auditing rights to the authorization account so that the authorization account audits other authorization accounts.
The application also provides a transaction record sharing device based on the blockchain network, which is applied to node equipment in the blockchain network; the device comprises:
the synchronization module is used for responding to a transaction record synchronization request initiated by a user and synchronizing the transaction record completed by the user in a third party transaction account into an authorized account created for the user in the blockchain network; wherein the transaction account and the authorization account are associated accounts;
The construction module is used for constructing the certification transaction corresponding to the authorized account; wherein the forensic transaction includes the transaction record;
and the sending module is used for sending the certification transaction to other node equipment in the blockchain network so as to carry out consensus processing on the transaction record, and storing the transaction record into a distributed account book of the blockchain network after the consensus is passed.
In one embodiment shown, the apparatus further comprises:
and the association module is used for responding to an association request initiated by a user and associating the transaction account corresponding to the user with an authorized account created for the user in the blockchain network.
In one embodiment, the association module includes:
the first authorization module grants the authority for operating the authorization account to the transaction account so as to form an association relation between the authorization account and the transaction account;
the second storage module is used for storing the association relation into the authorized account so as to complete the association;
the synchronization module includes:
and the receiving module is used for receiving a transaction record which is written by the user through the third-party transaction account and is completed in the third-party transaction account by the user according to a data writing request which is initiated by the user through the third-party transaction account and is aimed at an authorized account which is created for the user in the blockchain network, and sending the transaction record to the authorized account.
In an embodiment shown, the association module further includes:
an authentication module for initiating an identity authentication request for the user;
collecting the identity authentication information of the user;
performing entity identity authentication based on the entity identity authentication information;
and if the identity authentication for the user passes, granting the authority to operate the authorized account to the transaction account.
In one embodiment, the association module includes:
the second authorization module grants the authority for operating the transaction account to the authorization account so as to form an association relation between the authorization account and the transaction account;
the second storage module is used for storing the association relation into the authorized account so as to complete the association;
the synchronization module includes:
and the reading module is used for responding to a data reading request of a transaction record which is initiated by a user through an authorized account created for the user in the blockchain network and is completed in a third party transaction account corresponding to the user, and reading the transaction record from the transaction account.
In one embodiment shown, the apparatus further comprises:
The analysis module analyzes the transaction records synchronized with the authorized account to obtain an analysis result;
and the statistics module is used for carrying out multidimensional statistics on the transaction records based on the analysis result.
In one embodiment shown, the blockchain network includes a number of authorized accounts created for users; the plurality of authorized accounts together maintain a distributed ledger of the blockchain.
In one embodiment shown, the apparatus further comprises:
the authorization account is associated with transaction accounts registered by the user at a plurality of third party platforms.
In one embodiment shown, the apparatus further comprises:
the selection module randomly selects an authorized account and sends an authorized request to the selected authorized account;
and responding to the response of the authorization account to receive the authorization, and granting auditing rights to the authorization account so that the authorization account audits other authorization accounts.
According to the technical scheme, on one hand, when a user needs to carry out accounting in the distributed account book, only a transaction synchronization request needs to be initiated, and the node equipment corresponding to the user can respond to the transaction record synchronization request initiated by the user and synchronize the transaction record completed by the user in a third party transaction account to an authorized account created for the user in the blockchain network so as to complete automatic accounting, therefore, the accounting of a false account by an administrator can be avoided through the scheme recorded in the application, and the authenticity of the maintained account book is ensured;
On the other hand, due to the characteristic of distributed accounting of the blockchain network, the user nodes in the blockchain network cannot tamper the content recorded in the distributed account book by other user nodes, so that the user can be prevented from modifying the content in the distributed account book without permission, and the maintained account book is ensured to be credible.
In a further aspect, a user may initiate a data writing request for an authorized account created for the user in the blockchain network in real time through a transaction account, so that the scheme described in the application may document an account of an already occurring transaction in real time without the user opening other accounting tools, thereby avoiding the user from missing the account
Drawings
FIG. 1 is a method flow diagram of a transaction record sharing method based on a blockchain network as shown in the present application;
FIG. 2 is a schematic diagram of a billing platform based on blockchain network setup as shown in the present application;
FIG. 3 is a block chain network-based transaction record sharing device according to the present application;
fig. 4 is a hardware configuration diagram of a transaction record sharing device based on a blockchain network shown in the present application.
Detailed Description
With the increasing popularity of the internet, more and more users choose to have multiple billing on the network. Especially in the scenario where multiple people together maintain the same ledger, billing through the network platform is necessary for the user.
For example, in a public welfare funds management scenario, many users participating in funds management may participate in network billing. Where when any user makes a transaction, the user typically records the transaction in a web ledger (e.g., with a hand, circle, etc.).
However, at least the following disadvantages exist in the current way of network billing:
on the one hand, when the user performs billing on the network platform, the user inputs spending information in the network platform, so that the user may log a false account, and the authenticity of the maintained account book cannot be ensured;
on the other hand, when the user performs accounting on the network platform, the records existing by other administrators may be modified without permission, so that the credibility of the maintained account book cannot be ensured;
on the other hand, the user usually opens other billing tools to bill after the actual transaction occurs, so that the user may not be able to bill in real time, and thus may miss the user.
Based on the above, the application provides a transaction record sharing method based on a blockchain network. According to the method, a transaction record sharing platform is built based on the blockchain network, so that transactions conducted by users in a third party are distributed and recorded on nodes included in the blockchain network in real time, and real-time, transparent and trusted accounting is achieved.
The method can be applied to node equipment in a blockchain network, and specifically, the node can respond to a transaction record synchronization request initiated by a user and synchronize a transaction record completed by the user in a third party transaction account to an authorized account created for the user in the blockchain network; wherein the transaction account and the authorization account are associated accounts.
After receiving the transaction record, the node may also construct a forensic transaction corresponding to the authorized account. Wherein the forensic transaction includes the transaction record.
After the transformation ratio is established, the node can also send the verification transaction to other node devices in the blockchain network to perform consensus processing on the transaction record, and store the transaction record into a distributed account book of the blockchain network after the consensus is passed.
The technical scheme proposed in the application is described below with reference to specific embodiments.
Referring to fig. 1, fig. 1 is a flowchart of a transaction record sharing method based on a blockchain network. The method may be applied to node devices in a blockchain network. As shown in fig. 1, the method may include:
s101, responding to a transaction record synchronization request initiated by a user, and synchronizing a transaction record completed by the user in a third party transaction account into an authorized account created for the user in the blockchain network; wherein the transaction account and the authorization account are associated accounts;
s102, establishing a certification transaction corresponding to the authorized account; wherein the forensic transaction includes the transaction record;
and S103, transmitting the transaction record to other node equipment in the blockchain network to perform consensus processing on the transaction record, and storing the transaction record into a distributed ledger of the blockchain network after the consensus is passed.
The blockchain network may specifically be a public chain (Public Blockchain), a private chain (Private Blockchain), a federated chain (Consortium Blockchain), or any combination thereof, constructed based on a server or a cluster of servers. The blockchain network system may include a number of nodes. The node may be a terminal device such as a mobile phone, an IPAD, etc.
The nodes may include manager nodes and user nodes. The administrator node may perform an administrator role to manage the blockchain network. For example, the administrator node may assign an authorized account to a user when the user needs to join the blockchain network.
The user node specifically refers to node equipment used by a user. For example, after the user successfully registers in the blockchain network, the user can log in an authorized account allocated to the user through a billing client carried by the node device, so as to complete billing once.
The transaction records are in particular transaction records completed by the user in a third party transaction account. In actual situations, the user will typically register a transaction account in a third party platform (e.g., an e-commerce transaction platform). Through the transaction account, the user may transact in the third party platform. If a transaction that the user has occurred in the third party platform needs to be recorded in the ledger, the user may initiate a request to synchronize the transaction record into the blockchain network to complete the accounting.
The third party transaction account (hereinafter referred to as transaction account) and the authorization account are associated accounts. I.e. the transaction records occurring in the transaction account may be synchronized into the authorization account. In practical applications, a user may associate a transaction account owned by the user on a third party platform with an authorized account assigned in the blockchain network in advance, so that a transaction record generated in the third party transaction account by the user may be synchronized with the authorized account.
Wherein the authorization account may be associated with a plurality of third party transaction accounts owned by the user; the third party transaction account may be affiliated with a different third party platform. For example, in one scenario, the user may register a transaction account with each of the three-party transaction platforms. In order to synchronize the transaction completed by the user in each transaction platform to the authorized account corresponding to the user, the user may initiate a request in advance to associate the transaction account registered by each three-party transaction platform with the authorized account. The user node may form an association of the authorized account with each transaction account in response to the request and complete storage to complete association.
The distributed ledger (hereinafter referred to as ledger) may specifically refer to a ledger maintained in the blockchain network and used for billing a user. In one case, the ledger may be maintained in common by a plurality of user nodes authorized by the administrator node. The ledger may be queried by users maintaining the ledger, as well as by auditors.
When a user makes a transaction in the third party transaction account, the user can bill in the account book in real time through the node equipment used by the user.
If the user needs to bill the transaction, a response can be made in real time confirming the synchronization. At this time, the node device may synchronize, in response to the synchronization request initiated by the user, a transaction record completed by the user in a third party transaction account to an authorized account created for the user in the blockchain network.
After the authorization account corresponding to the user receives the transaction record, a certificate storing transaction corresponding to the authorization account can be constructed, and the constructed certificate storing transaction is sent to other node devices in the blockchain network. After receiving the certification transaction, each node device may perform consensus processing on a transaction record included in the certification transaction. When the transaction records are commonly known by other nodes, the node device may store the transaction records in a distributed ledger of the blockchain network.
According to the scheme, on one hand, when a user needs to carry out accounting in the distributed account book, only a transaction synchronization request needs to be initiated, and the node equipment corresponding to the user can respond to the transaction record synchronization request initiated by the user and synchronize the transaction record completed by the user in a third party transaction account to an authorized account created for the user in the blockchain network so as to complete automatic accounting, so that the accounting of a false account by an administrator can be avoided through the scheme recorded by the application, and the authenticity of the maintained account book is ensured;
On the other hand, due to the characteristic of distributed accounting of the blockchain network, the user nodes in the blockchain network cannot tamper the content recorded in the distributed account book by other user nodes, so that the user can be prevented from modifying the content in the distributed account book without permission, and the maintained account book is ensured to be credible.
In an embodiment, the node device in the blockchain network may further associate, in response to an association request initiated by a user, a transaction account corresponding to the user with an authorized account created for the user in the blockchain network, so that a transaction record generated by the transaction account may be synchronized with the authorized account.
In one case, a user may initiate a request to grant permission to operate an authorized account to the transaction account; so that the authorized account can receive the transaction records written by the transaction account to complete the synchronization of the transaction records.
For example, a user may log into an authorized account created for him in a node device by a billing client (the billing client being a client corresponding to a billing server formed by the blockchain network). After the verification login is completed, the user can perform related operations on an interface provided by the client, authorize an account password of the authorized account to a transaction account (for example, a certain e-commerce platform account) selected by the user, so that when the user completes a transaction in any transaction account, a third party platform corresponding to the transaction account can log in the authorized account through the account password of the authorized account acquired by the user, and write the transaction into the authorized account.
At this time, after the user performs a transaction in the transaction account, the node device may prompt the user in real time through the display module to select whether to synchronize the transaction record to the authorized account.
If the user selects the need for synchronization (for example, selecting the need for synchronization in a popup window), the transaction account can write the corresponding authorized account of the user through the corresponding third party platform so as to write the transaction record into the authorized account.
It should be noted here that, in one aspect, the present application is not limited to implementations for synchronizing transaction records into authorized accounts, and the above is merely exemplary; on the other hand, the method for reminding the user of whether to select synchronization in real time is not limited.
In this case, on the one hand, after a user makes a transaction in a transaction account, the node device may prompt, in real time, the user to select whether to synchronize the transaction record to an authorized account through the display module, so that the user may initiate, in real time, a data writing request for the authorized account created for the user in the blockchain network through the transaction account, so that the scheme described in the present application may record the transaction that has already occurred in real time in an account book, without the user opening other accounting tools, thereby avoiding the user from missing the record.
On the other hand, the user can choose to log the transaction needing to be logged into the account, so that the convenience of the account is improved.
In the above case, since the user needs to authorize the operation authority to the authorized account to the transaction account, in order to secure the security of the above operation, security authentication (e.g., real person authentication) is required to be performed to the transaction account before the operation authority to the authorized account is authorized to the transaction account.
In practical application, the user node device may perform entity identity authentication on the user. If the user passes the identity authentication, the authority to operate the authorized account may be granted to the transaction account.
For example, when a user initiates a request to associate an authorized account with a transaction account, a facial recognition mechanism may be initiated. The mechanism may capture facial features of the user via the terminal camera and compare the facial features to facial features of a photograph on the user's identification card (e.g., an identification card stored in a public security system). If the comparison is consistent, the description is that the user is making an association request, so that the user passes the authentication of the real person.
When the user is authenticated by the real person, whether the transaction account is the account owned by the user can be verified. If so, then the authority for operating the authorized account is granted to the transaction account.
For example, when verifying whether the transaction account is an account owned by the user, registration information of the transaction account may be compared with user information of the user. If the two are consistent, the transaction account is indicated as belonging to the possession of the user.
By carrying out real-person verification on the user, the user can be ensured to carry out account association operation, so that the security at the stage of associating accounts is increased. It should be noted that the security authentication method may also include other security verification methods, for example, fingerprint verification, password verification, and the like.
In another case, the user may initiate a request to grant permission to operate on the transaction account to the authorization account; so that the authorized account can read the transaction records from the transaction account to complete the synchronization of the transaction records.
For example, a user may log into the transaction account in the node device via a third party client (the third party client being a client corresponding to the transaction account). After completing the verification login, the user may authorize an account password of the transaction account (e.g., transaction account) to the authorized account.
In this case, in one aspect, after the user performs a transaction in the transaction account, the transaction account may prompt the user in real time to select whether to synchronize the transaction record with the authorized account.
If the user selects that synchronization is required (e.g., selecting that synchronization is required in a pop-up window), the transaction account may interact with the billing platform (the billing platform is a billing platform constructed based on the blockchain network and corresponds to the account book) through its corresponding third party platform, so that the authorized account corresponding to the user may perform a read operation on the transaction account to read the transaction record to the authorized account.
On the other hand, when the user needs to record a plurality of transactions into the ledger at one time, the related operation of accessing the transaction account associated with the authorized account can be performed on the authorized account. Then, a transaction record requiring synchronization is selected from the plurality of transaction records recorded in the transaction account. After the selection is finished, the authorized account can read the transaction record selected by the user from the transaction account at one time and write the transaction record into the blockchain network, so that synchronous accounting of a plurality of transactions is completed.
It should be noted here that, in one aspect, the present application is not limited to implementations for synchronizing transaction records into authorized accounts, and the above is merely exemplary; on the other hand, the present application is not limited as to the manner in which the user selects whether to synchronize the transaction records.
In this case, on the one hand, after a user makes a transaction in the transaction account, whether the transaction is posted in the account can be selected in real time, so that the scheme described in the application can post the transaction which has already been posted in the account in real time without opening other billing tools by the user, thereby avoiding the user from being missed.
On the other hand, the user can select a plurality of transaction records to be posted in the account book at one time, so that the convenience of billing is improved.
In the above case, since the user needs to authorize the operation authority to the authorized account to the transaction account, in order to secure the security of the above operation, the security authentication to the transaction account may be selected before authorizing the operation authority to the authorized account to the transaction account (the security authentication process may refer to the foregoing and will not be described in detail here).
In an embodiment, a user may initiate a request to grant the authority to operate the authorized account to the transaction account, and also grant the authority to operate the transaction account to the authorized account, so that the authorized account and the transaction account corresponding to the user may operate with each other. At this time, when the user synchronizes the transaction records, the user may synchronize the transaction records with the transaction account, or may access the transaction account with the authorization account, so as to synchronize the transaction occurring in the transaction account with the authorization account. In this way, the convenience of billing for the user can be increased.
In an embodiment, to facilitate auditing the ledger, an audit node may also be included in the blockchain network.
The auditing node is specifically a node capable of auditing the billing process of the user in the blockchain network. The account information of the audit account corresponding to the audit node is secret information.
The auditing node can audit the accounting process of each user node. In one scenario, the audit node may track audit of the billing process of the user node in real time. If the auditing node determines that there is an anomaly in the accounting process for a certain user node at the time of auditing (e.g., synchronizing transaction records in an anomalous transaction record synchronization manner), then other user nodes that collectively maintain the same ledger may be selected to be notified of the user's anomalous accounting behavior.
In another case, the audit node may audit the distributed ledger in response to an audit requirement. For example, the maintenance process of the distributed account book is audited, and if the audit node determines that a transaction record has an abnormality in the audit process, the audit node may choose to notify the user node that maintains the account book together of the abnormal transaction record.
By adding the auditing node in the blockchain network, the accounting process of the user for accounting can be audited, so that the user is prevented from accounting the false account.
In practical application, after receiving a request for joining an auditor, the blockchain network may create an audit account for the auditor in response to the request, and keep relevant information of the audit account secret, so as to avoid illegal operations such as brining after other users acquire the audit account information.
In an embodiment, the node in the blockchain network may further randomly designate each authorized account as an audit account, so that a user authorized as an audit account may audit the accounting process of the ledger.
In practical applications, the node may randomly select an authorized account and send an authorization request to the selected authorized account. Then, the node may grant audit rights to the authorized account in response to a response returned by the authorized account to receive authorization, so that the authorized account may audit other authorized accounts.
By the method, the user can audit the accounting process of other users, and the users maintaining the same account book are promoted to monitor each other, so that the fake risk is avoided, and the credibility of the account book is improved.
In an embodiment, the node may parse the transaction record received by the authorized account to obtain a parsing result. Then, based on the analysis result, the transaction records are counted in a multi-dimension way, and the transaction records can be counted in a plurality of billing modes.
For example, the node device may count in a dimension of the date on which the transaction occurred. As another example, the node device may count in a dimension of transaction type. Those skilled in the art will appreciate that the billing means described above can be varied and that billing means that will occur to those skilled in the art are within the scope of the present application.
The following describes embodiments of the present application in detail in connection with actual scenarios.
Referring to fig. 2, fig. 2 is a schematic diagram of a billing platform based on blockchain network setup as shown in the present application. As shown in fig. 2, the billing platform includes an administrator node, a user node, and an audit node. The manager node is used for daily management of the billing platform. The user node may log into an authorization account associated with the transaction account to credit the billing platform with a transaction record that occurred with the transaction account. And the auditing node audits the accounting process of the user node.
The administrator node may cause a plurality of user nodes to collectively maintain a ledger in response to requests from the plurality of user nodes. The accounting platform adopts an authorization mode of opening the account password of the user authorization account to the transaction account, and associates the user authorization account with the transaction account.
Suppose the user A, B is a worker of a public welfare organization. The user A, B needs to keep track of their respective public welfare costs maintained in the same ledger.
At this time, the user A, B may issue a request for requesting an authorized account to the administrator node through a billing platform client mounted on the corresponding node device (for example, a mobile phone). Upon receipt of the request, the manager node may assign each of the users A, B an authorized account (i.e., authorized accounts 1, 2 in fig. 2). The authorized accounts may together maintain the same ledger (ledgers for recording public benefit payments of the public benefit organization).
After acquiring the respective authorized accounts, the user A, B can log in the authorized accounts through the billing platform clients mounted on the respective corresponding node devices (e.g., mobile phones). After logging in the authorized account, the user A, B may develop account passwords of the authorized account corresponding to the user A, B to a plurality of transaction accounts (for example, XX e-commerce platform account, XX bank account, XX shortcut payment account, etc.) corresponding to the user through a related operation on an interface provided by the client, so that after the user completes a transaction in any transaction account, a third party platform corresponding to the transaction account may log in the authorized account through the account passwords of the authorized account acquired by the user, and write the transaction into the authorized account.
In the above scenario, suppose user A purchases a batch of masks for donation through the XX e-commerce account on day 3 months 1. When the transaction is completed, user A may choose to synchronize the note into its authorized account in response to the XX e-commerce client prompt message. At this time, after receiving the synchronization request initiated by the user a, the XX e-commerce background may log in an authorized account corresponding to the user a through a pre-acquired account password, and write a transaction record of the transaction into the authorized account.
After the authorized account receives the transaction record, the node device corresponding to the user a may parse the transaction record according to the entry shown in table 1, to obtain a parsing result. After the analysis result corresponding to the transaction record is obtained, the node device may construct a certificate-storing transaction according to the format shown in table 1. After the forensic transaction for the transaction record is established, the node device may send the forensic transaction to other node devices in the blockchain network to perform consensus processing on the transaction record. The transaction record may be maintained in the ledger after the other nodes agree on the credit transaction. The storage format shown in table 1 is only illustrative, and is not limited to the present application.
TABLE 1
Sequence number Transaction date Transaction account Commodity details Transaction amount Use of the same
1 3.1 XX E-commerce account Mask XXX Donation of
Thus, user A has completed real-time billing. By the method, on one hand, in the application, the transaction records generated in the user A panned account are directly synchronized to the authorized account corresponding to the user A, so that the user A can be prevented from recording the false account, and the authenticity of the maintained account book is ensured;
on the other hand, since the user node in the blockchain network cannot tamper the bill recorded in the account book by other user nodes, the user A can be prevented from modifying the account book without permission, and accordingly the maintained account book is ensured to be credible.
In still another aspect, after a transaction occurs in the transaction account by the user a, whether the transaction is posted in the account book can be selected in real time, so that the posting of the transaction which has occurred in the account book can be performed in real time by the scheme described in the application, and the user a does not need to open other billing tools, thereby avoiding the user a from being missed.
The application also provides a transaction record sharing device based on the blockchain network. Referring to fig. 3, fig. 3 is a block chain network-based transaction record sharing device shown in the present application.
As shown in fig. 3, the apparatus 300 may include:
a synchronization module 310, responsive to a user initiated transaction record synchronization request, for synchronizing a transaction record completed by the user in a third party transaction account to an authorized account created for the user in the blockchain network; wherein the transaction account and the authorization account are associated accounts;
a construction module 320 for constructing a certification transaction corresponding to the authorized account; wherein the forensic transaction includes the transaction record;
the sending module 330 sends the authenticated transaction to other node devices in the blockchain network to perform consensus processing on the transaction record, and stores the transaction record in a distributed ledger of the blockchain network after the consensus is passed.
In the illustrated embodiment, the apparatus 300 further includes:
and the association module 340 is used for associating the transaction account corresponding to the user with the authorized account created for the user in the blockchain network in response to the association request initiated by the user.
In the illustrated embodiment, the association module 340 includes:
the first authorization module grants the authority for operating the authorization account to the transaction account so as to form an association relation between the authorization account and the transaction account;
The second storage module is used for storing the association relation into the authorized account so as to complete the association;
the synchronization module 310 includes:
and the receiving module is used for receiving a transaction record which is written by the user through the third-party transaction account and is completed in the third-party transaction account by the user according to a data writing request which is initiated by the user through the third-party transaction account and is aimed at an authorized account which is created for the user in the blockchain network, and sending the transaction record to the authorized account.
In the illustrated embodiment, the association module 340 further includes:
an authentication module for initiating an identity authentication request for the user;
collecting the identity authentication information of the user;
performing entity identity authentication based on the entity identity authentication information;
and if the identity authentication for the user passes, granting the authority to operate the authorized account to the transaction account.
In the illustrated embodiment, the association module 340 includes:
the second authorization module grants the authority for operating the transaction account to the authorization account so as to form an association relation between the authorization account and the transaction account;
The second storage module is used for storing the association relation into the authorized account so as to complete the association;
the synchronization module 310 includes:
and the reading module is used for responding to a data reading request of a transaction record which is initiated by a user through an authorized account created for the user in the blockchain network and is completed in a third party transaction account corresponding to the user, and reading the transaction record from the transaction account.
In the illustrated embodiment, the apparatus 300 further includes:
the analysis module analyzes the transaction records synchronized with the authorized account to obtain an analysis result;
the statistics module 350 performs multidimensional statistics on the transaction records based on the analysis result.
In one embodiment shown, the blockchain network includes a number of authorized accounts created for users; the plurality of authorized accounts together maintain a distributed ledger of the blockchain.
In the illustrated embodiment, the apparatus 300 further includes:
the authorization account is associated with transaction accounts registered by the user at a plurality of third party platforms.
In the illustrated embodiment, the apparatus 300 further includes:
the selection module randomly selects an authorized account and sends an authorized request to the selected authorized account;
And responding to the response of the authorization account to receive the authorization, and granting auditing rights to the authorization account so that the authorization account audits other authorization accounts.
The embodiment of the transaction record sharing device based on the blockchain network, which is shown in the application, can be applied to a transaction record sharing device based on the blockchain network. The apparatus embodiments may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking software implementation as an example, the device in a logic sense is formed by reading corresponding computer program instructions in a nonvolatile memory into a memory by a processor of an electronic device where the device is located for operation. In terms of hardware, as shown in fig. 4, a hardware structure diagram of a transaction record sharing device based on a blockchain network shown in the present application is shown, and in addition to the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 4, an electronic device in which the device is located in the embodiment generally may further include other hardware according to an actual function of the electronic device, which is not described herein again.
Referring to fig. 4, a transaction record sharing device based on a blockchain network includes: a processor;
A memory for storing processor-executable instructions;
the processor is configured to invoke the executable instructions stored in the memory to implement the transaction record sharing method based on the blockchain network disclosed in any of the embodiments.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
The foregoing description of the preferred embodiments of the present application is not intended to be limiting, but rather is intended to cover any and all modifications, equivalents, alternatives, and improvements that fall within the spirit and principles of the present application.

Claims (15)

1. A transaction record sharing method based on a blockchain network is applied to node equipment in the blockchain network; the method comprises the following steps:
responding to a synchronization request for a target transaction record initiated by a user participating in multi-person accounting through a third party transaction account, and synchronizing the target transaction record completed by the user in the third party transaction account into an authorized account created for the user in the blockchain network; wherein the transaction account and the authorization account are associated accounts;
Constructing a certification transaction corresponding to the authorized account; wherein the forensic transaction comprises the target transaction record;
transmitting the certification transaction to other node equipment in the blockchain network to perform consensus processing on the target transaction record, and storing the target transaction record to a distributed ledger of the blockchain network after the consensus is passed;
responding to an association request initiated by a user, and associating a transaction account corresponding to the user with an authorized account created for the user in the blockchain network in response to the association request initiated by the user;
reading a target transaction record from a transaction account initiated by a user participating in multi-person billing through an authorized account created for the user in the blockchain network for a data read request of the target transaction record completed in a third party transaction account corresponding to the user;
associating the transaction account corresponding to the user with an authorization account created for the user in the blockchain network includes:
granting the authority for operating the transaction account to the authorized account to form an association relationship between the authorized account and the transaction account;
And storing the association relation into the authorized account to complete the association.
2. The method of claim 1, associating the transaction account corresponding to the user with an authorization account created for the user in the blockchain network, comprising:
granting the authority for operating the authorized account to the transaction account to form an association relationship between the authorized account and the transaction account;
storing the association relationship into the authorized account to complete the association;
the method for synchronizing the target transaction records completed by the user in the third party transaction account to the authorized accounts created for the user in the blockchain network in response to the synchronization request for the target transaction records initiated by the user participating in multi-person accounting through the third party transaction account comprises the following steps:
and receiving a target transaction record which is written by a user through a third-party transaction account and is completed by the user in the third-party transaction account by responding to a data writing request which is initiated by the user participating in multi-person accounting through the third-party transaction account and aims at an authorization account which is created for the user in the blockchain network, and sending the target transaction record to the authorization account.
3. The method of claim 2, further comprising, prior to granting the transaction account rights to operate the authorized account:
initiating an entity identity authentication request for the user;
collecting the identity authentication information of the user;
performing entity identity authentication based on the entity identity authentication information;
if the identity authentication for the user passes, rights to operate the authorized account are granted to the transaction account.
4. The method of claim 1, further comprising:
analyzing the transaction records synchronized to the authorized account to obtain an analysis result;
and carrying out multidimensional statistics on the transaction records based on the analysis result.
5. The method of any of claims 1-4, the blockchain network comprising a number of authorized accounts created for a user; the number of authorized accounts collectively maintain a distributed ledger for the blockchain.
6. The method of claim 5, the authorization account being associated with transaction accounts registered by the user with a plurality of third party platforms.
7. The method of claim 6, further comprising:
randomly selecting an authorized account and sending an authorized request to the selected authorized account;
And responding to a response returned by the authorized account and receiving the authorization, and granting auditing rights to the authorized account so that the authorized account audits other authorized accounts.
8. A transaction record sharing device based on a blockchain network is applied to node equipment in the blockchain network; the device comprises:
the synchronization module is used for responding to a synchronization request for target transaction records initiated by a user participating in multi-person accounting through a third-party transaction account, and synchronizing the target transaction records completed by the user in the third-party transaction account into an authorized account created for the user in the blockchain network; wherein the transaction account and the authorization account are associated accounts;
the construction module is used for constructing a certification transaction corresponding to the authorized account; wherein the forensic transaction comprises the target transaction record;
the sending module is used for sending the certification transaction to other node equipment in the blockchain network so as to carry out consensus processing on the target transaction record, and storing the target transaction record to a distributed ledger of the blockchain network after the consensus is passed;
the association module is used for responding to an association request initiated by a user and associating a transaction account corresponding to the user with an authorized account created for the user in the blockchain network;
The association module comprises: a second authorization module and a second storage module;
the second authorization module grants the authority for operating the transaction account to the authorization account so as to form an association relation between the authorization account and the transaction account;
the second storage module is used for storing the association relation into the authorized account so as to complete the association;
and the reading module is used for responding to a data reading request of a target transaction record completed in a third party transaction account corresponding to the user, which is initiated by a user participating in multi-person accounting through an authorized account created for the user in the blockchain network, and reading the target transaction record from the transaction account.
9. The apparatus of claim 8, the association module comprising:
the first authorization module grants the authority for operating the authorization account to the transaction account so as to form an association relation between the authorization account and the transaction account;
the second storage module is used for storing the association relation into the authorized account so as to complete the association;
the method for synchronizing the target transaction records completed by the user in the third party transaction account to the authorized accounts created for the user in the blockchain network in response to the synchronization request for the target transaction records initiated by the user participating in multi-person accounting through the third party transaction account comprises the following steps:
And receiving a target transaction record which is written by a user through a third-party transaction account and is completed by the user in the third-party transaction account by responding to a data writing request which is initiated by the user participating in multi-person accounting through the third-party transaction account and aims at an authorization account which is created for the user in the blockchain network, and sending the target transaction record to the authorization account.
10. The apparatus of claim 9, the association module further comprising:
an authentication module for initiating an identity authentication request for the user;
collecting the identity authentication information of the user;
performing entity identity authentication based on the entity identity authentication information;
if the identity authentication for the user passes, rights to operate the authorized account are granted to the transaction account.
11. The apparatus of claim 8, further comprising:
the analysis module analyzes the transaction records synchronized to the authorized account to obtain an analysis result;
and the statistics module is used for carrying out multidimensional statistics on the transaction records based on the analysis result.
12. The apparatus of any of claims 8-11, the blockchain network comprising a number of authorized accounts created for a user; the number of authorized accounts collectively maintain a distributed ledger for the blockchain.
13. The apparatus of claim 12, the authorization account associated with transaction accounts registered by the user with a plurality of third party platforms.
14. The apparatus of claim 13, further comprising:
the selection module randomly selects an authorized account and sends an authorized request to the selected authorized account;
and responding to a response returned by the authorized account and receiving the authorization, and granting auditing rights to the authorized account so that the authorized account audits other authorized accounts.
15. A blockchain network-based transaction record sharing device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to invoke executable instructions stored in the memory to implement the blockchain network-based transaction record sharing method of any of claims 1 to 7.
CN202010899612.4A 2020-04-02 2020-04-02 Transaction record sharing method and device based on blockchain network and electronic equipment Active CN111897879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010899612.4A CN111897879B (en) 2020-04-02 2020-04-02 Transaction record sharing method and device based on blockchain network and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010899612.4A CN111897879B (en) 2020-04-02 2020-04-02 Transaction record sharing method and device based on blockchain network and electronic equipment
CN202010254521.5A CN111159308B (en) 2020-04-02 2020-04-02 Transaction record sharing method and device based on block chain network and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010254521.5A Division CN111159308B (en) 2020-04-02 2020-04-02 Transaction record sharing method and device based on block chain network and electronic equipment

Publications (2)

Publication Number Publication Date
CN111897879A CN111897879A (en) 2020-11-06
CN111897879B true CN111897879B (en) 2024-03-26

Family

ID=70567681

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010254521.5A Active CN111159308B (en) 2020-04-02 2020-04-02 Transaction record sharing method and device based on block chain network and electronic equipment
CN202010899612.4A Active CN111897879B (en) 2020-04-02 2020-04-02 Transaction record sharing method and device based on blockchain network and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010254521.5A Active CN111159308B (en) 2020-04-02 2020-04-02 Transaction record sharing method and device based on block chain network and electronic equipment

Country Status (1)

Country Link
CN (2) CN111159308B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783151A (en) * 2020-06-30 2020-10-16 平安科技(深圳)有限公司 Management method and device of block chain account book and computer equipment
CN111833066A (en) * 2020-07-01 2020-10-27 中国建设银行股份有限公司 Account authorization method, device and system
CN111882842B (en) * 2020-08-04 2022-12-02 珠海格力电器股份有限公司 Early warning method of sharing equipment and sharing equipment
CN112436946B (en) * 2021-01-27 2021-05-28 支付宝(杭州)信息技术有限公司 Block chain-based communication authorization method, device, equipment and storage medium
CN114357080A (en) * 2021-12-31 2022-04-15 支付宝(杭州)信息技术有限公司 Account data reading and writing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784570A (en) * 2016-08-24 2018-03-09 深圳市图灵奇点智能科技有限公司 A kind of sharing method of electronics account book
CN108446969A (en) * 2018-03-29 2018-08-24 张文昌 A kind of unified public transport book keeping operation and transaction system based on block chain
CN108846752A (en) * 2018-06-06 2018-11-20 北京京东金融科技控股有限公司 Data processing method, system, block platform chain and readable storage medium storing program for executing
CN109190400A (en) * 2018-09-06 2019-01-11 郑州云海信息技术有限公司 A kind of public good management method, platform, terminal and storage medium based on block chain
CN109410049A (en) * 2018-09-18 2019-03-01 深圳周百通科技有限公司 Block chain bookkeeping methods, device, computer equipment and storage medium
KR101962288B1 (en) * 2018-12-31 2019-03-26 주식회사 미탭스플러스 Apparatus for Sharing Economy using Blockchain
CN110490700A (en) * 2019-08-08 2019-11-22 上海源庐加佳信息科技有限公司 A kind of staple commodities spot business system based on block chain intelligence contract
CN110490723A (en) * 2018-05-15 2019-11-22 全球智能股份有限公司 Loan administration method and system under block chain

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833421A (en) * 2018-06-25 2018-11-16 万惠投资管理有限公司 Automatic synchronization bookkeeping methods and device
US10887081B2 (en) * 2018-06-28 2021-01-05 International Business Machines Corporation Audit trail configuration in a blockchain
WO2019101246A2 (en) * 2019-03-21 2019-05-31 Alibaba Group Holding Limited Data isolation in blockchain networks
CN110334489A (en) * 2019-07-12 2019-10-15 广州大白互联网科技有限公司 A kind of unified single sign-on system and method
CN110717757A (en) * 2019-09-20 2020-01-21 徐克军 Block chain-based digital home distributed accounting system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784570A (en) * 2016-08-24 2018-03-09 深圳市图灵奇点智能科技有限公司 A kind of sharing method of electronics account book
CN108446969A (en) * 2018-03-29 2018-08-24 张文昌 A kind of unified public transport book keeping operation and transaction system based on block chain
CN110490723A (en) * 2018-05-15 2019-11-22 全球智能股份有限公司 Loan administration method and system under block chain
CN108846752A (en) * 2018-06-06 2018-11-20 北京京东金融科技控股有限公司 Data processing method, system, block platform chain and readable storage medium storing program for executing
CN109190400A (en) * 2018-09-06 2019-01-11 郑州云海信息技术有限公司 A kind of public good management method, platform, terminal and storage medium based on block chain
CN109410049A (en) * 2018-09-18 2019-03-01 深圳周百通科技有限公司 Block chain bookkeeping methods, device, computer equipment and storage medium
KR101962288B1 (en) * 2018-12-31 2019-03-26 주식회사 미탭스플러스 Apparatus for Sharing Economy using Blockchain
CN110490700A (en) * 2019-08-08 2019-11-22 上海源庐加佳信息科技有限公司 A kind of staple commodities spot business system based on block chain intelligence contract

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
区块链是怎么工作的;林小新;;计算机与网络;20180926(18);全文 *

Also Published As

Publication number Publication date
CN111159308A (en) 2020-05-15
CN111897879A (en) 2020-11-06
CN111159308B (en) 2020-07-24

Similar Documents

Publication Publication Date Title
US20220052852A1 (en) Secure biometric authentication using electronic identity
US11777726B2 (en) Methods and systems for recovering data using dynamic passwords
US11038868B2 (en) System and method for identity management
CN111897879B (en) Transaction record sharing method and device based on blockchain network and electronic equipment
KR102054410B1 (en) Method for providing reward for delegating computing power for blockchain service management
US11757643B2 (en) System and method for authenticating user identity
US10108794B2 (en) System and method for identity management
US8510797B2 (en) Online user authentication
CN109768983B (en) Block chain-based multi-dimensional dynamic identity recognition method, device and system
CN110753944B (en) System and method for blockchain-based data management
JP2016181242A (en) System and method for enabling multi-party and multi-level authorization for accessing confidential information
CN111567013A (en) Method and apparatus for managing user authentication in a blockchain network
US20220405765A1 (en) Know your customer (kyc) and anti-money laundering (aml) verification in a multi-decentralized private blockchains network
US10867326B2 (en) Reputation system and method
CN111541657A (en) Block chain-based safety position verification method
US11301943B2 (en) Systems and methods for authentication of database transactions with an authentication server
US9177126B2 (en) System and method for human identity validation via a mobile device
US20210273804A1 (en) System and method which using blockchain protects the privacy of access code and the identity of an individual seeking online access
US10990978B2 (en) Method of transaction without physical support of a security identifier and without token, secured by the structural decoupling of the personal and service identifiers
KR20210017308A (en) Method for providing secondary authentication service using device registration and distributed storage of data
US20230259602A1 (en) Method for electronic identity verification and management
AU2021107510A4 (en) A method for electronic identity verification and management
WO2024075015A1 (en) Systems and methods for identity verification to authorize transactions in decentralized networks
KR20210017310A (en) System for managing payment and exchange of blockchain-based cryptocurrency
KR20210017968A (en) Method for obtaining data through searching and merging distributed data stored using blockchain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40039817

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant