CN116980145A - Data processing method and system based on block chain - Google Patents

Data processing method and system based on block chain Download PDF

Info

Publication number
CN116980145A
CN116980145A CN202210429527.0A CN202210429527A CN116980145A CN 116980145 A CN116980145 A CN 116980145A CN 202210429527 A CN202210429527 A CN 202210429527A CN 116980145 A CN116980145 A CN 116980145A
Authority
CN
China
Prior art keywords
node
forwarding
blockchain
service data
target
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
CN202210429527.0A
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.)
Shanghai Encryption Native Technology Co ltd
Original Assignee
Shanghai Encryption Native Technology 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 Shanghai Encryption Native Technology Co ltd filed Critical Shanghai Encryption Native Technology Co ltd
Priority to CN202210429527.0A priority Critical patent/CN116980145A/en
Publication of CN116980145A publication Critical patent/CN116980145A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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/104Peer-to-peer [P2P] networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a data processing method and a system based on a blockchain, wherein the data processing method based on the blockchain is applied to a data processing system, the system comprises an authentication node, a forwarding node and a blockchain network, wherein the blockchain network comprises at least one blockchain node, the authentication node and the blockchain node are positioned in different networks, and the method comprises the following steps: the target block link point receives a service request and sends service data carried in the service request to a forwarding node; and the forwarding node receives the service data and sends the service data to the verification node. The verification node communicates with the blockchain network through the forwarding node, so that the IP address of the verification node is not disclosed outwards, the safety of the blockchain network is ensured, and meanwhile, the reliability of the blockchain network is improved.

Description

