CN108830733B - Information processing method, block chain cluster and system - Google Patents

Information processing method, block chain cluster and system Download PDF

Info

Publication number
CN108830733B
CN108830733B CN201810643570.0A CN201810643570A CN108830733B CN 108830733 B CN108830733 B CN 108830733B CN 201810643570 A CN201810643570 A CN 201810643570A CN 108830733 B CN108830733 B CN 108830733B
Authority
CN
China
Prior art keywords
information
consensus
node
endorsement
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810643570.0A
Other languages
Chinese (zh)
Other versions
CN108830733A (en
Inventor
吉文艳
王跃东
沈思铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201810643570.0A priority Critical patent/CN108830733B/en
Publication of CN108830733A publication Critical patent/CN108830733A/en
Application granted granted Critical
Publication of CN108830733B publication Critical patent/CN108830733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Insurance
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides an information processing method, a block chain cluster and a system, wherein after the identified endorsement information passes verification, each data recording node writes the identified transaction request information into a block chain in the data recording node. Because the data recording nodes are the nodes registered in the block chain cluster by different mechanisms, the different mechanisms can inquire data in the data recording nodes, data sharing can be realized, and the universality of information is improved.

Description

Information processing method, block chain cluster and system
Technical Field
The present invention relates to the field of communications, and in particular, to an information processing method, a block chain cluster, and a system.
Background
Today, with the development of economic society, people's living standard is increasing, and the awareness of protecting assets, bodies, and finances is increasing, and various insurance products are being introduced by each insurance company. In the process of dealing with insurance, user data needs to be submitted to an insurance company, and the insurance company can obtain the user data applied to the insurance company.
However, insurance companies can only obtain the user data applied to the insurance companies on their own systems, and the user data stored in different insurance companies cannot be shared, thereby reducing the universality of information.
Disclosure of Invention
In view of the above, the present invention provides an information processing method, a block chain cluster and a system, so as to solve the problem that user data stored between different insurance companies cannot be shared, thereby reducing the universality of information.
In order to solve the technical problems, the invention adopts the following technical scheme:
an information processing method applied to a block chain cluster comprises the following steps:
at least one endorsement node receives transaction request information sent by a terminal;
at least one endorsement node carries out endorsement operation on the transaction request information to obtain endorsement information, and feeds the endorsement information back to the terminal;
the consensus node cluster receives the transaction request information and each endorsement information fed back by the terminal when each endorsement information is determined to be legal, executes consensus operation according to the transaction request information and each endorsement information to obtain a consensus result, and broadcasts the consensus result to each data recording node; the consensus result comprises the transaction request information after consensus and endorsement information after consensus;
each data recording node verifies the endorsement information after the consensus and writes the transaction request information after the consensus into a block chain in the data recording node after the verification is passed; and the data recording nodes are nodes registered in the block chain cluster by different mechanisms.
Preferably, after each of the data recording nodes writes the identified transaction request information into the block chain in the data recording node, the method further includes:
each data synchronization module acquires log information; the log information is a log generated when the data recording node writes the identified transaction request information into a block chain in the data recording node; the data synchronization modules are connected with the data recording nodes one by one;
and each data synchronization module plays back the log information through a playback mechanism and writes the information obtained through playback into a preset database.
Preferably, the method further comprises the following steps:
and the block chain monitoring node monitors the running state of each node in the block chain cluster.
Preferably, the transaction request information includes transaction information and user signature information;
correspondingly, at least one endorsement node performs endorsement operation on the transaction request information to obtain endorsement information, and the endorsement information comprises:
carrying out signature verification operation on the user signature information to obtain a signature verification result;
carrying out authentication operation on the user information in the user signature information to obtain an authentication result;
carrying out simulated transaction operation on the transaction information to obtain a simulated transaction result;
and generating the endorsement information based on the signature verification result, the authentication result and the simulated transaction result.
Preferably, the consensus node cluster executes consensus operation according to the transaction request information and each endorsement information to obtain a consensus result, and the consensus result includes:
each consensus node generates a consensus intermediate result according to the transaction request information, the endorsement information and a preset consensus mechanism;
the main consensus node acquires a consensus intermediate result generated by each consensus node;
and the main consensus node generates the consensus result according to the consensus intermediate result generated by each consensus node.
A blockchain cluster, comprising:
the endorsement node is used for receiving transaction request information sent by a terminal, carrying out endorsement operation on the transaction request information to obtain endorsement information and feeding back the endorsement information to the terminal;
the consensus node cluster is used for receiving the transaction request information and each endorsement information fed back by the terminal when each endorsement information is determined to be legal, executing consensus operation according to the transaction request information and each endorsement information to obtain a consensus result, and broadcasting the consensus result to each data recording node; the consensus result comprises the transaction request information after consensus and endorsement information after consensus;
the data recording node verifies the endorsement information after the consensus and writes the transaction request information after the consensus into a block chain in the data recording node after the verification is passed; and the data recording nodes are nodes registered in the block chain cluster by different mechanisms.
Preferably, the system further comprises at least one data synchronization module;
the data synchronization module acquires log information, plays back the log information through a playback mechanism, and writes the information obtained through playback into a preset database;
the log information is a log generated when the data recording node writes the identified transaction request information into a block chain in the data recording node; and the data synchronization modules are connected with the data recording nodes one by one.
Preferably, the method further comprises the following steps:
and the block chain monitoring node is used for monitoring the running state of each node in the block chain cluster.
Preferably, the transaction request information includes transaction information and user signature information;
correspondingly, at least one endorsement node is used for receiving transaction request information sent by a terminal, and performing endorsement operation on the transaction request information to obtain endorsement information, and is specifically used for:
carrying out signature verification operation on the user signature information to obtain a signature verification result;
carrying out authentication operation on the user information in the user signature information to obtain an authentication result;
carrying out simulated transaction operation on the transaction information to obtain a simulated transaction result;
and generating the endorsement information based on the signature verification result, the authentication result and the simulated transaction result.
Preferably, the consensus node cluster is configured to perform a consensus operation according to the transaction request information and each endorsement information, and when a consensus result is obtained, is specifically configured to:
each consensus node generates a consensus intermediate result according to the transaction request information, the endorsement information and a preset consensus mechanism;
the main consensus node acquires a consensus intermediate result generated by each consensus node;
and the main consensus node generates the consensus result according to the consensus intermediate result generated by each consensus node.
A block chain system comprises a block chain query service module and the block chain cluster;
the block chain query service module is used for receiving query information sent by a user terminal, verifying user authority according to user identity information in the query information, determining a query identifier according to content information to be queried in the query information if the user authority passes the verification, sending the query identifier to the block chain cluster, receiving a query result fed back by the block chain cluster, and feeding the query result back to the user terminal;
and the block chain cluster is used for inquiring the inquiry result corresponding to the inquiry identification and feeding the inquiry result back to the block chain inquiry service module.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides an information processing method, a block chain cluster and a system, wherein after the identified endorsement information passes verification, each data recording node writes the identified transaction request information into a block chain in the data recording node. Because the data recording nodes are the nodes registered in the block chain cluster by different mechanisms, the different mechanisms can inquire data in the data recording nodes, data sharing can be realized, and the universality of information is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method of processing information according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for processing information according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a block chain system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides an information processing method, which is applied to a block chain cluster, and with reference to fig. 1, the information processing method may include:
s11, at least one endorsement node receives the transaction request information sent by the terminal;
the transaction request information comprises transaction information and user signature information. The transaction information may be "user a transfers 500 dollars to user B". The user signature information is information obtained by performing a signature operation on user information.
The endorsement node is a node for verifying the transaction added or modified by an organization, the transaction generated by one organization can send the transaction request information to the endorsement node through a terminal, and one plurality of endorsement nodes can be used for verifying the same transaction request information.
It should be noted that different users, such as each insurance company, public security department, and physical examination organization, need to obtain issued certificates through the federation user authorization management server CAServer to complete the work of authentication and registration. Subsequent institutions can perform transaction operations in the blockchain network.
The process of authentication registration includes:
and the authority sends a certificate signing request, wherein the certificate signing request comprises basic information of the user, and the CA server makes a digital certificate for the basic information contained in the certificate signing request through digital signature and issues the digital certificate to the applicant. And finishing the issuing of the certificate and the complete registration work.
In addition, the CAServer manages three types of certificates, namely a registration certificate authority, a Transaction certificate Transaction, and a communication certificate TLS certificate for ensuring secure communication. The transaction certificate is used for controlling the authority of each transaction. The function of this part is to issue a certificate to the accessed enterprise, enabling the enterprise to initiate transactions in the blockchain network.
The issuance of the registration certificate to the user or node that provided the registration credential is generally valid for a long period of time; the transaction certificate is issued to the user, controls the authority of each transaction, and is generally valid for a certain transaction in a short period of time. The communication certificate controls access to the network and prevents eavesdropping.
The CA Server is mainly used for managing the authority of the access mechanism users, and the main work of the authority management comprises the steps of using a digital certificate issued by the CA to carry out authentication, encrypting transmission data, authorizing the users and managing the user certificates.
S12, at least one endorsement node carries out endorsement operation on the transaction request information to obtain endorsement information, and the endorsement information is fed back to the terminal;
optionally, on the basis of this embodiment, the process of "at least one endorsement node performs an endorsement operation on the transaction request information to obtain endorsement information" may include:
s21, performing signature verification operation on the user signature information to obtain a signature verification result;
specifically, when generating the user signature information, the signature may be performed in a public key encryption manner, and when verifying the signature, the signature may be performed in a private key decryption manner. The signature verification result may be a pass or a fail.
S22, carrying out authentication operation on the user information in the user signature information to obtain an authentication result;
specifically, if the signature verification is performed in step S21 by using a private key decryption method, the user information may be obtained, and the authentication operation is performed on the user information to determine whether the user has the right to perform the transaction addition and modification. The authentication operation includes a validity and access control list ACL (access control list)
And (6) checking the authority. In particular, the transaction certificate in the user information may be verified.
The authentication result may be pass and fail. The addition and modification of the transaction is performed by indicating that the user has the right, and the addition and modification of the transaction is not performed by indicating that the user has no right.
S23, carrying out simulated transaction operation on the transaction information to obtain a simulated transaction result;
specifically, the simulated transaction operation refers to operations such as authentication and the like performed on both sides of a transaction in transaction information, and the simulated transaction is a process for simulating the whole transaction, but the transaction cannot be truly generated. Such as verifying whether the account of the two parties to the transaction is legitimate, whether the account is an account of the two parties to the transaction, etc.
The simulated transaction results may be pass and fail. By stating that the entire transaction is legitimate and not by stating that the transaction is illegitimate.
And S24, generating the endorsement information based on the signature verification result, the authentication result and the simulated transaction result.
Specifically, the signature verification result, the authentication result and the simulated transaction result are summarized to obtain the endorsement information.
S13, the consensus node cluster receives the transaction request information and each endorsement information fed back by the terminal when each endorsement information is determined to be legal, performs consensus operation according to the transaction request information and each endorsement information to obtain a consensus result, and broadcasts the consensus result to each data recording node;
and the consensus result comprises the consensus transaction request information and the consensus endorsement information. The agreed transaction request information includes a tag of whether the transaction is valid.
Specifically, the consensus node information is used for performing consensus operation on the transaction to determine the validity of the whole transaction.
And S14, each data recording node verifies the endorsement information after the consensus, and after the verification is passed, the transaction request information after the consensus is written into a block chain in the data recording node.
And the data recording nodes are nodes registered in the block chain cluster by different mechanisms. Each mechanism corresponds to a data recording node. Specifically, the data recording node may be the same node as the endorsement node, or may be a different node.
The process that the data recording node verifies the endorsement information after the consensus comprises the following steps:
and determining whether the endorsement information after consensus comprises a signature verification result, an authentication result and a simulated transaction result. Wherein the determination of whether to include the signature verification result, the authentication result, and the simulated transaction result is to determine whether an endorsement operation has been performed. And if the endorsement operation is executed, further verifying whether the rset information in the endorsement information after the consensus is tampered. The process of verifying whether the rset information is tampered comprises the following steps:
rest refers to read set, i.e., the read set. The data structure of a block in a blockchain may be divided into a read set and a write set. The read set refers to data information before the transaction is executed, and the write set refers to new data information after the transaction is executed. Checking the read set information consistency refers to: the latest information about the record in the current block chain is read and then compared with the read set information in the block waiting for the uplink to determine whether the information is consistent. If the current block to be linked is consistent with the current block to be linked, the current block to be linked is the operation aiming at the latest data on the chain, otherwise, the current block to be linked is the tampered information.
And after the rset information in the endorsement information after the consensus is verified not to be tampered, the data recording node records whether the transaction is marked with a label that the transaction is valid or invalid, if the transaction is marked with the label, the verification is passed, and the data recording node writes the consensus transaction request information into the block chain to finish the accounting work.
In this embodiment, after the identified endorsement information passes verification, each data recording node writes the identified transaction request information into a block chain in the data recording node. Because the data recording nodes are the nodes registered in the block chain cluster by different mechanisms, the different mechanisms can inquire data in the data recording nodes, data sharing can be realized, and the universality of information is improved.
In addition, the invention is applied to the insurance industry, and can bring benefit promotion to the insurance industry in the aspects of reducing the data storage pressure, ensuring the authenticity and safety of the information participating in insurance, reducing the cheating insurance behavior and the like.
Optionally, on the basis of any one of the above embodiments of the information processing method, after step S14, the method may further include:
1) each data synchronization module acquires log information;
the log information is a log generated when the data recording node writes the identified transaction request information into a block chain in the data recording node; the data synchronization modules are connected with the data recording nodes one by one;
each data recording node is connected with a data synchronization module CDC module, because the block chain technology is more tightly combined with a non-relational database, a Mongo DB document type database is used for storing accounts in a block chain network, and the Mongo DB is a database based on distributed file storage. In order to ensure the integrity and the safety of data, the quasi-real-time synchronization CDC of the database is designed, and the data CDC in the Mongo DB is stored in another database.
The log records the process that the data recording node writes the identified transaction request information into the block chain in the data recording node, and the data synchronization module acquires the log.
2) And each data synchronization module plays back the log information through a playback mechanism and writes the information obtained through playback into a preset database.
Specifically, the playback mechanism is used to play back the whole process of writing the block chain recorded in the log, so as to obtain playback data, and the playback data is synchronized to another preset database.
Optionally, on the basis of this embodiment, the method further includes:
and the block chain monitoring node monitors the running state of each node in the block chain cluster.
Specifically, the blockchain monitoring node obtains the actual conditions of block packing, account book synchronization and data chaining in real time by reading the execution process and result of the Chain Code Chain on the blockchain. The Channel Code deployment, Channel creation and other operations can also be realized through corresponding operations, namely the running condition of the block Chain can be monitored and managed through the webpage end.
The block chain monitoring node can monitor the current running latest state of the system. The running conditions of each node can be known, and the start and stop of the nodes can be manually carried out. Meanwhile, the method can also know the block packing condition in the system in real time and carry out a detailed overview on the block chain. The intelligent monitoring and scheduling of the current structure can be realized, and the usability of the system is improved from the monitoring aspect.
In this embodiment, by setting the data synchronization module, backup and storage of data can be realized, and the security of the data is ensured. In addition, the block chain monitoring nodes are arranged, so that the running state of each node in the block chain cluster can be monitored, and the safety and reliability of the block chain are improved.
Optionally, on the basis of any of the foregoing embodiments, the performing, by the consensus node cluster, a consensus operation according to the transaction request information and each endorsement information to obtain a consensus result may include:
1) each consensus node generates a consensus intermediate result according to the transaction request information, the endorsement information and a preset consensus mechanism;
the preset consensus mechanism is preset by technicians, and each consensus node performs consensus operation on the transaction request information and each endorsement information according to the preset formula mechanism to obtain a consensus intermediate result.
It should be noted that, generally, the transaction request information and the endorsement information of each transaction within a preset time are packaged into a block and broadcasted to the consensus node cluster, and then each consensus node in the consensus node cluster performs consensus operation on the transaction request information and the endorsement information of each transaction in the block to obtain a consensus intermediate result of each transaction.
2) The main consensus node acquires a consensus intermediate result generated by each consensus node;
specifically, the master consensus node is preset, the consensus node cluster is divided into the master consensus node and the slave consensus nodes, and the master consensus node summarizes consensus intermediate results of each consensus node.
3) And the main consensus node generates the consensus result according to the consensus intermediate result generated by each consensus node.
And the main consensus node judges that the consensus intermediate result is a passing proportion in all the consensus intermediate results, and if the proportion is greater than a preset value, the consensus intermediate result with the content of passing is used as the consensus result. And if the ratio is larger than the preset value, taking the consensus result with the content of failing as the consensus result.
In the embodiment, the consensus mechanism is arranged, so that the problem of single-point failure can be avoided, and the reliability of consensus is ensured.
Optionally, on the basis of the embodiment of the information processing method, another embodiment of the present invention provides a block chain cluster, which may include:
the endorsement node is used for receiving transaction request information sent by a terminal, carrying out endorsement operation on the transaction request information to obtain endorsement information and feeding back the endorsement information to the terminal;
the consensus node cluster is used for receiving the transaction request information and each endorsement information fed back by the terminal when each endorsement information is determined to be legal, executing consensus operation according to the transaction request information and each endorsement information to obtain a consensus result, and broadcasting the consensus result to each data recording node; the consensus result comprises the transaction request information after consensus and endorsement information after consensus;
the data recording node verifies the endorsement information after the consensus and writes the transaction request information after the consensus into a block chain in the data recording node after the verification is passed; and the data recording nodes are nodes registered in the block chain cluster by different mechanisms.
Specifically, referring to fig. 3, the endorsement node and the data record node in the blockchain cluster 101 may be peer nodes 21 to 23, where the number of peer nodes is not limited, and 4 peer nodes are drawn in fig. 3. The consensus node cluster 3 includes a plurality of consensus nodes 31-34, and the number of the consensus nodes is not limited in this embodiment.
The institutions 11-13 may be schools, insurance companies, police departments, etc., each of which has registered nodes in the blockchain cluster, which may be peer nodes 21, 22, and 23, respectively.
The blockchain cluster 101 further includes a CA server 4, configured to issue a certificate for an organization, where it should be noted that the specific function of the CA server 4 is described with reference to the corresponding description in the foregoing embodiment. In addition, please refer to the corresponding description in the above embodiments for the working process of each node in this embodiment, which is not described herein again.
Further, on the basis of the present embodiment, the transaction request information includes transaction information and user signature information;
correspondingly, at least one endorsement node is used for receiving transaction request information sent by a terminal, and performing endorsement operation on the transaction request information to obtain endorsement information, and is specifically used for:
carrying out signature verification operation on the user signature information to obtain a signature verification result;
carrying out authentication operation on the user information in the user signature information to obtain an authentication result;
carrying out simulated transaction operation on the transaction information to obtain a simulated transaction result;
and generating the endorsement information based on the signature verification result, the authentication result and the simulated transaction result.
In this embodiment, after the identified endorsement information passes verification, each data recording node writes the identified transaction request information into a block chain in the data recording node. Because the data recording nodes are the nodes registered in the block chain cluster by different mechanisms, the different mechanisms can inquire data in the data recording nodes, data sharing can be realized, and the universality of information is improved.
For the working process of each node in this embodiment, please refer to the corresponding description in the above embodiments, which is not described herein again.
Optionally, on the basis of the above embodiment of the block chain cluster, the system further includes at least one data synchronization module;
the data synchronization module acquires log information, plays back the log information through a playback mechanism, and writes the information obtained through playback into a preset database;
the log information is a log generated when the data recording node writes the identified transaction request information into a block chain in the data recording node; and the data synchronization modules are connected with the data recording nodes one by one.
Referring to fig. 3, may further include:
and the blockchain monitoring node 24 is configured to monitor an operating state of each node in the blockchain cluster.
In this embodiment, by setting the data synchronization module, backup and storage of data can be realized, and the security of the data is ensured. In addition, the block chain monitoring nodes are arranged, so that the running state of each node in the block chain cluster can be monitored, and the safety and reliability of the block chain are improved.
For the working process of each module in this embodiment, please refer to the corresponding description in the above embodiments, which is not described herein again.
Optionally, on the basis of any one of the above embodiments of the block chain cluster, the consensus node cluster is configured to perform a consensus operation according to the transaction request information and each endorsement information, and when a consensus result is obtained, the consensus node cluster is specifically configured to:
each consensus node generates a consensus intermediate result according to the transaction request information, the endorsement information and a preset consensus mechanism;
the main consensus node acquires a consensus intermediate result generated by each consensus node;
and the main consensus node generates the consensus result according to the consensus intermediate result generated by each consensus node.
In the embodiment, the consensus mechanism is arranged, so that the problem of single-point failure can be avoided, and the reliability of consensus is ensured.
For the working process of each node in this embodiment, please refer to the corresponding description in the above embodiments, which is not described herein again.
Optionally, on the basis of the embodiment of the block chain cluster and the information processing method, another embodiment of the present invention provides a block chain system, including a block chain query service module and the block chain cluster;
the block chain query service module is used for receiving query information sent by a user terminal, verifying user authority according to user identity information in the query information, determining a query identifier according to content information to be queried in the query information if the user authority passes the verification, sending the query identifier to the block chain cluster, receiving a query result fed back by the block chain cluster, and feeding the query result back to the user terminal;
and the block chain cluster is used for inquiring the inquiry result corresponding to the inquiry identification and feeding the inquiry result back to the block chain inquiry service module.
Specifically, referring to fig. 3, a user initiates an information query operation through a user terminal 7, such as a browser terminal, at this time, the user terminal 7 sends query information to the blockchain query service module 6, where the query information includes user identity information and content information to be queried. The content information to be queried may be information and status of querying a certain block.
After receiving the query information, the blockchain query service module 6 verifies the user right according to the user information included in the personal information management module, where the personal information management module includes the user information, and the user information may include data such as the user right and the user personal information.
If the verification is passed, the query identifier corresponding to the content information to be queried, which the user wants to query, is determined, where the query identifier is a query basis determined by the blockchain query service module 6 and the blockchain cluster 101.
After that, the query identifier is sent to the isolation zone DMZ forwarding server 5 through a public network/secure socket layer ssl (secure Sockets layer) service, the DMZ forwarding server 5 may forward the query identifier to the blockchain cluster 101, and the blockchain cluster 101 invokes a chain code service to query a corresponding query result, where the query result may be information and a state of a block. And sending the query result to the blockchain query service module 6, wherein the blockchain query service module 6 feeds the query result back to the user terminal and displays the query result on a display interface of the user terminal.
In this embodiment, the user may query the data in the blockchain cluster through the blockchain query service module, and may further display and query the transaction data in the blockchain for the user.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. An information processing method applied to a blockchain cluster including a CA service node, a plurality of endorsement nodes, a plurality of data recording nodes, and a consensus node cluster, the method comprising:
at least one endorsement node receives transaction request information sent by a terminal; the endorsement node is used for verifying newly added transactions or modified transactions of the organization; the transaction request information comprises transaction information and user signature information;
at least one endorsement node carries out endorsement operation on the transaction request information to obtain endorsement information, and feeds the endorsement information back to the terminal;
the consensus node cluster receives the transaction request information and each endorsement information fed back by the terminal when each endorsement information is determined to be legal, executes consensus operation according to the transaction request information and each endorsement information to obtain a consensus result, and broadcasts the consensus result to each data recording node; the consensus result comprises the transaction request information after consensus and endorsement information after consensus;
each data recording node verifies the endorsement information after the consensus and writes the transaction request information after the consensus into a block chain in the data recording node after the verification is passed; the data recording nodes are nodes registered in the block chain cluster by different mechanisms, and each mechanism corresponds to one data recording node;
the transaction request information comprises transaction information and user signature information; the user signature information is generated by public key encryption;
correspondingly, at least one endorsement node performs endorsement operation on the transaction request information to obtain endorsement information, and the endorsement information comprises:
performing signature verification operation on the user signature information based on a private key matched with the public key to obtain a signature verification result;
carrying out authentication operation on the user information in the user signature information to obtain an authentication result; when the authentication result is passed, the user is indicated to have the authority to add or modify the transaction;
carrying out simulated transaction operation on the transaction information to obtain a simulated transaction result;
and generating the endorsement information based on the signature verification result, the authentication result and the simulated transaction result.
2. The information processing method according to claim 1, further comprising, after each of the data recording nodes writes the recognized transaction request information into a block chain in the data recording node:
each data synchronization module acquires log information; the log information is a log generated when the data recording node writes the identified transaction request information into a block chain in the data recording node; the data synchronization modules are connected with the data recording nodes one by one;
and each data synchronization module plays back the log information through a playback mechanism and writes the information obtained through playback into a preset database.
3. The information processing method according to claim 1, further comprising:
and the block chain monitoring node monitors the running state of each node in the block chain cluster.
4. The information processing method of claim 1, wherein the consensus node cluster performs consensus operations according to the transaction request information and each endorsement information to obtain consensus results, comprising:
each consensus node generates a consensus intermediate result according to the transaction request information, the endorsement information and a preset consensus mechanism;
the main consensus node acquires a consensus intermediate result generated by each consensus node;
and the main consensus node generates the consensus result according to the consensus intermediate result generated by each consensus node.
5. A blockchain cluster, comprising: the CA service node, the endorsement nodes, the data recording nodes and the consensus node cluster;
the endorsement node is used for receiving transaction request information sent by a terminal, carrying out endorsement operation on the transaction request information to obtain endorsement information and feeding back the endorsement information to the terminal; the endorsement node is used for verifying newly added transactions or modified transactions of the organization; the transaction request information comprises transaction information and user signature information;
the consensus node cluster is used for receiving the transaction request information and each endorsement information fed back by the terminal when each endorsement information is determined to be legal, executing consensus operation according to the transaction request information and each endorsement information to obtain a consensus result, and broadcasting the consensus result to each data recording node; the consensus result comprises the transaction request information after consensus and endorsement information after consensus;
the data recording node verifies the endorsement information after the consensus and writes the transaction request information after the consensus into a block chain in the data recording node after the verification is passed; the data recording nodes are nodes registered in the block chain cluster by different mechanisms, and each mechanism corresponds to one data recording node;
at least one endorsement node is used for receiving transaction request information sent by a terminal, and performing endorsement operation on the transaction request information to obtain endorsement information, and is specifically used for:
performing signature verification operation on the user signature information based on a private key matched with the public key to obtain a signature verification result;
carrying out authentication operation on the user information in the user signature information to obtain an authentication result; when the authentication result is passed, the user is indicated to have the authority to add or modify the transaction;
carrying out simulated transaction operation on the transaction information to obtain a simulated transaction result;
and generating the endorsement information based on the signature verification result, the authentication result and the simulated transaction result.
6. The blockchain cluster of claim 5, further comprising at least one data synchronization module;
the data synchronization module acquires log information, plays back the log information through a playback mechanism, and writes the information obtained through playback into a preset database;
the log information is a log generated when the data recording node writes the identified transaction request information into a block chain in the data recording node; and the data synchronization modules are connected with the data recording nodes one by one.
7. The blockchain cluster of claim 5, further comprising:
and the block chain monitoring node is used for monitoring the running state of each node in the block chain cluster.
8. The blockchain cluster of claim 5, wherein the consensus node cluster is configured to perform a consensus operation according to the transaction request message and each endorsement message, and when obtaining a consensus result, is specifically configured to:
each consensus node generates a consensus intermediate result according to the transaction request information, the endorsement information and a preset consensus mechanism;
the main consensus node acquires a consensus intermediate result generated by each consensus node;
and the main consensus node generates the consensus result according to the consensus intermediate result generated by each consensus node.
9. A blockchain system comprising a blockchain query service module and a blockchain cluster according to claim 5;
the block chain query service module is used for receiving query information sent by a user terminal, verifying user authority according to user identity information in the query information, determining a query identifier according to content information to be queried in the query information if the user authority passes the verification, sending the query identifier to the block chain cluster, receiving a query result fed back by the block chain cluster, and feeding the query result back to the user terminal;
and the block chain cluster is used for inquiring the inquiry result corresponding to the inquiry identification and feeding the inquiry result back to the block chain inquiry service module.
CN201810643570.0A 2018-06-21 2018-06-21 Information processing method, block chain cluster and system Active CN108830733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810643570.0A CN108830733B (en) 2018-06-21 2018-06-21 Information processing method, block chain cluster and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810643570.0A CN108830733B (en) 2018-06-21 2018-06-21 Information processing method, block chain cluster and system

