CN111585994A - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN111585994A
CN111585994A CN202010343647.XA CN202010343647A CN111585994A CN 111585994 A CN111585994 A CN 111585994A CN 202010343647 A CN202010343647 A CN 202010343647A CN 111585994 A CN111585994 A CN 111585994A
Authority
CN
China
Prior art keywords
chain
transaction
result information
node
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010343647.XA
Other languages
Chinese (zh)
Inventor
朱辉
张盼盼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010343647.XA priority Critical patent/CN111585994A/en
Publication of CN111585994A publication Critical patent/CN111585994A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The application provides a data processing method and a system, wherein a link node can firstly receive transaction proposal data sent by a transaction initiator; then, the transaction proposal data is forwarded to the data processing equipment under the chain, so that the data processing equipment under the chain can obtain transaction result information according to the transaction proposal data; and finally, receiving the transaction result information sent by the data processing equipment under the link, recording the transaction result information and sending the transaction result information to the transaction initiator. In this way, the step of calculating transaction result information, which requires more computing resources, is shifted from the chain to the data processing device below the chain. Because the computational resources of the data processing equipment under the chain can be infinitely increased theoretically, the factors restricting the transaction performance are changed from the capability of the blockchain platform for calculating the transaction result to the capability of the blockchain platform for recording the transaction result. Therefore, the transaction processing speed is greatly improved, the transaction quantity which can be processed by the block chain is increased, and the transaction throughput is improved.

Description

