CN113643032B - Information processing method, device and data management system based on block chain - Google Patents

Information processing method, device and data management system based on block chain Download PDF

Info

Publication number
CN113643032B
CN113643032B CN202111020913.6A CN202111020913A CN113643032B CN 113643032 B CN113643032 B CN 113643032B CN 202111020913 A CN202111020913 A CN 202111020913A CN 113643032 B CN113643032 B CN 113643032B
Authority
CN
China
Prior art keywords
transaction
target
server
information
server cluster
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
CN202111020913.6A
Other languages
Chinese (zh)
Other versions
CN113643032A (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 CN202111020913.6A priority Critical patent/CN113643032B/en
Publication of CN113643032A publication Critical patent/CN113643032A/en
Application granted granted Critical
Publication of CN113643032B publication Critical patent/CN113643032B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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
    • 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/3825Use of electronic signatures
    • 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/3827Use of message hashing
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a block chain-based information processing method, a block chain-based information processing device and a block chain-based data management system, which can be applied to the field of block chains or the field of finance. Through the data management system provided by the invention, the endorsement node in the server cluster can acquire the transaction information sent by the client to the target channel, signature operation is carried out on the transaction information to obtain target transaction information, the target transaction information is sent to the client so that the client can send the target transaction information to the sequencing server, the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel, and the submitting node in the target server cluster can store the transaction block to a block chain corresponding to the target server cluster. The transaction data is stored in the blockchain, and the blockchain has the characteristic of non-tampering, so that the possibility of tampering the transaction data on the blockchain is reduced, and the safety and reliability of data storage are improved.

Description

Information processing method, device and data management system based on block chain
Technical Field
The present invention relates to the field of data processing, and in particular, to a blockchain-based information processing method, apparatus, and data management system.
Background
With the increasing demands of users, the business types of banking systems are increasing, and the business types of trans-regional areas, such as overseas remittance, transfer and the like, are also increasing.
For the above-mentioned cross-regional service, the network site configured with the service needs to store the transaction data of the service, when storing the transaction data of the service, a corresponding data storage system needs to store the data, so that only a user with authority can realize the checking and modification of the data stored in the data storage system, the possibility of tampering the data is high, and the security and reliability of the data storage are low.
Disclosure of Invention
In view of the above, the present invention provides a blockchain-based information processing method, device and data management system to solve the problem of low security and reliability of data storage.
In order to solve the technical problems, the invention adopts the following technical scheme:
the information processing method based on the block chain is applied to endorsement nodes in target server clusters, wherein the target server clusters are any one server cluster in a data management system, different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; a server with an endorsement function in the server cluster is used as an endorsement node, and a server with a submitting function is used as a submitting node;
the information processing method comprises the following steps:
acquiring transaction information sent by a client to a target channel; the target channel is a channel corresponding to the target server cluster;
signing the transaction information to obtain target transaction information;
and sending the target transaction information to the client so that the client sends the target transaction information to a sequencing server, and the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel so that a submitting node in the target server cluster stores the transaction block in a blockchain corresponding to the target server cluster.
Optionally, acquiring transaction information sent by the client to the target channel includes:
acquiring information in the target channel;
and screening transaction information needing signature operation from the acquired information.
Optionally, signing the transaction information to obtain target transaction information, including:
performing verification operation on the transaction information;
and under the condition that verification is passed, carrying out signature operation on the transaction information to obtain target transaction information.
Optionally, the method further comprises:
receiving a transaction data query request sent by the client; the transaction data query request comprises a transaction hash value, transaction time or block height;
determining a blockchain corresponding to the target server cluster;
and inquiring from the blockchain to obtain transaction data corresponding to the transaction data inquiry request, and sending the transaction data to the client.
The information processing device based on the block chain is applied to endorsement nodes in target server clusters, wherein the target server clusters are any one server cluster in a data management system, different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; a server with an endorsement function in the server cluster is used as an endorsement node, and a server with a submitting function is used as a submitting node;
the information processing apparatus includes:
the information acquisition module is used for acquiring transaction information sent to the target channel by the client; the target channel is a channel corresponding to the target server cluster;
the signature module is used for carrying out signature operation on the transaction information to obtain target transaction information;
the information sending module is used for sending the target transaction information to the client so that the client sends the target transaction information to a sequencing server, and the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel so that a submitting node in the target server cluster stores the transaction block in a block chain corresponding to the target server cluster.
Optionally, the information acquisition module is specifically configured to:
and acquiring the information in the target channel, and screening transaction information needing signature operation from the acquired information.
Optionally, the signature module is specifically configured to:
and carrying out verification operation on the transaction information, and carrying out signature operation on the transaction information under the condition that verification is passed to obtain target transaction information.
Optionally, the method further comprises:
the inquiry request receiving module is used for receiving the transaction data inquiry request sent by the client; the transaction data query request comprises a transaction hash value, transaction time or block height;
the zone-crossing chain determining module is used for determining a block chain corresponding to the target server cluster;
and the data query module is used for querying and obtaining the transaction data corresponding to the transaction data query request from the blockchain and sending the transaction data to the client.
A data management system comprising a plurality of server clusters, wherein different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; a server with an endorsement function in the server cluster is used as an endorsement node, and a server with a submitting function is used as a submitting node; any one server cluster in the data management system can be used as a target server cluster;
the endorsement node in the target server cluster is used for executing the information processing method based on the block chain;
the submitting node is used for acquiring the transaction block corresponding to the target transaction information generated by the sequencing server and sending the transaction block to the target channel, and storing the transaction block into a block chain corresponding to the target server cluster.
Optionally, the method further comprises a sequencing server;
the ordering server is used for acquiring target transaction information sent by the client, generating a transaction block corresponding to the target transaction information and sending the transaction block to the target channel.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides an information processing method, a device and a data management system based on a block chain, wherein the data management system comprises a plurality of server clusters, different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; the server with the endorsement function in the server cluster is used as an endorsement node, and the server with the submitting function is used as a submitting node. Through the data management system, the endorsement node in the server cluster can acquire the transaction information sent by the client to the target channel, signature operation is carried out on the transaction information to obtain target transaction information, the target transaction information is sent to the client so that the client can send the target transaction information to the sequencing server, the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel, and the submitting node in the target server cluster can store the transaction block into a block chain corresponding to the target server cluster. The transaction data is stored in the blockchain, and the blockchain has the characteristic of non-tampering, so that the possibility of tampering the transaction data on the blockchain is reduced, and the safety and reliability of data storage are improved. Furthermore, each website is not required to be configured with a corresponding data storage system, and the data storage system is uniformly stored by adopting a block chain, so that the safety and reliability of data storage are improved, and the management is convenient.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic view of a channel according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for processing information based on a blockchain in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of a transaction scenario provided in an embodiment of the present invention;
FIG. 4 is a flowchart of another method for processing information based on blockchain according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an information processing apparatus based on a blockchain according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For the cross-regional service, the network point configured with the service needs to store the transaction data of the service, and when the transaction data of the service is stored, a corresponding data storage system needs to store the data, so that the data stored in the data storage system can be checked and modified only by a user with authority, the possibility of tampering the data is high, and the safety and reliability of the data storage are low. And the data of each website is stored independently, so that each system needs to be managed by a special person, more manpower and material resources are wasted, and a unified management mechanism is lacked.
In order to solve the technical problem, the inventor finds that the blockchain has a tamper-proof function, if transaction data is directly stored in the blockchain, the blockchain can be prevented from being tampered, in addition, data of all network points are stored in the blockchain, the problem that the data storage system is independently built by all network points to waste manpower and financial resources is avoided, and unified management of the data is realized.
Specifically, the invention provides a blockchain-based information processing method, a blockchain-based information processing device and a blockchain-based data management system, which are mainly applied to a cross-regional business scenario such as cross-border money transfer and transfer. Taking cross-border money transfer as an example, bank cross-border money transfer is an important public service, and becomes one of important support posts for international bank development, and along with the expansion of the service lines of banks and the continuous increase of overseas banks, how to ensure the safety, reality, legality and convenience of the cross-border money transfer becomes an important proposition. Considering the complexity of the current bank management and lacking a unified reconciliation mechanism, the invention provides a mode of carrying out the corresponding part of the line endorsement based on the line endorsement and the business requirement, and creatively builds an overseas remittance blockchain in the whole line range based on the alliance chain Fabric, so that the line has the permission of admittance, the traceability and the non-falsifiability of the transaction are ensured, the manpower reconciliation cost is reduced, and the comprehensive management level of the bank is further improved.
It should be noted that the information processing method, device and data management system based on blockchain provided by the invention can be used in the blockchain field or the financial field. The foregoing is merely exemplary, and the application fields of the information processing method, the information processing device and the data management system based on the blockchain provided by the invention are not limited.
Specifically, in the embodiment of the present invention, the data management system includes a plurality of server clusters, different server clusters in the data management system use different channels, and servers located in the same server cluster share the same channel; the server with the endorsement function in the server cluster is used as an endorsement node, and the server with the submitting function is used as a submitting node. Through the data management system, the endorsement node in the server cluster can acquire the transaction information sent by the client to the target channel, signature operation is carried out on the transaction information to obtain target transaction information, the target transaction information is sent to the client so that the client can send the target transaction information to the sequencing server, the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel, and the submitting node in the target server cluster can store the transaction block into a block chain corresponding to the target server cluster. The transaction data is stored in the blockchain, and the blockchain has the characteristic of non-tampering, so that the possibility of tampering the transaction data on the blockchain is reduced, and the safety and reliability of data storage are improved. Furthermore, each website is not required to be configured with a corresponding data storage system, and the data storage system is uniformly stored by adopting a block chain, so that the safety and reliability of data storage are improved, and the management is convenient.
Based on the above, the embodiment of the invention provides an information processing method based on a blockchain, which is applied to an endorsement node in a target server cluster, wherein the target server cluster is any server cluster in a data management system. The architecture of the data management system will now be described.
The data management system comprises a plurality of server clusters, in this embodiment referred to as Fabric-CA server clusters. Each server cluster is composed of a plurality of nodes, and in order to avoid the problem of single point of failure caused by the arrangement of a plurality of nodes on one server, in this embodiment, each node is arranged on a different server, that is, each server is used as a node. That is, each server cluster is made up of multiple servers.
For each server cluster, in the cluster, a server with an endorsement function is used as an endorsement node (Endorsing Peer), and a server with a commit function is used as a commit node (Committing Peer).
Specifically, taking a banking system as an example, in general, the banking system is provided with a headquarter and branches corresponding to the headquarter in a plurality of countries or regions.
In this embodiment, the endorsement node is generally the above-mentioned server and headquarter server set in the headquarter of different countries or regions, and the submitting node may be the above-mentioned endorsement node or may be a branch server with submitting authority.
Different server clusters in the data management system use different channels for different server clusters, and servers in the same server cluster share the same channel.
Referring to fig. 1, in this embodiment, a full-line-scope alliance chain blockchain system is built based on super ledger Fabric, so that the line has permission for admission, traceability and non-falsification of transactions are ensured, manpower account checking cost is reduced, and comprehensive treatment level of banks is further improved.
The Fabric formal version adopts a Kafka consensus mechanism at present, and compared with the PBFT of version 0.6, the throughput rate of transactions can be greatly improved, and thousands of transactions per second can be achieved.
Since the Fabric native built-in level db database builds on top of the application container engine dock, internal data would be lost if the container is closed, a disaster that is not imaginable to the bank, so the persistent command is used to backup the data to the local machine when the container is created.
Two channel forms are provided, namely a primary channel and a secondary channel 1-N.
Primary channel:
the server of the global headquarter of the present line is added into a first-level channel which is mainly responsible for checking, auditing and counting the cross-border business development conditions of each country and region, and the abnormal transaction is checked, and endorsement nodes are designated as the global headquarter.
A secondary channel:
servers of the website institutions in the same country or region should join the same channel, the channel name is named by the country, and the endorsement node is designated as the headquarter of the country and region.
The above division is used because:
on the one hand, because the blockchain belongs to the P2P network, if the space interval between the nodes is larger, the network delay is influenced, and the network throughput is further reduced, so that the mechanisms with relatively close geographic positions are placed in the same channel. And on the other hand, the cross-border remittance counter party information is convenient to comb, and data remittance to the same country and region are logically aggregated together, so that the range of the data is reduced.
In practical application, each channel is provided with a corresponding Head and branch, and for the primary channel, it is provided with a Head1, a branch1, etc., where the Head1 may be a server of a headquarter, and the branch1 may be a server of each headquarter.
For the secondary channel, it is provided with a Head2.1 … Head2.N, branch3, etc., and Head2.1 … Head2.N may be a server of a headquarter. branch3 may be a server for each row.
Note that a branch in a primary channel may be referred to as a Head in a secondary channel. In addition, the number in each channel can be set according to actual requirements.
The Head in each channel may be used as an endorsement node as described above, and the endorsement node may also be used as a commit node. The branch in the secondary channel described above may be used as a commit node. The greater the number of nodes, the stronger the non-tamper evident of the ledger.
In this embodiment, the servers of the headquarter and the headquarter are used as management servers, so that the management of cluster members is realized, and other members want to join the overseas remittance blockchain and have signatures of the headquarter or the headquarter organization.
In practical applications, a blockchain system is provided for the data management system, where the blockchain system includes the same number of blockchains as channels, and each channel corresponds to a blockchain. Servers within the same channel may access the corresponding blockchain. In this embodiment, the servers of the headquarter and the headquarter, or the servers of the headquarter and the branch respectively maintain a totally identical ledger, and any party cannot tamper with the transaction.
Based on the above, the embodiment of the invention provides an information processing method based on a blockchain, which is applied to an endorsement node in a target server cluster, wherein the target server cluster is any one server cluster in a data management system, and a channel corresponding to the target server cluster is called a target channel.
Referring to fig. 2, the blockchain-based information processing method may include:
s11, acquiring transaction information sent to a target channel by the client.
The target channel is a channel corresponding to the target server cluster.
In this embodiment, other servers in the channels of each website than the above may be used as clients, for example, a first server in website a is added to the channels, and a second server is used as a client.
For a website, a plurality of cross-regional services, such as receiving a plurality of cross-border remittance services, can be received, in order to save processing times, transaction data of the plurality of services can be combined and submitted to a target channel of an area where the website is located as integral transaction data, namely, a proposal, and a target server cluster corresponding to the target channel signs the proposal and subsequently stores the proposal into a blockchain.
In practical applications, there are a variety of types of information that is sent into the channel, such as transaction information that needs to be signed, and information that needs to be added to the blockchain. In this embodiment, the endorsement node needs to acquire information in the target channel, and screen transaction information that needs to perform signature operation from the acquired information.
S12, signing operation is carried out on the transaction information, and target transaction information is obtained.
In this embodiment, the endorsement node performs verification operation on the transaction information first, and performs signature operation on the transaction information to obtain target transaction information when verification passes.
And S13, sending the target transaction information to the client so that the client sends the target transaction information to a sequencing server, and the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel so that a submitting node in the target server cluster stores the transaction block into a block chain corresponding to the target server cluster.
Specifically, after the endorsement node sends the target transaction information to the client, the client verifies the signature, after the verification is passed, the client sends the target transaction information to a sequencing server, the sequencing server generates a transaction block corresponding to the target transaction information, and sends the transaction block to the target channel, and for the submitting node in the target server cluster in the target channel, the transaction block is stored in a block chain corresponding to the target server cluster.
The above-mentioned order server is not a server in the target server cluster, but other servers outside the cluster, like the client.
It should be noted that, in this embodiment, both the endorsement node and the submitting node processing processes need to perform verification operations, and the verification process only needs to use a conventional verification process.
In addition, taking cross-border remittance as an example, the blockchain in the invention can be used for expanding the intelligent contracts added with the cross-border remittance function in the later period. The cross-border money transfer module of the original overseas bank core system is migrated to a blockchain background Fabric server, information of a payee, a sender, an amount, a currency, a country and the like which are input by a client foreground are processed by using the background server, and a debit and credit account is updated after successful money transfer. The method realizes the direct processing of background logic on the chain, reduces the development quantity of the core module and provides service diversity.
In addition, the signature is performed only by using the endorsement node, and the signature of any branch in the endorsement node and the same channel may be used to consider that the signature is successful in order to improve the security. Namely:
AND(‘head’,OR(‘branch1’,’branch2’,’…’,’branchN’))
this policy indicates that endorsements were successful by applying a signature to the head and applying a signature to any of branch1, branch2, …, and branch n.
In order that those skilled in the art can more clearly understand the specific implementation procedure of the present invention, an explanation will be made with reference to fig. 3.
In fig. 3, clients are clients, a dashed box represents a target server cluster, the target server cluster includes a head, a branch1 and a branch2, the head is set as an endorsement node, the branch1 is a submitting node, the clients send a target channel corresponding to the target server cluster, the head in the channel verifies and signs the proposal, then returns agreement proposal information (including the target transaction information), the clients receive the target transaction information, verify the signature of the information, and send the target transaction information to the orders (the ordering server) after the verification is passed. Orders order packing, generating transaction blocks, and sending the transaction blocks to the target channel, wherein branch1 adds the transaction blocks to the blockchain.
In this embodiment, the data management system includes a plurality of server clusters, different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; the server with the endorsement function in the server cluster is used as an endorsement node, and the server with the submitting function is used as a submitting node. Through the data management system, the endorsement node in the server cluster can acquire the transaction information sent by the client to the target channel, signature operation is carried out on the transaction information to obtain target transaction information, the target transaction information is sent to the client so that the client can send the target transaction information to the sequencing server, the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel, and the submitting node in the target server cluster can store the transaction block into a block chain corresponding to the target server cluster. The transaction data is stored in the blockchain, and the blockchain has the characteristic of non-tampering, so that the possibility of tampering the transaction data on the blockchain is reduced, and the safety and reliability of data storage are improved. Furthermore, each website is not required to be configured with a corresponding data storage system, and the data storage system is uniformly stored by adopting a block chain, so that the safety and reliability of data storage are improved, and the management is convenient.
In addition, the multiple channels are arranged in the embodiment, so that the resource isolation and privacy secret protection of different countries and regions can be realized, the independence is realized, the network delay is reduced well by forming a blockchain network, the labor cost is reduced, and the efficiency is improved.
Based on the above, the information processing method of the present invention may further implement a data query function, and specifically, referring to fig. 4, the information processing method further includes:
s21, receiving a transaction data query request sent by the client.
Wherein the transaction data query request includes a transaction hash value, a transaction time, or a block height.
Because different channels can be configured with different chaincodes, the channels can be customized according to the development business requirements so as to track the tracing. The Fabric SDK provides good support for java, a transaction inquiry system based on a block chain is expanded in an overseas bank core system, a sender returns a corresponding transaction Hash value Hash every time an overseas remittance background, and the sender can submit the Hash to a bank end, namely the client end to inquire a specified transaction record. The inquiry can also be performed by matching corresponding transaction time and block height.
Specifically, the client may receive a query request from the sender, where the query request may include a transaction hash value, a transaction time, or a block height.
The client then generates a transaction data query request including a transaction hash value, a transaction time, or a block height, and sends it into the target channel.
In this embodiment, the endorsement node may process the transaction data query request, or may process the request by another node allocated to the client.
S22, determining a block chain corresponding to the target server cluster.
S23, inquiring the block chain to obtain transaction data corresponding to the transaction data inquiry request, and sending the transaction data to the client.
After receiving the request, the blockchain corresponding to the cluster is determined, then the data corresponding to the request is queried from the blockchain and returned to the client, and the client returns the query result to the user.
Taking a Hash query as an example, a transaction block in the blockchain records a corresponding Hash value, and the transaction block is directly queried according to the corresponding relationship between the transaction block and the Hash.
In the embodiment, the Java SDK is used for searching the corresponding record entry through transaction Hash and the like, so that the transaction query operation can be performed according to the query request of the user, the query complexity is reduced, the user experience is improved, and the transaction information can be checked.
Optionally, on the basis of the embodiment of the information processing method, another embodiment of the present invention provides a blockchain-based information processing apparatus, which is applied to an endorsement node in a target server cluster, where the target server cluster is any one server cluster in a data management system, different server clusters in the data management system use different channels, and servers located in the same server cluster share the same channel; a server with an endorsement function in the server cluster is used as an endorsement node, and a server with a submitting function is used as a submitting node;
the information processing apparatus includes:
the information acquisition module 11 is used for acquiring transaction information sent to the target channel by the client; the target channel is a channel corresponding to the target server cluster;
a signature module 12, configured to perform a signature operation on the transaction information to obtain target transaction information;
the information sending module 13 is configured to send the target transaction information to the client, so that the client sends the target transaction information to a sorting server, and the sorting server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel, so that a submitting node in the target server cluster stores the transaction block in a blockchain corresponding to the target server cluster.
Further, the information acquisition module is specifically configured to:
and acquiring the information in the target channel, and screening transaction information needing signature operation from the acquired information.
Further, the signature module is specifically configured to:
and carrying out verification operation on the transaction information, and carrying out signature operation on the transaction information under the condition that verification is passed to obtain target transaction information.
Further, the method further comprises the following steps:
the inquiry request receiving module is used for receiving the transaction data inquiry request sent by the client; the transaction data query request comprises a transaction hash value, transaction time or block height;
the zone-crossing chain determining module is used for determining a block chain corresponding to the target server cluster;
and the data query module is used for querying and obtaining the transaction data corresponding to the transaction data query request from the blockchain and sending the transaction data to the client.
In this embodiment, the data management system includes a plurality of server clusters, different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; the server with the endorsement function in the server cluster is used as an endorsement node, and the server with the submitting function is used as a submitting node. Through the data management system, the endorsement node in the server cluster can acquire the transaction information sent by the client to the target channel, signature operation is carried out on the transaction information to obtain target transaction information, the target transaction information is sent to the client so that the client can send the target transaction information to the sequencing server, the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel, and the submitting node in the target server cluster can store the transaction block into a block chain corresponding to the target server cluster. The transaction data is stored in the blockchain, and the blockchain has the characteristic of non-tampering, so that the possibility of tampering the transaction data on the blockchain is reduced, and the safety and reliability of data storage are improved. Furthermore, each website is not required to be configured with a corresponding data storage system, and the data storage system is uniformly stored by adopting a block chain, so that the safety and reliability of data storage are improved, and the management is convenient.
It should be noted that, in the working process of each module in this embodiment, please refer to the corresponding description in the above embodiment, and no further description is given here.
Optionally, on the basis of the embodiments of the information processing method and apparatus, another embodiment of the present invention provides a data management system, which is characterized by including a plurality of server clusters, where different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; a server with an endorsement function in the server cluster is used as an endorsement node, and a server with a submitting function is used as a submitting node; any one server cluster in the data management system can be used as a target server cluster;
the endorsement node in the target server cluster is used for executing the information processing method based on the block chain;
the submitting node is used for acquiring the transaction block corresponding to the target transaction information generated by the sequencing server and sending the transaction block to the target channel, and storing the transaction block into a block chain corresponding to the target server cluster.
Further, the method also comprises a sequencing server;
the ordering server is used for acquiring target transaction information sent by the client, generating a transaction block corresponding to the target transaction information and sending the transaction block to the target channel.
In this embodiment, the data management system includes a plurality of server clusters, different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; the server with the endorsement function in the server cluster is used as an endorsement node, and the server with the submitting function is used as a submitting node. Through the data management system, the endorsement node in the server cluster can acquire the transaction information sent by the client to the target channel, signature operation is carried out on the transaction information to obtain target transaction information, the target transaction information is sent to the client so that the client can send the target transaction information to the sequencing server, the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel, and the submitting node in the target server cluster can store the transaction block into a block chain corresponding to the target server cluster. The transaction data is stored in the blockchain, and the blockchain has the characteristic of non-tampering, so that the possibility of tampering the transaction data on the blockchain is reduced, and the safety and reliability of data storage are improved. Furthermore, each website is not required to be configured with a corresponding data storage system, and the data storage system is uniformly stored by adopting a block chain, so that the safety and reliability of data storage are improved, and the management is convenient.
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 (10)

1. The information processing method based on the blockchain is characterized by being applied to endorsement nodes in target server clusters, wherein the target server clusters are any one server cluster in a data management system, different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; a server with an endorsement function in the server cluster is used as an endorsement node, and a server with a submitting function is used as a submitting node;
the information processing method comprises the following steps:
acquiring transaction information sent by a client to a target channel; the target channel is a channel corresponding to the target server cluster;
signing the transaction information to obtain target transaction information;
and sending the target transaction information to the client so that the client sends the target transaction information to a sequencing server, and the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel so that a submitting node in the target server cluster stores the transaction block in a blockchain corresponding to the target server cluster.
2. The information processing method according to claim 1, wherein acquiring transaction information sent by the client into the target channel includes:
acquiring information in the target channel;
and screening transaction information needing signature operation from the acquired information.
3. The information processing method according to claim 1, wherein signing the transaction information to obtain target transaction information includes:
performing verification operation on the transaction information;
and under the condition that verification is passed, carrying out signature operation on the transaction information to obtain target transaction information.
4. The information processing method according to claim 1, characterized by further comprising:
receiving a transaction data query request sent by the client; the transaction data query request comprises a transaction hash value, transaction time or block height;
determining a blockchain corresponding to the target server cluster;
and inquiring from the blockchain to obtain transaction data corresponding to the transaction data inquiry request, and sending the transaction data to the client.
5. The information processing device based on the blockchain is characterized by being applied to endorsement nodes in target server clusters, wherein the target server clusters are any one server cluster in a data management system, different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; a server with an endorsement function in the server cluster is used as an endorsement node, and a server with a submitting function is used as a submitting node;
the information processing apparatus includes:
the information acquisition module is used for acquiring transaction information sent to the target channel by the client; the target channel is a channel corresponding to the target server cluster;
the signature module is used for carrying out signature operation on the transaction information to obtain target transaction information;
the information sending module is used for sending the target transaction information to the client so that the client sends the target transaction information to a sequencing server, and the sequencing server generates a transaction block corresponding to the target transaction information and sends the transaction block to the target channel so that a submitting node in the target server cluster stores the transaction block in a block chain corresponding to the target server cluster.
6. The information processing apparatus according to claim 5, wherein the information acquisition module is specifically configured to:
and acquiring the information in the target channel, and screening transaction information needing signature operation from the acquired information.
7. The information processing apparatus according to claim 5, wherein the signature module is specifically configured to:
and carrying out verification operation on the transaction information, and carrying out signature operation on the transaction information under the condition that verification is passed to obtain target transaction information.
8. The information processing apparatus according to claim 5, characterized by further comprising:
the inquiry request receiving module is used for receiving the transaction data inquiry request sent by the client; the transaction data query request comprises a transaction hash value, transaction time or block height;
the zone-crossing chain determining module is used for determining a block chain corresponding to the target server cluster;
and the data query module is used for querying and obtaining the transaction data corresponding to the transaction data query request from the blockchain and sending the transaction data to the client.
9. A data management system, comprising a plurality of server clusters, wherein different server clusters in the data management system use different channels, and servers in the same server cluster share the same channel; a server with an endorsement function in the server cluster is used as an endorsement node, and a server with a submitting function is used as a submitting node; any one server cluster in the data management system can be used as a target server cluster;
an endorsement node in the target server cluster for performing the blockchain-based information processing method of any of claims 1-4;
the submitting node is used for acquiring the transaction block corresponding to the target transaction information generated by the sequencing server and sending the transaction block to the target channel, and storing the transaction block into a block chain corresponding to the target server cluster.
10. The data management system of claim 9, further comprising a ranking server;
the ordering server is used for acquiring target transaction information sent by the client, generating a transaction block corresponding to the target transaction information and sending the transaction block to the target channel.
CN202111020913.6A 2021-09-01 2021-09-01 Information processing method, device and data management system based on block chain Active CN113643032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111020913.6A CN113643032B (en) 2021-09-01 2021-09-01 Information processing method, device and data management system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111020913.6A CN113643032B (en) 2021-09-01 2021-09-01 Information processing method, device and data management system based on block chain

Publications (2)

Publication Number Publication Date
CN113643032A CN113643032A (en) 2021-11-12
CN113643032B true CN113643032B (en) 2024-02-20

Family

ID=78424835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111020913.6A Active CN113643032B (en) 2021-09-01 2021-09-01 Information processing method, device and data management system based on block chain

Country Status (1)

Country Link
CN (1) CN113643032B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118461A (en) * 2022-06-07 2022-09-27 讯飞智元信息科技有限公司 Data processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111047319A (en) * 2019-09-03 2020-04-21 腾讯科技(深圳)有限公司 Transaction processing method of block chain network and block chain network
CN111815321A (en) * 2020-05-21 2020-10-23 北京金山云网络技术有限公司 Transaction proposal processing method, device, system, storage medium and electronic device
WO2021012572A1 (en) * 2019-07-25 2021-01-28 深圳壹账通智能科技有限公司 Blockchain transaction data processing method and apparatus, computer device, and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021012572A1 (en) * 2019-07-25 2021-01-28 深圳壹账通智能科技有限公司 Blockchain transaction data processing method and apparatus, computer device, and storage medium
CN111047319A (en) * 2019-09-03 2020-04-21 腾讯科技(深圳)有限公司 Transaction processing method of block chain network and block chain network
CN111815321A (en) * 2020-05-21 2020-10-23 北京金山云网络技术有限公司 Transaction proposal processing method, device, system, storage medium and electronic device

Also Published As

Publication number Publication date
CN113643032A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
US11431486B2 (en) System or method to implement consensus on read on distributed ledger/blockchain
Dib et al. Consortium blockchains: Overview, applications and challenges
Sunyaev et al. Distributed ledger technology
US11811769B2 (en) Systems, methods, and apparatuses for implementing a declarative, metadata driven, cryptographically verifiable multi-network (multi-tenant) shared ledger
US11824864B2 (en) Systems, methods, and apparatuses for implementing a declarative and metadata driven blockchain platform using distributed ledger technology (DLT)
US11538105B2 (en) Cryptographic-asset collateral management
US20190354518A1 (en) Chain mesh network for decentralized transaction systems
Wang et al. Inter-bank payment system on enterprise blockchain platform
CN110633963B (en) Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
WO2019210409A1 (en) Methods, apparatus and system for identification verification
CN111861477A (en) Block chain-based post-transaction data processing method and device and computer equipment
CN114445010B (en) Block chain-based multi-mode intermodal system and method
CN109547488A (en) A kind of trust data calculating and exchange system based on alliance's block chain
Manevich et al. Endorsement in Hyperledger Fabric via service discovery
CN108717659A (en) A kind of measures of tax collection and framework based on block chain
US20230289782A1 (en) Smart contract-based data processing
CN113643032B (en) Information processing method, device and data management system based on block chain
CN114971827A (en) Account checking method and device based on block chain, electronic equipment and storage medium
CN113011960A (en) Block chain-based data access method, device, medium and electronic equipment
Harris Improving telecom industry processes using ordered transactions in hyperledger fabric
Imran et al. Research perspectives and challenges of blockchain for data-intensive and resource-constrained devices
CN110992182A (en) Transaction method and system of block chain wallet
Liu et al. The application of block chain technology in spot exchange
CN112269829B (en) Block chain data management method based on resource recovery system platform
CN114020847A (en) Network resource sharing method based on block chain technology

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