CN110677462A - Access processing method, system, device and storage medium for multi-block chain network - Google Patents

Access processing method, system, device and storage medium for multi-block chain network Download PDF

Info

Publication number
CN110677462A
CN110677462A CN201910850219.3A CN201910850219A CN110677462A CN 110677462 A CN110677462 A CN 110677462A CN 201910850219 A CN201910850219 A CN 201910850219A CN 110677462 A CN110677462 A CN 110677462A
Authority
CN
China
Prior art keywords
block chain
node
chain network
network
data
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
CN201910850219.3A
Other languages
Chinese (zh)
Other versions
CN110677462B (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.)
Shanghai Gongchain Information Technology Co Ltd
Original Assignee
Shanghai Gongchain Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Gongchain Information Technology Co Ltd filed Critical Shanghai Gongchain Information Technology Co Ltd
Priority to CN201910850219.3A priority Critical patent/CN110677462B/en
Publication of CN110677462A publication Critical patent/CN110677462A/en
Application granted granted Critical
Publication of CN110677462B publication Critical patent/CN110677462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention provides an access processing method of a multi-block chain network, which is applied to the technical field of access processing of the multi-block chain network and comprises the steps of receiving a message request sent by a data request end, wherein the message request comprises a block chain network identifier; acquiring a target block chain network corresponding to a block chain network identifier contained in the message request according to a pre-stored corresponding relation between the target block chain network and the network identifier; acquiring the latest data node in the target block chain network; forwarding the message request to the latest data node; and receiving response data fed back by the latest data node and feeding back the response data to the data request terminal. And an access processing system, apparatus and storage medium for a multi-blockchain network are provided. By applying the embodiment of the invention, the problem that a plurality of block chain networks cannot be uniformly accessed in the prior art is solved.

Description