Data processing method and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and system.
Background
Along with the expansion of banking business and the improvement of financial systems, the types of financial products are more and more. The customer can manage money by purchasing money management products such as bonds issued by banks. Since a financial product may involve a large number of customers and a large amount of money, a system responsible for trading a financial product may cause a great loss to a bank in case of data leakage or attack.
At present, in order to solve the security problem of a financial product transaction system, a blockchain technology can be adopted to process the transaction of a financial product. For example, the transaction initiator may send the transaction proposal to the blockchain, and the node in the blockchain calculates the transaction proposal to obtain the transaction result and records the transaction result in the master node of the blockchain. Because the block chain has the characteristics of openness, decentralization and non-falsification, a transaction initiator can see the whole transaction process, and an attacker cannot modify data in the block chain, so that the security of the transaction is guaranteed.
However, the performance of the blockchain platform is limited by the hardware devices, and the computational processing of the transaction proposal has relatively high requirements on computational resources. When the transaction amount is large, the blockchain platform may not be able to process all transaction proposals in time, resulting in a decrease in transaction throughput and a failure to meet the real-time requirement of the transaction.
Disclosure of Invention
In view of this, embodiments of the present application provide a data processing method and system, which aim to transfer a complex calculation process from a blockchain to a downlink by setting a downlink data processing device, thereby freeing computing resources of a blockchain platform and improving transaction processing capability.
A method of data processing, the method comprising:
the method comprises the steps that a link node receives transaction proposal data sent by a transaction initiator;
the chain node forwards the transaction proposal data to a chain data processing device, so that the chain data processing device obtains transaction result information according to the transaction proposal data;
and the uplink node receives the transaction result information sent by the downlink data processing equipment, records the transaction result information and sends the transaction result information to the transaction initiator.
Optionally, the uplink node includes an uplink distribution node and an uplink master node;
the step of receiving the transaction proposal data sent by the transaction initiator by the node on the chain comprises the following steps:
the distribution node on the chain receives transaction proposal data sent by a transaction initiator;
the forwarding, by the on-chain node, the transaction proposal data to an off-chain data processing device comprises:
the distribution node on the chain forwards the transaction proposal data to data processing equipment under the chain through a channel under the chain, so that the data processing equipment under the chain obtains transaction result information according to the transaction proposal data;
the step of receiving, by the uplink node, the transaction result information sent by the downlink data processing device includes:
and the distribution node on the chain receives the transaction result information sent by the data processing equipment under the chain through the channel under the chain, and sends the transaction result information to the main node on the chain so that the main node on the chain can record the transaction result information.
Optionally, the downlink channel performs data interaction by using a hypertext transfer security protocol https protocol.
Optionally, the forwarding, by the on-chain distribution node, the transaction proposal data to the off-chain data processing device through an off-chain channel includes:
the node of the method above the chain sends the signed transaction proposal data to the data processing equipment under the chain through the channel under the chain, so that the data processing equipment under the chain obtains the transaction result information according to the transaction proposal data after the signature verification is passed;
the sending of the transaction result information to the on-chain master node by the on-chain distribution node includes:
and the distribution node on the chain sends the transaction result information to the main node on the chain after signing, so that the main node on the chain records the transaction result information after the signature verification is passed.
Optionally, the chain node comprises a chain accounting node;
the step of sending the transaction result information to the transaction initiator by the chain node comprises the following steps:
and the chain accounting node acquires the transaction result information from the chain main node and sends the transaction result information to a transaction initiator.
A data processing system, the system comprising:
the data processing equipment under the chain is used for receiving the transaction proposal data sent by the node on the chain, obtaining transaction result information according to the transaction proposal data and then sending the transaction result information to the node on the chain;
the system comprises an uplink node, a downlink data processing device and a transaction initiating party, wherein the uplink node is used for receiving transaction proposal data sent by the transaction initiating party and forwarding the transaction proposal data to the downlink data processing device so that the downlink data processing device can obtain transaction result information according to the transaction proposal data; and receiving the transaction result information sent by the data processing equipment under the link, recording the transaction result information and sending the transaction result information to the transaction initiator.
Optionally, the uplink node comprises:
the distribution node on the chain is used for receiving the transaction proposal data sent by the transaction initiator; forwarding the transaction proposal data to a data processing device under the chain through a channel under the chain, so that the data processing device under the chain can obtain transaction result information according to the transaction proposal data; receiving transaction result information sent by the data processing equipment under the chain through the channel under the chain, and sending the transaction result information to the main node on the chain;
and the chain main node is used for receiving the transaction result information sent by the chain distribution node and recording the transaction result information.
Optionally, the downlink channel performs data interaction by using a hypertext transfer security protocol https protocol.
Optionally, the on-chain distribution node is further configured to:
the transaction proposal data is signed and then sent to the data processing equipment under the chain through a channel under the chain, so that the data processing equipment under the chain can calculate transaction result information according to the transaction proposal data after the signature verification is passed;
and sending the transaction result information to the on-chain main node after signature so that the on-chain main node records the transaction result information after signature verification is passed.
Optionally, the uplink node further comprises:
and the chain accounting node is used for acquiring transaction result information from the chain main node and sending the transaction result information to a transaction initiator.
The embodiment of the application provides a data processing method and a data processing system, wherein a link node can firstly receive transaction proposal data sent by a transaction initiator; then, the transaction proposal data is forwarded to the data processing equipment under the chain, so that the data processing equipment under the chain can obtain transaction result information according to the transaction proposal data; and finally, receiving the transaction result information sent by the data processing equipment under the chain, recording the transaction result information and sending the transaction result information to the transaction initiator. In this way, the step of obtaining transaction result information from transaction proposal data, which requires more computing resources, is shifted from blockchain to down-chain data processing devices. Because the computational resources of the data processing equipment under the chain can be infinitely increased theoretically, the factors restricting the transaction performance are changed from the capability of the blockchain platform for calculating the transaction result to the capability of the blockchain platform for recording the transaction result. Therefore, the transaction processing speed can be greatly improved, so that the transaction quantity which can be processed by the block chain at the same time is increased, and the transaction throughput is improved.
Drawings
To illustrate the technical solutions in the present embodiment or the prior art more clearly, the drawings needed to be used in the description of the embodiment or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method of a data processing method according to an embodiment of the present application;
fig. 2 is an information interaction diagram of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
With the development of computer and cryptography technologies, the block chain technology is more and more mature and widely applied in many fields. Because the blockchain has the characteristics of decentralization, independence, safety and the like, many bank systems also adopt the blockchain technology to process part of transactions. Taking financial bonds as an example, a bank may process financial bond related transactions using federation chain technology with an admission mechanism. Therefore, the whole transaction process is public and visible, is relatively transparent, cannot be tampered with, and has high safety.
However, since the blockchain must run on a hardware device, the computational resources of the hardware device are also limited, and the blockchain also has an upper performance limit. If the requirement for computing resources for transaction processing is high or the transaction frequency is too fast, the blockchain may not be able to process transactions in time, resulting in transaction throughput reduction and failure to meet the real-time requirement of transactions.
Still taking the financial bonds as an example, the current process of processing the financial bonds through the block chain technology includes that a transaction initiator sends a transaction proposal to an endorsement node; the endorsement node calls a chain code to simulate and execute a transaction proposal; the endorsement node returns a simulation execution result to the transaction initiator; the transaction initiator submits the transaction containing the signature endorsement and the simulation execution result to the sequencing service node; the ordering service node orders the transactions to generate transaction packaging information; the sequencing service node broadcasts transaction packaging information to the main node; the main node verifies the transaction packaging information, and records the transaction packaging information to the account book after the verification is passed; the accounting node synchronizes transaction packaging information from the master node; and the accounting node informs the transaction initiator of successful transaction and the like. These steps not only require the transfer of information between the nodes in the blockchain to each other, but also consume significant computational resources. This results in a limited number of transactions that the blockchain platform can handle at the same time. When the transaction amount is too large, the real-time requirement of the transaction cannot be met.
In order to solve the problem, the present application provides a data processing method and apparatus for processing transaction information by using a data processing device under a blockchain, and the following description will describe preferred embodiments of the present application from the perspective of nodes in the blockchain. Of course, the data processing method provided by the application can be used for processing transaction data of banks and can also be used for processing other data with higher requirements on computing resources.
It should be noted that, the step related to the block chain in the embodiment of the present application may include specific steps of data uplink, asymmetric encryption, timestamp (timestamp) setting, and the like, and these specific operations are consistent with the existing block chain technology, which is not described herein again.
Referring to fig. 1, fig. 1 is a flowchart of a method of a data processing method provided in an embodiment of the present application, including:
s101: and receiving transaction proposal data sent by a transaction initiator.
When the transaction initiator needs to perform a transaction, the transaction initiator may send transaction proposal data to a node in the blockchain, so that the blockchain and the data processing device under the blockchain perform corresponding processing according to the transaction proposal data. The transaction proposal data represents the relevant information of the transaction, and can include information such as transaction type, transaction amount and the like.
In the embodiments of the present application, the blockchain may be composed of a plurality of different nodes on the chain. For example, an on-chain node may comprise an on-chain master node of an on-chain distribution node. The distribution node on the chain can be used for receiving and distributing the message, and the connection main node can be used for recording the message. Specifically, when the on-chain node includes an on-chain distribution node, the transaction initiator may send the transaction proposal data to the on-chain distribution node, so that the on-chain distribution node forwards the transaction proposal data to other nodes or devices for processing.
S102: and forwarding the transaction proposal data to a downlink data processing device.
After the transaction proposal data is obtained, the uplink node can send the transaction proposal data to the downlink data processing equipment, and the downlink data processing equipment processes the transaction proposal data to obtain transaction result information. The downlink data processing device may be a device with a data processing function, such as a computer or a server, or may be a distributed data processing device, such as a cloud computing platform or a server cluster. When the data processing equipment under the chain processes the transaction proposal data, the data such as the amount of money, interest and the like of the transaction can be calculated according to the transaction proposal data, and whether the credit level of the transaction initiator accords with the credit level required by the transaction proposal or not, whether the transaction initiator is qualified to initiate the transaction proposal or not and the like can be judged according to the identity information of the transaction initiator included in the transaction proposal data. The transaction result information obtained by the data processing equipment under the chain can comprise specific information such as income, profit and the like, and can also comprise an authentication result of the transaction initiator.
In an embodiment of the application, when the on-chain node comprises an on-chain distribution node, a dedicated off-chain channel may be established between the on-chain distribution node and the off-chain data processing device for transmitting the transaction proposal data. Specifically, when the transaction proposal data is sent to the data processing device under the link, the distribution node on the link can forward the transaction proposal data to the data processing device under the link through the dedicated channel under the link, and then the data processing device under the link processes the transaction proposal data. Further, in consideration of security of transaction data, the downlink transmission channel may use a hypertext transfer protocol over secure socket layer (https) protocol for data interaction. Since the https protocol can authenticate the sender and receiver of data, it can be ensured that the data is sent to the correct down-link data processing device. Moreover, the HTTPS protocol is constructed by a Secure Socket Layer (SSL) and a hypertext transfer protocol (http) protocol, which can prevent the transaction proposal data from being stolen and changed during the transmission process, and further ensure the security of the transaction related data.
S103: and receiving the transaction result information sent by the data processing equipment under the link, recording the transaction result information and sending the transaction result information to the transaction initiator.
After the data processing device under the link processes the transaction proposal data and obtains the transaction result information, the data processing device under the link can send the transaction result information to the node on the link. The nodes on the chain can record and store the transaction result information and send the transaction result information to the transaction initiator so as to inform the transaction initiator of the relevant information of the current transaction proposal.
In an embodiment of the present application, when the uplink node includes an uplink distribution node and an uplink master node, the downlink data processing device may send the transaction result information to the uplink distribution node. After receiving the transaction result information, the distribution node on the chain can send the transaction result information to the main node on the chain, and the main node on the chain records the transaction result information. When the distribution node on the chain receives the transaction proposal data and the corresponding transaction result information of the next transaction, a new block can be established after the main node on the chain as a new main node on the chain for recording the transaction result information of the transaction. In this way, the transaction proposal data sent by the transaction initiator can be forwarded to the data processing device under the link by the distribution node on the link, and then the transaction result information obtained by the data processing device under the link is forwarded to the host node on the link for recording and storing. In the process, the distribution node on the chain transfers and sends the transaction proposal data and the transaction result information, the main node on the chain records the transaction result information, the data processing equipment under the chain verifies and calculates the specific data of the transaction, the complex calculation process of the transaction is transferred from the chain to the chain, and only the steps with lower requirements on calculation resources, such as forwarding, recording and the like, are executed on the chain. Because the data processing equipment under the chain can be one or more equipment, theoretically, infinite computing resources can be provided, and the upper limit of the transaction quantity which can be processed by the block chain at the same time is greatly improved. Thus, even if a large number of transaction proposals are received at the same time, the blockchain can process each transaction proposal in time.
Further, considering that most of the blockchains currently processing transactions are alliance chains, only a transaction initiator passing identity authentication can view contents in the chains, and the blockchains also have a step of asymmetric encryption, in the embodiment of the present application, a distribution node on the chains can add signatures to transaction proposal data and transaction result information to improve security of transactions.
Specifically, after receiving the transaction proposal data sent by the transaction initiator, the distribution node on the chain may sign the transaction proposal data and send the signed transaction proposal data to the data processing device under the chain through the channel under the chain. The data processing device under the chain can carry out signature verification on the received transaction proposal data and judge whether the transaction proposal data comprises the signature of the distribution node on the chain. If the signature of the distribution node on the chain is detected, the transaction proposal data is not tampered, and the data processing equipment under the chain can process the transaction proposal data to obtain transaction result information and transmit the transaction result information back to the distribution node on the chain. When the distribution node on the chain sends the transaction result information to the main node on the chain, the signature can be added into the transaction result information, so that the main node on the chain records the transaction result information after the signature verification is passed. Therefore, the transaction proposal data and the transaction result information forwarded by the distribution node on the chain are signed, so that the transaction proposal data and the transaction result information can be ensured not to be falsified in the transmission process, and the security of the transaction data is further ensured.
In the embodiment of the application, a chain accounting node which is specially used for informing the transaction initiator of the transaction result information can be arranged in the blockchain. Specifically, the link node may actively acquire the transaction result information from the master node, and send the transaction result information to the transaction initiator corresponding to the transaction result information. Therefore, by setting the chain accounting node, the transaction result information can be timely notified to the transaction initiator. When the nodes on the chain include the distribution node on the chain, the master node on the chain, and the accounting node on the chain, the information interaction process between the transaction initiator, the data processing device off the chain, and the respective nodes may be as shown in fig. 2.
The embodiment provides a data processing method, wherein a link node can firstly receive transaction proposal data sent by a transaction initiator; then, the transaction proposal data is forwarded to the data processing equipment under the chain, so that the data processing equipment under the chain can obtain transaction result information according to the transaction proposal data; and finally, receiving the transaction result information sent by the data processing equipment under the chain, recording the transaction result information and sending the transaction result information to the transaction initiator. In this way, the step of obtaining transaction result information from transaction proposal data, which requires more computing resources, is shifted from blockchain to down-chain data processing devices. Because the computational resources of the data processing equipment under the chain can be infinitely increased theoretically, the factors restricting the transaction performance are changed from the capability of the blockchain platform for calculating the transaction result to the capability of the blockchain platform for recording the transaction result. Therefore, the transaction processing speed can be greatly improved, so that the transaction quantity which can be processed by the block chain at the same time is increased, and the transaction throughput is improved.
The foregoing provides some specific implementation manners of the data processing method for the embodiments of the present application, and based on this, the present application also provides a corresponding data processing system. The following describes a data processing system provided in an embodiment of the present application.
Referring to the schematic diagram of the data processing system shown in fig. 3, the system 100 includes:
and the downlink data processing device 110 is configured to receive the transaction proposal data sent by the uplink node, obtain transaction result information according to the transaction proposal data, and send the transaction result information to the uplink node.
The uplink node 120 is configured to receive transaction proposal data sent by a transaction initiator, and forward the transaction proposal data to the downlink data processing device, so that the downlink data processing device obtains transaction result information according to the transaction proposal data; and receiving the transaction result information sent by the data processing equipment under the link, recording the transaction result information and sending the transaction result information to the transaction initiator.
The embodiment provides a data processing system, wherein a link node can firstly receive transaction proposal data sent by a transaction initiator; then, the transaction proposal data is forwarded to the data processing equipment under the chain, so that the data processing equipment under the chain can obtain transaction result information according to the transaction proposal data; and finally, receiving the transaction result information sent by the data processing equipment under the chain, recording the transaction result information and sending the transaction result information to the transaction initiator. In this way, the step of obtaining transaction result information from transaction proposal data, which requires more computing resources, is shifted from blockchain to down-chain data processing devices. Because the computational resources of the data processing equipment under the chain can be infinitely increased theoretically, the factors restricting the transaction performance are changed from the capability of the blockchain platform for calculating the transaction result to the capability of the blockchain platform for recording the transaction result. Therefore, the transaction processing speed can be greatly improved, so that the transaction quantity which can be processed by the block chain at the same time is increased, and the transaction throughput is improved.
Alternatively, referring to fig. 4, on the basis of the apparatus shown in fig. 3, the uplink node 120 includes:
the distribution node 121 on the chain is configured to receive transaction proposal data sent by the transaction initiator; forwarding the transaction proposal data to a data processing device under the chain through a channel under the chain, so that the data processing device under the chain can obtain transaction result information according to the transaction proposal data; and receiving the transaction result information sent by the data processing equipment under the chain through the channel under the chain, and sending the transaction result information to the main node on the chain.
And the chain master node 122 is configured to receive the transaction result information sent by the chain distribution node and record the transaction result information.
In this way, the transaction proposal data sent by the transaction initiator can be forwarded to the data processing device under the link by the distribution node on the link, and then the transaction result information obtained by the data processing device under the link is forwarded to the host node on the link for recording and storing. In the process, the distribution node on the chain transfers and sends the transaction proposal data and the transaction result information, the main node on the chain records the transaction result information, the data processing equipment under the chain verifies and calculates the specific data of the transaction, the complex calculation process of the transaction is transferred from the chain to the chain, and only the steps with lower requirements on calculation resources, such as forwarding, recording and the like, are executed on the chain. Because the data processing equipment under the chain can be one or more equipment, theoretically, infinite computing resources can be provided, and the upper limit of the transaction quantity which can be processed by the block chain at the same time is greatly improved. Thus, even if a large number of transaction proposals are received at the same time, the blockchain can process each transaction proposal in time.
Optionally, on the basis of the apparatus shown in fig. 4, the downlink channel performs data interaction by using a hypertext transfer security protocol https protocol.
Since the https protocol can authenticate the sender and receiver of data, it can be ensured that the data is sent to the correct down-link data processing device. Moreover, the HTTPS protocol is constructed by a Secure Socket Layer (SSL) and a hypertext transfer protocol (http) protocol, which can prevent the transaction proposal data from being stolen and changed during the transmission process, and further ensure the security of the transaction related data.
Optionally, on the basis of the apparatus shown in fig. 4, the on-chain distribution node 121 is further configured to:
the transaction proposal data is signed and then sent to the data processing equipment under the chain through a channel under the chain, so that the data processing equipment under the chain can calculate transaction result information according to the transaction proposal data after the signature verification is passed;
and the distribution node on the chain sends the transaction result information to the main node on the chain after signing, so that the main node on the chain records the transaction result information after the signature verification is passed.
Therefore, the transaction proposal data and the transaction result information forwarded by the distribution node on the chain are signed, so that the transaction proposal data and the transaction result information can be ensured not to be falsified in the transmission process, and the security of the transaction data is further ensured.
Optionally, referring to fig. 5, on the basis of the apparatus shown in fig. 4, the uplink node 120 further includes:
and the chain accounting node 123 is configured to obtain the transaction result information from the chain master node, and send the transaction result information to the transaction initiator.
Therefore, by setting the chain accounting node, the transaction result information can be timely notified to the transaction initiator. When the nodes on the chain include the distribution node on the chain, the master node on the chain, and the accounting node on the chain, the information interaction process between the transaction initiator, the data processing device off the chain, and the respective nodes may be as shown in fig. 2.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a read-only memory (ROM)/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only an exemplary embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (10)

