CN114997987A - Business information processing method, device, equipment and medium based on block chain system - Google Patents

Business information processing method, device, equipment and medium based on block chain system Download PDF

Info

Publication number
CN114997987A
CN114997987A CN202210603794.5A CN202210603794A CN114997987A CN 114997987 A CN114997987 A CN 114997987A CN 202210603794 A CN202210603794 A CN 202210603794A CN 114997987 A CN114997987 A CN 114997987A
Authority
CN
China
Prior art keywords
target
node
consensus
information
block chain
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.)
Pending
Application number
CN202210603794.5A
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210603794.5A priority Critical patent/CN114997987A/en
Publication of CN114997987A publication Critical patent/CN114997987A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present disclosure provides a service information processing method, apparatus, device and medium based on a blockchain system, which can be applied to the field of blockchain technology, financial field or other fields. The method comprises the following steps: responding to a trigger preset event, and acquiring target service information through a target sub-account secondary node associated with the preset event; writing target business information into a target sub-block chain account book through a target sub-account sub-node; sending target service information to a target client main node associated with a target client secondary node based on a target secondary block chain account book through the target client secondary node of a target secondary block chain network; writing target business information into a main block chain account book of a main block chain network through a target customer main node; and sending target business information to the banking business processing system through the banking host node based on the master block chain account book, wherein the banking business processing system checks the target business based on the target business information.

Description