Access processing method, system, device and storage medium for multi-block chain network
Technical Field
The present invention relates to the field of access processing technologies for a multi-partition chain, and in particular, to an access processing method, system, apparatus, and storage medium for a multi-partition chain network.
Background
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm, and is widely applied to many fields such as security trading, electronic commerce, intelligent contracts, internet of things, social communication and file storage.
The multi-block chain network refers to a block chain node cluster which is built by using the same underlying block chain platform and belongs to different networks, such as an Etherhouse main network, an Etherhouse Ropsten test network and an Etherhouse Rinkeby test network, and the multi-block chain network can be called as a multi-block chain network.
In the block chain practical application, each field may construct a block chain network for different service scenarios, even in the same service scenario, it is possible to construct a group of block chain networks working together to complete complex service logic, and the application program needs to interact with these parallel multi-block chain networks to complete complex services. At present, a method for uniformly accessing a multi-block chain network does not exist, an application program needs to automatically manage a plurality of block chain network nodes, the operation is complex, the system efficiency is low, and the development cost is high.
Disclosure of Invention
The present invention is directed to overcome the defects of the prior art, and provides a method, a system, an apparatus, and a storage medium for processing access to a multi-blockchain network, so as to solve the problem in the prior art that a plurality of blockchain networks cannot be accessed uniformly, and achieve simultaneous access to data of the plurality of blockchain networks.
The invention is realized by the following steps:
the invention provides an access processing method of a multi-block chain network, which comprises the following steps:
receiving a message request sent by a data request end, wherein the message request comprises a block chain network identifier;
acquiring a target block chain network corresponding to a block chain network identifier contained in the message request according to a pre-stored corresponding relation between the target block chain network and the network identifier;
acquiring the latest data node in the target block chain network;
forwarding the message request to the latest data node;
and receiving response data fed back by the latest data node and feeding back the response data to the data request terminal.
Further, the method further comprises:
reading parameter information in each block chain network from a target file according to a preset period, wherein the parameter information comprises node information of the block chain network, a block chain network identifier and a latest data node;
and updating each block chain network according to the parameter information.
Further, the step of determining the latest data node comprises:
acquiring the block height of each node in each block chain network;
calculating a node with the largest block height;
the node is determined to be the most recent data node of the blockchain network.
Further, the step of forwarding the message request to the latest data node comprises:
packaging the message request into a message format identified by a bottom layer block chain;
forwarding the encapsulated message request to the latest data node;
the step of receiving the response data fed back by the latest data node and feeding back the response data to the data request terminal includes:
receiving response data fed back by the latest data node;
analyzing the response data;
and feeding back the analyzed response data to the data request terminal.
Further, the method further comprises:
reading configuration information of a plurality of blockchain networks, wherein the configuration information comprises a blockchain network identifier of each blockchain network and a URL list of a blockchain node cluster in each blockchain network;
according to the read configuration information, when judging that a block chain network with newly added nodes or node information change exists, acquiring the block height of each node in the block chain network;
based on the obtained block height, the latest data node of the block chain network is determined.
Further, the method further comprises:
reading configuration information of a plurality of block chain networks according to a preset period;
comparing the first configuration information read in the period with the second configuration information read in the previous period;
acquiring block chain network information of data change;
determining a block chain network of data change, and traversing all the block chain networks of data change;
if the block chain network is deleted, deleting the corresponding block chain network information;
if the network is a newly added or node information changed blockchain network, saving the newly added or node information changed blockchain network information;
and calculating the latest node information of the block chain network which is newly added or changed by the node information to determine whether to update the latest data node of the block chain network.
Further, the method further comprises:
receiving an update request and storing the update request to a message queue, wherein the update request is a change request of a latest data node corresponding to a block chain network;
judging whether the message queue has unprocessed messages or not;
if yes, obtaining an updating request from the message queue according to a first-in first-out rule;
analyzing the network identifier of the block chain and the node list information from the updating request;
traversing all nodes of the current block chain network, and acquiring the block height of the current node;
and at the end of traversing, calculating the node with the maximum block height in all the nodes, and re-determining the latest data node.
In addition, the invention also discloses an access processing system of the multi-block chain network, which is characterized by comprising the following components:
the application interface module is used for receiving a message request sent by a data request end, wherein the message request comprises a block chain network identifier; acquiring a target block chain network corresponding to a block chain network identifier contained in the message request according to a pre-stored corresponding relation between the target block chain network and the network identifier; acquiring the latest data node in the target block chain network; forwarding the message request to the latest data node; receiving response data fed back by the latest data node, and feeding back the response data to the data request end;
the node management module is used for reading parameter information in each block chain network from the target file according to a preset period, wherein the parameter information comprises node information of the block chain network, a block chain network identifier and a latest data node; updating each block chain network according to the parameter information
The node monitoring module is used for acquiring the block height of each node aiming at each block chain network; calculating a node with the largest block height; the node is determined to be the most recent data node of the blockchain network.
In addition, the invention also discloses an access processing device of the multi-block chain network, which comprises a processor and a memory connected with the processor through a communication bus; wherein the content of the first and second substances,
the memory is used for storing an access processing program of the multi-block chain network;
the processor is used for executing the access processing program of the multi-block chain network so as to realize the access processing step of any one multi-block chain network.
Also, a storage medium is disclosed that stores one or more programs that are executable by one or more processors to cause the one or more processors to perform any of the access processing steps of the multi-blockchain network.
The access processing method, the system, the device and the storage medium of the multi-block chain network are applied, each block chain network is provided with a unique block chain network identification, when the block chain needs to be accessed, the request of an application program is distributed to the appointed block chain network according to the block chain network identification, one block chain network is provided with a plurality of nodes, and the request is sent to the node with the newest data in the appointed block chain network, so that the connection with different block chain networks is realized by storing the identifications of different block chain networks, and the data request end can acquire the newest data.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating an access processing method of a multi-block chain network according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of an access processing method of a multi-block chain network according to an embodiment of the present invention;
FIG. 3 is a block diagram of an access processing device of a multi-partition blockchain network according to an embodiment of the present invention;
fig. 4 is a schematic view of an application scenario of an access processing device of a multi-blockchain network according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides an access processing method for a multi-zone block chain network, including the following steps:
s101, receiving a message request sent by a data request terminal, wherein the message request comprises a block chain network identifier.
It should be noted that an API (Application Programming Interface) is a predefined function for providing the capability of an Application and a developer to access based on certain software or hardware without understanding the details of the internal working mechanism. Furthermore, the SDK may simply provide an API for a certain programming language. Therefore, in the embodiment of the invention, the multi-block chain network is uniformly accessed based on the SDK, and the easy-to-use API is provided for the application program to uniformly access the nodes of the multi-block chain network.
In the embodiment of the present invention, as shown in fig. 2, for a specific application of the embodiment of the present invention, each blockchain network is set to have a unique blockchain network identifier. Illustratively, an application is used as a data request end for access. The execution subject of the method of the embodiment of the present invention may be an SDK software development kit, and each blockchain network is connected through the SDK, for example, the blockchain network 1, the blockchain network 2, and the block chain network N … … are connected.
Specifically, when accessing the blockchain network, the API provided by the SDK software development kit for the multi-blockchain network is called, and the API can determine the blockchain network corresponding to the blockchain network identifier according to the blockchain network identifier included in the request. In the embodiment of the present invention, the blockchain network identifier may be set as a name corresponding to the meaning of the blockchain network, so that the blockchain network can be uniquely determined by the blockchain network identifier. Illustratively, the blockchain network of blockchain network 1 is identified as qkl01 and the blockchain network of blockchain network 2 is identified as qkl 02.
And S102, acquiring the target block chain network corresponding to the block chain network identifier contained in the message request according to the pre-stored corresponding relation between the target block chain network and the network identifier.
It can be understood that, firstly, the blockchain network identifier is extracted from the message request of the application program, then, the blockchain network is determined according to the blockchain network identifier, and then, the message request is distributed to the blockchain network. Illustratively, if the blockchain network identifier in the obtained message request is qkl02, then according to the pre-stored data relationship, the network identifier qkl02 may be obtained to correspond to the blockchain network 2, and then the target blockchain network is determined to be the network identifier 2.
S103, acquiring the latest data node in the target block chain network.
It should be noted that the node refers to a computer in a block chain network, and includes a mobile phone, an ore machine, a server, and so on. A blockchain is participated in by a large number of individual or family users, each individual or family being a node of the blockchain. Moreover, a blockchain network has a plurality of nodes, and the API sends the request of the application program to the node with the latest data in the specified blockchain network so as to ensure that the application program can acquire the latest data.
Since each node stores data, and the data update time of each node is different, the node responding to the message request needs to be determined. In the embodiment of the invention, the latest data node response message request in the target block chain network is determined.
In a specific implementation of the present invention, the determining step of the latest data node includes: acquiring the block height of each node in each block chain network; calculating a node with the largest block height; the node is determined to be the most recent data node of the blockchain network.
It should be noted that in the blockchain network, the blockheight is the number of blockchains in the main chain, i.e. the number of blocks connected to the blockchain. Therefore, it is determined that a node with the largest block height in a blockchain network is the prior art, and embodiments of the present invention are not limited thereto.
It should be noted that each blockchain network has a plurality of blockchain nodes, each node can be understood as a blockchain program executed on a computer, each node has an independent account book data, and the data of each node in a blockchain network is the same at last, but at a certain time, the data of a certain node is updated, and the data of other nodes may not be completed synchronously. The account book data in the block chain is stored in a chain shape in a block form, and the block heights are gradually accumulated, so that the node with the largest block height is the latest node of the data. Data between different blockchain networks has no relation, and each node stores the latest block height in the current book.
S104, forwarding the message request to the latest data node.
Specifically, the message request is packaged into a message format identified by a bottom layer block chain through the SDK; and forwarding the encapsulated message request to the latest data node.
It will be appreciated that the message format identified by the underlying blockchain is not the same as the format of the request message sent by the application, and so conversion and encapsulation by the SDK is required to convert to a message format that the blockchain network can identify for message processing. The process of the node receiving the message request to process and respond is the prior art, and the embodiment of the present invention is not specifically limited herein.
And S105, receiving response data fed back by the latest data node, and feeding back the response data to the data request end.
In a specific implementation of the present invention, response data fed back by the latest data node is received; analyzing the response data; and feeding back the analyzed response data to the data request terminal. The data sent by the node is a message packet, the data format may be different from the format required by the application program, and the SDK is required for data conversion. In a specific implementation, the data sent by the node is more than the data required by the application program; or the data required by the application program needs the SDK to send a plurality of requests to the node, and then the requested data is merged.
In a specific implementation manner of the present invention, the execution main body of the embodiment shown in fig. 1 is an SDK, and the inside of the SDK is specifically divided into a plurality of modules so as to execute the different functions, specifically, as shown in fig. 3, the SDK software development kit includes:
and the application interface module is used for providing a uniform programming interface API for the application program to access the multi-block chain network, and the application program and each block chain network are accessed and processed through the API. The API needs to include a blockchain network identification parameter to distinguish between different blockchain networks. When the application program calls the API, the application interface module determines which block chain network to communicate with according to the block chain network identifier, packages the request of the application program into a message format identified by the underlying block chain, sends a message request to the latest data node of the specified block chain network, analyzes the data after obtaining the block chain message response, and returns the data to the application program.
In addition, the API mainly includes an SDK initialization interface, such as an add, delete, change interface corresponding to the blockchain network information, an interface for acquiring blockchain block data, transaction execution result data, and the like, an interface for acquiring account balance, an interface for adding blockchain transaction, and the like.
In the embodiment of the invention, an application program uses an SDK for uniformly accessing a multi-block chain network, the application program calls APIs of different application interface modules according to function requirements, the APIs must contain block chain network identification parameters, the application interface modules acquire the latest data node information of a specified block chain network from a node management module according to the block chain network identification, a request for packaging the application program is in a message format identified by a bottom layer block chain, the packaged request is sent to the latest data node, and response data is analyzed and returned to the application program after the response of the latest data node is acquired.
In another implementation manner of the present invention, the SDK further includes a node management module and a node monitoring module.
The node management module is used for reading parameter information in each block chain network from the target file according to a preset period, wherein the parameter information comprises node information of the block chain network, a block chain network identifier and a latest data node; and updating each block chain network according to the parameter information.
Specifically, the node management module can maintain node cluster information of any one blockchain network in the network structure, and can periodically read all blockchain network node information including a blockchain network identifier, information of a node cluster in each network, latest data node information and the like from a file or a database, and dynamically add, delete, modify and query the blockchain network information when the change occurs.
The node monitoring module is used for acquiring the block height of each node aiming at each block chain network; calculating a node with the largest block height; the node is determined to be the most recent data node of the blockchain network.
In the embodiment of the invention, the node monitoring module is set to maintain the node state information of all the block chain networks, including the information of the node online state, the node latest block and the like. The node monitoring module acquires all blockchain network information from the node management module regularly, requests the latest node blockchain height from all nodes of all blockchain networks, calculates the node with the largest block height in each blockchain network, sets the node with the largest block height as the latest data node, only has one latest data node in each blockchain network, and stores the latest data node information into the node management module.
Therefore, by applying the embodiment of the invention, the interaction between the data request end and the multi-block chain network is realized, the application interface module acquires the latest data node information of the current block chain network from the node management module according to the block chain network identification, and after acquiring the request response message from the latest data node, the response message data is analyzed and the application program data request result is returned.
In the embodiment of the invention, when a data request end accesses a multi-block chain network through an SDK, the initialization operation of the SDK is executed firstly, and the initialization process comprises the following steps:
configuring basic information of a plurality of block chain networks, then obtaining configuration information of each block chain network, and storing the configuration information into a file or a database, wherein the configuration information mainly comprises block chain network identifiers of the plurality of block chain networks and a URL list of a block chain node cluster in each network; then calling an initialization API provided by an application interface module of the SDK through an application program; and starting a node management module task and a node monitoring module task in the API.
The method comprises the steps that a node management module task reads information of a plurality of block chain networks from a file or a database regularly, and when a newly added node or a block chain network with changed node information exists in any one block chain network, a node monitoring module is informed to calculate a latest data node of the newly added block chain network; the node monitoring module task obtains information of a plurality of block chain networks from the node management module, finds out the node with the latest data in each network as the latest data node, and writes the latest data node information of each block chain network into the node management module.
The node cluster information of all the block chain networks is maintained through the node management module, and the process of processing by adopting the timing task in one execution cycle comprises the following steps:
reading a plurality of block chain network information from a configuration file or a database;
comparing the newly read block chain network information with the old data read last time;
finding the block chain network information of all data changes, wherein the block chain network without change does not need processing, and traversing all the block chain networks with data changes;
if the changed blockchain network is the deleted blockchain network, deleting the specified blockchain network information from the node management module, and waiting for the next execution period;
if the node information is the newly added or node information changed blockchain network, the slave node management module stores the newly added or node information changed blockchain network information; sending a message to a node monitoring module, and informing the node monitoring module of calculating the latest data node information of the newly added or node information changed block chain network, wherein the message comprises a block chain network identifier and node list information;
and judging whether the block chain network with the changed data is traversed or not, waiting for the next execution period when the traversal is finished, and otherwise, continuing the traversal.
The node monitoring module maintains node state information of all block chain networks, including information such as node online states and node latest blocks, and the conditions for triggering execution of the node monitoring module are two types:
(1) the node monitoring module is provided with a message queue, when the node management module needs to update the latest data node information of a certain block chain network, a request is sent to the message queue, and when the node monitoring module receives the request for calculating the latest data node sent by the node management module, the message is immediately processed;
(2) when the message queue has no request message, the node monitoring module calculates the latest data node information of all the block chain networks after a certain time interval.
The main processing flow of the node monitoring module is as follows:
judging whether the message queue has unprocessed messages or not;
if so, acquiring a message from the message queue, analyzing the network identifier of the block chain and the node list information, traversing all nodes of the current block chain network to request the latest block height from the current node, judging whether the nodes are completely traversed, if so, calculating the node with the largest block height in all the nodes to be set as the latest data node, and writing the latest data node information of the current block chain network into the node management module.
Further, whether the time of the timing execution period reaches or not can be determined, if so, the information of all the blockchain networks is obtained from the node management module, and all the blockchain network information and all the nodes of the current blockchain network are traversed; and requesting the latest block height from the current node, if the node traversal is finished, calculating the node with the largest block height in all the nodes as the latest data node, and writing the latest data node information of the current block chain network into the node management module until the block chain network traversal is finished.
In addition, as shown in fig. 4, the present invention also discloses an access processing apparatus 400 of a multi-block chain network, wherein the apparatus 400 comprises a processor 410, and a memory 420 connected to the processor 410 through a communication bus 430; wherein the content of the first and second substances,
the memory 420 is used for storing an access processing program of the multi-block chain network;
the processor 410 is configured to execute an access processing procedure of the multi-blockchain network to implement any one of the access processing steps of the multi-blockchain network.
And a storage medium storing one or more programs executable by one or more processors 410 as shown in figure 4 to cause the one or more processors 410 to perform any of the access processing steps of the multi-blockchain network is disclosed.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for handling access to a multi-blockchain network, the method comprising:
receiving a message request sent by a data request end, wherein the message request comprises a block chain network identifier;
acquiring a target block chain network corresponding to a block chain network identifier contained in the message request according to a pre-stored corresponding relation between the target block chain network and the network identifier;
acquiring the latest data node in the target block chain network;
forwarding the message request to the latest data node;
and receiving response data fed back by the latest data node and feeding back the response data to the data request terminal.
2. The method of access processing for a multi-zone blockchain network of claim 1, the method further comprising:
reading parameter information in each block chain network from a target file according to a preset period, wherein the parameter information comprises node information of the block chain network, a block chain network identifier and a latest data node;
and updating each block chain network according to the parameter information.
3. The method of access processing for a multi-zone blockchain network of claim 2, wherein the step of determining the most recent data node includes:
acquiring the block height of each node in each block chain network;
calculating a node with the largest block height;
the node is determined to be the most recent data node of the blockchain network.
4. The method of access processing for a multi-zone blockchain network of claim 1, wherein the step of forwarding the message request to the most recent data node includes:
packaging the message request into a message format identified by a bottom layer block chain;
forwarding the encapsulated message request to the latest data node;
the step of receiving the response data fed back by the latest data node and feeding back the response data to the data request terminal includes:
receiving response data fed back by the latest data node;
analyzing the response data;
and feeding back the analyzed response data to the data request terminal.
5. The method of access processing for a multi-blockchain network of claim 3, the method further comprising:
reading configuration information of a plurality of blockchain networks, wherein the configuration information comprises a blockchain network identifier of each blockchain network and a URL list of a blockchain node cluster in each blockchain network;
according to the read configuration information, when judging that a block chain network with newly added nodes or node information change exists, acquiring the block height of each node in the block chain network;
based on the obtained block height, the latest data node of the block chain network is determined.
6. The method of access processing for a multi-blockchain network of claim 5, the method further comprising:
reading configuration information of a plurality of block chain networks according to a preset period;
comparing the first configuration information read in the period with the second configuration information read in the previous period;
acquiring block chain network information of data change;
determining a block chain network of data change, and traversing all the block chain networks of data change;
if the block chain network is deleted, deleting the corresponding block chain network information;
if the network is a newly added or node information changed blockchain network, saving the newly added or node information changed blockchain network information;
and calculating the latest node information of the block chain network which is newly added or changed by the node information to determine whether to update the latest data node of the block chain network.
7. The method of access processing for a multi-zone blockchain network of claim 2, the method further comprising:
receiving an update request and storing the update request to a message queue, wherein the update request is a change request of a latest data node corresponding to a block chain network;
judging whether the message queue has unprocessed messages or not;
if yes, obtaining an updating request from the message queue according to a first-in first-out rule;
analyzing the network identifier of the block chain and the node list information from the updating request;
traversing all nodes of the current block chain network, and acquiring the block height of the current node;
and at the end of traversing, calculating the node with the maximum block height in all the nodes, and re-determining the latest data node.
8. An access processing system for a multi-blockchain network, the system comprising:
the application interface module is used for receiving a message request sent by a data request end, wherein the message request comprises a block chain network identifier; acquiring a target block chain network corresponding to a block chain network identifier contained in the message request according to a pre-stored corresponding relation between the target block chain network and the network identifier; acquiring the latest data node in the target block chain network; forwarding the message request to the latest data node; receiving response data fed back by the latest data node, and feeding back the response data to the data request end;
the node management module is used for reading parameter information in each block chain network from the target file according to a preset period, wherein the parameter information comprises node information of the block chain network, a block chain network identifier and a latest data node; updating each block chain network according to the parameter information;
the node monitoring module is used for acquiring the block height of each node aiming at each block chain network; calculating a node with the largest block height; the node is determined to be the most recent data node of the blockchain network.
9. An access processing apparatus of a multi-blockchain network, the apparatus comprising a processor and a memory connected to the processor through a communication bus; wherein the content of the first and second substances,
the memory is used for storing an access processing program of the multi-block chain network;
the processor is configured to execute an access processing procedure of the multi-blockchain network to implement the access processing steps of the multi-blockchain network according to any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium is a computer storage medium having one or more programs stored thereon, the one or more programs being executable by one or more processors to cause the one or more processors to perform the access processing steps of the multi-blockchain network according to any one of claims 1 to 7.
CN201910850219.3A 2019-09-09 2019-09-09 Access processing method, system, device and storage medium for multi-block chain network Active CN110677462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910850219.3A CN110677462B (en) 2019-09-09 2019-09-09 Access processing method, system, device and storage medium for multi-block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910850219.3A CN110677462B (en) 2019-09-09 2019-09-09 Access processing method, system, device and storage medium for multi-block chain network