1. A method of data processing, the method comprising:
the method comprises the steps that a link node receives transaction proposal data sent by a transaction initiator;
the chain node forwards the transaction proposal data to a chain data processing device, so that the chain data processing device obtains transaction result information according to the transaction proposal data;
and the uplink node receives the transaction result information sent by the downlink data processing equipment, records the transaction result information and sends the transaction result information to the transaction initiator.
2. The method of claim 1, wherein the on-chain nodes comprise an on-chain distribution node and an on-chain master node;
the step of receiving the transaction proposal data sent by the transaction initiator by the node on the chain comprises the following steps:
the distribution node on the chain receives transaction proposal data sent by a transaction initiator;
the forwarding, by the on-chain node, the transaction proposal data to an off-chain data processing device comprises:
the distribution node on the chain forwards the transaction proposal data to data processing equipment under the chain through a channel under the chain, so that the data processing equipment under the chain obtains transaction result information according to the transaction proposal data;
the step of receiving, by the uplink node, the transaction result information sent by the downlink data processing device includes:
and the distribution node on the chain receives the transaction result information sent by the data processing equipment under the chain through the channel under the chain, and sends the transaction result information to the main node on the chain so that the main node on the chain can record the transaction result information.
3. The method of claim 2, wherein the downlink channel employs https for data interaction.
4. The method of claim 2, wherein the on-chain distribution node forwarding the transaction proposal data to an off-chain data processing device over an off-chain channel comprises:
the node of the method above the chain sends the signed transaction proposal data to the data processing equipment under the chain through the channel under the chain, so that the data processing equipment under the chain obtains the transaction result information according to the transaction proposal data after the signature verification is passed;
the sending of the transaction result information to the on-chain master node by the on-chain distribution node includes:
and the distribution node on the chain sends the transaction result information to the main node on the chain after signing, so that the main node on the chain records the transaction result information after the signature verification is passed.
5. The method of claim 2, wherein the on-chain node comprises an on-chain accounting node;
the step of sending the transaction result information to the transaction initiator by the chain node comprises the following steps:
and the chain accounting node acquires the transaction result information from the chain main node and sends the transaction result information to a transaction initiator.
6. A data processing system, characterized in that the system comprises:
the data processing equipment under the chain is used for receiving the transaction proposal data sent by the node on the chain, obtaining transaction result information according to the transaction proposal data and then sending the transaction result information to the node on the chain;
the system comprises an uplink node, a downlink data processing device and a transaction initiating party, wherein the uplink node is used for receiving transaction proposal data sent by the transaction initiating party and forwarding the transaction proposal data to the downlink data processing device so that the downlink data processing device can obtain transaction result information according to the transaction proposal data; and receiving the transaction result information sent by the data processing equipment under the link, recording the transaction result information and sending the transaction result information to the transaction initiator.
7. The system of claim 6, wherein the on-chain node comprises:
the distribution node on the chain is used for receiving the transaction proposal data sent by the transaction initiator; forwarding the transaction proposal data to a data processing device under the chain through a channel under the chain, so that the data processing device under the chain can obtain transaction result information according to the transaction proposal data; receiving transaction result information sent by the data processing equipment under the chain through the channel under the chain, and sending the transaction result information to the main node on the chain;
and the chain main node is used for receiving the transaction result information sent by the chain distribution node and recording the transaction result information.
8. The system of claim 7, wherein the downlink channel employs https for data interaction.
9. The system of claim 7, wherein the on-chain distribution node is further configured to:
the transaction proposal data is signed and then sent to the data processing equipment under the chain through a channel under the chain, so that the data processing equipment under the chain can calculate transaction result information according to the transaction proposal data after the signature verification is passed;
and sending the transaction result information to the on-chain main node after signature so that the on-chain main node records the transaction result information after signature verification is passed.
10. The system of claim 6, wherein the on-chain node further comprises:
and the chain accounting node is used for acquiring transaction result information from the chain main node and sending the transaction result information to a transaction initiator.
CN202010343647.XA 2020-04-27 2020-04-27 Data processing method and system Pending CN111585994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010343647.XA CN111585994A (en) 2020-04-27 2020-04-27 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010343647.XA CN111585994A (en) 2020-04-27 2020-04-27 Data processing method and system