Business information processing method, device, equipment and medium based on block chain system
Technical Field
The present disclosure relates to the field of blockchain technology and the field of finance, and more particularly, to a method and an apparatus for processing business information based on a blockchain system, an electronic device, and a storage medium.
Background
In the bank-Enterprise interconnection transaction business, an Enterprise can be connected with a bank front-end processor in an internet or dedicated line mode, seamless connection between an ERP (Enterprise Resource Planning) system and a bank business system is realized, and a fast and smooth information interaction channel is established.
With the continuous expansion of bank-enterprise interconnection transaction business, enterprises inevitably need to carry out business transactions through a plurality of accounts and different banks. Under the related technical framework, the cross-bank accounting data is acquired more complexly, so that the business verification efficiency of the bank-enterprise interconnection transaction business is lower.
Disclosure of Invention
In view of the above, the present disclosure provides a service information processing method based on a blockchain system, a service information processing apparatus based on a blockchain system, an electronic device, and a readable storage medium.
One aspect of the present disclosure provides a service information processing method based on a blockchain system, where the blockchain system includes a primary blockchain network and a secondary blockchain network, the primary blockchain network includes a bank master node and a customer master node, the secondary blockchain network includes a customer secondary node and a sub-account secondary node, and the customer secondary node is associated with the customer master node, the method including: responding to a triggering preset event, and acquiring target service information through a target sub-account secondary node associated with the preset event, wherein the preset event is characterized in that a banking service processing system completes processing of a target service; writing the target service information into a target secondary block chain account book through the target secondary account secondary node, wherein the target secondary block chain account book is a block chain account book of a target secondary block chain network to which the target secondary account secondary node belongs; sending, by a target customer secondary node of the target secondary blockchain network, the target service information to a target customer primary node associated with the target customer secondary node based on the target secondary blockchain ledger; writing the target business information into a main block chain account book of the main block chain network through the target customer main node; and sending the target business information to the banking business processing system through the banking master node based on the master block chain ledger, wherein the banking business processing system checks the target business based on the target business information.
According to an embodiment of the present disclosure, the sending, by the target customer secondary node of the target secondary blockchain network, the target service information to the target customer primary node associated with the target customer secondary node based on the target secondary blockchain ledger includes: determining a target block from the target secondary block chain account book through the target client secondary node based on the client identification information of the target service; analyzing the target block to obtain the target service information; and sending the target service information to the target client main node.
According to an embodiment of the present disclosure, the acquiring, in response to a preset event, target service information through a target sub-account secondary node associated with the preset event includes: acquiring dynamic account information from target account information associated with the target sub-account secondary node through the target sub-account secondary node, wherein the dynamic account information is generated in response to triggering the preset event; and encrypting the dynamic account information by using a target customer certificate to obtain the target service information, wherein the target customer certificate is characterized by a certificate when the target customer master node is accessed into the master blockchain network and a certificate when the target secondary blockchain network is accessed into the blockchain system.
According to an embodiment of the present disclosure, the verifying the target service by the banking processing system based on the target service information includes: the banking business processing system acquires a business processing result of the target business from a database; decrypting the target business information by using the target client certificate to obtain the dynamic account information; and verifying the business processing result by using the dynamic account information.
According to an embodiment of the present disclosure, the writing, by the target sub-account secondary node, the target service information into a target sub-block chain ledger book includes: writing the target service information into a first block through the target sub-account secondary node; in response to a first recording event, performing consensus on the first block through the target secondary block chain network to obtain a first consensus result; and writing the first block into the target secondary blockchain account book through the target secondary blockchain network under the condition that the first consensus result is characterized to achieve consensus.
According to an embodiment of the present disclosure, the performing consensus on the first block through the target secondary block chain network in response to triggering a first recording event to obtain a first consensus result includes: generating a first common identification request based on the first block through the target secondary block chain network in response to triggering the first recording event, wherein the first common identification request carries first common identification information; sending the first consensus request to the target sub-account secondary node through the target secondary block chain network; sending the first consensus request to a first consensus node of the target secondary block chain network through the target sub-account secondary node when the target sub-account secondary node verifies the first consensus information; sending first common knowledge feedback information to the target sub-account secondary node and a second common knowledge node through a first target common knowledge node in the first common knowledge nodes under the condition that the first common knowledge information is verified, wherein the second common knowledge node comprises a first common knowledge node except the first target common knowledge node in the first common knowledge nodes; sending second consensus feedback information to the target secondary block chain network through the target sub-account secondary node or the first consensus node based on the received first consensus feedback information; and determining the first consensus result based on the second consensus feedback information through the target secondary blockchain network.
According to an embodiment of the present disclosure, the writing of the target service information into the master area block chain account book of the master area block chain network by the target customer master node includes: writing the target service information into a second block through the target client main node; in response to a second recording event, performing consensus on the second block through the main block chain network to obtain a second consensus result; and writing the second block into the master block chain account book through the master block chain network under the condition that the second consensus result is characterized to achieve consensus.
According to an embodiment of the present disclosure, the performing consensus on the second chunk through the master chunk chain network in response to triggering a second recording event to obtain a second consensus result includes: responding to the triggering of the second recording event, and generating a second consensus request based on the second block through the main block chain network, wherein the second consensus request carries second consensus information; sending the second consensus request to the target customer master node through the master blockchain network; transmitting, by the target customer master node, the second consensus request to a third consensus node of the master blockchain network when the target customer master node passes the verification of the second consensus information; transmitting third consensus feedback information to the target client master node and a fourth consensus node through a second target consensus node of the third consensus nodes if the second consensus information is verified, wherein the fourth consensus node includes a third consensus node of the third consensus nodes except the second target consensus node; sending fourth consensus feedback information to the master block chain network based on the received third consensus feedback information through the target customer master node or the third consensus node; and determining the second consensus result based on the fourth consensus feedback information through the master blockchain network.
According to an embodiment of the present disclosure, the method further includes: responding to a trigger recording event, and determining a consensus node from candidate nodes of the block chain network through the block chain network; the log event includes a first log event or a second log event, the blockchain network includes a target secondary blockchain network or the primary blockchain network, and the candidate node includes a target customer secondary node of the target secondary blockchain network and all sub-account secondary nodes of the target secondary blockchain network, or all customer primary nodes of the primary blockchain network.
According to an embodiment of the present disclosure, the determining, by the blockchain network, a consensus node from the candidate nodes of the blockchain network in response to the trigger logging event includes: for each candidate node, determining a first time value consumed by the candidate node to generate a first preset number of blocks and a second time value consumed by analyzing a preset hash function through the block chain network; determining validity parameters of the candidate nodes based on the first time value and the second time value; and selecting a second preset number of the candidate nodes with the highest validity parameter as the consensus node.
Another aspect of the present disclosure provides a business information processing apparatus based on a blockchain system including a primary blockchain network including a bank master node and a customer master node and a secondary blockchain network including a customer secondary node and a sub-account secondary node, the customer secondary node being associated with the customer master node, the apparatus including: the acquisition module is used for responding to a trigger preset event and acquiring target service information through a target sub-account secondary node associated with the preset event, wherein the preset event is characterized in that a banking service processing system completes processing of a target service; a first writing module, configured to write the target service information into a target secondary block chain ledger book through the target sub-account secondary node, where the target secondary block chain ledger book is a block chain ledger book of a target secondary block chain network to which the target sub-account secondary node belongs; a first sending module, configured to send, by a target customer secondary node of the target secondary blockchain network, the target service information to a target customer primary node associated with the target customer secondary node based on the target secondary blockchain ledger; a second writing module, configured to write the target service information into a master block chain account book of the master block chain network through the target customer master node; and a second sending module, configured to send, by the banking host node, the target business information to the banking business processing system based on the master block chain ledger, where the banking business processing system checks the target business based on the target business information.
Another aspect of the present disclosure provides an electronic device including: one or more processors; a memory for storing one or more instructions, wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement the method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
According to the embodiment of the disclosure, after the target service is processed, the target service information can be uplinked in the target secondary block chain account book of the target secondary block chain network through the target secondary account secondary node associated with the target service; then, the target service information can be synchronized to the target client main node through the target client secondary node of the target secondary blockchain network; the target customer master node can uplink the target service information in a master block chain account book of the master block chain network; then, the banking master node may obtain the target business information from the master block chain ledger book, and send the target business information to the banking business processing system, so that the banking business processing system checks the target business information. By using the block chain system, the financial change information generated after the target business is processed can be sent to the banking business processing system so as to realize the tracking and verification of the banking business processing system on the target business, so that the technical problem of low business verification efficiency of bank-enterprise interconnected transaction business caused by complicated acquisition of cross-bank financial data in the related technology is at least partially solved, the business verification efficiency of the bank-enterprise interconnected transaction business is effectively improved, and the business risk is reduced. On the other hand, the number of nodes in a single blockchain network is greatly reduced by setting the main blockchain network and the secondary blockchain network in the blockchain system, so that the technical problem of low working efficiency of the blockchain network in the related technology is at least partially solved, the reaction speed of the blockchain system is effectively improved, and the hardware cost of the blockchain system is reduced.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically shows an exemplary system architecture to which the method and apparatus for processing service information based on a blockchain system may be applied according to an embodiment of the present disclosure.
Fig. 2 schematically shows a structural schematic diagram of a blockchain system according to an embodiment of the present disclosure.
Fig. 3 schematically shows a flowchart of a service information processing method based on a blockchain system according to an embodiment of the present disclosure.
Fig. 4 schematically illustrates a schematic diagram of a second block consensus process according to an embodiment of the present disclosure.
Fig. 5 schematically shows a flow chart of a consensus node election process according to an embodiment of the present disclosure.
Fig. 6A schematically illustrates an architecture diagram of a bank-enterprise interconnection platform according to an embodiment of the present disclosure.
Fig. 6B schematically shows a flowchart of a business processing method of an application bank-enterprise interconnection platform according to an embodiment of the present disclosure.
Fig. 7 schematically shows a block diagram of a traffic information processing apparatus based on a blockchain system according to an embodiment of the present disclosure.
Fig. 8 schematically shows a block diagram of an electronic device adapted to implement a service information processing method based on a blockchain system according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the bank-enterprise interconnection transaction business, it is a common way to connect an enterprise and a bank through a bank-enterprise interconnection system. By utilizing the bank-enterprise interconnection system, an enterprise can be connected with the bank front-end processor in an internet or special line mode, seamless connection between the ERP system and the bank business system is realized, and a fast and smooth information interaction channel is established. After the bank verifies the identity of the client through the digital certificate, the client can directly initiate transaction from the ERP system, and free and safe exchange of transaction information is realized. The efficiency of the client handling the business is improved, and the transaction safety is ensured.
Under a related technical framework, due to the limitation of technical conditions and barriers between banks, bank-enterprise interconnection transactions do not set a step of checking whether funds are actually paid out, and the accounting risk caused by errors of active and passive systems cannot be monitored in real time. In addition, the steps for acquiring the cross-bank account data are complicated, and the cross-bank transaction verification efficiency is low.
In view of the above, embodiments of the present disclosure provide a method for performing bank-enterprise interconnection transaction verification by using a block chain system. The blockchain is a distributed shared book which cannot be changed freely. In the block chain, data are stored in each block node, and the consistency of the multi-node data is realized by using a formula algorithm. In the block chain, any block is not subjected to row modification or data information deletion, and all blocks need to be synchronized when additional information is added. The non-tampering property of the data on the chain meets the objective requirements of banks on data security. Based on the block chain system, the dynamic account condition of the lender after bank-enterprise mutual linkage account transaction can be verified: after an enterprise sends an account starting transaction by using a bank system, the bank can track the transaction according to account moving information in a block chain, automatically check an account change result on the premise of no sense of customers, reduce the situations of account error, account disordering and account losing, improve user experience, avoid limitation of information transparency by rows and realize cross-bank transaction checking.
Specifically, the embodiment of the disclosure provides a service information processing method and device based on a blockchain system, an electronic device and a readable storage medium. The method is implemented based on a blockchain system, the blockchain system comprises a main blockchain network and a secondary blockchain network, the main blockchain network comprises a bank main node and a customer main node, the secondary blockchain network comprises a customer secondary node and a sub-account secondary node, and the customer secondary node is associated with the customer main node. The method comprises the following steps: responding to a trigger preset event, and acquiring target service information through a target sub-account secondary node associated with the preset event, wherein the preset event is characterized in that a banking service processing system completes processing of a target service; writing target business information into a target secondary block chain account book through the target secondary account secondary node, wherein the target secondary block chain account book is a block chain account book of a target secondary block chain network to which the target secondary account secondary node belongs; sending target business information to a target client main node associated with a target client secondary node based on a target secondary block chain ledger by the target client secondary node of a target secondary block chain network; writing target business information into a main block chain account book of a main block chain network through a target customer main node; and sending target business information to the banking business processing system through the banking host node based on the master block chain account book, wherein the banking business processing system checks the target business based on the target business information.
It should be noted that the method and apparatus for processing service information based on a blockchain system determined in the embodiments of the present disclosure may be used in the field of blockchain technology or the field of finance, for example, the method and apparatus may be applied to a bank-enterprise interconnection transaction service, and used for tracking and verifying the service after the banking system completes service processing. The method and the device for processing the service information based on the blockchain system determined by the embodiment of the disclosure can also be used in any fields except the technical field of blockchain and the financial field, for example, the method and the device can be applied to the government affair field and used for verifying the service completed by cooperation of a plurality of parts. The application fields of the service information processing method and device based on the block chain system determined by the embodiment of the disclosure are not limited.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, necessary security measures are taken, and the customs of the public order is not violated.
In the technical scheme of the disclosure, before the personal information of the user is acquired or collected, the authorization or the consent of the user is acquired.
It should be noted that, unless explicitly stated that there is an execution sequence between different operations or there is an execution sequence between different operations in technical implementation, the execution sequence between multiple operations may not be sequential, or multiple operations may be executed simultaneously in the flowchart in this disclosure.
Fig. 1 schematically shows an exemplary system architecture to which the method and apparatus for processing service information based on a blockchain system may be applied according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include a primary blockchain network 110, secondary blockchain networks 120, 130, and a network 140.
Master nodes 111, 112, and 113 may be included in master block chain network 110. The secondary blockchain networks 120, 130 may share a master node with the primary blockchain network 110, such that master node 112 resides in the secondary blockchain network 120 and master node 113 resides in the secondary blockchain network 130. A primary node 112 and secondary nodes 121, 122 may be included in the secondary blockchain network 120. A primary node 113 and secondary nodes 131, 132 may be included in the secondary blockchain network 130.
Network 140 serves to provide a medium for communication links between the various nodes of primary blockchain network 110, and between the various nodes of secondary blockchain networks 120, 130. Network 140 may include various connection types, such as wired and/or wireless communication links, and so forth.
After any secondary node (such as the secondary node 121, but not limited thereto) in the secondary blockchain networks 120 and 130 acquires the service information, the service information may be synchronized to the master node 112 through a consensus mechanism of the secondary blockchain network 120, and then the master node 112 may enter the service information into a block through a consensus mechanism of the master blockchain network 110, so that when service verification is required, the service information is acquired from an account book of the master blockchain network 110.
It should be noted that the service information processing method based on the blockchain system provided in the embodiments of the present disclosure may be generally executed by the blockchain system. Accordingly, the service information processing apparatus based on the blockchain system provided by the embodiments of the present disclosure may be generally disposed in the blockchain system.
It should be understood that the number of primary, secondary, primary, secondary nodes and networks in fig. 1 is merely illustrative. There may be any number of primary, secondary, primary, secondary nodes and networks, as desired for implementation.
Fig. 2 schematically shows a structural schematic diagram of a blockchain system according to an embodiment of the present disclosure.
As shown in fig. 2, the blockchain system may include a primary blockchain network that may include a bank primary node and a customer primary node, and a plurality of secondary blockchain networks that include customer secondary nodes and sub-account secondary nodes, the customer secondary nodes being associated with the customer primary nodes.
Fig. 3 schematically shows a flowchart of a service information processing method based on a blockchain system according to an embodiment of the present disclosure.
As shown in fig. 3, the method includes operations S301 to S305.
In operation S301, in response to triggering a preset event, target service information is acquired through a target sub-account secondary node associated with the preset event. The preset event is characterized in that the banking business processing system completes the processing of the target business.
In operation S302, target business information is written into a target secondary block chain ledger book by a target secondary account secondary node. The target secondary blockchain ledger is a blockchain ledger of a target secondary blockchain network to which the target sub-account secondary node belongs.
In operation S303, target traffic information is sent, by a target customer secondary node of the target secondary blockchain network, to a target customer primary node associated with the target customer secondary node based on the target secondary blockchain ledger.
In operation S304, target service information is written into a master blockchain ledger of the master blockchain network by the target customer master node.
In operation S305, target business information is transmitted to the banking business processing system through the banking master node based on the master block chain ledger. And the banking business processing system verifies the target business based on the target business information.
According to an embodiment of the present disclosure, the banking master node may be generated by a management system of a bank after registration in the master blockchain network.
According to embodiments of the present disclosure, a customer master node may be generated by a customer clique after registration in a master blockchain network. After the customer master node has registered in the primary blockchain network, the blockchain system may generate a secondary blockchain network associated with the customer master node. The customer base may also generate customer secondary nodes in the secondary blockchain network by registering in the secondary blockchain network.
According to embodiments of the present disclosure, the sub-account secondary nodes may be generated by individual sub-accounts of a customer base after registration in a secondary blockchain network associated with the customer base.
According to the embodiment of the disclosure, after the banking business processing system finishes processing the target business, namely after the preset event is triggered, two or more sub-accounts associated with the target business can generate account-based transaction, so as to generate transaction information, namely target business information. The electronic device to which the sub-account belongs may transmit the transaction information to the target sub-account secondary node.
According to the embodiment of the disclosure, when the target sub-account secondary node writes the target service information into the target sub-blockchain ledger, each node in the target sub-blockchain network can perform consensus on the target service information, and complete the writing operation of the block after achieving the consensus. The algorithms used by each node for consensus may include, but are not limited to, POW (Proof of Work), POS (Proof of stock), DPOS (freed Proof of stock), PBFT (Practical Byzantine Fault Tolerant algorithm), DBFT (cleared Byzantine Fault Tolerant algorithm), etc., and the algorithms are not limited herein.
According to the embodiment of the disclosure, after the target service information is linked in the target secondary blockchain account of the target secondary blockchain network, the target customer secondary node may acquire the target service information through the target secondary blockchain account. Because the target customer master node and the target customer secondary node may be obtained by registering the same customer group in the master blockchain network and the target secondary blockchain network, the target customer secondary node may send the target service information to the target customer master node in any wired or wireless communication manner, and the specific communication manner is not limited herein.
According to the embodiment of the disclosure, when the target customer master node writes the target service information into the master block chain account book, each node in the master block chain network can perform consensus on the target service information, and the writing operation of the block is completed after the consensus is achieved. The algorithm used by the nodes for consensus may include, but is not limited to, POW, POS, DPOS, PBFT, DBFT, etc., and is not limited thereto.
According to the embodiment of the disclosure, after the target business information is linked in the master block chain account book of the master block chain network, the bank master node can acquire the target business information through the master block chain account book.
According to the embodiment of the disclosure, after the target service is processed, the target service information can be uplinked in the target secondary block chain account book of the target secondary block chain network through the target secondary account secondary node associated with the target service; then, the target service information can be synchronized to the target client main node through the target client secondary node of the target secondary blockchain network; the target customer master node can uplink the target service information in a master block chain account book of the master block chain network; then, the banking master node may obtain the target business information from the master block chain ledger book, and send the target business information to the banking business processing system, so that the banking business processing system checks the target business information. By using the block chain system, the financial change information generated after the target business is processed can be sent to the banking business processing system so as to realize the tracking and verification of the banking business processing system on the target business, so that the technical problem of low business verification efficiency of bank-enterprise interconnected transaction business caused by complicated acquisition of cross-bank financial data in the related technology is at least partially solved, the business verification efficiency of the bank-enterprise interconnected transaction business is effectively improved, and the business risk is reduced. On the other hand, the number of nodes in a single blockchain network is greatly reduced by setting the main blockchain network and the secondary blockchain network in the blockchain system, so that the technical problem of low working efficiency of the blockchain network in the related technology is at least partially solved, the reaction speed of the blockchain system is effectively improved, and the hardware cost of the blockchain system is reduced.
The method illustrated in fig. 3 is further described below in conjunction with specific embodiments with reference to fig. 4, 5, 6A, and 6B.
According to an embodiment of the present disclosure, operation S301 may include the operations of:
acquiring dynamic account information from target account information associated with the target sub-account secondary node through the target sub-account secondary node, wherein the dynamic account information comprises information generated in response to triggering a preset event; and encrypting the account moving information by using a target customer certificate to obtain target service information, wherein the target customer certificate is characterized by a certificate when a target customer main node is accessed into the main blockchain network and a certificate when a target sub blockchain network is accessed into the blockchain system.
According to an embodiment of the present disclosure, the target sub-account secondary node may be obtained by registering the target sub-account in the target sub-blockchain network, the target account information associated with the target sub-account secondary node may refer to transaction detail information of the target sub-account, and the dynamic account information may refer to information related to the target service in the transaction detail information.
According to an embodiment of the present disclosure, the dynamic account information may be encrypted by using a symmetric encryption or an asymmetric encryption, which is not limited herein. Taking asymmetric encryption as an example, the public key used in encryption and the private key used in decryption may both be generated based on the target client certificate, and during encryption, the relevant public key may be obtained from the encryption/decryption server through the target client certificate, or the public key may be stored in each sub-account of the client group and the client group. And then, the dynamic account information can be encrypted by using the public key to obtain the target service information.
According to the embodiment of the disclosure, the target client certificate may be a CA/EM certificate sent by a bank to a client group when the client group accesses the bank-enterprise internet system. The client group can use the target client certificate as a certificate to realize the access of the target client main node, the target client secondary node and the sub-account secondary node.
According to an embodiment of the present disclosure, operation S302 may include the operations of:
writing target service information into a first block through a target sub-account secondary node; in response to triggering a first recording event, performing consensus on the first block through a target secondary block chain network to obtain a first consensus result; and writing the first block into the target secondary blockchain account book through the target secondary blockchain network under the condition that the first consensus result is characterized to achieve consensus.
According to an embodiment of the present disclosure, the target secondary blockchain network may periodically perform a blockchain operation. In the interval period of every two block chaining operations, the information required to be written into the target secondary block chain account book may be written into one block, i.e. the first block. The first logging event may be triggered when the target secondary blockchain network performs a blockchain operation.
According to the embodiment of the present disclosure, the consensus on the first block through the target secondary block chain network may be implemented by adopting any consensus algorithm, which is not limited herein.
According to an embodiment of the present disclosure, operation S303 may include the operations of:
determining a target block from the target secondary block chain account book through the target client secondary node based on the client identification information of the target service; analyzing the target block to obtain target service information; and sending the target service information to the target client main node.
According to an embodiment of the present disclosure, the customer identification information may include identification information of a target sub-account associated with the target service, identification information of a customer group to which the target sub-account belongs, service processing time information associated with the target service, and the like. The composition of the client identification information may be set according to a specific application scenario, and is not limited herein.
According to the embodiment of the disclosure, after the sub-accounts of the customer group are registered as the target sub-account sub-nodes on the target sub-blockchain network, the sub-accounts can realize real-time monitoring on the target sub-blockchain account book.
According to an embodiment of the present disclosure, the process of determining a target block from a target secondary blockchain ledger may be to take a last block in the target secondary blockchain ledger as a target block; or the most front block in a plurality of blocks of which the block dropping time is later than the service processing time information of the target service in the target secondary block chain account book can be used as the target block; the identification information of the target sub-account can be used as a keyword to search blocks with a preset number in the target secondary block chain account book, so that the target block is determined.
According to an embodiment of the present disclosure, parsing the target block may refer to acquiring target service information from block information included in the target block.
According to an embodiment of the present disclosure, operation S304 may include the following operations:
writing the target service information into the second block through the target client main node; in response to triggering a second recording event, performing consensus on a second block through a main block chain network to obtain a second consensus result; and writing the second block into the master block chain account book through the master block chain network under the condition that the second consensus result is characterized to achieve consensus.
According to an embodiment of the present disclosure, a master blockchain network may periodically perform a blockchain operation. In the interval of two block chaining operations, the information required to be written into the main block chain account book may be written into one block, i.e. the second block. The second logging event may be triggered when the master blockchain network performs a blockchain operation.
According to the embodiment of the present disclosure, the consensus on the second block through the main block chain network may be implemented by adopting any consensus algorithm, which is not limited herein.
The following describes a process of the primary block chain network recognizing the second block together by taking an authorized byzantine fault-tolerant algorithm as an example.
Fig. 4 schematically shows a schematic diagram of a second tile consensus process according to an embodiment of the present disclosure.
As shown in fig. 4, the second block consensus process may include a request initiation phase (request), a pre-preparation phase (pre-preparation), a preparation phase (preparation), a commit phase (commit), and a reply phase (reply). The third consensus nodes 1, 2 may be consensus nodes in a normal state and the third consensus node 3 may be consensus nodes in an abnormal state.
According to an embodiment of the present disclosure, in response to triggering a second recording event, the second block consensus process enters a request initiation phase. In the request initiation phase, a second consensus request may be generated based on the second tile through the master tile chain network.
According to an embodiment of the present disclosure, the second consensus request may carry second consensus information, where the second consensus information may include timestamp information, master block chain network identification information, content of the second block, summary information of the content of the second block, and the like, which is not limited herein.
According to an embodiment of the present disclosure, in the request initiation phase, the master block chain network may sign the second consensus request and send the second consensus request to the master node.
According to an embodiment of the present disclosure, the master node may elect to be generated from the second consensus node; or may be any node designated in the master blockchain network, such as a target client master node, and the like, which is not limited herein. The second block consensus process is described below with the target client host node as the host node.
According to an embodiment of the present disclosure, in the request initiation phase, the sending, by the master blockchain network, the second consensus request to the master node may be: and sending a second consensus request to the target customer master node through the master blockchain network.
According to an embodiment of the present disclosure, the target client master node may check the received second consensus request during a pre-preparation phase. The specific checking operation may include, but is not limited to, checking whether the signature of the second consensus request is correct, checking whether the timestamp information of the second consensus request is correct, and the like.
According to an embodiment of the present disclosure, in a case that the second consensus information does not pass the verification of the target client master node, the target client master node may discard the second consensus request and end the consensus process for the second block.
According to the embodiment of the disclosure, when the target client master node checks the second consensus information, the target client master node may assign a number to the second consensus request, sign the second consensus request, and broadcast the second consensus request in the main blockchain network, that is, the target client master node sends the second consensus request to a third consensus node in the main blockchain network.
According to an embodiment of the present disclosure, the number assigned to the second consensus request may be used to order the second consensus request to ensure stability of the consensus process.
According to an embodiment of the present disclosure, the third consensus node may be elected among the nodes of the master blockchain network.
According to an embodiment of the present disclosure, in the preparation stage, any one of the third consensus nodes, that is, the second target consensus node, may check the received second consensus request, and the specific checking operation may include verifying whether a signature of the target client master node on the second consensus request is correct, determining whether the second consensus request is repeatedly received, determining whether the content of the second block included in the second consensus request corresponds to the content digest of the second block, and the like, which is not limited herein.
According to an embodiment of the present disclosure, in case that the second consensus information does not pass the verification of the second target consensus node, the second target consensus node may discard the second consensus request, i.e. not respond to the second consensus request.
According to the embodiment of the disclosure, in the case that the second target consensus node passes the verification of the second consensus information, third consensus feedback information may be sent to other nodes. That is, the second target consensus node in the third consensus nodes sends the third consensus feedback information to the target client master node and the fourth consensus node when the second consensus information is verified.
According to an embodiment of the present disclosure, the fourth common node may include a third common node other than the second target common node among the third common nodes.
According to an embodiment of the present disclosure, the third consensus feedback information may further include, in addition to the information of the second consensus request, a signature of the second target consensus node on the second consensus request, and the like.
According to an embodiment of the disclosure, in the commitment stage, after receiving the third consensus feedback information, any one of the target client master node and the third consensus node may check the third consensus feedback information. The specific checking operation may include verifying whether the signature in the preparation stage is correct, determining whether the content of the second chunk included in the third consensus feedback information corresponds to the content digest of the second chunk, and the like, which is not limited herein.
According to an embodiment of the present disclosure, any one of the target client master node and the third consensus node may determine whether a commitment may be made to the second consensus request based on a ratio of the number of received third consensus feedback information to the number of third consensus nodes. And sending fourth consensus feedback information to the main blockchain network through the target customer master node or the third consensus node based on the received third consensus feedback information. For example, the node may commit to the second consensus request when the number P of received third consensus feedback information is greater than a safety threshold R, which may be related to the number N of third consensus nodes, such as N ≧ R ≧ 2N/3.
According to an embodiment of the present disclosure, the master blockchain network may determine the second consensus result according to the number of the received fourth feedback information. Namely, the second consensus result is determined based on the fourth consensus feedback information through the master blockchain network. For example, when the number of the received fourth consensus feedback information is smaller than the safety threshold, the obtained second consensus result may be that consensus is not achieved; the second consensus result may be an agreed-upon consensus when the number of received fourth consensus feedback information is greater than or equal to a safety threshold.
According to the embodiment of the disclosure, by controlling the chaining operation of the second block by using the consensus algorithm, the consistency of the data recorded by each node of the block chain network can be ensured, thereby ensuring the normal operation of the block chain system.
According to an embodiment of the present disclosure, taking an authorized byzantine fault-tolerant algorithm as an example, the process of the target sub-blockchain network recognizing the first block may include the following operations:
generating a first common identification request based on a first block through a target secondary block chain network in response to triggering a first recording event, wherein the first common identification request carries first common identification information; sending a first consensus request to a target sub-account secondary node through a target secondary blockchain network; under the condition that the target sub-account secondary node passes the verification of the first common identification information, sending a first common identification request to a first common identification node of the target sub-block chain network through the target sub-account secondary node; sending first common knowledge feedback information to a target sub-account secondary node and a second common knowledge node under the condition that a first target common knowledge node in the first common knowledge nodes passes the verification of the first common knowledge information, wherein the second common knowledge node comprises the first common knowledge node except the first target common knowledge node in the first common knowledge nodes; sending second consensus feedback information to the target secondary block chain network through the target sub-account secondary node or the first consensus node based on the received first consensus feedback information; and determining a first consensus result based on the second consensus feedback information through the target secondary blockchain network.
According to the embodiment of the present disclosure, for a specific description of the process of the target secondary blockchain network identifying the first block, reference may be made to the description of the process of the primary blockchain network identifying the second block in fig. 3, which is not described herein again.
According to an embodiment of the present disclosure, the first and third consensus nodes may be generated by election, i.e. in response to a trigger logging event, the consensus nodes are determined from candidate nodes of the blockchain network by the blockchain network.
According to an embodiment of the present disclosure, the logging event may include a first logging event or a second logging event, the blockchain network may include a target secondary blockchain network or a main blockchain network, and the candidate node may include a target customer secondary node of the target secondary blockchain network and all sub-account secondary nodes of the target secondary blockchain network, or all customer primary nodes of the main blockchain network.
Fig. 5 schematically shows a flow chart of a consensus node election process according to an embodiment of the present disclosure.
As shown in fig. 5, the consensus node election process may include operations S501-S503.
In operation S501, for each candidate node, a first time value consumed by the candidate node to generate a first preset number of blocks and a second time value consumed by the candidate node to analyze a preset hash function are determined through the blockchain network.
In operation S502, a validity parameter of the candidate node is determined based on the first time value and the second time value.
In operation S503, a second preset number of candidate nodes with the highest validity parameter are selected as consensus nodes.
According to an embodiment of the present disclosure, the first preset number and the second preset number may be set according to a specific application scenario, and are not limited herein.
According to an embodiment of the present disclosure, determining the validity parameter of the candidate node based on the first time value and the second time value may be as shown in formula (1):
Figure BDA0003670074180000191
in the formula, t represents a second time value; time n Representing a first time value; t is t 0 Represents a time metric, which may be a hyper-parameter; n represents a first preset number; a representsAn effectiveness parameter.
Fig. 6A schematically illustrates an architecture diagram of a bank-enterprise interconnection platform according to an embodiment of the present disclosure.
As shown in FIG. 6A, a bank-enterprise interconnection platform 600 may be comprised of an enterprise resource planning system 610, a bank-enterprise interconnection system 620, a banking business processing system 630, and a blockchain system 640.
According to the embodiment of the disclosure, when an enterprise generates a transaction demand, the enterprise resource planning system 610 can extract the transaction request, fill in data such as access elements and business elements according to the transaction demand, encrypt transaction information according to bank encryption rules, obtain a JSON format transaction message data packet after encryption, and transmit the transaction message data packet to the bank-enterprise interconnection system 620 through the internet or a private line.
According to the embodiment of the disclosure, the bank-enterprise interconnection system 620 may identify the enterprise identity by using the enterprise CA/EM certificate, extract the transaction information in the transaction message data packet, and perform preliminary verification on the transaction information, for example, verify the client certificate key, check the transaction request for a signature, check the interface call authority of the enterprise, and the like. After the verification is passed, the transaction packet is forwarded to the banking system 630. Bank-enterprise interconnection system 620 may also receive feedback messages from banking system 630 and return the feedback messages to enterprise resource planning system 610.
According to the embodiment of the present disclosure, the banking processing system 630 may check the protocol authority and the client account authority according to the received transaction message data packet, and transfer the transaction information in the transaction message data packet to the corresponding banking background system for performing the business processing, so as to obtain the processing result.
According to the embodiment of the present disclosure, the banking processing system 630 may further check the target service after receiving the target service information of the blockchain system 640, and specifically may include the following operations: the banking business processing system acquires a business processing result of the target business from the database; decrypting the target service information by using the target client certificate to obtain account moving information; and verifying the service processing result by using the dynamic account information.
According to an embodiment of the present disclosure, verifying the service processing result by using the dynamic account information may include: verifying a client certificate in a transaction message data packet by using the identity of a target client master node in a master block chain network; verifying the transaction limit in the transaction message data packet by using the data variable limit information in the dynamic account information; the data change direction information in the dynamic account information is used to check the account debit/credit symbol in the transaction message data packet, and the like, which is not limited herein.
According to the embodiment of the disclosure, the information in the block chain can be encrypted by using the client certificate, so that the information in the block chain does not need public authentication, the data is only used by a bank, and the client information is not easy to leak.
According to an embodiment of the disclosure, the banking processing system 630 may return the verification result to the enterprise resource planning system 610 through the bank-enterprise interconnection system 620, so as to facilitate the user to process the verification result.
According to the embodiment of the disclosure, after the banking system 630 completes the business processing, the blockchain system 640 may encrypt the dynamic account information generated after the business processing to obtain the target business information, and record the target business information into the account book. The blockchain system 640 can then also send the target business information to the banking system 630.
Fig. 6B schematically shows a flowchart of a business processing method of an application bank-enterprise interconnection platform according to an embodiment of the present disclosure.
As shown in fig. 6B, after the process starts, the client sends a transaction request in the enterprise resource planning system 610 according to the transaction request, and the enterprise resource planning system 610 automatically packages the transaction information, encrypts the transaction information according to the client certificate to form a transaction request data packet in the JSON standard format, and sends the transaction request data packet to the bank-enterprise interconnection system 620 through the internet or a private line.
According to an embodiment of the disclosure, the bank-to-enterprise interconnection system 620 receives, verifies, and forwards transaction information. And picking up specific elements in the data packet, and outputting the element data meeting the requirements into a fixed-length format data packet. And simultaneously sending the data packet to the banking business processing system 630 and the blockchain system 640 for business processing and tracking verification respectively.
According to an embodiment of the present disclosure, the banking processing system 630 processes the transaction request according to the system logic and outputs the processing result. The blockchain system 640 monitors the blockchain network in real time. And initiating a block chain consensus application according to the block data change in the block chain, and identifying the block with the data change in the block chain network and data change information. And extracting the group client certificate in the bank-enterprise interconnection transaction information and the identity verification of the main block in the commonly recognized main block chain, extracting the account transaction amount in the bank-enterprise interconnection transaction information and the data change amount in the main block and the sub block for verification, and extracting the account loan symbol in the bank-enterprise interconnection transaction information for verifying the data change direction in the main block and the sub block. If the three checks pass at the same time, the transaction is considered to be successful.
According to the embodiment of the disclosure, a bank-enterprise interconnection business result is generated comprehensively according to the verification result and the business processing result. If the verification is passed, the business processing result is normally output, if the verification result is abnormal, the customer is informed of abnormal transaction, and the financial affairs are checked with the bank in time. Meanwhile, the abnormal transaction information is submitted to the banking business processing system 630 again, the abnormal transaction is processed again, the subsequent processing of the abnormal transaction is completed before the customer checks account, the normal transaction result of the customer is ensured, the transaction risk of the customer is reduced, and the user experience is improved.
Fig. 7 schematically shows a block diagram of a traffic information processing apparatus based on a blockchain system according to an embodiment of the present disclosure.
As shown in fig. 7, the blockchain system includes a primary blockchain network including a bank primary node and a customer primary node, and a secondary blockchain network including a customer secondary node and a sub-account secondary node, the customer secondary node being associated with the customer primary node. The service information processing apparatus 700 based on the blockchain system includes an obtaining module 710, a first writing module 720, a first sending module 730, a second writing module 740, and a second sending module 750.
The obtaining module 710 is configured to, in response to a preset event being triggered, obtain target service information through a target sub-account secondary node associated with the preset event, where the preset event is characterized in that the banking processing system completes processing of the target service.
A first writing module 720, configured to write the target service information into a target secondary block chain ledger through the target sub-account secondary node, where the target secondary block chain ledger is a block chain ledger of a target secondary block chain network to which the target sub-account secondary node belongs.
A first sending module 730, configured to send, by a target customer secondary node of the target secondary blockchain network, target service information to a target customer primary node associated with the target customer secondary node based on the target secondary blockchain ledger.
And a second writing module 740, configured to write the target service information into a master area chain account book of the master area chain network through the target customer master node.
And a second sending module 750, configured to send, by the banking host node, the target service information to the banking-service processing system based on the master-block-chain ledger, where the banking-service processing system checks the target service based on the target service information.
According to the embodiment of the disclosure, after the target service is processed, the target service information can be uplinked in the target secondary block chain account book of the target secondary block chain network through the target secondary account secondary node associated with the target service; then, the target service information can be synchronized to the target client main node through the target client secondary node of the target secondary blockchain network; the target customer master node can uplink the target service information in a master block chain account book of the master block chain network; then, the banking master node may obtain the target business information from the master block chain ledger book, and send the target business information to the banking business processing system, so that the banking business processing system checks the target business information. By using the block chain system, the financial change information generated after the target business is processed can be sent to the banking business processing system so as to realize the tracking and verification of the banking business processing system on the target business, so that the technical problem of low business verification efficiency of bank-enterprise interconnected transaction business caused by complicated acquisition of cross-bank financial data in related technologies is at least partially solved, the business verification efficiency of the bank-enterprise interconnected transaction business is effectively improved, and the business risk is reduced. On the other hand, the number of nodes in a single blockchain network is greatly reduced by setting the main blockchain network and the secondary blockchain network in the blockchain system, so that the technical problem of low working efficiency of the blockchain network in the related technology is at least partially solved, the reaction speed of the blockchain system is effectively improved, and the hardware cost of the blockchain system is reduced.
According to an embodiment of the present disclosure, the first transmitting module 730 includes a first transmitting unit, a second transmitting unit, and a third transmitting unit.
And the first sending unit is used for determining the target block from the target secondary block chain account book through the target client secondary node based on the client identification information of the target service.
And the second sending unit is used for analyzing the target block to obtain the target service information.
And the third sending unit is used for sending the target service information to the target client main node.
According to an embodiment of the present disclosure, the obtaining module 710 includes a first obtaining unit and a second obtaining unit.
The system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring dynamic account information from target account information associated with a target sub-account secondary node through the target sub-account secondary node, and the dynamic account information comprises information generated in response to a trigger preset event.
And the second acquisition unit is used for encrypting the account moving information by using a target customer certificate to obtain target service information, wherein the target customer certificate is characterized by a certificate when the target customer master node is accessed into the master blockchain network and a certificate when the target secondary blockchain network is accessed into the blockchain system.
According to an embodiment of the present disclosure, the second transmission module 750 includes a fourth transmission unit, a fifth transmission unit, and a sixth transmission unit.
And the fourth sending unit is used for acquiring the service processing result of the target service from the database by the banking service processing system.
And the fifth sending unit is used for decrypting the target service information by using the target client certificate to obtain the dynamic account information.
And the sixth sending unit is used for verifying the business processing result by using the dynamic account information.
According to an embodiment of the present disclosure, the first write module 720 includes a first write unit, a second write unit, and a third write unit.
And the first writing unit is used for writing the target service information into the first block through the target sub-account secondary node.
And the second writing unit is used for responding to the triggering of the first recording event and performing consensus on the first block through the target secondary block chain network to obtain a first consensus result.
And a third writing unit, configured to write the first block into the target secondary blockchain ledger through the target secondary blockchain network if the first consensus result is characterized as achieving consensus.
According to an embodiment of the present disclosure, the second writing unit includes a first writing subunit, a second writing subunit, a third writing subunit, a fourth writing subunit, a fifth writing subunit, and a sixth writing subunit.
The first write-in subunit is configured to generate, in response to a first recording event being triggered, a first common request based on the first block through the target secondary block chain network, where the first common request carries first common information.
And the second writing subunit is used for sending the first consensus request to the target sub-account secondary node through the target secondary block chain network.
And the third writing subunit is configured to send the first common identification request to the first common identification node of the target secondary blockchain network through the target secondary sub-account node when the first common identification information is verified to be passed by the target secondary sub-account node.
And a fourth writing subunit, configured to send, by a first target consensus node in the first consensus nodes, the first consensus feedback information to the target sub-account sub-node and a second consensus node when the first consensus information is verified, where the second consensus node includes the first consensus node except the first target consensus node in the first consensus node.
And a fifth write-in subunit, configured to send, by the target sub-account secondary node or the first consensus node, second consensus feedback information to the target secondary blockchain network based on the received first consensus feedback information.
And a sixth write subunit, configured to determine, through the target secondary blockchain network, the first consensus result based on the second consensus feedback information.
According to an embodiment of the present disclosure, the second write module 740 includes a fourth write unit, a fifth write unit, and a sixth write unit.
And the fourth writing unit is used for writing the target service information into the second block through the target client main node.
And the fifth writing unit is used for responding to the triggering of the second recording event and carrying out consensus on the second block through the main block chain network to obtain a second consensus result.
And the sixth writing unit is used for writing the second block into the master block chain account book through the master block chain network under the condition that the second consensus result is characterized to achieve consensus.
According to an embodiment of the present disclosure, the fifth writing unit includes a seventh writing sub-unit, an eighth writing sub-unit, a ninth writing sub-unit, a tenth writing sub-unit, an eleventh writing sub-unit, and a twelfth writing sub-unit.
And the seventh writing subunit is configured to generate, in response to triggering the second recording event, a second consensus request based on the second block through the main block chain network, where the second consensus request carries second consensus information.
And the eighth writing subunit is used for sending the second consensus request to the target client main node through the main block chain network.
And the ninth writing subunit is configured to send, by the target client master node, a second consensus request to a third consensus node of the master block chain network when the second consensus information is verified to pass by the target client master node.
And a tenth writing subunit, configured to send, by a second target consensus node in the third consensus nodes, third consensus feedback information to the target client master node and a fourth consensus node when the second consensus information is verified, where the fourth consensus node includes a third consensus node in the third consensus nodes except for the second target consensus node.
And the eleventh write-in subunit is configured to send, by the target client master node or the third consensus node, fourth consensus feedback information to the main block chain network based on the received third consensus feedback information.
And the twelfth writing subunit is used for determining a second consensus result through the main block chain network based on the fourth consensus feedback information.
According to an embodiment of the present disclosure, the service information processing apparatus 700 based on the blockchain system further includes a determination module.
And the determining module is used for responding to the recording triggering event and determining the consensus node from the candidate nodes of the block chain network through the block chain network.
According to an embodiment of the present disclosure, the logging event includes a first logging event or a second logging event, the blockchain network includes a target secondary blockchain network or a master blockchain network, and the candidate node includes a target customer secondary node of the target secondary blockchain network and all sub-account secondary nodes of the target secondary blockchain network, or all customer primary nodes of the master blockchain network.
According to an embodiment of the present disclosure, the determination module includes a first determination unit, a second determination unit, and a third determination unit.
The first determining unit is used for determining a first time value consumed by the candidate node for generating a first preset number of blocks and a second time value consumed by analyzing a preset hash function through the blockchain network for each candidate node.
And the second determining unit is used for determining the validity parameters of the candidate nodes based on the first time value and the second time value.
And the third determining unit is used for selecting the candidate nodes with the highest effectiveness parameter and the second preset number as the consensus nodes.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or by any other reasonable means of hardware or firmware for integrating or packaging a circuit, or by any one of or a suitable combination of any of software, hardware, and firmware. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the obtaining module 710, the first writing module 720, the first sending module 730, the second writing module 740, and the second sending module 750 may be combined and implemented in one module/unit/sub-unit, or any one of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Alternatively, at least part of the functionality of one or more of these modules/units/sub-units may be combined with at least part of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the present disclosure, at least one of the obtaining module 710, the first writing module 720, the first sending module 730, the second writing module 740, and the second sending module 750 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or by a suitable combination of any several of them. Alternatively, at least one of the obtaining module 710, the first writing module 720, the first transmitting module 730, the second writing module 740, and the second transmitting module 750 may be at least partially implemented as a computer program module, which when executed, may perform a corresponding function.
It should be noted that, in the embodiment of the present disclosure, the service information processing apparatus part based on the blockchain system corresponds to the service information processing method part based on the blockchain system in the embodiment of the present disclosure, and the description of the service information processing apparatus part based on the blockchain system specifically refers to the service information processing method part based on the blockchain system, and is not described herein again.
Fig. 8 schematically shows a block diagram of an electronic device adapted to implement a service information processing method based on a blockchain system according to an embodiment of the present disclosure. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, a computer electronic device 800 according to an embodiment of the present disclosure includes a processor 801 which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flows according to embodiments of the present disclosure.
In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are stored. The processor 801, ROM 802, and RAM 803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 802 and/or RAM 803. Note that the programs may also be stored in one or more memories other than the ROM 802 and RAM 803. The processor 801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 800 may also include input/output (I/O) interface 805, input/output (I/O) interface 805 also connected to bus 804, according to an embodiment of the present disclosure. Electronic device 800 may also include one or more of the following components connected to I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
According to embodiments of the present disclosure, method flows according to embodiments of the present disclosure may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program, when executed by the processor 801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to an embodiment of the present disclosure, the computer readable storage medium may be a non-volatile computer readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 802 and/or RAM 803 described above and/or one or more memories other than the ROM 802 and RAM 803.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method provided by the embodiments of the present disclosure, when the computer program product runs on an electronic device, the program code is configured to enable the electronic device to implement the method for processing business information based on a blockchain system provided by the embodiments of the present disclosure.
The computer program, when executed by the processor 801, performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, and the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via communication section 809, and/or installed from removable media 811. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the disclosure, and these alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (13)