Publications (2)

Publication Number Publication Date
CN110677462A true CN110677462A (en) 2020-01-10
CN110677462B CN110677462B (en) 2022-07-12

Family

ID=69077666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910850219.3A Active CN110677462B (en) 2019-09-09 2019-09-09 Access processing method, system, device and storage medium for multi-block chain network

Country Status (1)

Country Link
CN (1) CN110677462B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339130A (en) * 2020-02-25 2020-06-26 腾讯科技(深圳)有限公司 Data query method, related equipment and readable storage medium
CN113259462A (en) * 2021-06-02 2021-08-13 支付宝(杭州)信息技术有限公司 Block chain message distribution method and device
CN113657899A (en) * 2021-10-19 2021-11-16 支付宝(杭州)信息技术有限公司 Method, device and system for transferring property right
CN113676483A (en) * 2021-08-26 2021-11-19 中国联合网络通信集团有限公司 Multi-block chain access management method and system and capacity opening device thereof
CN114254365A (en) * 2021-12-26 2022-03-29 迅鳐成都科技有限公司 Block chain technology-based key value data directional sharing method, device, system and storage medium
CN115022053A (en) * 2022-06-08 2022-09-06 京东科技控股股份有限公司 Method, device and system for accessing block chain network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715001A (en) * 2013-12-12 2015-06-17 国际商业机器公司 Method and system performing wirite operation on shared resource in cluster of data processing system
CN107453896A (en) * 2017-06-27 2017-12-08 阿里巴巴集团控股有限公司 Multiple sector chain network data processing method, device and server
CN108712506A (en) * 2018-05-31 2018-10-26 中国联合网络通信集团有限公司 block chain node communication method, device and block chain node
CN108763257A (en) * 2018-04-03 2018-11-06 北京欧链科技有限公司 DAPP containers, DAPP and block chain data processing method
CN108924223A (en) * 2018-06-29 2018-11-30 北京金山安全软件有限公司 Node synchronization method and device for block chain
CN108985757A (en) * 2017-11-27 2018-12-11 北京京东金融科技控股有限公司 Information processing method, apparatus and system, storage medium, electronic equipment
US20190018862A1 (en) * 2017-07-14 2019-01-17 Alibaba Group Holding Limited Blockchain based data processing method and device
CN109347955A (en) * 2018-10-19 2019-02-15 北京奇艺世纪科技有限公司 A kind of block chain network system and information processing method
CN109634810A (en) * 2018-12-10 2019-04-16 广东亿迅科技有限公司 Block chain business platform and operation method based on Fabric

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715001A (en) * 2013-12-12 2015-06-17 国际商业机器公司 Method and system performing wirite operation on shared resource in cluster of data processing system
CN107453896A (en) * 2017-06-27 2017-12-08 阿里巴巴集团控股有限公司 Multiple sector chain network data processing method, device and server
US20190018862A1 (en) * 2017-07-14 2019-01-17 Alibaba Group Holding Limited Blockchain based data processing method and device
CN108985757A (en) * 2017-11-27 2018-12-11 北京京东金融科技控股有限公司 Information processing method, apparatus and system, storage medium, electronic equipment
CN108763257A (en) * 2018-04-03 2018-11-06 北京欧链科技有限公司 DAPP containers, DAPP and block chain data processing method
CN108712506A (en) * 2018-05-31 2018-10-26 中国联合网络通信集团有限公司 block chain node communication method, device and block chain node
CN108924223A (en) * 2018-06-29 2018-11-30 北京金山安全软件有限公司 Node synchronization method and device for block chain
CN109347955A (en) * 2018-10-19 2019-02-15 北京奇艺世纪科技有限公司 A kind of block chain network system and information processing method
CN109634810A (en) * 2018-12-10 2019-04-16 广东亿迅科技有限公司 Block chain business platform and operation method based on Fabric

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339130A (en) * 2020-02-25 2020-06-26 腾讯科技(深圳)有限公司 Data query method, related equipment and readable storage medium
CN113259462A (en) * 2021-06-02 2021-08-13 支付宝(杭州)信息技术有限公司 Block chain message distribution method and device
CN113259462B (en) * 2021-06-02 2021-10-15 支付宝(杭州)信息技术有限公司 Block chain message distribution method and device
CN113923227A (en) * 2021-06-02 2022-01-11 支付宝(杭州)信息技术有限公司 Block chain message distribution method and device
CN113676483A (en) * 2021-08-26 2021-11-19 中国联合网络通信集团有限公司 Multi-block chain access management method and system and capacity opening device thereof
CN113657899A (en) * 2021-10-19 2021-11-16 支付宝(杭州)信息技术有限公司 Method, device and system for transferring property right
CN114254365A (en) * 2021-12-26 2022-03-29 迅鳐成都科技有限公司 Block chain technology-based key value data directional sharing method, device, system and storage medium
CN115022053A (en) * 2022-06-08 2022-09-06 京东科技控股股份有限公司 Method, device and system for accessing block chain network