Publications (1)

Publication Number Publication Date
CN111585994A true CN111585994A (en) 2020-08-25

Family

ID=72111781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010343647.XA Pending CN111585994A (en) 2020-04-27 2020-04-27 Data processing method and system

Country Status (1)

Country Link
CN (1) CN111585994A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801797A (en) * 2021-03-30 2021-05-14 支付宝(杭州)信息技术有限公司 Method and apparatus for processing ticket data using a down-link trusted device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330787A (en) * 2017-05-24 2017-11-07 智牛股权投资基金(平潭)合伙企业(有限合伙) High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe
CN108985785A (en) * 2018-04-03 2018-12-11 东莞市天眼网络科技有限公司 A method of Comodity anti-fake system and examination commodity true and false based on block chain
CN109359957A (en) * 2018-09-17 2019-02-19 中国银联股份有限公司 A kind of method and relevant apparatus of multi-party computations
CN110098938A (en) * 2019-04-17 2019-08-06 上海沄界信息科技有限公司 Accelerate solution and system under a kind of trusted commission formula chain
US20200028688A1 (en) * 2018-07-23 2020-01-23 Hitachi, Ltd. Off-chain blockchain storage with validation
CN111047450A (en) * 2020-03-18 2020-04-21 支付宝(杭州)信息技术有限公司 Method and device for calculating down-link privacy of on-link data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330787A (en) * 2017-05-24 2017-11-07 智牛股权投资基金(平潭)合伙企业(有限合伙) High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe
CN108985785A (en) * 2018-04-03 2018-12-11 东莞市天眼网络科技有限公司 A method of Comodity anti-fake system and examination commodity true and false based on block chain
US20200028688A1 (en) * 2018-07-23 2020-01-23 Hitachi, Ltd. Off-chain blockchain storage with validation
CN109359957A (en) * 2018-09-17 2019-02-19 中国银联股份有限公司 A kind of method and relevant apparatus of multi-party computations
CN110098938A (en) * 2019-04-17 2019-08-06 上海沄界信息科技有限公司 Accelerate solution and system under a kind of trusted commission formula chain
CN111047450A (en) * 2020-03-18 2020-04-21 支付宝(杭州)信息技术有限公司 Method and device for calculating down-link privacy of on-link data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801797A (en) * 2021-03-30 2021-05-14 支付宝(杭州)信息技术有限公司 Method and apparatus for processing ticket data using a down-link trusted device
WO2022206430A1 (en) * 2021-03-30 2022-10-06 支付宝(杭州)信息技术有限公司 Method and apparatus for processing bill data by using off-chain trusted device