1. A method of processing business information based on a blockchain system, wherein the blockchain system includes a primary blockchain network and a secondary blockchain network, the primary blockchain network includes a bank primary node and a customer primary node, the secondary blockchain network includes a customer secondary node and a sub-account secondary node, and the customer secondary node is associated with the customer primary node, the method comprising:
responding to a triggering preset event, and acquiring target service information through a target sub-account secondary node associated with the preset event, wherein the preset event is characterized in that a banking service processing system completes processing of a target service;
writing the target business information into a target secondary block chain account book through the target secondary account secondary node, wherein the target secondary block chain account book is a block chain account book of a target secondary block chain network to which the target secondary account secondary node belongs;
sending the target service information to a target client main node associated with a target client secondary node based on the target secondary blockchain account book through the target client secondary node of the target secondary blockchain network;
writing the target business information into a master block chain account book of the master block chain network through the target customer master node; and
and sending the target business information to the banking business processing system through the banking host node based on the master block chain account book, wherein the banking business processing system checks the target business based on the target business information.
2. The method of claim 1, wherein the sending, by a target customer secondary node of the target secondary blockchain network, the target traffic information to a target customer primary node associated with the target customer secondary node based on the target secondary blockchain ledger comprises:
determining a target block from the target secondary block chain account book based on the client identification information of the target service through the target client secondary node;
analyzing the target block to obtain the target service information; and
and sending the target service information to the target client main node.
3. The method of claim 1, wherein the obtaining target service information through a target sub-account secondary node associated with a preset event in response to triggering the preset event comprises:
acquiring dynamic account information from target account information associated with the target sub-account secondary node through the target sub-account secondary node, wherein the dynamic account information is generated in response to triggering the preset event; and
and encrypting the dynamic account information by using a target customer certificate to obtain the target service information, wherein the target customer certificate is characterized by a certificate when the target customer master node is accessed into the master blockchain network and a certificate when the target secondary blockchain network is accessed into the blockchain system.
4. The method of claim 3, wherein the banking processing system verifies the target transaction based on the target transaction information, comprising:
the banking business processing system acquires a business processing result of the target business from a database;
decrypting the target business information by using the target client certificate to obtain the dynamic account information; and
and verifying the service processing result by using the dynamic account information.
5. The method of claim 1, wherein said writing, by the target sub-account secondary node, the target business information to a target secondary blockchain ledger comprises:
writing the target service information into a first block through the target sub-account secondary node;
in response to a first recording event, performing consensus on the first block through the target secondary block chain network to obtain a first consensus result; and
writing the first block into the target secondary blockchain ledger through the target secondary blockchain network if the first consensus result is characterized as achieving consensus.
6. The method of claim 5, wherein said consensus for the first tile over the target secondary blockchain network in response to triggering a first recording event, resulting in a first consensus result, comprises:
generating a first common identification request based on the first block through the target secondary block chain network in response to triggering the first recording event, wherein the first common identification request carries first common identification information;
sending the first consensus request to the target sub-account secondary node over the target secondary blockchain network;
sending the first common identification request to a first common identification node of the target secondary block chain network through the target secondary account secondary node under the condition that the target secondary account secondary node passes the verification of the first common identification information;
sending, by a first target consensus node of the first consensus nodes, first consensus feedback information to the target sub-account secondary node and a second consensus node when the first consensus information is verified, wherein the second consensus node includes a first consensus node of the first consensus nodes except the first target consensus node;
sending second consensus feedback information to the target secondary block chain network through the target sub-account secondary node or the first consensus node based on the received first consensus feedback information; and
determining, by the target secondary blockchain network, the first consensus result based on the second consensus feedback information.
7. The method of claim 1, wherein the writing, by the target customer master node, the target business information to a master blockchain ledger of the master blockchain network comprises:
writing the target service information into a second block through the target client main node;
in response to a second recording event, performing consensus on the second block through the main block chain network to obtain a second consensus result; and
writing the second block into the master block chain ledger through the master block chain network if the second consensus result is characterized as achieving consensus.
8. The method of claim 7, wherein said consensus on the second tile through the network of master tile chains in response to triggering a second recording event, resulting in a second consensus result, comprises:
responding to the triggering of the second recording event, and generating a second consensus request based on the second block through the main block chain network, wherein the second consensus request carries second consensus information;
sending the second consensus request to the target customer master node over the master blockchain network;
under the condition that the target customer master node passes the verification of the second consensus information, sending the second consensus request to a third consensus node of the master block chain network through the target customer master node;
sending, by a second target consensus node of the third consensus nodes, third consensus feedback information to the target client master node and fourth consensus nodes if the second consensus information is verified, wherein the fourth consensus nodes include a third consensus node of the third consensus nodes other than the second target consensus node;
sending fourth consensus feedback information to the master block chain network based on the received third consensus feedback information through the target customer master node or the third consensus node; and
determining, by the master blockchain network, the second consensus result based on the fourth consensus feedback information.
9. The method of claim 6 or 8, further comprising:
determining, by a blockchain network, a consensus node from candidate nodes of the blockchain network in response to a trigger logging event;
the log event comprises a first log event or a second log event, the blockchain network comprises a target secondary blockchain network or a main blockchain network, and the candidate nodes comprise target customer secondary nodes of the target secondary blockchain network and all sub-account secondary nodes of the target secondary blockchain network, or all customer primary nodes of the main blockchain network.
10. The method of claim 9, wherein the determining, by the blockchain network, a consensus node from the candidate nodes of the blockchain network in response to a triggering logging event comprises:
for each candidate node, determining, by the blockchain network, a first time value consumed by the candidate node to generate a first preset number of blocks, and a second time value consumed by the candidate node to analyze a preset hash function;
determining a validity parameter for the candidate node based on the first time value and the second time value; and
and selecting a second preset number of candidate nodes with the highest validity parameter as the consensus nodes.
11. A business information processing apparatus based on a blockchain system including a primary blockchain network including a bank master node and a customer master node, and a secondary blockchain network including a customer slave node and a sub-account slave node, the customer slave node being associated with the customer master node, the apparatus comprising:
the acquisition module is used for responding to a triggering preset event and acquiring target service information through a target sub-account secondary node associated with the preset event, wherein the preset event is characterized in that the banking service processing system completes processing of a target service;
a first writing module, configured to write the target service information into a target secondary block chain ledger through the target sub-account secondary node, where the target secondary block chain ledger is a block chain ledger of a target secondary block chain network to which the target sub-account secondary node belongs;
a first sending module, configured to send, by a target customer secondary node of the target secondary blockchain network, the target service information to a target customer primary node associated with the target customer secondary node based on the target secondary blockchain ledger;
the second writing module is used for writing the target business information into a master block chain account book of the master block chain network through the target customer master node; and
and the second sending module is used for sending the target business information to the banking business processing system through the banking host node based on the master block chain account book, wherein the banking business processing system checks the target business based on the target business information.
12. An electronic device, comprising:
one or more processors;
a memory to store one or more instructions that,
wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
13. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 10.
CN202210603794.5A 2022-05-30 2022-05-30 Business information processing method, device, equipment and medium based on block chain system Pending CN114997987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210603794.5A CN114997987A (en) 2022-05-30 2022-05-30 Business information processing method, device, equipment and medium based on block chain system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210603794.5A CN114997987A (en) 2022-05-30 2022-05-30 Business information processing method, device, equipment and medium based on block chain system