Also Published As

Publication number Publication date
CN110677462B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN110677462B (en) Access processing method, system, device and storage medium for multi-block chain network
US11573725B2 (en) Object migration method, device, and system
CN113641457B (en) Container creation method, device, apparatus, medium, and program product
WO2019136800A1 (en) Service processing method, apparatus and device, and computer-readable storage medium
CN110581893B (en) Data transmission method and device, routing equipment, server and storage medium
CN109842621A (en) A kind of method and terminal reducing token storage quantity
CN110430142A (en) Method and apparatus for controlling flow
CN112579319A (en) Service calling method and device based on LRU Cache optimization
CN111444278A (en) Data synchronization method and device and transfer server
CN109600254A (en) The generation method and related system of full link log
WO2018023966A1 (en) Method and device for determining caching strategy
CN113743879A (en) Automatic rule processing method, system and related equipment
CN114675954A (en) Task scheduling method and device
US20210256600A1 (en) Connector leasing for long-running software operations
CN112380411B (en) Sensitive word processing method, device, electronic equipment, system and storage medium
CN114116158A (en) Task scheduling method and system based on SD-WAN system
CN114090268A (en) Container management method and container management system
CN114637969A (en) Target object authentication method and device
CN109547552B (en) API request processing method and device, storage medium and electronic equipment
CN113098960A (en) Service operation method, device, server and storage medium
CN109120692B (en) Method and apparatus for processing requests
CN112860292A (en) Configuration management method and device based on application
KR20210128096A (en) Apparatus and method for interworking among internet of things platforms
WO2020173345A1 (en) Method for service decision distribution among multiple terminal devices and system
CN113691575A (en) Communication method, device and system

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