Similar Documents

Publication Publication Date Title
CN107464112B (en) Transaction management method and system based on block chain
CN108256859B (en) Financial product transaction consensus method, node and system based on block chain
CN109493204B (en) Service accounting method based on block chain and terminal equipment
US11121881B2 (en) Event communication and verification through a blockchain network
CN107491948B (en) Transfer payment method based on block chain technology
CN109859043B (en) Transaction clearing method and transaction clearing system
CN109064146A (en) A kind of digital cash method of commerce, equipment, system, terminal and client wallet
CN107705113A (en) A kind of cross-border inter-bank method of payment of block chain based on Baas frameworks and system
WO2017020618A1 (en) Electronic resource processing method and apparatus
CN103049851A (en) Transaction data-based anti-fraud monitoring method and device
MXPA03001613A (en) Method, system and device for monitoring activity of a wireless communication device.
CN103516687A (en) Security information interaction system, equipment and method thereof
CN113486407B (en) Deposit list management system and method based on block chain
CN110889761A (en) Cross-chain transaction method and storage medium
CN116032937A (en) Edge computing equipment calculation transaction method and system
CN116595094A (en) Federal learning incentive method, device, equipment and storage medium based on block chain
CN113348656A (en) Network transaction verification method based on multiple nodes, system and storage medium thereof
Chen et al. XPay: Practical anonymous payments for Tor routing and other networked services
CN114219490A (en) Transaction behavior data updating method, device, equipment and storage medium
CN111585994A (en) Data processing method and system
CN110335040A (en) Resource transfers method, apparatus, electronic equipment and storage medium
CN112600830B (en) Service data processing method and device, electronic equipment and storage medium
CN112995167A (en) Kafka mechanism-based power utilization information acquisition method, block chain network and user side
CN111431933A (en) Settlement method and device based on block chain
CN105160531B (en) Transaction data processing method and processing device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200825

RJ01 Rejection of invention patent application after publication