CN112200681A - Service processing method, information processing method and node equipment of block chain network - Google Patents

Service processing method, information processing method and node equipment of block chain network Download PDF

Info

Publication number
CN112200681A
CN112200681A CN202011401133.1A CN202011401133A CN112200681A CN 112200681 A CN112200681 A CN 112200681A CN 202011401133 A CN202011401133 A CN 202011401133A CN 112200681 A CN112200681 A CN 112200681A
Authority
CN
China
Prior art keywords
node
service
processing
target
information
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.)
Granted
Application number
CN202011401133.1A
Other languages
Chinese (zh)
Other versions
CN112200681B (en
Inventor
王宗友
朱耿良
周开班
黄焕坤
廖志勇
张劲松
刘攀
蓝虎
时一防
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011401133.1A priority Critical patent/CN112200681B/en
Publication of CN112200681A publication Critical patent/CN112200681A/en
Application granted granted Critical
Publication of CN112200681B publication Critical patent/CN112200681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Technology Law (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a service processing method, an information processing method and node equipment of a block chain network, wherein the service processing method comprises the following steps: when a target service node receives a service request, acquiring routing information configured for the target service node by a management node, wherein the routing information comprises a corresponding relation between a service type and a processing node, the processing node is used for processing a service indicated by the service type, and the processing node is a node except the target service node and the management node in a block chain network; acquiring a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs; and sending the service request to the target processing node so that the target processing node executes the service indicated by the service request. The routing information of the service node is uniformly distributed by the management node by adopting the embodiment of the invention, so that invalid routing is avoided and the service execution efficiency is improved.

Description

Service processing method, information processing method and node equipment of block chain network
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a service processing method, an information processing method, and a node device for a blockchain network.
Background
Peer-to-Peer (P2P) networks are an essential part of the blockchain technology. The point-to-point network is a point-to-point connection network, and a central node is not needed among network nodes to maintain the network state based on a specific network protocol, but each node maintains the node state of the whole network or the connection state of other adjacent nodes through broadcast interaction with the adjacent nodes.
When the block chaining technology is implemented based on the current P2P network, each node maintains a routing table, and transmits a service request according to the routing table maintained by itself to complete the service indicated by the service request. As a result, problems such as network storm, invalid addresses in the routing table, etc. may occur, which affect the efficiency of service execution. Therefore, how each node efficiently processes the service indicated by the service request in the blockchain network becomes a hot issue of research today.
Disclosure of Invention
Embodiments of the present invention provide a service processing method, an information processing method, and a node device for a block chain network, which configure routing information for service nodes in a unified manner through a management node, so that an invalid address in the routing information can be avoided, and thus service execution efficiency can be improved.
In one aspect, an embodiment of the present invention provides a service processing method for a blockchain network, where the blockchain network includes at least one node, and the at least one node includes a management node and a target service node; the method comprises the following steps:
when the target service node receives a service request, acquiring routing information configured for the target service node by the management node, wherein the routing information comprises a corresponding relation between a service type and a processing node, the processing node is used for processing the service indicated by the service type, and the processing node is a node in the block chain network except the target service node and the management node;
acquiring a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs;
and sending the service request to the target processing node so as to enable the target processing node to execute the service indicated by the service request.
In one aspect, an embodiment of the present invention provides an information processing method for a blockchain network, where the blockchain network includes at least one node, and the at least one node includes a management node and a target service node, and the method includes:
responding to a trigger event for configuring a route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network, wherein the other nodes are nodes except the management node and the target service node in the at least one node;
determining a processing node from the other nodes according to the routing configuration reference information corresponding to the other nodes, wherein the processing node is used for processing the service indicated by any service type supported by the target service node;
and establishing a corresponding relation between any service type and the processing node, and generating routing information corresponding to the target service node based on the corresponding relation between any service type and the processing node.
In one aspect, an embodiment of the present invention provides a service processing apparatus for a blockchain network, where the blockchain network includes at least one node, and the at least one node includes a management node and a target service node, and the apparatus includes:
an obtaining unit, configured to obtain, when the target service node receives a service request, routing information configured for the target service node by the management node, where the routing information includes a correspondence between a service type and a processing node, the processing node is configured to process a service indicated by the service type, and the processing node is a node in the block chain network except for the target service node and the management node;
the obtaining unit is further configured to obtain, according to a target service type to which a service indicated by the service request belongs, a target processing node corresponding to the target service type from the routing information;
a sending unit, configured to send the service request to the target processing node, so that the target processing node executes a service indicated by the service request.
In one aspect, an embodiment of the present invention provides an information processing apparatus for a blockchain network, where the blockchain network includes at least one node, and the at least one node includes a management node and a target service node, and the apparatus includes:
an obtaining unit, configured to obtain, in response to a trigger event for configuring a route for the target service node, route configuration reference information corresponding to other nodes in the block chain network, where the other nodes are nodes other than the management node and the target service node in the at least one node;
a processing unit, configured to determine, according to the route configuration reference information corresponding to the other nodes, a processing node corresponding to any service type from the other nodes, where the processing node is configured to process a service indicated by the any service type, and the any service type is a service type supported by the target service node;
the processing unit is further configured to generate routing information corresponding to the target service node based on a correspondence between the any service type and the processing node.
In one aspect, an embodiment of the present invention provides a node device, where the node device includes: a processor adapted to implement one or more computer programs; and a computer storage medium storing one or more computer programs adapted to be loaded and executed by the processor to:
when the target service node receives a service request, acquiring routing information configured for the target service node by the management node, wherein the routing information comprises a corresponding relation between a service type and a processing node, the processing node is used for processing the service indicated by the service type, and the processing node is a node in the block chain network except the target service node and the management node;
acquiring a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs;
and sending the service request to the target processing node so as to enable the target processing node to execute the service indicated by the service request.
Alternatively, the one or more computer programs are adapted to be loaded and executed by the processor to:
responding to a trigger event for configuring a route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network, wherein the other nodes are nodes except the management node and the target service node in the at least one node;
determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes, wherein the processing node is used for processing the service indicated by the any service type, and the any service type is the service type supported by the target service node;
and generating routing information corresponding to the target service node based on the corresponding relation between any service type and the processing node.
In one aspect, an embodiment of the present invention provides a computer storage medium, where a computer program is stored in the computer storage medium, and when executed by a processor, the computer program is configured to perform the following steps:
when the target service node receives a service request, acquiring routing information configured for the target service node by the management node, wherein the routing information comprises a corresponding relation between a service type and a processing node, the processing node is used for processing the service indicated by the service type, and the processing node is a node in the block chain network except the target service node and the management node;
acquiring a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs;
and sending the service request to the target processing node so as to enable the target processing node to execute the service indicated by the service request.
Or the computer program, when executed by a processor, is adapted to perform the steps of:
responding to a trigger event for configuring a route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network, wherein the other nodes are nodes except the management node and the target service node in the at least one node;
determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes, wherein the processing node is used for processing the service indicated by the any service type, and the any service type is the service type supported by the target service node;
and generating routing information corresponding to the target service node based on the corresponding relation between any service type and the processing node.
In one aspect, an embodiment of the present invention provides a computer program product or a computer program, where the computer program product includes a computer program, and the computer program is stored in a computer-readable storage medium; the processor of the node device reads the computer program from the computer storage medium, and executes the computer program, so that the node device executes the service processing method or the information processing method.
In the embodiment of the invention, a management node is newly added in a block chain network, the management node can configure routing information for a target service node, when the target service node receives a service request, the routing information configured for the target service node by the management node is obtained, and the routing information comprises the corresponding relation between a medium service type and a processing node; the target service node acquires a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs; further, the service request is sent to the target processing node, so that the target processing node executes the service indicated by the service request. It can be seen that the routing information of the service nodes in the blockchain network is distributed by the management node, and is not set by the management node, and the management node can manage all the nodes in the blockchain network and configure the routing information for each service node. When the routing information is configured for each service node, the invalid node is removed, so that the routing information distributed by the management node for each service node does not have an invalid routing address, the problem that the service request cannot be executed or the execution efficiency is low due to the fact that the service request is transmitted to the invalid node can be solved, and the execution efficiency of the service request is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a new blockchain network according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a layered block chain according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for processing services in a blockchain network according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating an information processing method of a blockchain network according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another hierarchical blockchain network provided by the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a service processing apparatus of a blockchain network according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an information processing apparatus of a blockchain network according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a node device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In the study of the blockchain technology, it was found that the peer-to-peer P2P network is an indispensable part of the blockchain technology, and the implementation scheme of the P2P network is different in different types of blockchains. In summary, blockchains may include public chains, which may include bitcoin and etherhouse, and alliance chains, which may include Fabric and terdermt.
In one embodiment, the P2P scheme in the public chain is described below in terms of Binghou and EtherFang. The nodes in the bitcoin network have the following functions: routing functions, wallets, shared ledgers, smart contracts, and blockchains. The routing function is a basic function that the nodes have, and is used for supporting communication between the nodes. The wallet is a function for providing a transaction for electronic money; the shared account book is used for providing the functions of storing, inquiring, modifying and the like of account data; the intelligent contract is a computerized protocol, can execute the terms of a certain contract, and is realized by codes which are deployed on a shared account and executed when certain conditions are met, such as inquiring the logistics state of commodities purchased by a buyer and transferring the electronic money of the buyer to the address of a merchant after the buyer signs in goods; the block chain comprises a sequence of blocks that are consecutive to each other according to a chronological order of generation.
Based on the functions of the above nodes, the nodes in the bitcoin network may generally include the following types: light nodes (also referred to as traffic nodes), routing nodes, miners nodes, and full nodes. The light node refers to a node with a wallet function and a routing function. The user can view his own account balance through the light-node wallet, manage wallet addresses and private keys, initiate transactions, etc. The routing node refers to a node having only a routing function. The full node means a node having a wallet function, a routing function, a consensus function, a blockchain function, and an intelligent contract function, in which a completed blockchain is stored.
The miners' nodes refer to nodes with shared book (or consensus) function, routing function and block chain function, and such nodes may also be referred to as consensus nodes. If a miner node stores all the data of a block, the miner node is also a full node, and such miner nodes are generally independent miners. And the other miners are not independently excavated and are connected with other nodes to form an ore pool for collective excavation, and the miners are called collective miners.
A mine pool formed by a plurality of collective miners forms a mine pool network, which is a centralized network, wherein a central node of the mine pool network is a mine pool server, other miners are connected with the mine pool server, the communication between the miners and the mine pool server is not a bitcoin protocol but a mine pool protocol of the miners, and the mainstream mine pool protocol can comprise a Stratum protocol.
Optionally, after the new block is created by the miner node, the new block needs to be broadcast to all nodes in the whole network, and after the whole network receives the new block, the reward for the miner node is valid, and the calculation of the hash value of the next block is started. Therefore, the miner node needs to minimize the time for broadcasting a new tile and calculating the next tile. This requires a special broadcast NetWork to speed up the propagation of the tiles, which can be called Bitcoin Relay NetWork (Bitcoin Relay NetWork).
In bitcoin networks, a node may send its own maintained peer list to neighboring nodes, and therefore, after the initial node is started, a copy of the peer list from the neighboring nodes is needed.
Like bitcoin networks, ethernet networks also have routing functions, wallets, shared ledgers, smart contracts, and blockchains, and there are also different types of nodes. The biggest difference from the bitcoin network architecture is that the P2P of the ethernet network is structured. The network is realized by Kademlia (Kad) algorithm, and the routing and positioning data can be quickly and accurately realized by using the algorithm.
Kad is constructed from data called K buckets that record: node identification NodeId, node distance, end point, internet protocol IP and other information. And sequencing the data in the K buckets according to the distance between the data and the target node, wherein the total number of the K buckets in the Ethernet network is 256, and each K bucket comprises 16 nodes.
In one embodiment, communications among nodes in the Kad network are based on the User Datagram Protocol (UDP), which consists essentially of the following commands: a ping command for detecting a node and judging whether the node is on-line; a PONG command, which is a response command to ping; a FINDANODE command for inquiring a node close to the ID distance of the target node from the node; the neighbor command, which is a response command to the FIND _ NODE command, is used to transmit NODEs in the K bucket close to the target NODE ID. Optionally, if the PING-PONG handshake between two nodes passes, the corresponding node is considered online.
In one embodiment, the discovery process of nodes in K bucket can be summarized as follows: randomly generating a node identifier NodeId of a local node when the Ether system is started for the first time, and recording the node identifier NodeId as LocalId; after the generation, the node is fixed and the local node is marked as local-eth; reading the public node information, and writing the public node information into a K barrel after the ping-pong handshake is completed; k buckets are refreshed every 7200 milliseconds.
In one embodiment, the flow of refreshing the K bucket can be summarized as: (1) randomly generating a target node identifier, recording the target node identifier as targetId, and recording the discovery times and the refreshing time from 1; (2) calculating the distance between the TargetId and the LocalId, and recording the distance as Dlt; (3) marking the NodeId of the node in the K bucket as KadId, calculating the distance between the KadId and the targetId and marking as Dkt; (4) finding out nodes with Dlt larger than Dkt in the K bucket, recording the nodes as K bucket nodes, and sending a FindNODE command to the K bucket nodes, wherein the FindNODE command comprises TargetId; (5) after receiving the FindNODE command, the K bucket node executes the processes (1) to (4) in the same way, and sends the node found from the K bucket back to the local node by using a Neighbours command; (5) and (3) after the local node receives the neighbor nodes, writing the received nodes into the K bucket, and if the searching times are not more than 8 and the refreshing time is not more than 600ms, returning to the step (2) for circular execution.
In one embodiment, the P2P scheme in the federation chain is described below by way of example for Fabric and Terdermint. Optionally, the Fabric P2P network is a data cellular network based on Gossip protocol, the Gossip process is initiated by a seed node, when a seed node has a status that needs to be updated to other nodes in the network, it randomly selects several nodes around to disseminate messages, and the node receiving the message repeats the process until all nodes in the network finally receive the message. This process may take some time, and is a final coherency protocol since there is no guarantee that all nodes will receive messages at a certain time, but theoretically all nodes will eventually receive messages.
In one embodiment, the Gossip protocol may include several types: propagation Protocol/Rumor Protocol (dispersion Protocol/Rumor-gathering Protocol), Anti-Entropy Protocol (Anti-Entropy Protocol), and Protocol for computing aggregations. The transmission Protocol/Rumor Protocol (distribution Protocol/Rumor-gathering Protocol) works through a flooding agent in the network, and the nodes receive the broadcasted data and then directly send the broadcasted data to all neighbor nodes. This approach may improve the robustness of the network but is prone to broadcast storms. The inverse entropy protocol is mainly used for repairing the copied data and operating by comparing the copying and coordinating the difference; the computationally aggregated protocol is used to sample information from nodes in the network and combine these values to obtain system-wide values, thereby computing a network-wide set, and then establishing a comprehensive information flow pattern.
The Gossip protocol includes two data transmission modes, namely a Push-based mode and a Pull-based mode. Wherein, the data transmission process in the push mode can be summarized as follows: a certain node in the network randomly selects N nodes as data receiving objects; transmitting corresponding information to the N nodes; the node receiving the information processes the received data, and the node receiving the information repeatedly performs the above-described process. The data transmission process in the pull mode can be summarized as follows: a certain node periodically randomly selects N nodes, and inquires whether the selected N nodes have the latest information; the queried N nodes reply to the information that the node has recently received.
Specifically, in the Fabric transaction flow, the Peer nodes are used as main bodies participating in the transaction, and are mainly responsible for storing complete block chain data and executing intelligent contracts, and the Peer nodes can complete block distribution, state synchronization and other problems through the Gossip protocol. Information of other Peer nodes is maintained on each Peer node, and information is exchanged through random communication with the other Peer nodes, so that final consistency is achieved. The main process can be as follows: transmitting a SignedGossipMessage message structure through gosspStream bidirectional flow communication of a gossip client; the Peer nodes form a P2P network, the client side can submit the request to the Peer nodes, and the Peer nodes submit the transaction to the endorsement node after processing; then signing is carried out by the endorsement node, and finally the endorsement node is broadcasted to the Peer node after the consensus is achieved through the sequencing service, as shown in FIG. 1; gossip is responsible for connecting sequencing services and Peer nodes, realizing efficient data distribution from a single source node to all nodes, realizing state synchronization among different nodes in the background, and being capable of processing the byzantine problem, dynamic node addition and network partitioning.
However, in the practical application process, two main defects of the Gossip protocol are found, one is message delay, because in the Gossip protocol, the nodes only send messages to a few nodes randomly, and the messages finally reach the whole network through multiple rounds of scattering, the use of the Gossip protocol causes inevitable message delay and is not suitable for scenes with high requirements on real-time performance; the other is message redundancy, the Gossip protocol specifies that nodes can randomly select surrounding nodes to send messages at regular intervals, and nodes receiving the messages can repeat the steps, so that the situation that the messages are repeatedly sent to the same node inevitably exists, the message redundancy is caused, and the processing pressure of the nodes receiving the messages is increased. Further, since messages are transmitted periodically, even a node that receives a message repeatedly receives a duplicate message, which increases redundancy of messages.
In summary, the above-mentioned P2P schemes are all applied in a single-layer blockchain network, and the P2P schemes are all peer-to-peer nodes, and the nodes are all in the same network. Thus, a network storm is likely to occur or an invalid address exists in the routing table, which results in a reduction in service execution efficiency. To solve the problem, the embodiment of the present invention provides a new blockchain network architecture, and a new P2P scheme is implemented based on the new blockchain network architecture.
Referring to fig. 2, a schematic structural diagram of a new blockchain network according to an embodiment of the present invention is provided. The blockchain network shown in fig. 2 is a two-tier network including witness sub-network 201 and consensus sub-network 202, witness sub-network 201 may be in a public network and consensus sub-network 202 in a relatively secure private cloud. Like a conventional blockchain network, the blockchain network shown in fig. 2 may include at least one service node 203 (which may also be referred to as a Simple Payment Verification (SPV) node (which may also be referred to as a light node)) and at least one consensus node 204, where the at least one service node 203 is configured to receive a service request initiated by a user and then send the service request to any one of the at least one consensus node, and the at least one consensus node executes a service indicated by the service request, and the at least one consensus node 204 is configured to receive the service request from the service node and perform consensus Verification based on a consensus algorithm to execute the service.
In the embodiment of the present invention, in order to ensure efficient execution of the core consensus algorithm, at least one service node 203 and at least one consensus node 204 are deployed in different networks. In a specific implementation, at least one service node 203 may be deployed in the witness sub-network 201, and at least one consensus node 204 may be deployed in the consensus sub-network 202. Any service node of the at least one service node 203 may obtain the blockhead data and the partially authorized visible blockchain data from the consensus sub-network 201 by means of identity authentication.
In one embodiment, routing boundary 205 may also be included in the blockchain network shown in fig. 2, and witness subnetwork 201 and consensus subnetwork 202 may interact through routing boundary 205. It can be seen that, since the consensus sub-network 202 is in a relatively secure private cloud, the mutual access itself has a consensus mechanism to ensure security, and no additional identity management and network control need to be added. At least one service node 203 is in the public network and may be accessed by other uncertain network terminals, so that the access behaviors of the service node 203 and other possible nodes to the consensus sub-network 202 need to be strictly controlled.
Unlike conventional blockchain networks, the blockchain network shown in fig. 2 includes a management node 206 (which may also be referred to as a super node) and a relay node 207 in addition to a service node 203 and a consensus node 204. The consensus node 204 and the management node 206 may both be provided by the same entity, such as in an electronic invoice application scenario, and the consensus node 204 and the management node 206 may both be provided by a tax administrator, such as a tax central office. Management node 206 may be located in consensus sub-network 202, but management node 206 does not participate in the consensus verification process.
In one embodiment, the management node 206 is mainly configured to configure routing information for each service node 203, where the routing information of each service node is used to inform a corresponding service node to which a service request should be sent when receiving a service request of a different type, so as to execute a service indicated by the service request. For example, in the routing information of any service node, the routing information is used to indicate that when the service node receives a service request of a uplink service type, the service request is sent to a common node a in at least one common node, and the common node a initiates common verification and completes uplink; for another example, the routing information of any service node is used to indicate that, when the service node receives a service request of a blockchain data service type, the service node sends the service request to a service node a of the at least one service node 203 or to a consensus node B of the at least one consensus node 204. Briefly, the management node 206 is configured to maintain routing information for each service node.
In one embodiment, the relay node 207 may be deployed in both the witness sub-network 201 and the consensus sub-network 202. The relay node 207 may be a node configured by the management node 206 and dedicated to transmitting a specific type of data, for example, when data with higher security is transmitted between two service nodes, the relay node 207 may perform the data transmission.
Compared with the existing blockchain network, the management node 206 in the blockchain network shown in fig. 2 grasps the unique routing information of each service node, so that the problems of network storm, invalid addresses of routing tables and the like can be effectively avoided, and the service execution efficiency can be improved.
Based on the new blockchain network architecture, an embodiment of the present invention provides a service processing scheme for a blockchain network, where a management node in the blockchain network may configure routing information for a target service node, where the routing information may include a correspondence between a service type and a processing node, and the processing node is configured to process a service indicated by the service type; in other words, the routing information configured by the management node for the target service node indicates that different service types correspond to a processing node for processing the service indicated by the corresponding service type. In this way, when a target service node receives a service request, the routing information configured for the target service node by the management node is obtained, and a target processing node corresponding to the target service type is obtained from the routing information according to the target service type to which the service indicated by the service request belongs; further, the service request is sent to the target processing node, so that the target processing node executes the service indicated by the service request.
Based on the new blockchain network and the service processing scheme of the blockchain network, the embodiment of the invention provides a service processing method of the blockchain network. Referring to fig. 3, a flowchart of a service processing method of a blockchain network according to an embodiment of the present invention is shown. The blockchain network may include at least one node, where the at least one node includes a management node and a target service node, and the service processing method shown in fig. 3 may be performed by the target service node. The target service node may refer to any device such as a server, a terminal. The terminal may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart car, or the like, but is not limited thereto. The server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, cloud communication, middleware service, big data and artificial intelligence platforms and the like. The service processing method shown in fig. 3 may include the following steps:
step S301, when the target service node receives the service request, the routing information configured for the target service node by the management node is obtained.
In one embodiment, the routing information configured by the management node for the target service node may include a correspondence between a service type and a processing node, where the processing node is configured to process a service indicated by the service type. The service types may include an uplink service type, a data transmission service type, and a block chain data synchronization service type.
In one embodiment, the processing node may refer to a node in the blockchain network other than the target service node and the management node. Assuming that the blockchain network is as shown in fig. 2, the target service node may refer to any one of the at least one service node, and the processing node may refer to any one of the at least one consensus node, any one of the at least one relay node, and other service nodes except the target service node.
Based on this, the correspondence relationship between the service type and the processing node may include: the processing node corresponding to the uplink service type is a first common node in the at least one common node; the processing node corresponding to the data transmission service type is a target relay node in the at least one relay node; the processing node corresponding to the block chain data synchronization service type is a second consensus node in the at least one consensus node; or, the processing node corresponding to the block chain data synchronization service type is a target other service node in the at least one other service node. The first common node and the second common node may be the same common node or different common nodes.
In short, the uplink service type received by the target service node can be directly sent to the first common node; the block chain data received by the target service node are synchronized from the second common node or from other target service nodes; besides the uplink service type, there are some specific data transmission service types, and the data transmission service type does not directly go through the point-to-point link between the service nodes, but needs to go through the target relay node designated by the management node.
In one embodiment, when the target service node receives the service request, acquiring the routing information configured for the target service node by the management node may include: acquiring routing information from a local storage; or obtain routing information from a management node. The step of obtaining the routing information from the local storage includes: when the target service node is started, the target service node acquires the routing information configured for the target service node from the management node; when the target service node receives the service request, the target processing node is determined according to the acquired routing information.
In one embodiment, when the target service node starts, the implementation of the target service node acquiring the routing information may include: when the target service node is started, acquiring the address information of the management node; and acquiring the routing information configured by the management node for the target service node from the management node according to the address information of the management node. The address information of the management node may be obtained by downloading, or may be obtained from a certificate. The certificate refers to a Public Key Infrastructure (PKI) in which a certificate is an identification of a Public Key owner and issued by an authority. Asymmetric encryption and digital signature for information can be realized based on a public key certificate system.
In one embodiment, as can be seen from the foregoing, each service type corresponds to one processing node, and if the service type supported by the target service type is at least one, the number of processing nodes included in the routing information should also be at least one. When the target service node is started, after the routing information configured for the target service node by the management node is acquired, in order to judge whether the target service node can be successfully connected with each processing node in the routing information, or in order to ensure that the routing information configured for the target service node by the management node is reliable. After the target service node acquires the routing information, trying to connect with each processing node in the routing information to obtain a connection result between the target service node and each processing node, such as connection success or connection failure; furthermore, in order for the management node to master the connection condition between the target service node and each processing node, the target service node reports the connection result between the target service node and each processing node to the management node. If the management node finds that the connection between the target service node and a certain processing node fails, a processing node can be allocated to the target service node again to replace the processing node with the failed connection. Therefore, the service requests of various service types received by the target service node can be executed in time, and the service execution efficiency is not reduced due to the existence of the invalid routing address.
As can be seen from the foregoing, in the embodiment of the present invention, the routing information of the target service node is configured by the management node, that is, the target service node only interacts with the management node, and does not interact with other service nodes, so that a network storm can be prevented.
Step S302, according to the target service type of the service indicated by the service request, a target processing node corresponding to the target service type is obtained from the routing information.
In one embodiment, based on the correspondence between the service types and the processing node, if the target service type to which the service indicated by the service request belongs is an uplink service type, the target processing node is a first common node; if the target service type to which the service indicated by the service request belongs is a block chain data synchronization service type, the target processing node is a target other service node or a second consensus node; and if the target service type to which the service indicated by the service request belongs is the data transmission service type, the target processing node is the target relay node.
Step S303, sending the service request to the target processing node, so that the target processing node executes the service indicated by the service request.
In one embodiment, the target processing node executes the service indicated by the service request after receiving the service request. For example, the service indicated by the service request is an uplink service, the target processing node is a first common node, the first common node generates a new block including the service indicated by the service request according to the service request, and broadcasts the new block to other common nodes, so that the other nodes perform common verification on the new block; after the consensus verification is passed, adding a new block to the block chain; for another example, the service indicated by the service request is a block chain data synchronization service, the target processing node may be a second consensus node, and after receiving the service request, the second consensus node acquires data required to be synchronized, which is indicated by the service request, and returns the data to be synchronized to the target service node.
In the embodiment of the invention, a management node is newly added in a block chain network, the management node can configure routing information for a target service node, when the target service node receives a service request, the routing information configured for the target service node by the management node is obtained, and the routing information comprises the corresponding relation between a medium service type and a processing node; the target service node acquires a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs; further, the service request is sent to the target processing node, so that the target processing node executes the service indicated by the service request. It can be seen that the routing information of the service nodes in the blockchain network is distributed by the management node, and is not set by the management node, the management node can manage all the nodes in the blockchain network, and can also be connected to the node condition of each node, and when the routing information is configured for each service node, the invalid node can be removed. Therefore, the management node does not have an invalid routing address in the routing information distributed to each service node, so that the service request can be prevented from being transmitted to the invalid node, the service request cannot be executed or the execution efficiency is low, and the execution efficiency of the service request is improved.
Based on the above-mentioned service processing method for two networks in a block, an embodiment of the present invention provides an information processing method for a blockchain network, and referring to fig. 4, the present invention provides a flowchart of the information processing method for a blockchain network according to the embodiment of the present invention. The blockchain network may include at least one node, where the at least one node includes a management node and a target service node, and the service processing method shown in fig. 4 may be performed by the management node. The management node may refer to any device such as a server, a terminal. The terminal may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, or the like, but is not limited thereto. The server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, cloud communication, middleware service, big data and artificial intelligence platforms and the like. The information processing method shown in fig. 4 may include the steps of:
step S401, responding to the trigger event for configuring the route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network.
In one embodiment, the triggering event for configuring the route for the target service node may refer to receiving a route configuration request sent by the target service node. In a specific implementation, after a target service node is added to a blockchain network, a route needs to be established between the target service node and other nodes in the blockchain network in order to interact with the other nodes in the blockchain network to execute a service, so that the target service node needs to send a route configuration request to a management node, where the route configuration request may carry address information of the target service node. After receiving the route configuration request, the management node may verify the target service node according to the address information of the target service node, for example, verify the validity of the target service node, verify whether the target service node may have the route configuration, and the like.
In other embodiments, the trigger event for configuring the route for the target service node may also refer to: and detecting that the target service node is added into the block chain network and starting in the block chain network. The management node can monitor all nodes started in the blockchain network, and configures the routing information for each service node in all nodes, so that each service node executes the service according to the indication of the routing information, thereby ensuring that the service in the blockchain network is executed orderly, and improving the service execution efficiency.
In one embodiment, the other nodes of the blockchain network may be nodes other than the management node and the target service node among the at least one node included in the blockchain network. The number of the other nodes is at least one, and the route configuration reference information corresponding to the other nodes may include any one or more of the following information: distance information between each other node of at least one other node and the target service node, service processing information of each other node, and service execution security information of each other node; the service processing information of each other node includes any one or more of the service types supported by the corresponding other nodes and the service load conditions.
Step S402, according to the route configuration reference information corresponding to other nodes, determining a processing node corresponding to any service type from other nodes, wherein the processing node is used for processing the service indicated by any service type supported by the target service node, and any service type is the service type supported by the target service node.
In one embodiment, the at least one other node includes any one of at least one consensus node, at least one other service node, and at least one relay node, the at least one relay node being set by the management node; the service types supported by the target service node include any one or more of an uplink service type, a data transmission service type and a block chain data synchronization service type. The service types supported by the target service node may include: any one or more of an uplink service type, a data transmission service type, and a block chain data synchronization service type.
In an embodiment, the determining, from the other nodes, a processing node according to the routing configuration reference information corresponding to the other nodes may include: setting a distance information weight value, a service processing information weight value and a service execution safety weight value corresponding to any service type according to an execution requirement required when the service type is executed, wherein the sum of the distance information weight value, the service processing information weight value and the service execution safety weight value is equal to 1; multiplying the distance information between each other node and the target service node by the distance information weight value to obtain a distance score of each other node, multiplying the service processing information of each other node by the service processing information weight value to obtain a service processing score of each other node, and multiplying the service execution security information of each other node by the service execution security weight value to obtain a service execution security score of each other node; adding the distance score, the service processing score and the service execution safety score of any other node to obtain a reference score of the any other node as a processing node corresponding to the any service type; and selecting the other node with the largest reference score from the at least one other node as the processing node corresponding to any service type.
The execution requirements required when any service type is executed may include: the service execution safety meets a preset safety condition, the real-time performance meets a preset real-time performance condition, no requirement and the like, wherein the preset safety condition can be that the service of the service type needs to be executed under the condition that the safety coefficient of the communication connection reaches a certain threshold value; the real-time requirement refers to that the service of the service type needs to be executed within a preset time period.
The distance information weight value, the service processing information weight value and the service execution security weight value corresponding to different service types may be different. For example, for a service type with a security requirement, the security weight value of the corresponding service execution is higher than the other two weight values; for a service type with a real-time requirement, the corresponding distance information weight value and service processing information weight value may be higher than the service execution security weight value.
After determining each weight value corresponding to any service type, multiplying information corresponding to each weight value in route configuration reference information of other nodes by the corresponding weight value, and then adding multiplication results to obtain a reference score of each other node as a processing node corresponding to any service type; and selecting the processing node with the highest score from the reference scores as the processing node corresponding to any service type.
In other embodiments, configuring routing information for the target service node according to the routing configuration reference information corresponding to the other node, may further include: determining an execution requirement required when any service type supported by the target service node is executed; selecting candidate other nodes meeting the execution requirement from the plurality of other nodes according to the routing configuration reference information of the other nodes; and selecting the candidate node which is best in performance requirement from the candidate other nodes as a processing node corresponding to any service type.
For example, if the execution requirement is a security requirement, the candidate other nodes meeting the execution requirement are: the service execution safety information of the other nodes meets a preset safety condition; for another example, if the execution requirement is a real-time requirement, the candidate other nodes meeting the execution requirement are: the execution time length required by the other nodes to execute the service is within the preset time range.
Step S403, generating routing information corresponding to the target service node based on the corresponding relationship between any service type and the processing node.
According to the step S402, the processing node corresponding to each service type can be determined, and further, the routing configuration information corresponding to the target service node is generated according to the processing node corresponding to each service type. Thus, the routing information configured by the management node for the target service node may include a correspondence between at least one group of service types and processing nodes, where a processing node corresponding to any service type is used to process a service indicated by the any service type, and the processing node is a node included in the other nodes.
Optionally, the processing nodes corresponding to different service types may be the same or different; or the number of the processing nodes corresponding to one service type may be one or more, and there may be one main processing node among the processing nodes, and the others are alternative processing nodes; when the connection between the target service node and the main processing node fails, the target service node can be connected with the alternative processing node to continue to execute the service.
In one embodiment, after the management node sets the routing information for the target service node, when a routing information acquisition request of the target service node is detected, the management node sends the routing information configured for the target service node to the target service node through the address information of the target service node.
After receiving the routing information distributed by the management node, the target service node tries to connect with each processing node in the routing information to obtain a connection result between the target service node and each processing node, wherein the connection result between the target service node and each processing node is used for reflecting the connection success or connection failure between the target service node and the corresponding processing node. Further, the target service node reports the connection result between the target service node and each processing node to the management node, and after receiving the connection result between the target service node and each processing node reported by the target service node, the management node updates the routing information of the target service node according to the connection result between the target service node and each processing node.
In a specific implementation, if the management node determines that the connection result between the target service node and each processing node indicates successful connection, the management node may maintain the routing information currently configured for the target service node unchanged; if the management node determines that the connection between the target service node and each processing node is failed, the connection between the target service node and a certain processing node is failed; the management node reassigns a processing node to the target service node and replaces the processing node with the newly assigned processing node. Therefore, the successful connection between the target service node and each processing node in the routing information can be ensured to transmit the service request, the invalid routing included in the routing information is avoided, and the execution efficiency of the service request can be improved.
In the embodiment of the invention, a management node is newly added in a block chain network, and in response to a trigger event for configuring routing information for a target service node, the management node can set the routing information for the target service node according to routing configuration reference information of other nodes except the management node and the target service node in the block chain network, wherein the routing information comprises the corresponding relation between at least one group of service types and processing nodes; therefore, when the target service node receives the service request, the service requests of different service types can be sent to the corresponding processing nodes for processing according to the routing information. The management node can manage all nodes in the block chain network, and when routing information is configured for each service node, invalid nodes are removed, so that invalid routing addresses do not exist in the routing information distributed by the management node for each service node, thereby avoiding that a service request is transmitted to the invalid nodes, causing that the service request cannot be executed or the execution efficiency is low, and improving the execution efficiency of the service request.
Based on the above embodiments, the service processing method and the information processing method for the blockchain network provided in the embodiments of the present invention may be applied to a blockchain electronic invoice service, and refer to fig. 5, which is a block chain network structure diagram for an application blockchain electronic invoice service provided in an embodiment of the present invention, and a tax manager, such as a tax administration, in the blockchain network shown in fig. 5 provides a consensus node and a management node in the blockchain network, and a relay node. The service nodes may be tax offices in various places, as well as enterprise users and individual users.
The management node is provided with the address information of the consensus node and the service node; when any service node is started, the address information of the management node can be obtained in a manner of downloading or using a root Certificate of a Certificate Authority (CA) or the like, so that the routing information corresponding to the service node is obtained according to the address information of the management node, the routing information includes a plurality of processing nodes corresponding to the service node, and the processing nodes can be other service nodes, any one consensus node, relay nodes and the like; any service node attempts to connect with each processing node in the routing information.
When any service node submits the uplink service type, the processing node corresponding to the uplink service type is indicated in the routing information to be any one of the common identification nodes, namely the uplink service type submitted by the service node can be directly sent to the common identification node; when any service node submits the block chain data synchronization service type, the processing node corresponding to the block chain data synchronization service type in the routing information is selected from the consensus node or other service nodes, that is, any service node can synchronize the block chain data from other service nodes or the consensus node. For the data transmission service type submitted by any service node, the processing node corresponding to the data transmission service type indicated in the routing information is a relay node, that is, for the service of the data transmission service type, the point-to-point link between the service nodes is not directly taken, and the management node is directly taken as the relay node distributed for the service in the routing information.
In one embodiment, the relay node may be located at the tax manager headquarters for improving secure relaying and network connectivity of data, service interactions between service nodes. Therefore, the service nodes in each region can concentrate on the service without managing the traditional work of the network with other nodes. The relay node corresponding to a certain service node is issued by the management node and can be dynamically added and deleted.
In the block chain network structure shown in fig. 5, the management node is mastered by the tax manager, and the tax manager belongs to the key national department, so that multiple backups can be achieved, information of departments, organizations and enterprises can not be revealed, and not only the system security but also the privacy security are ensured. The service node SPV can only construct the routing information of the service node SPV through the management node, so that the efficient operation and the safety are ensured, meanwhile, the performance of the P2P network is fully exerted, and more network resources are utilized for partial data downloading. The relay node is mastered by the management node, the data interaction of a cross-department and exaggeration organization can be effectively monitored and controlled, the information privacy and the like can also be guaranteed, an information channel capable of creating special services can be set, and the safe execution of the special services is guaranteed.
Based on the foregoing method embodiment, an embodiment of the present invention provides a service processing apparatus for a blockchain network, and referring to fig. 6, a schematic structural diagram of the service processing apparatus for a blockchain network provided in an embodiment of the present invention is shown. The service processing apparatus shown in fig. 6 may operate as follows:
an obtaining unit 601, configured to obtain, when the target service node receives a service request, routing information configured for the target service node by the management node, where the routing information includes a correspondence between a service type and a processing node, the processing node is configured to process a service indicated by the service type, and the processing node is a node in the block chain network except for the target service node and the management node;
the obtaining unit 601 is further configured to obtain, according to a target service type to which a service indicated by the service request belongs, a target processing node corresponding to the target service type from the routing information;
a sending unit 602, configured to send the service request to the target processing node, so that the target processing node executes the service indicated by the service request.
In one embodiment, the at least one node further comprises at least one of: the system comprises at least one consensus node, at least one other service node and at least one relay node, wherein each relay node in the at least one relay node is set by the management node; the service types comprise uplink service types, data transmission service types and block chain data synchronization service types, and each service type corresponds to one processing node; the corresponding relation between the service type and the processing node comprises:
the processing node corresponding to the uplink service type is a first common node in the at least one common node; the processing node corresponding to the data transmission service type is a target relay node in the at least one relay node;
the processing node corresponding to the block chain data synchronization service type is a second consensus node in the at least one consensus node; or, the processing node corresponding to the block chain data synchronization service type is a target other service node in the at least one other service node.
In one embodiment, the blockchain network comprises a witness sub-network and a consensus sub-network, the management node and each of the at least one consensus node being located in the consensus sub-network; each of the target service node and the at least one other service node is located in the witness sub-network; any one of the at least one relay node is located in the witness or consensus sub-network.
In one embodiment, the obtaining unit 601 is configured to obtain address information of the management node when the target service node is started; and acquiring the routing information configured by the management node for the target service node from the management node according to the address information of the management node.
In one embodiment, the correspondence between the service types and the processing nodes is at least one group, the number of the processing nodes is at least one, and the routing information further includes address information of each processing node in the at least one processing node;
the service processing device further comprises a processing unit 603 and a reporting unit 604; the processing unit 603 is configured to connect with a corresponding processing node according to the address information of each processing node, so as to obtain a connection result between the target service node and each processing node; wherein, the connection result between the target service node and each processing node is used for reflecting the connection success or connection failure between the target service node and the corresponding processing node;
the reporting unit 604 is configured to report the connection result between the target service node and each processing node to the management node, so that the management node updates the routing information allocated to the target service node according to the connection result between the target service node and each processing node.
According to an embodiment of the present invention, the steps involved in the service processing method shown in fig. 3 may be performed by the units in the service processing apparatus shown in fig. 6. For example, step S301 and step S302 described in fig. 3 may be performed by the acquisition unit 601 in the service processing apparatus shown in fig. 6, and step S303 may be performed by the transmission unit 602 in the service processing apparatus shown in fig. 6.
According to another embodiment of the present invention, the units in the service processing apparatus shown in fig. 6 may be respectively or entirely combined into one or several other units to form the service processing apparatus, or some unit(s) therein may be further split into multiple units with smaller functions to form the service processing apparatus, which may implement the same operation without affecting implementation of technical effects of embodiments of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the service-based processing device may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present invention, the business processing apparatus as shown in fig. 6 can be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 3 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and a business processing method according to an embodiment of the present invention can be implemented. The computer program may be embodied on a computer-readable storage medium, for example, and loaded into and executed by the above-described computing apparatus via the computer-readable storage medium.
In the embodiment of the invention, a management node is newly added in a block chain network, the management node can configure routing information for a target service node, when the target service node receives a service request, the routing information configured for the target service node by the management node is obtained, and the routing information comprises the corresponding relation between at least one group of service types and processing nodes; the target service node acquires a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs; further, the service request is sent to the target processing node, so that the target processing node executes the service indicated by the service request. It can be seen that the routing information of the service nodes in the blockchain network is distributed by the management node, but not set by the management node, the management node can manage all the nodes in the blockchain network, and when the routing information is configured for each service node, the invalid node is removed, so that an invalid routing address does not exist in the routing information distributed by the management node for each service node, thereby avoiding that the service request is transmitted to the invalid node, which causes that the service request cannot be executed or the execution efficiency is low, and improving the execution efficiency of the service request.
Based on the above method embodiment, the embodiment of the present invention further provides an information processing apparatus for a block chain network. Fig. 7 is a schematic structural diagram of an information processing apparatus of a blockchain network according to an embodiment of the present invention. The information processing apparatus shown in fig. 7 may operate as follows:
an obtaining unit 701, configured to obtain, in response to a trigger event for configuring a route for the target service node, route configuration reference information corresponding to other nodes in the block chain network, where the other nodes are nodes other than the management node and the target service node in the at least one node;
a processing unit 702, configured to determine, according to the route configuration reference information corresponding to the other node, a processing node corresponding to any service type from the other node, where the processing node is configured to process a service indicated by the any service type, and the any service type is a service type supported by the target service node;
the processing unit 702 is further configured to generate routing information corresponding to the target service node based on a corresponding relationship between the any service type and the processing node.
In one embodiment, the number of the other nodes is at least one, and the routing configuration reference information includes any one or more of the following: distance information between each other node of at least one other node and the target service node, service processing information of each other node, and service execution security information of each other node; the service processing information of each other node includes any one or more of the service types supported by the corresponding other nodes and the service load conditions.
In one embodiment, the at least one other node includes any one of at least one consensus node, at least one other service node, and at least one relay node, the at least one relay node being set by the management node; the service types supported by the target service node include any one or more of an uplink service type, a data transmission service type and a block chain data synchronization service type.
In one embodiment, the number of the service types supported by the target service node is at least one, each service type corresponds to one processing node, and the number of the processing nodes is at least one; the information processing apparatus further includes a receiving unit 703:
the receiving unit 703 is configured to receive a connection result between the target service node and each processing node, where the connection result between the target service node and each processing node is obtained by connecting the target service node and the corresponding processing node according to the address information of each processing node; the connection result of the target service node and each processing node is used for the connection success or connection failure between the target service node and the corresponding processing node; the processing unit 702 is further configured to update the routing information configured for the target service node according to the connection result.
In one embodiment, the routing configuration reference information includes distance information between each other node and the target service node, service processing information of each other node, and the security information, and when determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes, the processing unit 702 performs the following steps:
setting a distance information weight value, a service processing information weight value and a service execution safety weight value corresponding to any service type according to an execution requirement required when any service type supported by the target service node is executed, wherein the sum of the distance information weight value, the service processing information weight value and the service execution safety weight value is equal to 1;
multiplying the distance information between each other node and the target service node by the distance information weight value to obtain a distance score of each other node, multiplying the service processing information of each other node by the service processing information weight value to obtain a service processing score of each other node, and multiplying the service execution security information of each other node by the service execution security weight value to obtain a service execution security score of each other node;
adding the distance score, the service processing score and the service execution safety score of any other node to obtain a reference score of the any other node as a processing node corresponding to the any service type;
and selecting the other node with the largest reference score from the at least one other node as the processing node corresponding to any service type.
According to an embodiment of the present invention, the steps involved in the information processing method shown in fig. 4 may be performed by the units in the information processing apparatus shown in fig. 7. For example, step S401 described in fig. 4 may be executed by the acquisition unit 701 in the information processing apparatus shown in fig. 7, and step S402 and step S403 may be executed by the processing unit 702 in the information processing apparatus shown in fig. 7.
According to another embodiment of the present invention, the units in the information processing apparatus shown in fig. 7 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) may be further split into multiple units with smaller functions to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the information processing apparatus may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present invention, an information processing apparatus as shown in fig. 7 can be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method shown in fig. 4 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and an information processing method according to an embodiment of the present invention can be realized. The computer program may be embodied on a computer-readable storage medium, for example, and loaded into and executed by the above-described computing apparatus via the computer-readable storage medium.
In the embodiment of the invention, a management node is newly added in a block chain network, and in response to a trigger event for configuring routing information for a target service node, the management node can set the routing information for the target service node according to routing configuration reference information of other nodes except the management node and the target service node in the block chain network, wherein the routing information comprises the corresponding relation between at least one group of service types and processing nodes; therefore, when the target service node receives the service request, the service requests of different service types can be sent to the corresponding processing nodes for processing according to the routing information. The management node can manage all nodes in the block chain network, and when routing information is configured for each service node, invalid nodes are removed, so that invalid routing addresses do not exist in the routing information distributed by the management node for each service node, thereby avoiding that a service request is transmitted to the invalid nodes, causing that the service request cannot be executed or the execution efficiency is low, and improving the execution efficiency of the service request.
Based on the above method embodiment and apparatus embodiment, an embodiment of the present invention further provides a node device, where the node device may refer to the target service node or the management node. Fig. 8 is a schematic structural diagram of a node device according to an embodiment of the present invention. The node device shown in fig. 8 may include at least a processor 801, an input interface 802, an output interface 803, and a computer storage medium 804. The processor 801, the input interface 802, the output interface 803, and the computer storage medium 804 may be connected by a bus or other means.
A computer storage medium 804 may be stored in the memory of the node device, the computer storage medium 801 for storing a computer program comprising a program computer program, the processor 801 for executing the program computer program stored by the computer storage medium 804. The processor 801 (or CPU) is a computing core and a control core of the node device, and is adapted to implement one or more computer programs, and specifically adapted to load and execute:
when the target service node receives a service request, acquiring routing information configured for the target service node by the management node, wherein the routing information comprises a corresponding relation between a service type and a processing node, the processing node is used for processing the service indicated by the service type, and the processing node is a node in the block chain network except the target service node and the management node; acquiring a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs; and sending the service request to the target processing node so as to enable the target processing node to execute the service indicated by the service request.
In other embodiments, the processor 801 (or CPU) is a computing core and a control core of a node device, which is adapted to implement one or more computer programs, and is specifically adapted to load and execute:
responding to a trigger event for configuring a route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network, wherein the other nodes are nodes except the management node and the target service node in the at least one node; determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes, wherein the processing node is used for processing the service indicated by the any service type, and the any service type is the service type supported by the target service node; and generating routing information corresponding to the target service node based on the corresponding relation between any service type and the processing node.
An embodiment of the present invention further provides a computer storage medium (Memory), which is a Memory device in the node device and is used to store programs and data. It is understood that the computer storage medium herein may include both a built-in storage medium of the node device and, of course, an extended storage medium supported by the node device. The computer storage medium provides a storage space that stores an operating system of the node device. Also stored in this memory space are one or more computer programs, which may be one or more computer programs (including program code), suitable for loading and execution by the processor 801. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, the computer storage medium may be loaded by processor 801 and executed with one or more computer programs stored in the computer storage medium to implement the corresponding steps of the traffic processing method described above with respect to the blockchain network shown in fig. 3. In particular implementations, one or more computer programs in a computer storage medium are loaded by the processor 801 and perform the following:
when the target service node receives a service request, acquiring routing information configured for the target service node by the management node, wherein the routing information comprises a corresponding relation between a service type and a processing node, the processing node is used for processing the service indicated by the service type, and the processing node is a node in the block chain network except the target service node and the management node; acquiring a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs; and sending the service request to the target processing node so as to enable the target processing node to execute the service indicated by the service request.
In one embodiment, the at least one node further comprises at least one of: the system comprises at least one consensus node, at least one other service node and at least one relay node, wherein each relay node in the at least one relay node is set by the management node; the service types comprise uplink service types, data transmission service types and block chain data synchronization service types, and each service type corresponds to one processing node; the corresponding relationship between the service type and the processing node comprises:
the processing node corresponding to the uplink service type is a first common node in the at least one common node; the processing node corresponding to the data transmission service type is a target relay node in the at least one relay node; the processing node corresponding to the block chain data synchronization service type is a second consensus node in the at least one consensus node; or, the processing node corresponding to the block chain data synchronization service type is a target other service node in the at least one other service node.
In one embodiment, the blockchain network comprises a witness sub-network and a consensus sub-network, the management node and each of the at least one consensus node being located in the consensus sub-network; each of the target service node and the at least one other service node is located in the witness sub-network; any one of the at least one relay node is located in the witness or consensus sub-network.
In one embodiment, the processor 801 is further configured to perform: when the target service node is started, acquiring the address information of the management node; and acquiring the routing information configured by the management node for the target service node from the management node according to the address information of the management node.
In one embodiment, the correspondence between the service types and the processing nodes is at least one group, the number of the processing nodes is at least one, the routing information further includes address information of each processing node in the at least one processing node, and the processor 801 is further configured to: connecting with the corresponding processing node according to the address information of each processing node to obtain the connection result of the target service node and each processing node; the connection result of the target service node and each processing node is used for reflecting success of connection or failure of connection between the target service node and the corresponding processing node; and reporting the connection result of the target service node and each processing node to the management node, so that the management node updates the routing information distributed to the target service node according to the connection result of the target service node and each processing node.
In the embodiment of the invention, a management node is newly added in a block chain network, the management node can configure routing information for a target service node, when the target service node receives a service request, the routing information configured for the target service node by the management node is obtained, and the routing information comprises the corresponding relation between at least one group of service types and processing nodes; the target service node acquires a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs; further, the service request is sent to the target processing node, so that the target processing node executes the service indicated by the service request. It can be seen that the routing information of the service nodes in the blockchain network is distributed by the management node, but not set by the management node, the management node can manage all the nodes in the blockchain network, and when the routing information is configured for each service node, the invalid node is removed, so that an invalid routing address does not exist in the routing information distributed by the management node for each service node, thereby avoiding that the service request is transmitted to the invalid node, which causes that the service request cannot be executed or the execution efficiency is low, and improving the execution efficiency of the service request.
In other embodiments, the computer storage medium may be loaded by processor 801 and execute one or more computer programs stored in the computer storage medium to perform the corresponding steps of the information processing method described above with respect to the blockchain network shown in fig. 4. In particular implementations, one or more computer programs in a computer storage medium are loaded by the processor 801 and perform the following:
responding to a trigger event for configuring a route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network, wherein the other nodes are nodes except the management node and the target service node in the at least one node; determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes, wherein the processing node is used for processing the service indicated by the any service type, and the any service type is the service type supported by the target service node; and generating routing information corresponding to the target service node based on the corresponding relation between any service type and the processing node.
In one embodiment, the number of the other nodes is at least one, and the routing configuration reference information includes any one or more of the following: distance information between each other node of at least one other node and the target service node, service processing information of each other node, and service execution security information of each other node; the service processing information of each other node includes any one or more of the service types supported by the corresponding other nodes and the service load conditions.
In one embodiment, the at least one other node includes any one of at least one consensus node, at least one other service node, and at least one relay node, the at least one relay node being set by the management node; the service types supported by the target service node include any one or more of an uplink service type, a data transmission service type and a block chain data synchronization service type.
In an embodiment, the number of the service types supported by the target service node is at least one, each service type corresponds to one processing node, and the number of the processing nodes is at least one, the processor 801 is further configured to receive a connection result between the target service node and each processing node, which is reported by the target service node, where the connection result between the target service node and each processing node is obtained by connecting the target service node and the corresponding processing node according to address information of each processing node; the connection result of the target service node and each processing node is used for reflecting the connection success or connection failure between the target service node and the corresponding processing node; and updating the routing information configured for the target service node according to the connection result.
In one embodiment, the routing configuration reference information includes distance information between each other node and the target service node, service processing information of each other node, and the security information, and when determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes, the processor 801 performs the following steps:
setting a distance information weight value, a service processing information weight value and a service execution safety weight value corresponding to any service type according to an execution requirement required when any service type supported by the target service node is executed, wherein the sum of the distance information weight value, the service processing information weight value and the service execution safety weight value is equal to 1;
multiplying the distance information between each other node and the target service node by the distance information weight value to obtain a distance score of each other node, multiplying the service processing information of each other node by the service processing information weight value to obtain a service processing score of each other node, and multiplying the service execution security information of each other node by the service execution security weight value to obtain a service execution security score of each other node;
adding the distance score, the service processing score and the service execution safety score of any other node to obtain a reference score of the any other node as a processing node corresponding to the any service type; and selecting the other node with the largest reference score from the at least one other node as the processing node corresponding to any service type.
In the embodiment of the invention, a management node is newly added in a block chain network, and in response to a trigger event for configuring routing information for a target service node, the management node can set the routing information for the target service node according to routing configuration reference information of other nodes except the management node and the target service node in the block chain network, wherein the routing information comprises the corresponding relation between at least one group of service types and processing nodes; therefore, when the target service node receives the service request, the service requests of different service types can be sent to the corresponding processing nodes for processing according to the routing information. The management node can manage all nodes in the block chain network, and when routing information is configured for each service node, invalid nodes are removed, so that invalid routing addresses do not exist in the routing information distributed by the management node for each service node, thereby avoiding that a service request is transmitted to the invalid nodes, causing that the service request cannot be executed or the execution efficiency is low, and improving the execution efficiency of the service request.
According to an aspect of the present application, an embodiment of the present invention also provides a computer program product or a computer program, the computer program product comprising a computer program, the computer program being stored in a computer readable storage medium. The processor 801 reads the computer program from the computer-readable storage medium, and the processor 801 executes the computer program, so that the node device executes the traffic processing method of the blockchain network described in fig. 3, specifically:
when the target service node receives a service request, acquiring routing information configured for the target service node by the management node, wherein the routing information comprises a corresponding relation between a service type and a processing node, the processing node is used for processing the service indicated by the service type, and the processing node is a node in the block chain network except the target service node and the management node; acquiring a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs; and sending the service request to the target processing node so as to enable the target processing node to execute the service indicated by the service request.
In other embodiments, the processor 801 reads the computer program from a computer-readable storage medium, and the processor 801 executes the computer program, so that the node apparatus executes the information processing method of the blockchain network described in fig. 4, specifically:
responding to a trigger event for configuring a route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network, wherein the other nodes are nodes except the management node and the target service node in the at least one node; and configuring routing information for the target service node according to the routing configuration reference information corresponding to the other nodes, wherein the routing information comprises the corresponding relation between at least one group of service types and processing nodes, the processing node corresponding to any service type is used for processing the service indicated by any service type, and the processing nodes are the nodes included by the other nodes. Responding to a trigger event for configuring a route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network, wherein the other nodes are nodes except the management node and the target service node in the at least one node; determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes, wherein the processing node is used for processing the service indicated by the any service type, and the any service type is the service type supported by the target service node; and generating routing information corresponding to the target service node based on the corresponding relation between any service type and the processing node.

Claims (14)

1. A service processing method of a block chain network is characterized in that the block chain network comprises at least one node, and the at least one node comprises a management node and a target service node; the method comprises the following steps:
when the target service node receives a service request, acquiring routing information configured for the target service node by the management node, wherein the routing information comprises a corresponding relation between a service type and a processing node, the processing node is used for processing the service indicated by the service type, and the processing node is a node in the block chain network except the target service node and the management node;
acquiring a target processing node corresponding to the target service type from the routing information according to the target service type to which the service indicated by the service request belongs;
and sending the service request to the target processing node so as to enable the target processing node to execute the service indicated by the service request.
2. The method of claim 1, wherein the at least one node further comprises at least one of: the system comprises at least one consensus node, at least one other service node and at least one relay node, wherein each relay node in the at least one relay node is set by the management node; the service types comprise uplink service types, data transmission service types and block chain data synchronization service types, and each service type corresponds to one processing node;
the corresponding relationship between the service type and the processing node comprises:
the processing node corresponding to the uplink service type is a first common node in the at least one common node; the processing node corresponding to the data transmission service type is a target relay node in the at least one relay node;
the processing node corresponding to the block chain data synchronization service type is a second consensus node in the at least one consensus node; or, the processing node corresponding to the block chain data synchronization service type is a target other service node in the at least one other service node.
3. The method of claim 2, wherein the blockchain network includes an witness sub-network and a consensus sub-network, the management node and each of the at least one consensus node being located in the consensus sub-network; each of the target service node and the at least one other service node is located in the witness sub-network; any one of the at least one relay node is located in the witness sub-network or the consensus sub-network.
4. The method of claim 1, wherein the method further comprises:
when the target service node is started, acquiring the address information of the management node;
and acquiring the routing information configured by the management node for the target service node from the management node according to the address information of the management node.
5. The method of claim 2, wherein the correspondence between the service types and the processing nodes is at least one group, the number of the processing nodes is at least one, the routing information further includes address information of each processing node of the at least one processing node, and the method further includes:
connecting with the corresponding processing node according to the address information of each processing node to obtain the connection result of the target service node and each processing node; the connection result of the target service node and each processing node is used for reflecting success of connection or failure of connection between the target service node and the corresponding processing node;
and reporting the connection result of the target service node and each processing node to the management node, so that the management node updates the routing information distributed to the target service node according to the connection result of the target service node and each processing node.
6. An information processing method of a blockchain network, the blockchain network including at least one node including a management node and a target service node, the method being performed by the management node, the method comprising:
responding to a trigger event for configuring a route for the target service node, and acquiring route configuration reference information corresponding to other nodes in the block chain network, wherein the other nodes are nodes except the management node and the target service node in the at least one node;
determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes, wherein the processing node is used for processing the service indicated by the any service type, and the any service type is the service type supported by the target service node;
and generating routing information corresponding to the target service node based on the corresponding relation between any service type and the processing node.
7. The method of claim 6, wherein the number of the other nodes is at least one, and the routing configuration reference information includes any one or more of: distance information between each other node of at least one other node and the target service node, service processing information of each other node, and service execution security information of each other node; the service processing information of each other node includes any one or more of the service types supported by the corresponding other nodes and the service load conditions.
8. The method of claim 7, wherein the at least one other node comprises any one of at least one consensus node, at least one other service node, and at least one relay node, the at least one relay node being set by the management node; the service types supported by the target service node include any one or more of an uplink service type, a data transmission service type and a block chain data synchronization service type.
9. The method of claim 8, wherein the number of service types supported by the target service node is at least one, each service type corresponds to a processing node, and the number of processing nodes is at least one, the method further comprising:
receiving a connection result of the target service node and each processing node reported by the target service node, wherein the connection result of the target service node and each processing node is obtained by connecting the target service node with the corresponding processing node according to the address information of each processing node; the connection result of the target service node and each processing node is used for reflecting the connection success or connection failure between the target service node and the corresponding processing node;
and updating the routing information configured for the target service node according to the connection result.
10. The method according to claim 7, wherein the routing configuration reference information includes distance information between each other node and the target service node, service processing information of each other node, and the security information, and the determining a processing node corresponding to any service type from the other nodes according to the routing configuration reference information corresponding to the other nodes includes:
setting a distance information weight value, a service processing information weight value and a service execution safety weight value corresponding to any service type according to an execution requirement required when the service type is executed, wherein the sum of the distance information weight value, the service processing information weight value and the service execution safety weight value is equal to 1;
multiplying the distance information between each other node and the target service node by the distance information weight value to obtain a distance score of each other node, multiplying the service processing information of each other node by the service processing information weight value to obtain a service processing score of each other node, and multiplying the service execution security information of each other node by the service execution security weight value to obtain a service execution security score of each other node;
adding the distance score, the service processing score and the service execution safety score of any other node to obtain a reference score of the any other node as a processing node corresponding to the any service type;
and selecting the other node with the largest reference score from the at least one other node as the processing node corresponding to any service type.
11. A traffic processing apparatus of a blockchain network, wherein the blockchain network comprises at least one node, and the at least one node comprises a management node and a target traffic node: the device comprises:
an obtaining unit, configured to obtain, when the target service node receives a service request, routing information configured for the target service node by the management node, where the routing information includes a correspondence between a service type and a processing node, the processing node is configured to process a service indicated by the service type, and the processing node is a node in the block chain network except for the target service node and the management node;
the obtaining unit is further configured to obtain, according to a target service type to which a service indicated by the service request belongs, a target processing node corresponding to the target service type from the routing information;
a sending unit, configured to send the service request to the target processing node, so that the target processing node executes a service indicated by the service request.
12. An information processing apparatus of a blockchain network, the blockchain network including at least one node including a management node and a target service node, the apparatus comprising:
an obtaining unit, configured to obtain, in response to a trigger event for configuring a route for the target service node, route configuration reference information corresponding to other nodes in the block chain network, where the other nodes are nodes other than the management node and the target service node in the at least one node;
a processing unit, configured to determine a processing node from the other nodes according to the routing configuration reference information corresponding to the other nodes, where the processing node is configured to process a service indicated by any service type supported by the target service node;
the processing unit is further configured to establish a corresponding relationship between the any service type and the processing node, and generate routing information corresponding to the target service node based on the corresponding relationship between the any service type and the processing node.
13. A node apparatus, comprising:
the processor is adapted to implement one or more computer programs; and
a computer storage medium storing one or more computer programs adapted to be loaded by the processor and to perform the business process method of any one of claims 1-5; alternatively, the one or more computer programs are adapted to be loaded by the processor and to perform the information processing method according to any of claims 6-10.
14. A computer storage medium, in which a computer program is stored, which, when executed by a processor, performs a business process method according to any one of claims 1 to 5; alternatively, the computer program, when executed by a processor, performs the information processing method according to any one of claims 6 to 10.
CN202011401133.1A 2020-12-04 2020-12-04 Service processing method, information processing method and node equipment of block chain network Active CN112200681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011401133.1A CN112200681B (en) 2020-12-04 2020-12-04 Service processing method, information processing method and node equipment of block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011401133.1A CN112200681B (en) 2020-12-04 2020-12-04 Service processing method, information processing method and node equipment of block chain network

Publications (2)

Publication Number Publication Date
CN112200681A true CN112200681A (en) 2021-01-08
CN112200681B CN112200681B (en) 2021-05-28

Family

ID=74033764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011401133.1A Active CN112200681B (en) 2020-12-04 2020-12-04 Service processing method, information processing method and node equipment of block chain network

Country Status (1)

Country Link
CN (1) CN112200681B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988852A (en) * 2021-05-11 2021-06-18 腾讯科技(深圳)有限公司 Block chain-based data management method, device and medium
CN113364693A (en) * 2021-08-11 2021-09-07 国网电子商务有限公司 Block chain data distribution method and system based on type attribute information
CN114363357A (en) * 2021-12-28 2022-04-15 山东浪潮科学研究院有限公司 Distributed database network connection management method based on Gossip
CN115065714A (en) * 2022-03-31 2022-09-16 广东德生科技股份有限公司 Management method and device for social security service terminal, electronic equipment and storage medium
CN115811498A (en) * 2023-02-06 2023-03-17 北京微芯区块链与边缘计算研究院 Node routing method, device, equipment and storage medium of alliance chain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301233A (en) * 2014-10-31 2015-01-21 易准科技发展(上海)有限公司 Route access method, route access system and user terminal
CN108259594A (en) * 2018-01-11 2018-07-06 杭州秘猿科技有限公司 A kind of data interaction system and Relay Server based on block chain
CN109446273A (en) * 2018-12-04 2019-03-08 深圳前海环融联易信息科技服务有限公司 Method of data synchronization, device, computer equipment and the storage medium of block chain
CN109462505A (en) * 2018-11-12 2019-03-12 上海点融信息科技有限责任公司 Realize the method and apparatus across chain communication between multiple block chain networks
CN109523385A (en) * 2018-12-07 2019-03-26 深圳市智税链科技有限公司 Method, accounting nodes and the medium of Transaction Information are inquired in block chain network
CN110245517A (en) * 2019-05-29 2019-09-17 杭州秘猿科技有限公司 A kind of across chain method, apparatus, system and the electronic equipment of block chain
CN111885133A (en) * 2020-07-10 2020-11-03 深圳力维智联技术有限公司 Data processing method and device based on block chain and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301233A (en) * 2014-10-31 2015-01-21 易准科技发展(上海)有限公司 Route access method, route access system and user terminal
CN108259594A (en) * 2018-01-11 2018-07-06 杭州秘猿科技有限公司 A kind of data interaction system and Relay Server based on block chain
CN109462505A (en) * 2018-11-12 2019-03-12 上海点融信息科技有限责任公司 Realize the method and apparatus across chain communication between multiple block chain networks
CN109446273A (en) * 2018-12-04 2019-03-08 深圳前海环融联易信息科技服务有限公司 Method of data synchronization, device, computer equipment and the storage medium of block chain
CN109523385A (en) * 2018-12-07 2019-03-26 深圳市智税链科技有限公司 Method, accounting nodes and the medium of Transaction Information are inquired in block chain network
CN110245517A (en) * 2019-05-29 2019-09-17 杭州秘猿科技有限公司 A kind of across chain method, apparatus, system and the electronic equipment of block chain
CN111885133A (en) * 2020-07-10 2020-11-03 深圳力维智联技术有限公司 Data processing method and device based on block chain and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
熊健,刘乔编著: "《区块链技术原理及应用》", 31 December 2018 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988852A (en) * 2021-05-11 2021-06-18 腾讯科技(深圳)有限公司 Block chain-based data management method, device and medium
CN112988852B (en) * 2021-05-11 2021-08-03 腾讯科技(深圳)有限公司 Block chain-based data management method, device and medium
CN113364693A (en) * 2021-08-11 2021-09-07 国网电子商务有限公司 Block chain data distribution method and system based on type attribute information
CN114363357A (en) * 2021-12-28 2022-04-15 山东浪潮科学研究院有限公司 Distributed database network connection management method based on Gossip
CN114363357B (en) * 2021-12-28 2024-01-19 上海沄熹科技有限公司 Distributed database network connection management method based on Gossip
CN115065714A (en) * 2022-03-31 2022-09-16 广东德生科技股份有限公司 Management method and device for social security service terminal, electronic equipment and storage medium
CN115065714B (en) * 2022-03-31 2024-07-02 广东德生科技股份有限公司 Method and device for managing social security service terminal, electronic equipment and storage medium
CN115811498A (en) * 2023-02-06 2023-03-17 北京微芯区块链与边缘计算研究院 Node routing method, device, equipment and storage medium of alliance chain

Also Published As

Publication number Publication date
CN112200681B (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN112737916B (en) Data processing method based on block chain network and related device
CN112200681B (en) Service processing method, information processing method and node equipment of block chain network
CN108616596B (en) Block chain self-adaptive consensus method based on dynamic authorization and network environment perception
Mao et al. Perigee: Efficient peer-to-peer network design for blockchains
US11018980B2 (en) Data-interoperability-oriented trusted processing method and system
CN112417001B (en) Data processing method based on block chain network and related equipment
WO2018112805A1 (en) Blockchain storage method and device, and node device
CN112995211B (en) Data processing method, device and equipment based on block chain network and storage medium
KR102377841B1 (en) Method and apparatus for performing hierarchically agreement based on service zone
CN112187866B (en) Novel block chain consensus method based on shared storage
CN111338806B (en) Service control method and device
CN111800758A (en) Unmanned aerial vehicle swarm layered consensus method based on block chain
CN111798234B (en) Lightweight block chain system and construction method
CN115633035B (en) Improved PBFT (physical layer transmission) based block chain consensus algorithm for Internet of things
CN112988903B (en) Data processing method, device and equipment based on block chain network and storage medium
CN110956463B (en) Credible certificate storing method and system based on extensible distributed query system
Vu et al. An efficient peer-to-peer bitcoin protocol with probabilistic flooding
Fu et al. Resource allocation for blockchain-enabled distributed network function virtualization (NFV) with mobile edge cloud (MEC)
CN112003943A (en) Voice data synchronization method and device
CN111800516B (en) Internet of things equipment management method and device based on P2P
CN111491020B (en) Data processing method, data processing device, computer equipment and storage medium
US20230353394A1 (en) Cross-blockchain transaction processing method and apparatus, computer device, computer storage medium, and computer program product
CN107612980B (en) Adjustable and reliable consistency maintenance method in structured P2P network
Li et al. EdgeDis: Enabling Fast, Economical, and Reliable Data Dissemination for Mobile Edge Computing
Ayari et al. Partac: A partition-tolerant atomic commit protocol for manets

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40038165

Country of ref document: HK