CN113052610A - Data processing method and device based on block chain - Google Patents

Data processing method and device based on block chain Download PDF

Info

Publication number
CN113052610A
CN113052610A CN202110434302.XA CN202110434302A CN113052610A CN 113052610 A CN113052610 A CN 113052610A CN 202110434302 A CN202110434302 A CN 202110434302A CN 113052610 A CN113052610 A CN 113052610A
Authority
CN
China
Prior art keywords
network
data
block chain
secondary network
participant
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
CN202110434302.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.)
Alipay Hangzhou Information Technology Co Ltd
Ant Blockchain Technology Shanghai Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Ant Blockchain Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd, Ant Blockchain Technology Shanghai Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202110434302.XA priority Critical patent/CN113052610A/en
Publication of CN113052610A publication Critical patent/CN113052610A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • 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
    • G06Q20/4016Transaction verification involving fraud or risk level assessment in transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Abstract

The embodiment of the specification provides a data processing method based on a block chain, which is applied to a block chain node, wherein the block chain node belongs to a node in a block chain network, and the block chain node and at least one intermediate node form a secondary network, and a participant is connected to the block chain network through the secondary network; the block chain node receives first data sent by a block chain network; the receiver of the first data is the participant; the block link point shares the received first data to a secondary network so as to process the first data in the secondary network and send the obtained first processing result to the participant; and the block chain node receives second data sent to the secondary network by the participant, and uploads a second processing result obtained after the second data is processed in the secondary network to the block chain network.

Description