Publications (1)

Publication Number Publication Date
CN114997987A true CN114997987A (en) 2022-09-02

Family

ID=83031271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210603794.5A Pending CN114997987A (en) 2022-05-30 2022-05-30 Business information processing method, device, equipment and medium based on block chain system

Country Status (1)

Country Link
CN (1) CN114997987A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116541871A (en) * 2023-07-06 2023-08-04 北京鼎轩科技有限责任公司 Data processing method, distributed system, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116541871A (en) * 2023-07-06 2023-08-04 北京鼎轩科技有限责任公司 Data processing method, distributed system, computer equipment and storage medium
CN116541871B (en) * 2023-07-06 2023-08-29 北京鼎轩科技有限责任公司 Data processing method, distributed system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US11599555B2 (en) Data manifest as a blockchain service
US20220231869A1 (en) Cross-blockchain mutual data storage
US20220239470A1 (en) Cross-blockchain data processing method and apparatus, device, and computer storage medium
JP7297742B2 (en) Computer-implemented systems and methods for linking blockchains to digital twins
US11694110B2 (en) Aggregated machine learning verification for database
CN108023729B (en) Block chain network and transaction method thereof
US11562228B2 (en) Efficient verification of machine learning applications
CN112994892B (en) Cross-chain interaction method, device, system and electronic equipment
CN111724153B (en) Prepaid consumption supervision system and method based on block chain and storage medium
US20210398116A1 (en) Managing transactions in multiple blockchain networks
US20230161894A1 (en) Protecting Sensitive Data
US20240020392A1 (en) Enabling reliable communications between computing instances
US20190268153A1 (en) Event execution using a blockchain approach
WO2018195364A1 (en) Time stamping systems and methods
US11599858B2 (en) Blockchain settlement network
WO2020147651A1 (en) Method, apparatus and device for data processing in blockchain capital settlement system, and medium
US20190207766A1 (en) File based transmission validation and failure location identification system
US11403632B2 (en) Managing transactions in multiple blockchain networks
CN112347517B (en) KYC compliance supervision system based on multi-party safety calculation
CN111899019A (en) Method and system for cross validation and sharing of blacklist and multiple parties
CN111461881A (en) Data management method and device, computer equipment and storage medium
CN114997987A (en) Business information processing method, device, equipment and medium based on block chain system
KR102124440B1 (en) The abcd-type apparatus and method of block chain for management of research funds by using randomized mesh blockchain type verifier module and smart tcv type blockchain mediation module
US20230013119A1 (en) Tainted asset marker management
CN110852887B (en) Method and device for acquiring transaction processing state in decentralized application cluster

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