Publications (2)

Publication Number Publication Date
CN108830733A CN108830733A (en) 2018-11-16
CN108830733B true CN108830733B (en) 2022-02-15

Family

ID=64141827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810643570.0A Active CN108830733B (en) 2018-06-21 2018-06-21 Information processing method, block chain cluster and system

Country Status (1)

Country Link
CN (1) CN108830733B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710687A (en) * 2018-11-23 2019-05-03 泰康保险集团股份有限公司 Processing method of insuring, device and electronic equipment based on block chain
CN109582737A (en) * 2018-11-30 2019-04-05 北京八分量信息科技有限公司 A kind of battery data management system and method based on multi-party computations
CN111369355A (en) * 2018-12-26 2020-07-03 航天信息股份有限公司 Transaction data processing method and device based on alliance chain
CN109857807A (en) * 2019-01-10 2019-06-07 中钞信用卡产业发展有限公司杭州区块链技术研究院 Transaction data synchronization method, apparatus, equipment and medium based on block chain
CN109785170B (en) * 2019-01-21 2021-01-29 中国联合网络通信集团有限公司 Block chain-based insurance application method and block chain-based insurance application system
CN110060168A (en) * 2019-04-18 2019-07-26 广东粤财金融云科技股份有限公司 One kind carrying out bid electronics letter of guarantee business management system and method based on alliance's chain technology
CN110059092A (en) * 2019-04-22 2019-07-26 广州市品高软件股份有限公司 The method for writing data and system of relevant database based on block chain
WO2020225224A1 (en) * 2019-05-03 2020-11-12 Universität des Saarlandes Secure and transparent database transactions in untrusted environments using permissioned, minimally invasive blockchain technology
CN110378691A (en) * 2019-06-18 2019-10-25 重庆金融资产交易所有限责任公司 Block chain dispositions method, device and computer equipment based on deployment center
CN110471928B (en) * 2019-07-08 2022-06-21 上海数据交易中心有限公司 Data circulation system
CN110378692A (en) * 2019-07-09 2019-10-25 西安纸贵互联网科技有限公司 Data safety processing method and device based on block chain
CN110572281B (en) * 2019-08-23 2021-12-21 华南理工大学 Credible log recording method and system based on block chain
CN110837536B (en) * 2019-10-08 2021-05-04 北京海益同展信息科技有限公司 Information processing method, device and storage medium
CN110992027B (en) * 2019-11-29 2022-02-25 支付宝(杭州)信息技术有限公司 Efficient transaction method and device for realizing privacy protection in block chain
CN111538785A (en) * 2020-04-23 2020-08-14 北京海益同展信息科技有限公司 Data writing method, device and system of block chain and electronic equipment
CN113781021A (en) * 2020-06-10 2021-12-10 徐蔚 Digital currency model, method, system and device adopting code chain block
CN112383537B (en) * 2020-11-11 2022-06-03 杭州甘道智能科技有限公司 Trusted block chain uplink method and user application uplink system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106651346A (en) * 2016-11-28 2017-05-10 上海凯岸信息科技有限公司 Block chain-based credit investigation data sharing and trading system
CN106788987A (en) * 2016-11-28 2017-05-31 树读(上海)信息科技有限公司 A kind of collage-credit data based on block chain is shared and transaction system
CN107273760A (en) * 2017-06-09 2017-10-20 济南浪潮高新科技投资发展有限公司 One kind is based on many CA application authentication methods of block chain
CN107292621A (en) * 2017-06-22 2017-10-24 丁江 Really power deposits card method and node to mass data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296184A (en) * 2015-06-05 2017-01-04 地气股份有限公司 Electronic money management method and electronic-monetary system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106651346A (en) * 2016-11-28 2017-05-10 上海凯岸信息科技有限公司 Block chain-based credit investigation data sharing and trading system
CN106788987A (en) * 2016-11-28 2017-05-31 树读(上海)信息科技有限公司 A kind of collage-credit data based on block chain is shared and transaction system
CN107273760A (en) * 2017-06-09 2017-10-20 济南浪潮高新科技投资发展有限公司 One kind is based on many CA application authentication methods of block chain
CN107292621A (en) * 2017-06-22 2017-10-24 丁江 Really power deposits card method and node to mass data