Data processing method and device based on block chain
Technical Field
One or more embodiments of the present specification relate to network communication technology, and more particularly, to a data processing method and apparatus based on a block chain.
Background
The block chain is a combined innovative technology formed by a plurality of technologies such as distributed data storage, intelligent contracts, consensus mechanisms, encryption algorithms and the like, and a core mechanism is to create a reliable novel calculation paradigm and a cooperation mode at low cost by using a mathematical principle rather than a third party in an untrusted competitive environment. As a distributed accounting technology commonly maintained by multiple parties, the method has the characteristics of openness, tamper resistance, anonymity, decentralization, traceability and the like, and can greatly expand the cooperation range and depth of people.
However, the existing data processing method based on the block chain has insufficient data processing capability, and cannot meet the processing requirements of the block chain participants.
Disclosure of Invention
One or more embodiments of the present specification describe a data processing method and apparatus based on a block chain, which can improve data processing capability.
According to a first aspect, a data processing method based on a blockchain is provided, which is applied to a blockchain node, the blockchain node belongs to a node in a blockchain network, and the blockchain node and at least one intermediate node form a secondary network, and a participant is connected to the blockchain network through the secondary network;
the method comprises the following steps:
the block chain node receives first data sent through a block chain network; the receiver of the first data is the participant;
the block link point shares the received first data to a secondary network so as to process the first data in the secondary network and send the obtained first processing result to the participant;
and the block chain node receives second data sent to the secondary network by the participant, and uploads a second processing result obtained after the second data is processed in the secondary network to the block chain network.
Wherein the processing the first data in the secondary network comprises: at least one intermediate node in the secondary network checks and/or calculates data by using the first data;
and/or the presence of a gas in the gas,
the processing of the second data in the secondary network includes: and at least one intermediate node in the secondary network checks and/or calculates data by using the second data.
Wherein the content of the first and second substances,
the block chain node and the at least one intermediate node are both located on the participant side; then, the blockchain node and the at least one intermediate node form the secondary network through the local area network of the participant;
and/or the presence of a gas in the gas,
at least one of the block chain node and the at least one intermediate node is located at a cloud end; and then, the block chain node and the at least one intermediate node form the secondary network through the public network.
According to a second aspect, there is provided a blockchain based data processing method applied to an intermediate node, the intermediate node being located in a secondary network, the secondary network comprising the intermediate node and a blockchain node, a participant being connected to the blockchain network through the secondary network;
the method comprises the following steps:
the intermediate node receives first data shared by block chain nodes in a secondary network, processes the first data, and sends a first processing result obtained by the processing to the participant through the secondary network;
and the intermediate node receives second data sent to the secondary network by the participant, processes the second data, and uploads a second processing result obtained by the processing to the block chain network through the block chain link point in the secondary network.
The processing the first data includes: the intermediate node checks and/or calculates data by using at least one part of the first data;
and/or the presence of a gas in the gas,
the processing the second data includes: the intermediate node performs a checksum and/or calculation of the data using at least a portion of the second data.
Wherein the content of the first and second substances,
the block chain node and the intermediate node are both positioned at the participant side; then, the secondary network is established through the local area network of the participant;
and/or the presence of a gas in the gas,
at least one of the block chain node and the intermediate node is located at a cloud end; then, the secondary network is established through a public network.
The intermediate node and at least one lower-level intermediate node form a lower-level network;
the first processing result obtained by the processing is sent to the participant through a secondary network, and the method comprises the following steps: the intermediate node in the secondary network shares the first processing result obtained by processing to the next-level network so as to trigger each node in the next-level network to perform preset processing on the first processing result and then send the first processing result to the participants;
the intermediate node receives second data sent by the participant to the secondary network, and the second data comprises the following data: and the second data is sent to the next-level network by the participant, processed by each node in the next-level network and sent to the intermediate node in the next-level network and the second-level network.
And the intermediate node corresponds to a set department in the participant and communicates with the service node of the set department.
According to a third aspect, there is provided a blockchain-based data processing apparatus, for use in a blockchain node, where the blockchain node is a node in a blockchain network, and the blockchain node and at least one intermediate node form a secondary network through which a participant is connected to the blockchain network;
the device includes:
a data downlink processing module configured to receive first data transmitted through a blockchain network; the receiver of the first data is the participant; sharing the received first data to a secondary network so as to process the first data in the secondary network and send the obtained first processing result to the participant;
and the data uplink processing module is configured to receive second data sent to the secondary network by the participant, and upload a second processing result obtained after the second data is processed in the secondary network to the block chain network.
According to a fourth aspect, there is provided a blockchain based data processing apparatus for use in an intermediate node located in a secondary network comprising the intermediate node and a blockchain node through which a participant is connected to the blockchain network;
the device includes:
the data issuing processing module is configured to receive first data shared by block link nodes in a secondary network, process the first data, and send a first processing result obtained by the processing to the participant through the secondary network;
and the data uploading processing module is configured to receive second data sent to the secondary network by the participant, process the second data, and upload a second processing result obtained by the processing to the block chain network through the block chain link point in the secondary network.
Further comprising: a lower level network interconnection module;
the lower-level network interconnection module is configured to share the first processing result to each intermediate node in a lower-level network; and receiving second data from the participants sent by each intermediate node in the next-level network.
According to a fifth aspect, there is provided a blockchain-based data processing system comprising: a secondary network consisting of a block link point and at least one intermediate node, the block link point belonging to a node in the block link network;
the blockchain node is configured to receive first data sent through a blockchain network, a receiving party of the first data is the participant, and the received first data is shared in a secondary network; uploading a second processing result obtained after processing the second data to a block chain network;
at least one of the blockchain node and the intermediate node is configured to process first data in a secondary network and send an obtained first processing result to the participant; and receiving second data sent by the participant to the secondary network, and processing the second data in the secondary network.
Further comprising: a next level network connected between the secondary network and the participants; the next-level network consists of one intermediate node and at least one next-level intermediate node in the second-level network;
intermediate nodes located in the secondary network and the next network at the same time, and configured to share the first processing result obtained in the secondary network to the next network; uploading a result obtained by processing the second data in the next-level network to the second-level network;
any node in the lower-level network is configured to process a first processing result in the lower-level network and send the obtained processing result to the participant; and receiving second data sent by the participant to the next network, and processing the second data in the next network.
Different intermediate nodes connect the service nodes of different service departments in the participant.
According to a sixth aspect, there is provided a computing device comprising a memory having stored therein executable code and a processor that, when executing the executable code, implements the method of any embodiment of the present description.
In the data processing method, the apparatus, and the system based on the blockchain provided in the embodiments of the present specification, a secondary network including a plurality of nodes is added between the blockchain network and the participant, the blockchain network is used as a primary network to perform data transfer, the secondary network is responsible for uplink and downlink processing of data corresponding to the participant, and the dual-layer network operates cooperatively, so that various more complex processing of the corresponding participant can be completed based on the secondary network, and the data processing capability is improved. In addition, the method does not need to change the existing block chain system architecture, meets the requirements of all participants who participate in block chain consensus, and is easy to realize.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of a data processing system employing blockchain techniques in the prior art.
FIG. 2 is a schematic diagram of a blockchain-based data processing system in one embodiment of the present description.
FIG. 3 is a diagram of a network application architecture for a blockchain based data processing system in one embodiment of the present description.
FIG. 4 is a diagram of a network application architecture for a blockchain based data processing system in another embodiment of the present description.
FIG. 5 is a diagram of a network application architecture for a blockchain based data processing system in a further embodiment of the present description.
Fig. 6 is a flowchart of a method for implementing a blockchain-based data processing method on a blockchain node in one embodiment of the present specification.
Fig. 7 is a flowchart of a method for implementing blockchain-based data processing at an intermediate node in one embodiment of the present description.
Fig. 8 is a schematic structural diagram of a data processing apparatus based on a block chain in an embodiment of the present specification.
Fig. 9 is a schematic structural diagram of a data processing apparatus based on a block chain in another embodiment of the present specification.
Detailed Description
Currently, the block chain technique is widely used. Referring to fig. 1, in the prior art, a system applying the blockchain technology includes a blockchain network and various participants participating in the blockchain consensus. Referring to fig. 1, taking a participant 1 as an example, the participant 1 needs uplink data, and the participant 1 directly sends the uplink data to a blockchain node 1 corresponding to the participant 1 in a blockchain network, and the blockchain node 1 performs data uplink processing; for the data of the downlink, the block link node 1 performs the downlink processing of the data, and then directly transmits the data to the participant 1.
It can be seen that in the prior art, in the data processing implemented based on the blockchain, only the blockchain network is included, i.e. only the single-layer network is included. Both uplink and downlink processing of data for a participant needs to be performed by a blockchain node. However, with the explosion of information amount and the increase of data processing complexity, the processing capability of a single blockchain node cannot meet the requirement of data processing, and thus cannot meet the processing requirement of a blockchain participant. For example, if the participant 1 is a pay pal, the transaction data of the pay pal at the time of twenty-ten million levels is uploaded to the block link point 1 corresponding to the pay pal in real time through each service node of the pay pal in fig. 1, so that uplink data cannot be realized at all. Since the processing power of the blockchain node 1 cannot achieve the capability of processing the hundreds of millions of data in real time. As another example, party 1 needs to use the user blacklist of party 2 for transaction risk identification processing, but since the user blacklist of party 2 belongs to the private data of party 2, party 2 does not want party 1 to be able to obtain the original data of the user blacklist, and in this case, an available invisible processing is needed, which can not only allow party 1 to use the blacklist, but also cannot allow party 1 to obtain the blacklist. Whereas the prior art implementation shown in fig. 1 is limited by the processing power of the blockchain node 1 node and cannot accomplish the complex processing that is available and invisible.
In summary, in the existing data processing method for a block chain, only one block chain node corresponding to one participant performs uplink and downlink processing on data, and thus the data processing requirements of the participants cannot be met. However, if the number of the block chain link points corresponding to one participant is increased on the block chain, for example, the block chain link points correspond to the pay bank, because the data size is large and the processing is complex, a plurality of block chain nodes corresponding to the pay bank are arranged on the block chain to process the data, in this way, the data are difficult to be accepted by other participants who participate in the block chain consensus, the service requirements of the other participants are not met, and the existing block chain system architecture needs to be modified.
Therefore, it is considered that a secondary network including a plurality of nodes is added between the blockchain network and the participants, the blockchain network is used as a primary network to transfer data, the secondary network is responsible for uplink and downlink processing of data corresponding to the participants, and the dual-layer network operates cooperatively, so that various more complex processing of the corresponding participants can be completed based on the secondary network, and the data processing capability is improved. In addition, the method does not need to change the existing block chain system architecture, meets the requirements of all participants who participate in block chain consensus, and is easy to realize.
Specific implementations of the above concepts are described below.
Firstly, a novel data processing system architecture based on a block chain is designed. As shown in fig. 2, the system includes: the secondary network consists of a block chain link point and at least one intermediate node, and the block chain link point belongs to one node in the block chain network.
Referring to fig. 2 and 3, the secondary network is connected to the blockchain network and a corresponding one of the participants of the secondary network, respectively. Each blockchain node corresponding to each participant is included in the blockchain network. In the network application architecture shown in fig. 3 described above, a secondary network is set only for party 1 and party 4, and no secondary network is set for party 2 and party 3. It is to be understood that the number of secondary networks shown in fig. 3 is merely illustrative and not limiting. A secondary network may be set between the blockchain network and a participant according to actual service needs. For example, when the processing capacity of the blockchain node corresponding to one participant cannot meet the requirement, a secondary network may be set for the participant, or certainly, a secondary network may be directly set for all the participants without considering the processing capacity of the blockchain node.
The secondary network is described in detail below with reference to fig. 2 and 3:
each secondary network includes at least one intermediate node (for example, as shown in fig. 2 and 3, the secondary network 1 includes 3 intermediate nodes) and one blockchain node (for example, as shown in fig. 2 and 3, the blockchain node 1) located in the blockchain network, and all nodes in the secondary network collectively complete data processing of corresponding participants. It can be seen that data processing originally required to be performed by one blockchain node is distributed to all nodes in the secondary network to be performed together, so that the data processing capability is improved, and the data concurrency requirement and the more complex processing requirement can be met based on a plurality of nodes in the secondary network.
The secondary network may be local to the parties connected thereto, and may be established using a local area network. For example, the blockchain node 1 and the intermediate nodes form a secondary network 1 through the local area network of the participant 1. In this case, the block link points and intermediate nodes in the secondary network are located on the participating side.
Certainly, the secondary network can also be located at the cloud end and constructed by utilizing a public network. In this case, for example, in the secondary network 1, at least one of the blockchain node 1 and each intermediate node is located in the cloud, for example, the blockchain node 1 is located in the cloud, and each intermediate node in the secondary network is located in the local of the participant 1, or any intermediate node in the secondary network is located in the cloud, and other intermediate nodes and blockchain nodes 1 are located in the local of the participant 1, and so on. At the moment, the block chain nodes and the intermediate nodes form a secondary network through the public network.
In the secondary network, the number of intermediate nodes may be set by at least one of the following ways:
the method I is set according to actual business requirements.
For example, for a participant with huge traffic or very complex data processing, the number of intermediate nodes in the secondary network corresponding to the participant can be set to be larger, so that the data processing is completed by more nodes in the secondary network.
And the second mode is set according to the organizational structure of the participants.
For example, if the participating party includes a transaction processing department, a fund transfer department, a security control department, etc., an intermediate node may be set in the secondary network for each department, for example, referring to fig. 4, the intermediate node 1 in the secondary network 1 corresponds to the transaction processing department, and the service nodes of the transaction processing department in the participating party are all connected to the intermediate node 1; the intermediate node 2 in the secondary network 1 corresponds to a fund transfer department, and service nodes of the fund transfer departments in the participants are connected to the intermediate node 2; the intermediate node 3 in the secondary network 1 corresponds to a security control department, and service nodes of the security control departments in the participants are all connected to the intermediate node 3. The system structure shown in fig. 4 can set an intermediate node in the secondary network for each department of the participant, so that the participant can be better provided with services for each department.
The system architecture shown in fig. 3 and 4 includes two layers of networks, namely, a blockchain network and a secondary network between the blockchain network and the participants. In one embodiment of the present specification, more levels of networks may also be provided between the secondary network and the participants according to the needs of the actual service. For example, referring to fig. 4 and 5, if the data volume of the security management and control department is too large and the data is complex, and one intermediate node 3 in the secondary network cannot meet the data processing requirement, for example, cannot receive massive data concurrent with the service nodes of the security management and control department in real time, a tertiary network may be set between the intermediate node 3 and each service node of the security management and control department, and it can be understood that the network may also include a tertiary network, a quaternary network, or even a higher-level network. The principle of setting may be: an intermediate node may be used to build a lower level network as long as its processing power cannot meet the data processing requirements of the intermediate node.
In an embodiment of the present specification, a data processing method based on a blockchain is provided, which is applied to a blockchain node. As mentioned before, the block link point belongs to a node in the block chain network, and the block link point and at least one intermediate node constitute a secondary network through which a participant is connected to the block chain network. Referring to fig. 2 to 6, the method includes:
step 601: the block chain node receives first data sent by a block chain network; the receiving party of the first data is the participating party corresponding to the block link point.
Step 603: the block link node shares the received first data to the secondary network, so that the first data are processed in the secondary network and the obtained first processing result is sent to the participant.
Step 605: the blockchain node receives second data sent by the participant into the secondary network.
Step 607: and the block chain link point uploads a second processing result obtained after processing the second data in the secondary network to the block chain network.
In one embodiment of the present disclosure, in step 603, the processing the first data in the secondary network includes: the first data is used by at least one intermediate node in the secondary network for data checking and/or calculation.
In one embodiment of the present specification, in step 607, the second data is processed in the secondary network, including: the data is checked and/or calculated by at least one intermediate node in the secondary network using the second data.
The embodiment of the present specification further provides a data processing method based on a block chain, which is applied to an intermediate node. As mentioned before, the intermediate node is located in a secondary network comprising the intermediate node and a blockchain node, through which a participant is connected to the blockchain network. Referring to fig. 7, the method includes:
step 701: the intermediate node receives first data shared by the block chain nodes in the secondary network, processes the first data, and sends a first processing result obtained by the processing to the participants through the secondary network.
Step 703: and the intermediate node receives second data sent to the secondary network by the participant, processes the second data, and uploads a second processing result obtained by the processing to the block chain network through the block chain link point in the secondary network.
In step 701, the processing the first data includes: the intermediate node performs a checksum and/or calculation of the data using at least a portion of the first data. In step 703, processing the second data includes: the intermediate node performs a checksum/calculation of the data using at least a portion of the second data.
As can be seen from the above-mentioned flows shown in fig. 6 and 7, when data sent to a participant is linked down, each node in the secondary network may process the data of the link down, so that the data may be processed more complicatedly based on the processing capacity of all nodes in the secondary network. For example, referring to fig. 3, a participant 1 needs to use a user blacklist of a participant 2 to perform a transaction risk identification process, but because the user blacklist of the participant 2 belongs to private data of the participant 2, the participant 2 does not want the participant 1 to obtain original data of the user blacklist, at this time, based on the secondary network provided in this specification, original data of the user blacklist sent by the participant 2 from a blockchain network may be encrypted and stored in the secondary network, and at the same time, the secondary network receives the encrypted user list sent by the participant 1, which needs to perform a transaction risk identification, any one or more nodes (such as all intermediate nodes) in the secondary network identify a user at risk in the participant 1 by comparing the user blacklist stored in the secondary network with the user list sent by the participant 1, and then the judgment result, namely the information of the users with risks in the user list of the participant 1 is sent to the participant 1. Therefore, the processing of obtaining the original user blacklist and the processing of judging the users with risks according to the blacklist are both carried out in the secondary network without being issued to the participant 1 for execution, and the effect of being available and invisible to the user blacklist is achieved for the participant 1.
As can be seen from the above-mentioned processes shown in fig. 6 and 7, when a participant uplink data, each node in the secondary network can process the data to be uplink, so that the uplink data can be processed more complicatedly based on the processing capability of all nodes in the secondary network. For example, the participant 1 is a pay pal, where billions of data of a level are generated at twenty-one hours and need to be uploaded to the blockchain network, at this time, the participant 1 may send the billions of data to the secondary network, each node in the secondary network stores the data, and distributes uplink processing of the data, for example, different nodes in the secondary network encrypt and decrypt different data, and the like. Because the uplink processing is distributed over multiple nodes in the secondary network, rather than just one blockchain node, the requirement for data concurrency is met.
When the secondary network is directly connected to the participant, that is, there is no next network between the secondary network and the participant, in step 701, any one or more nodes in the secondary network may send the first processing result to the participant. In step 703, the second data sent by the participant may be received by any one or more nodes in the secondary network and shared into the secondary network, so as to process the second data in the secondary network.
When a next-level network is formed by using an intermediate node in a second-level network and at least one lower-level intermediate node, such as the three-level network shown in fig. 5, in step 701, the intermediate node in the second-level network transmits a first processing result obtained by processing to the next-level network, so as to trigger each intermediate node in the next-level network to perform predetermined processing (such as decryption or other set processing) on the first processing result and then send the first processing result to the participant; in step 703, the second data is first sent to a next-level network, such as the third-level network shown in fig. 5, by the participant, and is sent to an intermediate node in the secondary network after being processed by the next-level network (e.g., encrypted or otherwise configured), where the intermediate node shares the received second data with the secondary network to process the second data in the secondary network (e.g., related processing of data uplink, etc.).
Referring to fig. 4, an intermediate node may correspond to a set department within a participant and communicate with a service node of the set department.
In an embodiment of the present disclosure, the blockchain network requires consensus, and the secondary network does not require consensus, so that the blockchain network and the secondary network are separated from each other, which can ensure the efficiency of consensus in the blockchain network, and the blockchain network and the secondary network are not limited by whether they are the same cloud.
In an embodiment of the present specification, a data processing apparatus based on a blockchain is further provided, where the blockchain node is a node in a blockchain network, and the blockchain node and at least one intermediate node form a secondary network through which a participant is connected to the blockchain network. Referring to fig. 8, the apparatus 800 includes:
a blockchain consensus processing module 801 configured to receive first data sent through a blockchain network; uploading the obtained second processing result to a block chain network;
a data downlink processing module 802, configured to share the received first data in the secondary network, so as to process the first data in the secondary network and send the obtained first processing result to the participant;
the data uplink processing module 803 is configured to receive second data sent by the participant to the secondary network, and obtain a second processing result obtained after the second data is processed in the secondary network.
In another embodiment of the present specification, a data processing apparatus based on a blockchain is further provided, where the data processing apparatus is applied to an intermediate node, the intermediate node is located in a secondary network, the secondary network includes the intermediate node and a blockchain node, and a participant is connected to the blockchain network through the secondary network; referring to fig. 9, the apparatus 900 includes:
a data issuing processing module 901, configured to receive first data shared by block link nodes in a secondary network, process the first data, and send a first processing result obtained by the processing to the participant through the secondary network;
and a data upload processing module 902 configured to receive second data sent by the participant to the secondary network, process the second data, and upload a second processing result obtained by the processing to the blockchain network through the blockchain link point in the secondary network.
In one embodiment of the present specification, the block chain based data processing apparatus applied in the intermediate node may further include: a lower level network interconnection module;
the lower network interconnection module is configured to send the first processing result to an intermediate node in a lower network; and receiving second data from the participant from the intermediate node in the next level network.
In an embodiment of the present specification, a data processing system based on a blockchain is further provided, including: a secondary network consisting of a block link point and at least one intermediate node, the block link point belonging to a node in the block link network;
the blockchain node is configured to receive first data sent through a blockchain network, a receiving party of the first data is the participant, and the received first data is shared in a secondary network; uploading a second processing result obtained after processing the second data to a block chain network;
at least one of the blockchain node and the intermediate node is configured to process first data in a secondary network and send an obtained first processing result to the participant; and receiving second data sent by the participant to the secondary network, and processing the second data in the secondary network.
The above system further comprises: a next level network connected between the secondary network and the participants; the next-level network consists of one intermediate node and at least one next-level intermediate node in the second-level network;
intermediate nodes located in the secondary network and the next network at the same time, and configured to share the first processing result obtained in the secondary network to the next network; uploading a result obtained by processing the second data in the next-level network to the second-level network;
any node in the lower-level network is configured to process a first processing result in the lower-level network and send the obtained processing result to the participant; and receiving second data sent by the participant to the next network, and processing the second data in the next network.
In the above system, different intermediate nodes are connected to service nodes of different service departments within the participant in the same level of network.
An embodiment of the present specification provides a computer-readable storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform the method of any of the embodiments of the specification.
One embodiment of the present specification provides a computing device comprising a memory and a processor, the memory having stored therein executable code, the processor implementing a method in accordance with any one of the embodiments of the specification when executing the executable code.
It is to be understood that the illustrated construction of the embodiments of the present specification is not to be construed as specifically limiting any one of the devices illustrated in the embodiments of the present specification. In other embodiments of the specification, any apparatus of an embodiment of the specification may include more or fewer components than illustrated, or may combine certain components, or may split certain components, or may be arranged in different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
For the information interaction, execution process and other contents between the modules in the above-mentioned apparatus and system, because the same concept is based on the embodiment of the method in this specification, specific contents may refer to the description in the embodiment of the method in this specification, and are not described herein again.
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, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this disclosure may be implemented in hardware, software, hardware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (16)