Data processing method and system based on block chain
Technical Field
The application relates to the technical field of blockchains, in particular to a data processing method based on blockchains. The present application is directed at a block chain based data processing system, a computing device, and a computer readable storage medium.
Background
The blockchain is a distributed database in nature, and is applied to the aspect of virtual currency business in a distributed account book mode, so that the blockchain network is extremely easy to receive malicious attacks, in the blockchain network, when P2P peer-to-peer connection is established between verification nodes, IP corresponding to the nodes is provided on a public network, malicious attackers can initiate DOS attack on the verification nodes through the IP, the verification nodes are down and paralyzed, the blockchain network cannot serve outside, meanwhile, the nodes in the blockchain network are configured differently in different network environments, single number adaptation is needed when deployment is carried out, and the later operation and maintenance cost is high. Therefore, how to improve the security of the blockchain network and ensure the reliability of the service is a problem to be solved.
Disclosure of Invention
Accordingly, the present application provides a data processing method based on a blockchain. The application also relates to a data processing system based on the blockchain, a computing device and a computer readable storage medium, which are used for solving the problem of low security of the blockchain network in the prior art.
According to a first aspect of an embodiment of the present application, there is provided a blockchain-based data processing method applied to a data processing system, the system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, the method comprising:
The target block link point receives a service request and sends service data carried in the service request to a forwarding node;
and the forwarding node receives the service data and sends the service data to the verification node.
According to a second aspect of an embodiment of the present application, there is provided a blockchain-based data processing method applied to a data processing system, the system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, the method comprising:
the verification node receives service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node;
and the forwarding node receives the block information returned by the verification node and uploads the block information to the block chain network.
According to a third aspect of embodiments of the present application, there is provided a blockchain-based data processing method applied to a data processing system, the system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, the method comprising:
The target block link point receives a service request and sends service data carried in the service request to a forwarding node;
the forwarding node receives the service data and sends the service data to a verification node;
the verification node receives the service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node;
and the forwarding node receives the block information returned by the verification node and uploads the block information to a block chain network.
According to a fourth aspect of an embodiment of the present application, there is provided a blockchain-based data processing system, the system including an authentication node, a forwarding node, and a blockchain network, the blockchain network including at least one blockchain node, the authentication node and the blockchain node being located in different networks, wherein,
the target block chain node is configured to receive a service request and send service data carried in the service request to the forwarding node;
the forwarding node is configured to receive the service data and send the service data to the verification node.
According to a fifth aspect of an embodiment of the present application, there is provided a blockchain-based data processing system, the system including an authentication node, a forwarding node, and a blockchain network, the blockchain network including at least one blockchain node, the authentication node and the blockchain node being located in different networks, wherein the authentication node is configured to receive service data, generate, according to the service data, blockinformation corresponding to the service data, and send the blockinformation to the forwarding node;
the forwarding node is configured to receive the block information returned by the verification node and upload the block information to the blockchain network.
According to a sixth aspect of an embodiment of the present application, there is provided a blockchain-based data processing system, the system including an authentication node, a forwarding node, and a blockchain network, the blockchain network including at least one blockchain node, the authentication node and the blockchain node being located in different networks, wherein,
the target block chain node is configured to receive a service request and send service data carried in the service request to the forwarding node;
The forwarding node is configured to receive the service data and send the service data to the verification node;
the verification node is configured to receive the service data, generate block information corresponding to the service data according to the service data, and send the block information to the forwarding node;
the forwarding node is configured to receive the block information returned by the verification node and upload the block information to a blockchain network.
According to a seventh aspect of embodiments of the present application, there is provided a computing device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the blockchain-based data processing method when executing the computer instructions.
According to an eighth aspect of embodiments of the present application, there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the blockchain-based data processing method.
The application provides a data processing method based on a blockchain, which is applied to a data processing system, wherein the system comprises an authentication node, a forwarding node and a blockchain network, the blockchain network comprises at least one blockchain node, the authentication node and the blockchain node are positioned in different networks, and the method comprises the following steps: the target block link point receives a service request and sends service data carried in the service request to a forwarding node; and the forwarding node receives the service data and sends the service data to the verification node.
According to the embodiment of the application, the forwarding node is arranged to be responsible for communication between the verification node and the blockchain network, and the service data sent by the blockchain node in the blockchain network is forwarded to the verification node, so that the verification node is not directly exposed to the outside, the verification node is not attacked, and the safety and the reliability of the blockchain network are improved.
Drawings
FIG. 1 is a flow chart of a block chain based data processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a data processing system according to an embodiment of the present application;
FIG. 3 is a process flow diagram of a blockchain-based data processing method for use in transaction transactions according to an embodiment of the present application;
FIG. 4 is a flowchart of a data processing method based on a blockchain, according to a first embodiment of the present application;
FIG. 5 is a flow chart of a data processing method based on a blockchain according to a second embodiment of the present application;
FIG. 6 is a schematic block chain based data processing system in accordance with one embodiment of the present application;
FIG. 7 is a schematic block chain based data processing system in accordance with one embodiment of the present application;
FIG. 8 is a schematic block chain based data processing system in accordance with one embodiment of the present application;
FIG. 9 is a block diagram of a computing device according to one embodiment of the application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. The present application may be embodied in many other forms than those herein described, and those skilled in the art will readily appreciate that the present application may be similarly embodied without departing from the spirit or essential characteristics thereof, and therefore the present application is not limited to the specific embodiments disclosed below.
The terminology used in the one or more embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the application. As used in one or more embodiments of the application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that, although the terms first, second, etc. may be used in one or more embodiments of the application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first may also be referred to as a second, and similarly, a second may also be referred to as a first, without departing from the scope of one or more embodiments of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
First, terms related to one or more embodiments of the present application will be explained.
DoS attack: the attacks that cause DoS, which reject services, are called DoS attacks, whose purpose is to disable the normal services provided by the computer or network.
The blockchain is used as a distributed account book application, can be used for a virtual currency transaction technology, and the blockchain link points in a blockchain network face a network security problem, namely can be attacked by a network.
At present, the common solution is to set high anti-IP, and guide malicious attack flow to the high anti-IP, so as to ensure the stability and reliability of the original station; an IP white list is set, and only the IP in the white list can initiate a network request. Because of the specificity of the blockchain network, all blockchain nodes are in a public network environment, so that the public network needs to be kept in an open and connectable state, service protection cannot be carried out simply through the limitation of IP, and under the application scene of some open chains such as allied chains, the number of the blockchain nodes cannot be increased infinitely due to the limitation of a consensus algorithm, so that DOS attack cannot be resisted simply by increasing the number of the blockchain nodes.
In addition, the network environment where the block chain link points are located is complex, and operation and maintenance of the block chain nodes can be performed by different companies, different banks, different IDC machine rooms, different cloud service providers and the like, so that the network environments of the block chain networks are different, and the block chain nodes need to be individually adapted when deployed, for example, the configuration information of the block chain nodes is different when deployed under the conditions of private cloud, public cloud and mixed cloud.
Based on the method, the data processing method based on the blockchain is provided, is used for networking the blockchain in a complex network environment, can meet the safety requirement, defend common network attacks, and simultaneously enable the blockchain network to be applicable to various different network environments. The present application relates to a blockchain-based data processing system, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments.
FIG. 1 illustrates a flow chart of a blockchain-based data processing method for use in a data processing system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, according to an embodiment of the present application.
With reference now to FIG. 2, FIG. 2 depicts a pictorial representation of a data processing system including an authentication node, a forwarding node, and a blockchain network in accordance with an embodiment of the present application, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks.
The verification node can be understood as a node for maintaining the security of the blockchain network, and is responsible for blocking out in the blockchain network according to a consensus mechanism.
A forwarding node may be understood as a node that protects the authentication node from network attacks and is responsible for communication between the authentication node and the blockchain network, the forwarding node does not hold traffic data in the block, but may forward the traffic data to the authentication node or blockchain node. In practical application, each verification node can be configured with a plurality of forwarding nodes, and as the number of the forwarding nodes is not limited, the malicious attack cost of illegal personnel can be increased by increasing the number of the forwarding nodes, so that the security of the verification nodes can be ensured.
A blockchain network is understood as a distributed database with a decentralization feature, and a blockchain is a string of data blocks generated by associating with each other by using a cryptography method, where each data block contains data of a primary service, and is used to verify the validity of the service data and generate a next block. The blockchain network comprises a plurality of blockchain nodes, the blockchain nodes can be understood as nodes for storing service data, and the data on each blockchain node is consistent, so that the non-falsification and reliability of the data in the blockchain network are ensured. In practical applications, the number of blockchain nodes is not limited and may depend on the number of users.
In practical application, the total amount of nodes such as blockchain nodes, forwarding nodes and the like is not limited, so that effective attacks cannot be realized for the nodes, in addition, the verification nodes can be arranged in an intranet, all traffic of the verification nodes are forwarded through the forwarding nodes, and network attacks cannot reach the verification nodes, so that the verification nodes are protected, and meanwhile, the security of the blockchain network is maintained.
Specifically, the verification node is located in an intranet, the blockchain node is located in a public network, and the forwarding node is determined to be located in the intranet or the public network according to network architecture information.
The verification node is located in an intranet environment, namely the verification node cannot directly communicate with the public network, and the verification node can communicate with the blockchain network through the forwarding node, so that the verification node cannot directly expose services to the outside or provide IP to the outside, and therefore the verification node cannot be attacked by the network.
The forwarding node can be communicated with the public network, and is directly connected with the verification node in a P2P mode to realize communication with the verification node, and can forward service data of the blockchain network to the verification node, or forward the blockinformation sent by the verification node to the blockchain network. Because the number of the forwarding nodes is not limited, effective network attack can not be performed on the forwarding nodes, so that the forwarding nodes can be exposed to the outside for service and can be exposed to the outside for IP, and the forwarding nodes can be selected to be arranged in an intranet or an extranet according to specific network architecture information. The network architecture information is a network environment, and may be a private cloud network environment, a public cloud network environment, a hybrid cloud network environment, or the like, where the forwarding node is set in an intranet or an extranet according to different network environments, for example, in the private cloud network environment, the forwarding node may be set in the intranet.
The blockchain node is arranged in a public network environment, and because the public network needs to be kept in an open and connectable state, the blockchain network can be exposed to the outside through the blockchain node, and the business operations such as adding, deleting, checking and the like can be included.
In a specific embodiment of the present application, the verification node is set in an intranet, the forwarding node and the block chain link point are set in a public network, the verification node and the forwarding node are linked through the intranet, each forwarding node can be connected through a private link, and the forwarding node and the block chain node are connected through the public network.
In practical application, the data processing system further includes a connection node, see fig. 2, where in fig. 2, the connection node is also disposed in the public network, and the connection node is used to store a list of peer-to-peer network nodes in the blockchain network, and quickly establish peer-to-peer network connection with other nodes in the network through the connection node.
Specifically, the system further comprises a connection node;
the method further comprises the steps of:
the connecting node receives an access request sent by an external node, wherein the access request is used for requesting to access the blockchain network;
determining a target block chain node in the block chain network and node information of the target block chain link point according to the access request;
And sending the node information to an external node, wherein the node information is used for enabling the external node to access the blockchain network.
The connection node may be understood as a node for establishing peer-to-peer connection between the external node and other nodes in the blockchain network, and when the newly added external node wants to join the blockchain network, the seed node needs to be connected first to establish peer-to-peer connection with other nodes in the blockchain network.
The external node may be understood as each user's own node, which becomes a blockchain node in the blockchain network after accessing the blockchain network. The access request may be understood as a request of an external node to access the blockchain network, after the connection node receives the access request sent by the external node, the connection node connects with the external node, and sends node information of the blockchain node in the blockchain network to the external node, where the node information may include node identification information of the blockchain node, such as an IP address, service data on the blockchain node, and the like, and the external node may access the blockchain network based on the node information of the blockchain node, thereby becoming the blockchain node in the blockchain network.
In practical applications, when a user wants to join in the blockchain network, an access request is sent to a connection node in the blockchain network through a server node of the user, the connection node verifies an external node according to the access request, node data about the blockchain node is sent to the external node after the verification is passed, the sent blockchain node can be any one of the blockchain nodes in the blockchain network, because the service data on each blockchain node is the same, and after the external node accesses the blockchain network, the external node can synchronize the service data on the blockchain node, thereby becoming the blockchain node in the blockchain network.
In a specific embodiment of the present application, when an external node joins a blockchain, an access request is sent to a connection node in the blockchain network along the above example, to characterize that the external node wants to join the blockchain network at this time, the connection node obtains relevant information of the external node at this time, and performs validity verification on the external node based on the relevant information, where the relevant information is information such as data structure grammar and workload verification of the external node, and after verifying that the external node is legal, node information of the blockchain node is sent to the external node.
Because the verification node is arranged in the intranet, the forwarding node, the blockchain node and the connecting node can be selected to be positioned in the intranet or the extranet according to the specific network environment, the data processing system provided by the application can be used under the conditions of private cloud, public cloud and mixed cloud by the arrangement method, and the data processing method provided by the application specifically comprises the following steps:
step 102: and the target block link point receives the service request and sends the service data carried in the service request to the forwarding node.
The target blockchain node may be understood as a blockchain node in the blockchain network, and after receiving the service request, the target blockchain node sends the service data to the verification node through the forwarding node, so that the verification node completes the block. A service request is understood to mean that a user locally assembles and issues a service, and after a block link point generates a service in a blockchain network, the service needs to be broadcasted in the blockchain network, but after the validation node validates the service, the service needs to be broadcasted in the blockchain network.
In practical application, the service request may be a transaction request of a user, the service data may be data generated by the transaction, and when the user assembles and signs a transaction locally, the service request is sent to the blockchain node, and the blockchain node sends the service data carried in the service request to the forwarding node.
In a specific embodiment of the present application, in the above example, the target blockchain node Q receives a service request, and sends service data carried in the service request to the forwarding node Z, so that the forwarding node Z sends the service data to the verification node Y.
In practical application, the number of verification nodes can be increased according to practical situations, for example, in a public network, each leader can use its own server as a verification node, each employee can be a blockchain node, each time the service data of the service request is verified by one verification node, based on the DPOS consensus mechanism, the order of the verification nodes can be a random arrangement among the servers of each leader, each time one server is selected as a verification node, and one period is then rearranged randomly and selected continuously, so that in the data processing system provided by the application, there may be a plurality of verification nodes, each verification node is configured with a plurality of forwarding nodes, and therefore, the number of forwarding nodes also has a plurality.
Specifically, the system comprises at least one verification node and at least one forwarding node, wherein each verification node has an association relationship with at least one forwarding node;
The target block link point receives a service request and sends service data carried in the service request to a forwarding node, and the method comprises the following steps:
the target block link point receives a service request and determines at least one target forwarding node according to the service request;
and sending the service data carried in the service request to the at least one target forwarding node.
The target forwarding node may be understood as forwarding nodes corresponding to the verification nodes needed for the verification, for example, 10 verification nodes are used, if the verification node 3 is used for verification in the round of the verification, the 3 forwarding nodes corresponding to the verification node 3 are the target forwarding nodes. The blockchain node sends the service data of the current service request to each target forwarding node.
In a specific embodiment of the present application, in the above example, the target blockchain node Q receives a service request, and determines 3 target forwarding nodes according to the service request: and Z1, Z2 and Z3, and sending the service data in the service request to the target forwarding nodes Z1, Z2 and Z3.
In practical application, each verification node is configured with a plurality of forwarding nodes, and the forwarding nodes are subjected to network attack because the forwarding nodes are exposed to the service, and after the forwarding nodes are subjected to network attack and the nodes are down and paralyzed, the verification nodes are also configured with other forwarding nodes, so that the verification nodes can also communicate with the blockchain network through other forwarding nodes without down.
Specifically, the system comprises at least two forwarding nodes, wherein each forwarding node has an association relationship with the verification node;
the target block link point sends the service data carried in the service request to a forwarding node, including:
in case it is determined that the first forwarding node whose operation state is a failure is included in the at least two forwarding nodes,
and the target block link point sends the service data carried in the service request to a second forwarding node with normal working state.
The first forwarding node may be understood as a node which is down due to network attack among all forwarding nodes configured by one verification node; and the second forwarding node verifies the nodes which normally operate in all forwarding nodes configured by the nodes. The target blockchain node sends the service data to the verification node through the second forwarding node which operates normally.
In a specific embodiment of the present application, in the above example, the target forwarding node Z1 is a first forwarding node that is attacked by the network and cannot normally operate, and the target forwarding nodes Z2 and Z3 are second forwarding nodes that normally operate, and then the link points of the target block send the service data to the target forwarding nodes Z2 and Z3.
Because the number of the forwarding nodes is not limited, each verifying node is configured with a plurality of forwarding nodes, when the block chain link point needs to send service data to the verifying node, the verifying node needs to be determined first, so that the forwarding node with the association relation with the verifying node can be determined, the association relation can be understood as the configuration relation between the verifying node and the forwarding node, one forwarding node can be configured to only one verifying node, and one verifying node can be configured with a plurality of forwarding nodes.
Specifically, the determining, by the target block link point, at least one target forwarding node according to the service request includes:
the target block link point determines a target verification node according to verification node information carried in the service request;
and determining at least one target forwarding node with an association relationship with the target verification node according to the target verification node.
The target verification node may be understood as a verification node required by the verification, that is, the service data of the current time may be sent to the verification node for verification, so as to generate a block. The target forwarding node may be understood as a forwarding node configured by the target authentication node. The verification node information may be understood as information of the verification node of the present round, that is, which verification node should be verified by according to the verification sequence this time, for example, the verification node information may be ID information of the verification node 3 when the verification node 3 is verified by the present round.
In practical application, the target verification node is configured with a plurality of forwarding nodes, the target blockchain node sends the service data to each target forwarding node, and each target forwarding node sends the service data to the target verification node.
In a specific embodiment of the present application, in the above example, the target block link point determines, according to the verification node information in the service request, that the target verification node is a verification node Q, and determines, according to the verification node Q, 3 target forwarding nodes Z1, Z2 and Z3 corresponding to the verification node Q, where the target forwarding node Z1 is a first forwarding node that is down, and then sends the service data to the target forwarding nodes Z2 and Z3.
Step 104: and the forwarding node receives the service data and sends the service data to the verification node.
In practical application, after the forwarding node receives the service data, the service data is forwarded to the verification node having an association relationship with the forwarding node.
In a specific embodiment of the present application, after receiving the service data, the forwarding node Z forwards the service data to the verification node corresponding to the forwarding node Z.
Specifically, the forwarding node receives the service data, and sends the service data to the verification node, including:
And the at least one target forwarding node receives the service data and sends the service data to the target verification node.
In practical application, each forwarding node sends service data to a corresponding verification node, the verification node performs de-duplication processing on the received service data, and finally the verification node only reserves one service data.
In a specific embodiment of the present application, in the above example, after receiving the service data, the target forwarding node Z2 and the target forwarding node Z3 send the service data to the corresponding target verification node Q.
Step 106: the verification node receives the service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node.
The block information may be understood as block information generated by the verification node by packaging and encapsulating according to service data, where the block information includes service data, block header information, and other information of the block, and broadcasting the block information in a block chain network, so that the block can be uplink.
In practical application, since the verification node is disposed in the intranet and does not expose services to the outside, after the verification node generates the block information, the verification node sends the block information to the corresponding forwarding node, and the forwarding node sends the block information to the blockchain node in the blockchain network, and in order to reduce the communication traffic between the verification node and the forwarding node, the verification node may send the block information to the corresponding forwarding node, and the forwarding node broadcasts the block information.
In a specific embodiment of the present application, along the above example, the target verification node Q generates block information corresponding to service data according to the received service data, sends the block information to the target forwarding node Z2, and the target forwarding node Z2 broadcasts the block information to all the blockchain nodes.
In order to ensure that a forwarding node can send block information to a blockchain node and prevent the forwarding node from being down due to attack during broadcasting, a verification node can also send the block information to each corresponding forwarding node, specifically, the verification node receives service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node, including:
the target verification node receives service data and generates block information corresponding to the service data according to the service data;
and sending the block information to at least one target forwarding node with an association relationship with the target verification node.
The verification node is configured with a plurality of forwarding nodes, and in order to enable the block information to be sent to the blockchain network, the verification node sends the block information to each forwarding node which normally operates.
In a specific embodiment of the present application, along the above example, the target verification node Q generates block information corresponding to service data according to the received service data, sends the block information to the target forwarding node Z2 and the target forwarding node Z3, and the target forwarding nodes Z2 and Z3 broadcast the block information to all the blockchain nodes.
Step 108: and the forwarding node receives the block information returned by the verification node and uploads the block information to a block chain network.
After the forwarding node receives the block information, the block information is uploaded to the blockchain network, so that the block information is broadcasted in the blockchain network, and the blocks on each blockchain node can be synchronized.
In one embodiment of the present application, in the above example, the target forwarding node Z2 receives the block information and sends the block information to the blockchain nodes in the blockchain network, so that the block information is completely uplink.
Specifically, the forwarding node receives the block information returned by the verification node, and uploads the block information to the blockchain network, including:
and the at least one target forwarding node receives the block information returned by the target verification node and uploads the block information to the blockchain network.
In practical application, the verification node sends the block information to each forwarding node corresponding to the verification node, and the forwarding node is placed to be attacked when uploading the block information, so that the uploading operation is terminated.
In a specific embodiment of the present application, in the above example, after the target forwarding node Z2 and the target forwarding node Z3 receive the block information, the target forwarding node Z2 is down due to attack, and the target forwarding node Z3 uploads the block information to the blockchain network, so as to ensure the normal operation of the blockchain network.
The application provides a data processing method based on a blockchain, which is applied to a data processing system, wherein the system comprises a verification node, a forwarding node and a blockchain network, the blockchain network comprises at least one blockchain node, the verification node and the blockchain node are positioned in different networks, and the method comprises the following steps: the target block link point receives a service request and sends service data carried in the service request to a forwarding node; the forwarding node receives the service data and sends the service data to a verification node; the verification node receives the service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node; and the forwarding node receives the block information returned by the verification node and uploads the block information to a block chain network. The verification node is arranged in the intranet, so that the IP address of the verification node is not disclosed outwards, the communication is carried out between the forwarding node and the blockchain network, the safety of the blockchain network is guaranteed, meanwhile, the reliability of the blockchain network is improved, and the forwarding node, the blockchain node and the connecting node can be arranged in the intranet or the extranet according to the actual network environment, so that the normal operation of the blockchain network can be realized under different network environments.
The application of the blockchain-based data processing method in transaction service provided by the application is taken as an example, and the blockchain-based data processing method is further described below with reference to fig. 3. FIG. 3 is a process flow diagram of a blockchain-based data processing method for transaction traffic, the method being applied to a data processing system, the system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, and the method specifically includes the steps of:
step 302: the blockchain node A receives the transaction request and sends transaction data carried in the transaction request to the forwarding node Z1 and the forwarding node Z2.
In a specific embodiment of the present application, a user a assembles and issues a transaction locally, and sends a transaction request of the transaction to a server a of the user a, namely a blockchain node a, and the blockchain node a sends transaction data carried in the transaction request to a forwarding node Z1 and a forwarding node Z2.
Step 304: the forwarding node Z1 and the forwarding node Z2 receive the transaction data and transmit the transaction data to the verification node Q.
In a specific embodiment of the present application, the forwarding node Z1 and the forwarding node Z2 send the transaction data to the blockchain node a, and the forwarding node Z1 and the forwarding node Z2 send the transaction data to the verification node Q, respectively.
Step 306: the verification node Q receives the transaction data, generates block information corresponding to the transaction data according to the transaction data, and sends the block information to the forwarding node Z1 and the forwarding node Z2.
In a specific embodiment of the present application, after receiving the transaction data sent by the forwarding node Z1 and the forwarding node Z2, the verification node Q obtains a transaction data through aggregation and deduplication of the transaction data, packages and encapsulates the transaction data only to generate a transaction block, and sends the transaction block to the forwarding node Z1 and the forwarding node Z2.
Step 308: and the forwarding node Z1 and the forwarding node Z2 receive the block information returned by the verification node and upload the block information to a block chain network.
In a specific embodiment of the present application, the forwarding node Z1 and the forwarding node Z2 verify the transaction block returned by the node Q, upload the transaction block to the blockchain network to complete the uplink of the transaction block, and the blockchain node a deletes the transaction that has been blocked from the transaction pool, which characterizes that the transaction has been blocked, i.e. the transaction is completed.
The application provides a data processing method based on a blockchain, which is applied to a data processing system, wherein the system comprises a verification node, a forwarding node and a blockchain network, the blockchain network comprises at least one blockchain node, the verification node and the blockchain node are positioned in different networks, and the method comprises the following steps: the block chain node A receives a transaction request, transaction data carried in the transaction request are sent to the forwarding node Z1 and the forwarding node Z2, the forwarding node Z1 and the forwarding node Z2 receive the transaction data, the transaction data are sent to the verification node Q, the verification node Q receives the transaction data, block information corresponding to the transaction data is generated according to the transaction data, the block information is sent to the forwarding node Z1 and the forwarding node Z2, the forwarding node Z1 and the forwarding node Z2 receive the block information returned by the verification node, and the block information is uploaded to a block chain network. The forwarding node communicates with the blockchain network, so that the safety of the blockchain network is ensured, and meanwhile, the reliability of the blockchain network is improved.
FIG. 4 illustrates a flowchart of a blockchain-based data processing method for use in a data processing system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, according to a first embodiment of the present application, the method comprising:
Step 402: and the target block link point receives the service request and sends the service data carried in the service request to the forwarding node.
Step 404: the forwarding node receives the service data and sends the service data to the verification node.
The application provides a data processing method based on a blockchain, which is applied to a data processing system, wherein the system comprises a verification node, a forwarding node and a blockchain network, the blockchain network comprises at least one blockchain node, the verification node and the blockchain node are positioned in different networks, and the method comprises the following steps: the target block link point receives a service request and sends service data carried in the service request to a forwarding node; and the forwarding node receives the service data and sends the service data to the verification node. The forwarding node communicates with the blockchain network, so that the safety of the blockchain network is ensured, and meanwhile, the reliability of the blockchain network is improved.
FIG. 5 illustrates a flow chart of a blockchain-based data processing method provided in accordance with a second embodiment of the present application, the method being applied to a data processing system, the system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, the method comprising:
Step 502: the verification node receives service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node.
Step 504: and the forwarding node receives the block information returned by the verification node and uploads the block information to the block chain network.
The application provides a data processing method based on a blockchain, which is applied to a data processing system, wherein the system comprises a verification node, a forwarding node and a blockchain network, the blockchain network comprises at least one blockchain node, the verification node and the blockchain node are positioned in different networks, and the method comprises the following steps: the verification node receives service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node; and the forwarding node receives the block information returned by the verification node and uploads the block information to the block chain network. The forwarding node communicates with the blockchain network, so that the safety of the blockchain network is ensured, and meanwhile, the reliability of the blockchain network is improved.
Corresponding to the above method embodiments, the present application further provides an embodiment of a data processing system based on a blockchain, and fig. 6 is a schematic structural diagram of a data processing system based on a blockchain according to an embodiment of the present application. As shown in fig. 6, the system includes: a validation node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the validation node and the blockchain node being located in different networks;
the target blockchain node 602 is configured to receive a service request and send service data carried in the service request to a forwarding node;
the forwarding node 604 is configured to receive the service data and send the service data to the authentication node.
Correspondingly, the system comprises at least two forwarding nodes, wherein each forwarding node has an association relationship with the verification node;
the target blockchain node 602 is further configured to:
and under the condition that the first forwarding node with the working state being the fault is included in the at least two forwarding nodes, sending the service data carried in the service request to the second forwarding node with the working state being normal.
Correspondingly, the system comprises at least one verification node and at least one forwarding node, wherein each verification node has an association relationship with the at least one forwarding node;
the target blockchain node 602 is further configured to:
receiving a service request, and determining at least one target forwarding node according to the service request;
and sending the service data carried in the service request to the at least one target forwarding node.
The target blockchain node 602 is further configured to:
determining a target verification node according to the verification node information carried in the service request;
and determining at least one target forwarding node with an association relationship with the target verification node according to the target verification node.
The forwarding node 604 is further configured to:
and receiving the service data and sending the service data to the target verification node.
Correspondingly, the verification node in the system is located in an intranet, the blockchain node is located in a public network, and the forwarding node is determined to be located in the intranet or the public network according to network architecture information.
Correspondingly, the system also comprises a connecting node;
the connecting node is configured to receive an access request sent by an external node, wherein the access request is used for requesting to access the blockchain network;
Determining a target block chain node in the block chain network and node information of the target block chain link point according to the access request;
and sending the node information to an external node, wherein the node information is used for enabling the external node to access the blockchain network.
The application provides a data processing system based on a blockchain, which comprises a verification node, a forwarding node and a blockchain network, wherein the blockchain network comprises at least one blockchain node, the verification node and the blockchain node are positioned in different networks, the verification node is configured to receive service data, generate block information corresponding to the service data according to the service data, and send the block information to the forwarding node; the forwarding node is configured to receive the block information returned by the verification node and upload the block information to the blockchain network. The forwarding node communicates with the blockchain network, so that the safety of the blockchain network is ensured, and meanwhile, the reliability of the blockchain network is improved. And the forwarding node, the blockchain node and the connecting node can be arranged in an internal network or an external network according to actual network environments, so that normal operation of the blockchain network can be realized under different network environments.
Corresponding to the above method embodiments, the present application further provides an embodiment of a blockchain-based data processing system, and fig. 7 is a schematic structural diagram of a blockchain-based data processing system according to a second embodiment of the present application. As shown in fig. 7, the system includes: comprising an authentication node, a forwarding node, and a blockchain network comprising at least one blockchain node, the authentication node and the blockchain node being located in different networks, wherein,
the verification node 702 is configured to receive service data, generate block information corresponding to the service data according to the service data, and send the block information to the forwarding node;
the forwarding node 704 is configured to receive the block information returned by the authentication node, and upload the block information to the blockchain network.
Correspondingly, the system comprises at least two forwarding nodes, wherein each forwarding node has an association relationship with the verification node;
the authentication node 702 is further configured to:
and under the condition that the first forwarding node with the working state being the fault is included in the at least two forwarding nodes, sending the service data carried in the service request to the second forwarding node with the working state being normal.
Correspondingly, the system comprises at least one verification node and at least one forwarding node, wherein each verification node has an association relationship with the at least one forwarding node;
the authentication node 702 is further configured to:
receiving service data, and generating block information corresponding to the service data according to the service data;
and sending the block information to at least one target forwarding node with an association relationship with the target verification node.
The forwarding node 704 is further configured to:
and receiving the block information returned by the target verification node, and uploading the block information to the block chain network.
Correspondingly, the verification node in the system is located in an intranet, the blockchain node is located in a public network, and the forwarding node is determined to be located in the intranet or the public network according to network architecture information.
The system further comprises a connection node;
the connection node is further configured to:
receiving an access request sent by an external node, wherein the access request is used for requesting to access the block chain network;
determining a target block chain node in the block chain network and node information of the target block chain link point according to the access request;
And sending the node information to an external node, wherein the node information is used for enabling the external node to access the blockchain network.
The application provides a data processing system based on a blockchain, which comprises a verification node, a forwarding node and a blockchain network, wherein the blockchain network comprises at least one blockchain node, the verification node and the blockchain node are positioned in different networks, the verification node is configured to receive service data, generate block information corresponding to the service data according to the service data, and send the block information to the forwarding node; the forwarding node is configured to receive the block information returned by the verification node and upload the block information to the blockchain network. The verification node communicates with the blockchain network through the forwarding node, so that the IP address of the verification node is not disclosed outwards, the safety of the blockchain network is ensured, and meanwhile, the reliability of the blockchain network is improved.
Corresponding to the above method embodiment, the present application further provides an embodiment of a data processing system based on a blockchain, and fig. 8 is a schematic structural diagram of a data processing system based on a blockchain according to an embodiment of the present application. As shown in fig. 8, the system includes: comprising an authentication node, a forwarding node, and a blockchain network comprising at least one blockchain node, the authentication node and the blockchain node being located in different networks, wherein,
A target blockchain node 802 configured to receive a service request and send service data carried in the service request to a forwarding node;
the forwarding node 804 is configured to receive the service data and send the service data to a verification node;
the verification node 806 is configured to receive the service data, generate block information corresponding to the service data according to the service data, and send the block information to the forwarding node;
the forwarding node 804 is configured to receive the block information returned by the authentication node, and upload the block information to a blockchain network.
Correspondingly, the system comprises at least two forwarding nodes, wherein each forwarding node has an association relationship with the verification node;
the target blockchain node 802 is further configured to:
in case it is determined that the first forwarding node whose operation state is a failure is included in the at least two forwarding nodes,
and sending the service data carried in the service request to a second forwarding node with normal working state.
The authentication node 806 is further configured to:
and under the condition that the first forwarding node with the working state being the fault is included in the at least two forwarding nodes, sending the service data carried in the service request to the second forwarding node with the working state being normal.
Correspondingly, the system comprises at least one verification node and at least one forwarding node, wherein each verification node has an association relationship with the at least one forwarding node;
the target blockchain node 802 is further configured to:
receiving a service request, and determining at least one target forwarding node according to the service request;
and sending the service data carried in the service request to the at least one target forwarding node.
The target blockchain node 802 is further configured to:
the target block link point determines a target verification node according to verification node information carried in the service request;
and determining at least one target forwarding node with an association relationship with the target verification node according to the target verification node.
The forwarding node 804 is further configured to:
and the at least one target forwarding node receives the service data and sends the service data to the target verification node.
The authentication node 806 is further configured to:
receiving service data, and generating block information corresponding to the service data according to the service data;
and sending the block information to at least one target forwarding node with an association relationship with the target verification node.
The forwarding node 804 is further configured to:
and receiving the block information returned by the target verification node, and uploading the block information to the block chain network.
Correspondingly, the verification node in the system is located in an intranet, the blockchain node is located in a public network, and the forwarding node is determined to be located in the intranet or the public network according to network architecture information.
Correspondingly, the system also comprises a connecting node;
the connection node is further configured to:
receiving an access request sent by an external node, wherein the access request is used for requesting to access the block chain network;
determining a target block chain node in the block chain network and node information of the target block chain link point according to the access request;
and sending the node information to an external node, wherein the node information is used for enabling the external node to access the blockchain network.
The application provides a data processing method based on a blockchain, which is applied to a data processing system, wherein the system comprises a verification node, a forwarding node and a blockchain network, the blockchain network comprises at least one blockchain node, the verification node and the blockchain node are positioned in different networks, and the method comprises the following steps: the target block link point receives a service request and sends service data carried in the service request to a forwarding node; the forwarding node receives the service data and sends the service data to a verification node; the verification node receives the service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node; and the forwarding node receives the block information returned by the verification node and uploads the block information to a block chain network. And the forwarding node, the blockchain node and the connecting node can be arranged in an internal network or an external network according to actual network environments, so that normal operation of the blockchain network can be realized under different network environments.
The foregoing is a schematic illustration of a blockchain-based data processing system of the present embodiment. It should be noted that, the technical solution of the blockchain-based data processing system and the technical solution of the blockchain-based data processing method belong to the same concept, and details of the technical solution of the blockchain-based data processing system, which are not described in detail, can be referred to the description of the technical solution of the blockchain-based data processing method.
Fig. 9 illustrates a block diagram of a computing device 900 provided in accordance with an embodiment of the present application. The components of computing device 900 include, but are not limited to, memory 910 and processor 920. Processor 920 is coupled to memory 910 via bus 930 with database 950 configured to hold data.
Computing device 900 also includes an access device 940, access device 940 enabling computing device 900 to communicate via one or more networks 960. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 940 may include one or more of any type of network interface, wired or wireless (e.g., a Network Interface Card (NIC)), such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the application, the above-described components of computing device 900, as well as other components not shown in FIG. 9, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device illustrated in FIG. 9 is for exemplary purposes only and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as desired.
Computing device 900 may be any type of stationary or mobile computing device including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smart phone), wearable computing device (e.g., smart watch, smart glasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 900 may also be a mobile or stationary server.
Wherein the processor 920 performs the steps of the blockchain-based data processing method when executing the computer instructions.
The foregoing is a schematic illustration of a computing device of this embodiment. It should be noted that, the technical solution of the computing device and the technical solution of the data processing method based on the blockchain belong to the same concept, and details of the technical solution of the computing device, which are not described in detail, can be referred to the description of the technical solution of the data processing method based on the blockchain.
An embodiment of the present application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of a blockchain-based data processing method as described above.
The above is an exemplary version of a computer-readable storage medium of the present embodiment. It should be noted that, the technical solution of the storage medium and the technical solution of the block chain-based data processing method belong to the same concept, and details of the technical solution of the storage medium, which are not described in detail, can be referred to the description of the technical solution of the block chain-based data processing method.
The foregoing describes certain embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The computer instructions include computer program code that may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The preferred embodiments of the application disclosed above are intended only to assist in the explanation of the application. Alternative embodiments are not intended to be exhaustive or to limit the application to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and the full scope and equivalents thereof.

Claims (28)

1. A blockchain-based data processing method, for use in a data processing system, the system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, the method comprising:
the target block link point receives a service request and sends service data carried in the service request to a forwarding node;
And the forwarding node receives the service data and sends the service data to the verification node.
2. The method of claim 1, wherein the system comprises at least two forwarding nodes, wherein each forwarding node has an association with the authentication node;
the target block link point sends the service data carried in the service request to a forwarding node, including:
and under the condition that the first forwarding node with the working state being the fault is included in the at least two forwarding nodes, the target block link point sends the service data carried in the service request to the second forwarding node with the working state being normal.
3. The method of claim 1, wherein the system comprises at least one authentication node, at least one forwarding node, each authentication node having an association with at least one forwarding node;
the target block link point receives a service request and sends service data carried in the service request to a forwarding node, and the method comprises the following steps:
the target block link point receives a service request and determines at least one target forwarding node according to the service request;
and sending the service data carried in the service request to the at least one target forwarding node.
4. The method of claim 3, wherein the target block link point determines at least one target forwarding node based on the traffic request, comprising:
the target block link point determines a target verification node according to the verification node information carried in the service request;
and determining at least one target forwarding node with an association relationship with the target verification node according to the target verification node.
5. The method of claim 4, wherein the forwarding node receiving the traffic data and transmitting the traffic data to the authentication node comprises:
and the at least one target forwarding node receives the service data and sends the service data to the target verification node.
6. The method of any of claims 1-5, wherein the validation node is located in an intranet, the blockchain node is located in a public network, and the forwarding node is determined to be located in the intranet or the public network according to network architecture information.
7. The method of any of claims 1-5, wherein the system further comprises a connecting node;
the method further comprises the steps of:
the connecting node receives an access request sent by an external node, wherein the access request is used for requesting to access the blockchain network;
Determining a target blockchain node in the blockchain network and node information of the target blockchain node according to the access request;
and sending the node information to an external node, wherein the node information is used for enabling the external node to access the blockchain network.
8. A blockchain-based data processing method, for use in a data processing system, the system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, the method comprising:
the verification node receives service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node;
and the forwarding node receives the block information returned by the verification node and uploads the block information to the block chain network.
9. The method of claim 8, wherein the system comprises at least two forwarding nodes, wherein each forwarding node has an association with the authentication node;
the authentication node sending the block information to the forwarding node, comprising:
In case it is determined that the first forwarding node whose operation state is a failure is included in the at least two forwarding nodes,
and the verification node sends the service data carried in the service request to a second forwarding node with normal working state.
10. The method of claim 8, wherein the system comprises at least one authentication node, at least one forwarding node, each authentication node having an association with at least one forwarding node;
the verification node receives service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node, and the verification node comprises:
the target verification node receives service data and generates block information corresponding to the service data according to the service data;
and sending the block information to at least one target forwarding node with an association relationship with the target verification node.
11. The method of claim 10, wherein the forwarding node receiving the blocking information returned by the authentication node and uploading the blocking information to the blockchain network comprises:
and the at least one target forwarding node receives the block information returned by the target verification node and uploads the block information to the blockchain network.
12. The method according to any one of claims 8-11, wherein the authentication node is located in an intranet, the blockchain node is located in a public network, and the forwarding node is determined to be located in the intranet or the public network according to network architecture information.
13. The method of any of claims 8-11, wherein the system further comprises a connecting node;
the method further comprises the steps of:
the connecting node receives an access request sent by an external node, wherein the access request is used for requesting to access the blockchain network;
determining a target blockchain node in the blockchain network and node information of the target blockchain node according to the access request;
and sending the node information to an external node, wherein the node information is used for enabling the external node to access the blockchain network.
14. A blockchain-based data processing method, for use in a data processing system, the system including an authentication node, a forwarding node, and a blockchain network, wherein the blockchain network includes at least one blockchain node, the authentication node and the blockchain node being located in different networks, the method comprising:
The target block link point receives a service request and sends service data carried in the service request to a forwarding node;
the forwarding node receives the service data and sends the service data to a verification node;
the verification node receives the service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node;
and the forwarding node receives the block information returned by the verification node and uploads the block information to a block chain network.
15. The method of claim 14, wherein the system comprises at least two forwarding nodes, wherein each forwarding node has an association with the authentication node;
the target block link point sends the service data carried in the service request to a forwarding node, including:
and under the condition that the first forwarding node with the working state being the fault is included in the at least two forwarding nodes, the target block link point sends the service data carried in the service request to the second forwarding node with the working state being normal.
16. The method of claim 15, wherein the validating node sending the block information to the forwarding node comprises:
In case it is determined that the first forwarding node whose operation state is a failure is included in the at least two forwarding nodes,
and the verification node sends the service data carried in the service request to a second forwarding node with normal working state.
17. The method of claim 14, wherein the system comprises at least one authentication node, at least one forwarding node, each authentication node having an association with at least one forwarding node;
the target block link point receives a service request and sends service data carried in the service request to a forwarding node, and the method comprises the following steps:
the target block link point receives a service request and determines at least one target forwarding node according to the service request;
and sending the service data carried in the service request to the at least one target forwarding node.
18. The method of claim 17, wherein the target block link point determines at least one target forwarding node based on the traffic request, comprising:
the target block link point determines a target verification node according to the verification node information carried in the service request;
and determining at least one target forwarding node with an association relationship with the target verification node according to the target verification node.
19. The method of claim 18, wherein the forwarding node receiving the traffic data and transmitting the traffic data to the authentication node comprises:
and the at least one target forwarding node receives the service data and sends the service data to the target verification node.
20. The method of claim 17, wherein the verifying node receives service data, generates block information corresponding to the service data according to the service data, and sends the block information to the forwarding node, comprising:
the target verification node receives service data and generates block information corresponding to the service data according to the service data;
and sending the block information to at least one target forwarding node with an association relationship with the target verification node.
21. The method of claim 20, wherein the forwarding node receiving the blocking information returned by the authentication node and uploading the blocking information to the blockchain network comprises:
and the at least one target forwarding node receives the block information returned by the target verification node and uploads the block information to the blockchain network.
22. The method of any of claims 14-21, wherein the validation node is located in an intranet, the blockchain node is located in a public network, and the forwarding node is determined to be located in the intranet or the public network according to network architecture information.
23. The method of any of claims 14-21, wherein the system further comprises a connecting node;
the method further comprises the steps of:
the connecting node receives an access request sent by an external node, wherein the access request is used for requesting to access the blockchain network;
determining a target blockchain node in the blockchain network and node information of the target blockchain node according to the access request;
and sending the node information to an external node, wherein the node information is used for enabling the external node to access the blockchain network.
24. A blockchain-based data processing system, the system comprising an authentication node, a forwarding node, and a blockchain network, the blockchain network comprising at least one blockchain node, the authentication node and the blockchain node being located in different networks, wherein,
the target block chain node is configured to receive a service request and send service data carried in the service request to the forwarding node;
The forwarding node is configured to receive the service data and send the service data to the verification node.
25. A blockchain-based data processing system, the system comprising an authentication node, a forwarding node, and a blockchain network, the blockchain network comprising at least one blockchain node, the authentication node and the blockchain node being located in different networks, wherein,
the verification node is configured to receive service data, generate block information corresponding to the service data according to the service data, and send the block information to the forwarding node;
the forwarding node is configured to receive the block information returned by the verification node and upload the block information to the blockchain network.
26. A blockchain-based data processing system, the system comprising an authentication node, a forwarding node, and a blockchain network, the blockchain network comprising at least one blockchain node, the authentication node and the blockchain node being located in different networks, wherein,
the target block chain node is configured to receive a service request and send service data carried in the service request to the forwarding node;
The forwarding node is configured to receive the service data and send the service data to the verification node;
the verification node is configured to receive the service data, generate block information corresponding to the service data according to the service data, and send the block information to the forwarding node;
the forwarding node is configured to receive the block information returned by the verification node and upload the block information to a block chain network.
27. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor, when executing the computer instructions, performs the steps of the method of any one of claims 1-7 or 8-13 or 14-23.
28. A computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the method of any one of claims 1-7 or 8-13 or 14-23.
CN202210429527.0A 2022-04-22 2022-04-22 Data processing method and system based on block chain Pending CN116980145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210429527.0A CN116980145A (en) 2022-04-22 2022-04-22 Data processing method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210429527.0A CN116980145A (en) 2022-04-22 2022-04-22 Data processing method and system based on block chain

Publications (1)

Publication Number Publication Date
CN116980145A true CN116980145A (en) 2023-10-31

Family

ID=88483671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210429527.0A Pending CN116980145A (en) 2022-04-22 2022-04-22 Data processing method and system based on block chain

Country Status (1)

Country Link
CN (1) CN116980145A (en)

Similar Documents

Publication Publication Date Title
CN110944004B (en) Data processing method, device, storage medium and equipment in block chain network
CN111683117B (en) Method, equipment and storage medium
EP3545665B1 (en) System and method for detecting replay attack
US10771624B1 (en) Data store for communication authentication
CN113407640B (en) Cross-chain method and system based on multi-chain NFT (network File transfer)
WO2019195755A1 (en) Network protocol for blockchain based network packets
US20150237027A1 (en) Apparatus, method and system for context-aware security control in cloud environment
WO2019227225A1 (en) Systems and methods for establishing communications via blockchain
CN111064755B (en) Data protection method and device, computer equipment and storage medium
EP3477561A1 (en) System for goods delivery
CN103780457A (en) Mobile intelligent terminal safety detection method based on boundary detection
Reilly et al. An IoT integrity-first communication protocol via an ethereum blockchain light client
CN113055176B (en) Terminal authentication method and system, terminal device, P2P verification platform and medium
US11271728B2 (en) Secure key management
KR102150210B1 (en) Blockchain network
CN112261003A (en) Safety authentication method and system for industrial internet edge computing node
CN115361455B (en) Data transmission storage method and device and computer equipment
CN116980145A (en) Data processing method and system based on block chain
EP3627361A1 (en) Media content control
CN112688948B (en) Object processing method and device
KR102399632B1 (en) Method and apparatus for transmitting and receiving data based on blockchain in a wireless communication system
CN110995730B (en) Data transmission method and device, proxy server and proxy server cluster
CN113095940A (en) Isomorphic multilink-based transaction processing method, blockchain system, device and medium
Paavolainen et al. Decentralized beacons: Attesting the ground truth of blockchain state for constrained IoT devices
CN116743377B (en) Data processing method, device, equipment and storage medium based on blockchain key

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