Also Published As

Publication number Publication date
CN108830733A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108830733B (en) Information processing method, block chain cluster and system
AU2022204148B2 (en) Methods and apparatus for providing blockchain participant identity binding
CN109067801B (en) Identity authentication method, identity authentication device and computer readable medium
CN109377198B (en) Signing system based on multi-party consensus of alliance chain
CN107180350B (en) Method, device and system for multi-party sharing transaction metadata based on block chain
CN110288480B (en) Private transaction method and device for blockchain
CN108933667B (en) Management method and management system of public key certificate based on block chain
AU2019203848A1 (en) Methods and devices for protecting sensitive data of transaction activity based on smart contract in blockchain
WO2019032089A1 (en) Blockchain architecture with record security
EP3395006A1 (en) Method for managing a trusted identity
US12107856B2 (en) Secure management and provisioning of interaction data using permissioned distributed ledgers
CN113169866A (en) Techniques to prevent collusion using simultaneous key distribution
CN114172663B (en) Business right determining method and device based on block chain, storage medium and electronic equipment
CN111160998A (en) Comment data processing method and device based on block chain and comment system
CN111583041B (en) Block chain-based bond issuing data storage and verification processing method and device
CN112699353A (en) Financial information transmission method and financial information transmission system
US20240146537A1 (en) Computer-readable recording medium storing data management program, data management method, and data management apparatus
CN112417502B (en) Distributed instant messaging system and method based on block chain and decentralized deployment
US20100005311A1 (en) Electronic-data authentication method, Elctronic-data authentication program, and electronic-data, authentication system
CN115225346B (en) Data evidence storage system oriented to credit investigation big data field
CN110719174A (en) Ukey-based certificate issuing method, related device and system
CN114565485A (en) Labor contract management method and system based on block chain ipfs storage
CN109753824B (en) Distributed electronic signature method and system
CA3057799A1 (en) Secure management and provisioning of interaction data using permissioned distributed ledgers
US11936773B2 (en) Encryption key management method in data subscription system

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
GR01 Patent grant
GR01 Patent grant