1. The data processing method based on the block chain is applied to a block chain node, the block chain node belongs to a node in a block chain network, the block chain node and at least one intermediate node form a secondary network, and a participant is connected to the block chain network through the secondary network;
the method comprises the following steps:
the block chain node receives first data sent through a block chain network; the receiver of the first data is the participant;
the block link point shares the received first data to a secondary network so as to process the first data in the secondary network and send the obtained first processing result to the participant;
and the block chain node receives second data sent to the secondary network by the participant, and uploads a second processing result obtained after the second data is processed in the secondary network to the block chain network.
2. The method of claim 1, wherein the processing the first data in the secondary network comprises: at least one intermediate node in the secondary network checks and/or calculates data by using the first data;
and/or the presence of a gas in the gas,
the processing of the second data in the secondary network includes: and at least one intermediate node in the secondary network checks and/or calculates data by using the second data.
3. The method of claim 1, wherein,
the block chain node and the at least one intermediate node are both located on the participant side; then, the blockchain node and the at least one intermediate node form the secondary network through the local area network of the participant;
and/or the presence of a gas in the gas,
at least one of the block chain node and the at least one intermediate node is located at a cloud end; and then, the block chain node and the at least one intermediate node form the secondary network through the public network.
4. The data processing method based on the block chain is applied to an intermediate node, the intermediate node is positioned in a secondary network, the secondary network comprises the intermediate node and the block chain node, and a participant is connected to the block chain network through the secondary network;
the method comprises the following steps:
the intermediate node receives first data shared by block chain nodes in a secondary network, processes the first data, and sends a first processing result obtained by the processing to the participant through the secondary network;
and the intermediate node receives second data sent to the secondary network by the participant, processes the second data, and uploads a second processing result obtained by the processing to the block chain network through the block chain link point in the secondary network.
5. The method of claim 4, wherein,
the processing the first data includes: the intermediate node checks and/or calculates data by using at least one part of the first data;
and/or the presence of a gas in the gas,
the processing the second data includes: the intermediate node performs a checksum and/or calculation of the data using at least a portion of the second data.
6. The method of claim 4, wherein,
the block chain node and the intermediate node are both positioned at the participant side; then, the secondary network is established through the local area network of the participant;
and/or the presence of a gas in the gas,
at least one of the block chain node and the intermediate node is located at a cloud end; then, the secondary network is established through a public network.
7. The method of claim 4, wherein the intermediate node and at least one subordinate intermediate node form a subordinate network;
the first processing result obtained by the processing is sent to the participant through a secondary network, and the method comprises the following steps: the intermediate node in the secondary network shares the first processing result obtained by processing to the next-level network so as to trigger each node in the next-level network to perform preset processing on the first processing result and then send the first processing result to the participants;
the intermediate node receives second data sent by the participant to the secondary network, and the second data comprises the following data: and the second data is sent to the next-level network by the participant, processed by each node in the next-level network and sent to the intermediate node in the next-level network and the second-level network.
8. The method of claim 4 or 7,
the intermediate node corresponds to a set department in the participant and communicates with the service node of the set department.
9. A data processing device based on a block chain is applied to a block chain node, the block chain node is a node in a block chain network, the block chain node and at least one intermediate node form a secondary network, and a participant is connected to the block chain network through the secondary network; the device includes:
a blockchain consensus processing module configured to receive first data sent over a blockchain network; uploading the obtained second processing result to a block chain network;
the data downlink processing module is configured to share the received first data in a secondary network, so that the first data are processed in the secondary network and an obtained first processing result is sent to the participant;
and the data uplink processing module is configured to receive second data sent to the secondary network by the participant, and acquire a second processing result obtained after the second data is processed in the secondary network.
10. The data processing device based on the block chain is applied to an intermediate node, the intermediate node is positioned in a secondary network, the secondary network comprises the intermediate node and the block chain node, and a participant is connected to the block chain network through the secondary network;
the device includes:
the data issuing processing module is configured to receive first data shared by block link nodes in a secondary network, process the first data, and send a first processing result obtained by the processing to the participant through the secondary network;
and the data uploading processing module is configured to receive second data sent to the secondary network by the participant, process the second data, and upload a second processing result obtained by the processing to the block chain network through the block chain link point in the secondary network.
11. The apparatus of claim 10, further comprising: a lower level network interconnection module;
the lower-level network interconnection module is configured to share the first processing result to each intermediate node in a lower-level network; and receiving second data from the participants sent by each intermediate node in the next-level network.
12. A blockchain-based data processing system, comprising: a secondary network consisting of a block link point and at least one intermediate node, the block link point belonging to a node in the block link network;
the blockchain node is configured to receive first data sent through a blockchain network, a receiving party of the first data is the participant, and the received first data is shared in a secondary network; uploading a second processing result obtained after processing the second data to a block chain network;
at least one of the blockchain node and the intermediate node is configured to process first data in a secondary network and send an obtained first processing result to the participant; and receiving second data sent by the participant to the secondary network, and processing the second data in the secondary network.
13. The system of claim 12, further comprising: a next level network connected between the secondary network and the participants; the next-level network consists of one intermediate node and at least one next-level intermediate node in the second-level network;
intermediate nodes located in the secondary network and the next network at the same time, and configured to share the first processing result obtained in the secondary network to the next network; uploading a result obtained by processing the second data in the next-level network to the second-level network;
any node in the lower-level network is configured to process a first processing result in the lower-level network and send the obtained processing result to the participant; and receiving second data sent by the participant to the next network, and processing the second data in the next network.
14. The system of claim 12, the secondary network is established over a local area network of the participant;
and/or the presence of a gas in the gas,
and the secondary network is established through a public network.
15. The system of claim 12, different intermediate nodes connecting service nodes of different service departments in the participant.
16. A computing device comprising a memory having executable code stored therein and a processor that, when executing the executable code, implements the method of any of claims 1-8.
CN202110434302.XA 2021-04-22 2021-04-22 Data processing method and device based on block chain Pending CN113052610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110434302.XA CN113052610A (en) 2021-04-22 2021-04-22 Data processing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110434302.XA CN113052610A (en) 2021-04-22 2021-04-22 Data processing method and device based on block chain

Publications (1)

Publication Number Publication Date
CN113052610A true CN113052610A (en) 2021-06-29

Family

ID=76520137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110434302.XA Pending CN113052610A (en) 2021-04-22 2021-04-22 Data processing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN113052610A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222482A (en) * 2017-06-01 2017-09-29 黑龙江卓亚科技有限公司 A kind of data management system and method based on compound block chain network
CN109462587A (en) * 2018-11-09 2019-03-12 四川虹微技术有限公司 Block chain is layered common recognition method, block chain network system and block chain node
CN110866261A (en) * 2019-10-12 2020-03-06 深圳壹账通智能科技有限公司 Data processing method and device based on block chain and storage medium
CN112511350A (en) * 2020-12-01 2021-03-16 浙商银行股份有限公司 Alliance chain multi-level consensus method, alliance chain multi-level consensus equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222482A (en) * 2017-06-01 2017-09-29 黑龙江卓亚科技有限公司 A kind of data management system and method based on compound block chain network
CN109462587A (en) * 2018-11-09 2019-03-12 四川虹微技术有限公司 Block chain is layered common recognition method, block chain network system and block chain node
CN110866261A (en) * 2019-10-12 2020-03-06 深圳壹账通智能科技有限公司 Data processing method and device based on block chain and storage medium
CN112511350A (en) * 2020-12-01 2021-03-16 浙商银行股份有限公司 Alliance chain multi-level consensus method, alliance chain multi-level consensus equipment and storage medium

Similar Documents

Publication Publication Date Title
Fernández-Caramés et al. A Review on the Use of Blockchain for the Internet of Things
Jesus et al. A survey of how to use blockchain to secure internet of things and the stalker attack
CN109936457B (en) Block chain multi-party witness method, device, equipment and computer readable storage medium
US20220232068A1 (en) Computer-implemented system and method for propagation and communication of data in a network such as a blockchain network
US11863422B2 (en) Blockchain-based systems and methods for propagating data in a network
US20220294769A1 (en) Security-enhanced origination of blockchain transactions
CN109741068B (en) Online banking cross-row signing method, device and system
CN112418860A (en) Block chain efficient management framework based on cross-chain technology and working method
CN112119620B (en) System and method for propagating data packets in a network of nodes
CN112866380B (en) Chain network architecture based on block chain
US11895123B2 (en) Systems and methods for random differential relay and network coding
KR20200081533A (en) Blockchain Consensus Method based Improved Dynamic Blind Voting for Internet of Things Environment
CN113328997A (en) Alliance chain cross-chain system and method
Kim et al. Quick block transport system for scalable Hyperledger fabric blockchain over D2D-assisted 5G networks
Mufiidah et al. The Benefits, Challenges, and Future of Blockchain and The Internet of Things
CN113052610A (en) Data processing method and device based on block chain
Mededjel et al. A blockchain application prototype for the internet of things
CN115550472B (en) Heterogeneous data processing method and device
Nagy Secure and usable services in opportunistic networks
MUNDHRA IMPROVEMENTS IN CHARACTERISTICS OF CRYPTOCURRENCIES: RIPPLE
CN116980145A (en) Data processing method and system based on block chain
CN116743377A (en) Data processing method, device, equipment and storage medium based on blockchain key
KR20200091997A (en) Electronic voting and survey system using block chain

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: 20210629

RJ01 Rejection of invention patent application after publication