CN109347955B - Block chain network system and information processing method - Google Patents

Block chain network system and information processing method Download PDF

Info

Publication number
CN109347955B
CN109347955B CN201811219106.5A CN201811219106A CN109347955B CN 109347955 B CN109347955 B CN 109347955B CN 201811219106 A CN201811219106 A CN 201811219106A CN 109347955 B CN109347955 B CN 109347955B
Authority
CN
China
Prior art keywords
access request
block chain
parameter information
blockchain
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811219106.5A
Other languages
Chinese (zh)
Other versions
CN109347955A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201811219106.5A priority Critical patent/CN109347955B/en
Publication of CN109347955A publication Critical patent/CN109347955A/en
Application granted granted Critical
Publication of CN109347955B publication Critical patent/CN109347955B/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/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
    • H04L67/63Routing a service request depending on the request content or context
    • 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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Abstract

The embodiment of the invention provides a block chain network system and an information processing method, wherein the block chain network system comprises: the access gateway is used for receiving an access request of a user and determining operation and parameter information contained in the access request; sending the operation and parameter information contained in the access request to the corresponding cross-link router; the cross-link router is used for receiving operation and parameter information contained in the access request; determining target user characteristic data corresponding to operation and parameter information contained in the access request, and processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request; and the block chain network is used for receiving the block chain operation and the block chain parameter information, and processing the block chain operation to obtain the target information. The embodiment of the invention realizes the service requirement of supporting mass users.

Description

Block chain network system and information processing method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a block chain network system and an information processing method.
Background
The blockchain technique is a chronologically recorded, non-tamperable, decentralized, distributed ledger technique. The block chain technology ensures the public transparency of the data by calculating and storing the same transaction data in the whole chain, reduces the sharing threshold of the data and improves the reliability of the transaction. The blockchain technology has a wide application scene, such as digital currency, digital asset certification, asset transaction, supply chain tracing, cross border settlement, public welfare credit and the like.
In the prior art, a method and a system for improving the stability of a block chain system by using a fragmentation technology are provided, specifically: the method comprises the steps of establishing a plurality of parallel blockchain networks with the same participant for one blockchain network, establishing a transaction flow distribution control system for each participant of the blockchain network, obtaining preset transaction parameters (such as transaction date, transaction number, transaction amount, transaction type and the like) requested by a user by the transaction flow distribution control system, determining an identifier of the blockchain network corresponding to the obtained preset transaction parameters according to prestored transaction fragment control parameters in the blockchain system and based on a predetermined analysis rule, for example, determining the identifier of the corresponding blockchain network according to a plurality of conditions such as the sequence of the transaction date, the size or parity of the transaction number, the numerical range of the transaction amount, different transaction types and the like, and further sending the transaction request to the corresponding blockchain network for processing.
The inventor finds that the existing block chain system realized by using the fragmentation technology determines the corresponding block chain network according to the transaction parameter type requested by the user, and each block chain network processes the operation of the corresponding type requested by the user, so that account information of all users needs to be created on each block chain network, and further when the number of the users is increased to hundred million or higher, the system can cause rapid performance reduction due to overlarge Merkle tree nodes in the block chain network, and finally support on massive user scenes cannot be realized.
Disclosure of Invention
The embodiment of the invention aims to provide a block chain network system and an information processing method so as to realize the service requirement of supporting massive users. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention discloses a blockchain network system, where the system includes:
an access gateway, one or more cross-link routers, and a plurality of blockchain networks, wherein,
the access gateway establishes communication connection with a plurality of the blockchain networks through one or more of the cross-link routers;
the access gateway is used for receiving an access request of a user and determining operation and parameter information contained in the access request; sending operation and parameter information contained in the access request to a corresponding cross-link router; receiving the target information forwarded by the cross-link router, and sending the target information to a user corresponding to the access request;
the cross-link router is used for receiving operation and parameter information contained in the access request; determining target user characteristic data corresponding to operation and parameter information contained in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sending the block chain operation and block chain parameter information to the block chain network; and forwarding the target information of the blockchain network to the access gateway;
the block chain network is used for receiving the block chain operation and the block chain parameter information, and processing the block chain operation to obtain target information; and sending the target information to the cross-link router.
Optionally, the access gateway is further configured to determine a cross-link router corresponding to the access request according to a random or weighted random algorithm, a round robin algorithm, a weighted round robin algorithm, a consistent hash algorithm, or a minimum connection number weighting algorithm.
Optionally, the cross-link router includes a storage module, where the storage module is configured to store user feature data of each user according to a user identifier, where the user feature data is data reflecting a unique attribute of the user;
the cross-link router determines target user characteristic data corresponding to operation and parameter information contained in the access request, processes the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sends the block chain operation and block chain parameter information to the block chain network, and the method comprises the following steps:
analyzing operation and parameter information contained in the access request, determining a target user identifier corresponding to the access request, and determining block chain operation and block chain parameter information corresponding to the access request; acquiring target user characteristic data corresponding to the target user identification; calculating a block chain network corresponding to the target user characteristic data through a preset rule; and sending the blockchain operation and blockchain parameter information contained in the access request to a blockchain network corresponding to the target user characteristic data.
Optionally, the storage module is a centralized database, or a distributed database, or an independent blockchain network.
Optionally, the processing, by the blockchain network, an operation included in the access request to obtain target information includes:
and according to the blockchain operation contained in the access request, performing user creation, account transaction, intelligent contract calling and transaction query operations to obtain target information.
Optionally, each of the block chain networks corresponds to a different user.
Optionally, the blockchain network is an etherhouse, a commercial distributed blockchain operating system EOS, or a federation chain or a private chain of a super ledger.
In a second aspect, an embodiment of the present invention further discloses an information processing method, which is applied to a block chain network system, where the system includes: an access gateway, one or more cross-link routers, and a plurality of blockchain networks, the method comprising:
the access gateway receives an access request of a user and determines operation and parameter information contained in the access request; sending operation and parameter information contained in the access request to a corresponding cross-link router; receiving the target information forwarded by the cross-link router, and sending the target information to a user corresponding to the access request;
the cross-link router receives operation and parameter information contained in the access request; determining target user characteristic data corresponding to operation and parameter information contained in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sending the block chain operation and block chain parameter information to the block chain network; and forwarding the target information of the blockchain network to the access gateway;
the block chain network receives operation and parameter information contained in the access request, processes the operation contained in the access request and obtains target information; and sending the target information to the cross-link router.
Optionally, before the sending the operation and parameter information included in the access request to the corresponding cross-link router, the method further includes:
and determining the cross-link router corresponding to the access request according to a random or weighted random algorithm, a polling or weighted polling algorithm, a consistent hash algorithm or a minimum connection number weighting algorithm.
Optionally, the method further comprises:
the storage module stores user characteristic data of each user according to the user identification, wherein the user characteristic data is data reflecting the specific attribute of the user;
the determining target user characteristic data corresponding to operation and parameter information included in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sending the block chain operation and block chain parameter information to the block chain network includes:
analyzing operation and parameter information contained in the access request, determining a target user identifier corresponding to the access request, and determining block chain operation and block chain parameter information corresponding to the access request;
acquiring target user characteristic data corresponding to the target user identification;
calculating a block chain network corresponding to the target user characteristic data through a preset rule;
and sending the blockchain operation and blockchain parameter information contained in the access request to a blockchain network corresponding to the target user characteristic data.
Optionally, the processing an operation included in the access request to obtain target information includes:
and according to the blockchain operation contained in the access request, performing user creation, account transaction, intelligent contract calling and transaction query operations to obtain target information.
The embodiment of the invention provides a block chain network system and an information processing method, wherein the block chain network system comprises: the access gateway receives an access request of a user, and determines operation and parameter information contained in the access request; sending the operation and parameter information contained in the access request to the corresponding cross-link router; receiving target information forwarded by the cross-link router, and sending the target information to a user corresponding to the access request; receiving operation and parameter information contained in the access request through the cross-link router; determining target user characteristic data corresponding to operation and parameter information contained in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request, and sending the operation and parameter information contained in the access request to the block chain network; forwarding target information of the block chain network to the access gateway; receiving operation and parameter information contained in the access request through a block chain network, and processing the operation contained in the access request to obtain target information; the target information is sent to the cross-link router. In the embodiment of the invention, the block chain is segmented according to the user characteristic data, so that after the access request of the user is received, the user characteristic data of the user is analyzed, and the access request of each user is distributed to the corresponding block chain network for processing, so that each block chain network processes the access requests of part of users, the information processing of massive users is realized through a plurality of block chain networks, and the concurrency performance of the system is improved.
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 block chain network system according to an embodiment of the present invention;
fig. 2 is a block chain network system according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for processing information across link routers in a blockchain network system according to an embodiment of the present invention;
FIG. 4 is a flow chart of an information processing method according to an embodiment of the present invention;
fig. 5 is a flowchart of an information processing method across a link router in an information processing method 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.
In a first aspect, an embodiment of the present invention discloses a block chain network system, as shown in fig. 1. Fig. 1 is a schematic structural diagram of a block chain network system according to an embodiment of the present invention, the system including:
an access gateway 101, one or more cross-link routers 102, and a plurality of blockchain networks 103, wherein,
access gateway 101 establishes communication connections with a plurality of blockchain networks 103 through one or more cross-link routers 102.
In the block chain network system according to the embodiment of the present invention, the access gateway 101 is respectively connected to each of the cross-link routers 102, each of the cross-link routers 102 may be connected to a predetermined number of block chain networks 103, or each of the cross-link routers 102 may be connected to a predetermined number of block chain networks according to a user requirement. In addition, one cross-link router 102 may be used in embodiments of the present invention to connect to all blockchain networks 103.
The access gateway 101 is used for receiving an access request of a user and determining operation and parameter information contained in the access request; sending the operation and parameter information contained in the access request to the corresponding cross-link router 102; and receiving the target information forwarded by the cross-link router 103, and sending the target information to the user corresponding to the access request.
In the block chain network system of the present invention, one or more access gateways 101 can be accessed according to the needs of users, so as to realize automatic or manual flexible capacity expansion and capacity reduction of the access gateways 101.
After receiving an access request of a user, the access gateway 101 in the embodiment of the present invention analyzes an operation and parameter information included in the access request based on a gateway analysis rule of the access gateway 101, where the operation may be an operation corresponding to a block chain, and the parameter information may be user information, for example, user account information. The access gateway 101 resolves rules to verify the identity and authority of the access request. The access gateway 101 may also control the flow of access requests in the access gateway at the current time and the security of the access requests. The operation and parameter information contained in the access request is sent to the corresponding cross-link router 102. In addition, the target information in the embodiment of the present invention is information obtained by processing the access request by the blockchain network 103, and the access gateway 101 in the embodiment of the present invention further receives the target information sent by the cross-link router 103, and sends the target information to the user corresponding to the access request.
Optionally, the access gateway 101 may further be configured to determine a cross-link router corresponding to the access request according to a random or weighted random algorithm, a round robin algorithm, a weighted round robin algorithm, a consistent hash algorithm, or a minimum connection number weighting algorithm.
A cross-link router 102, configured to receive operation and parameter information included in the access request; determining target user characteristic data corresponding to operation and parameter information contained in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network 103 corresponding to the access request and block chain operation and block chain parameter information 103 corresponding to the access request, and sending the operation and parameter information contained in the access request to the block chain network 103; and forwarding the target information of the blockchain network 103 to the access gateway 101.
In the embodiment of the present invention, the cross-link router 102 may pre-store user characteristic data of each user, where the user characteristic data is data for distinguishing different users, and the user characteristic data may be a natural attribute characteristic of the user, such as gender, region, and the like; the user profile data may also be a user social attribute profile, such as: occupation, social circles, etc.; the user characteristic data may also be a user behavior attribute characteristic, such as: social, sports, etc.; the user profile data may also be user consumption attribute profiles, such as: purchase product type, purchase product preference type, etc.
Optionally, each blockchain network 103 corresponds to a different user.
The preset algorithm in the embodiment of the present invention is an algorithm for dividing users into the corresponding block chain networks 103 according to the attribute of the user feature data. For example, the preset algorithm is to correspond users in the same region to one blockchain network 103 according to the region characteristics in the user social attribute characteristics, and determine the blockchain network 103 corresponding to the region in the target user characteristic data; or, the preset algorithm is to correspond users with the same or similar professions to one blockchain network 103 according to the profession characteristics in the social attribute characteristics of the users, and determine the blockchain network 103 corresponding to the profession in the characteristic data of the target user; or, the preset algorithm is to correspond the users with the same or similar favorite types of the purchased products to one blockchain network 103 according to the favorite type characteristics of the purchased products in the consumption attribute characteristics of the users, and determine the blockchain network 103 corresponding to the favorite type of the purchased products in the characteristic data of the target users.
It should be noted that, in the preset algorithm in the embodiment of the present invention, users are divided into different blockchain networks 103 according to one attribute of user feature data, and then attribute information of target user feature data of a current user is determined to determine a corresponding blockchain network 103, so that each blockchain network 103 processes an access request of a part of users, and the preset algorithm of the blockchain network 103 corresponding to the access request is determined according to other attributes of the user feature data, which all belong to the protection scope of the embodiment of the present invention, and are not listed here one by one.
The cross-link router 102 may pre-store user feature data of each user according to the user identification information, after receiving the operation and parameter information included in the access request, the cross-link router 102 analyzes the operation and parameter information, determines a target user identification corresponding to the operation and parameter information, further obtains the target user feature data corresponding to the target user identification from the pre-stored user feature data according to the identification information, processes the target user feature data by using a preset algorithm, and determines the blockchain network 103 corresponding to the access request.
Second, the inter-link router 102 needs to parse and convert the blockchain operation and blockchain parameter information included in the access request, and send the blockchain operation and blockchain parameter information to the blockchain network 103 corresponding to the access request.
In addition, the cross-link router 102 also needs to forward the target information corresponding to the access request, which is sent by the blockchain network 103, to the access gateway 101.
The block chain network 103 is used for receiving the block chain operation and the block chain parameter information, and processing the block chain operation to obtain target information; the target information is sent to the cross-link router 102.
Optionally, the blockchain network is an etherhouse, a commercial distributed blockchain operating system EOS, or a federation chain or private chain of a super ledger.
An etherhouse is an underlying system that enables intelligent contracts, open sources, on a blockchain, and can be used to program, distribute, vouch for, and trade anything, such as: voting, domain names, financial exchanges, crowd funding, corporate management, contracts, and most agreements, among others.
EOS (Enterprise Operation System) supports a plurality of applications to run simultaneously by creating a developer-friendly blockchain bottom platform; the delay and data throughput difficulties are solved by means of parallel chains and DPOS (Delegated Proof of trust), which is a throughput of the order of thousands or more per second.
The super account book assists in organizing and expanding and establishing an industry exclusive application program, a platform and a hardware system to support respective transaction business of members by establishing a general distributed account book technology. The core characteristics of the super ledger book mainly comprise: an atomic sequencing link and other complex processing links are decoupled, the network processing bottleneck is eliminated, and the expandability is improved; flexible deployment can be performed according to the load; identity certificate management service is enhanced; the multi-channel characteristic is supported, data among different channels are isolated from each other, and the isolation safety is improved; the system supports pluggable frameworks which comprise modules of consensus, authority management, encryption and decryption and an account book mechanism, and supports various types; and a system chain code is introduced to realize the processing of the block chain system, and programmable and third-party realization is supported.
The block chain network of the embodiment of the invention can be constructed by utilizing the characteristics of the Ethern, the EOS or the super book, so that the access request sent by the user in the embodiment of the invention can be processed.
Optionally, the processing, by the blockchain network 103, an operation included in the access request to obtain the target information includes:
and according to the blockchain operation contained in the access request, performing user creation, account transaction, intelligent contract calling and transaction query operations to obtain target information.
After the blockchain network 103 performs user creation, account transaction, intelligent contract invocation, and transaction query operations according to the blockchain operation, and obtains target information, the target information is sent to the cross-link router 102, so that the cross-link router 102 forwards the target information, and finally returns the target information to the user corresponding to the access request.
An embodiment of the present invention provides a block chain network system, including: the access gateway receives an access request of a user, and determines operation and parameter information contained in the access request; sending the operation and parameter information contained in the access request to the corresponding cross-link router; receiving target information forwarded by the cross-link router, and sending the target information to a user corresponding to the access request; receiving operation and parameter information contained in the access request through the cross-link router; determining target user characteristic data corresponding to operation and parameter information contained in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request, and sending the operation and parameter information contained in the access request to the block chain network; forwarding target information of the block chain network to the access gateway; receiving operation and parameter information contained in the access request through a block chain network, and processing the operation contained in the access request to obtain target information; the target information is sent to the cross-link router. In the embodiment of the invention, the block chain is segmented according to the user characteristic data, so that after the access request of the user is received, the user characteristic data of the user is analyzed, and the access request of each user is distributed to the corresponding block chain network for processing, so that each block chain network processes the access requests of part of users, the information processing of massive users is realized through a plurality of block chain networks, and the concurrency performance of the system is improved.
Optionally, in an embodiment of the blockchain network system of the present invention, the cross-link router 102 includes a storage module, and the storage module is configured to store user feature data of each user according to the user identifier, where the user feature data is data reflecting a specific attribute of the user.
In this embodiment, the cross-link router 102 may include a storage module, which may store the user feature data of each user in the cross-link router 102 in advance according to the user identifier. The user identification may be a unique identification identifying the user identity, for example: user ID (identity), user name.
Optionally, the storage module is a centralized database, or a distributed database, or a separate blockchain network.
The cross-link router 102 determines target user feature data corresponding to operation and parameter information included in the access request, processes the target user feature data by using a preset algorithm, obtains the blockchain network 103 corresponding to the access request and blockchain operation and blockchain parameter information corresponding to the access request, and sends the blockchain operation and blockchain parameter information to the blockchain network 103, including:
analyzing operation and parameter information contained in the access request, determining a target user identifier corresponding to the access request, and determining block chain operation and block chain parameter information corresponding to the access request; acquiring target user characteristic data corresponding to a target user identifier; calculating a block chain network 103 corresponding to the target user characteristic data through a preset rule; the blockchain operation and blockchain parameter information contained in the access request are sent to the blockchain network 103 corresponding to the target user characteristic data.
In this embodiment, after receiving the operation and parameter information included in the access request, the cross-link router 102 analyzes the operation and parameter information included in the access request to obtain a target user identifier corresponding to the access request, and obtains a block chain operation and block chain parameter information included in the access request. And searching corresponding target characteristic data in a pre-stored database of the user characteristic data according to the identification of the target user. After the target user characteristic data is determined, the blockchain network 103 corresponding to the target user characteristic data is determined through a preset rule. The blockchain operation and blockchain parameter information contained in the access request are sent to the blockchain network 103 corresponding to the target user characteristic data.
By the implementation, the target user characteristic data corresponding to the access request can be determined in the pre-stored user characteristic data, so that different access requests are sent to the corresponding block chain networks according to the attributes corresponding to the user characteristic data, the access requests of a part of users are processed by different block chain networks, and the access requests of a large number of users are processed by a plurality of block chain networks.
To better illustrate the blockchain network system according to the embodiment of the present invention, there may be a block chain network system structure diagram shown in fig. 2 according to the embodiment of the present invention. The blockchain network system comprises an access network 201, a plurality of cross-link routers 202 and a plurality of blockchain networks 203, wherein each cross-link router 202 comprises a storage module 2021, and the storage module 2021 is used for storing user characteristic data; each of the blockchain networks includes a plurality of blockchain points 2031, so that the blockchain operations in the blockchain network 203 can be completed through the plurality of blockchain points 2031. The method comprises the following specific steps:
the access network 201 analyzes the access request of the user into operation and parameters, then forwards the analyzed operation and parameters to the corresponding cross-link router 202 according to a polling or LB algorithm, and then sends the target information returned by the cross-link router 202 to the user corresponding to the access request.
The cross-link router 202 includes an access control algorithm and a parsing and forwarding module. The access control algorithm fragments the user identifier according to the user characteristic data, and respectively resolves the access request of the user to the corresponding blockchain network 203. Fig. 3 shows an information processing process of the cross-link router 202, where fig. 3 is a flowchart of an information processing method of a cross-link router in a block chain network system according to an embodiment of the present invention, and the specific steps are as follows:
s301, the cross-link router 202 receives the operation and the parameters of the access request of the access network 201, and the analysis forwarding module analyzes the user identifier;
s302, inquiring corresponding target user characteristic data from the stored user characteristic data according to the user identification;
s303, calculating the block chain network 203 corresponding to the target user characteristic data through a preset algorithm by using an access control algorithm of the cross-link router 202;
s304, the analysis forwarding module analyzes the block chain operation and the block chain parameters through the operation and the parameters, and forwards the block chain operation and the block chain parameters to the corresponding block chain network 203;
s305, the target information of the blockchain network 203 is sent to the access network 201.
The blockchain network 203 is configured to receive the blockchain operation and the blockchain parameters sent by the cross-link router 202, perform user creation, account transaction, intelligent contract invocation, transaction query operations, determine target information, and return the target information to the cross-link router 202.
The block chain network system of the embodiment of the invention is suitable for application scenes without direct transaction among users, different users are mapped to block chain networks of different fragments based on user characteristics, the linear expansion of the block chain system is realized, massive user service data chaining is supported, and the block chain technology is adopted to process and store the service data of the Aiqiyi level user. In addition, the block chain network system of the invention supports the mapping algorithm of multi-type user characteristics, improves the adaptability and flexibility of the cross-link router module, and can support various different service scenes.
In a second aspect, an embodiment of the present invention further discloses an information processing method, which is applied to a block chain network system, and the system includes: an access gateway, one or more cross-link routers, and a plurality of blockchain networks. The specific implementation process of the method is similar to that of the above block chain network system, and reference may be made to the above implementation manner, which is not described in detail below.
As shown in fig. 4, fig. 4 is a flowchart of an information processing method according to an embodiment of the present invention, where the method includes:
s401, an access gateway receives an access request of a user and determines operation and parameter information contained in the access request; sending the operation and parameter information contained in the access request to the corresponding cross-link router; receiving target information forwarded by the cross-link router, and sending the target information to a user corresponding to the access request;
s402, the cross-link router receives operation and parameter information contained in the access request; determining target user characteristic data corresponding to operation and parameter information contained in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sending the block chain operation and block chain parameter information to the block chain network; forwarding target information of the block chain network to the access gateway;
s403, the block chain network receives the operation and parameter information contained in the access request, processes the operation contained in the access request and obtains target information; the target information is sent to the cross-link router.
In the information processing method provided by the embodiment of the invention, the blockchain is fragmented according to the user characteristic data, the user characteristic data of the user is analyzed after the access request of the user is received, and the access request of each user is distributed to the corresponding blockchain network for processing, so that each blockchain network processes the access requests of part of users, the information processing of massive users is realized through a plurality of blockchain networks, and the concurrency performance of the system is improved.
Optionally, in an embodiment of the information processing method of the present invention, before sending the operation and parameter information included in the access request to the corresponding cross-link router S402, the method further includes:
and determining the cross-link router corresponding to the access request according to a random or weighted random algorithm, a polling or weighted polling algorithm, a consistent hash algorithm or a minimum connection number weighting algorithm.
Optionally, in an embodiment of the information processing method of the present invention, the method further includes:
the storage module stores user characteristic data of each user according to the user identification, wherein the user characteristic data is data reflecting the specific attribute of the user;
in S402, the target user feature data corresponding to the operation and parameter information included in the access request is determined, the target user feature data is processed by using a preset algorithm, a blockchain network corresponding to the access request and blockchain operation and blockchain parameter information corresponding to the access request are obtained, and the blockchain operation and blockchain parameter information are sent to the blockchain network, as shown in fig. 5. Fig. 5 is a flowchart of an information processing method across a link router in an information processing method according to an embodiment of the present invention, including:
s501, analyzing operation and parameter information contained in the access request, determining a target user identifier corresponding to the access request, and determining block chain operation and block chain parameter information corresponding to the access request;
s502, acquiring target user characteristic data corresponding to a target user identifier;
s503, calculating a block chain network corresponding to the target user characteristic data through a preset rule;
and S504, the blockchain operation and the blockchain parameter information contained in the access request are sent to a blockchain network corresponding to the target user characteristic data.
Optionally, in an embodiment of the information processing method of the present invention, processing an operation included in the access request in S403 to obtain the target information includes:
and according to the blockchain operation contained in the access request, performing user creation, account transaction, intelligent contract calling and transaction query operations to obtain target information.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method embodiment, since it is basically similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (11)

1. A blockchain network system, the system comprising:
an access gateway, one or more cross-link routers, and a plurality of blockchain networks, wherein,
the access gateway establishes communication connection with a plurality of the blockchain networks through one or more of the cross-link routers;
the access gateway is used for receiving an access request of a user and determining operation and parameter information contained in the access request; sending operation and parameter information contained in the access request to a corresponding cross-link router; receiving the target information forwarded by the cross-link router, and sending the target information to a user corresponding to the access request;
the cross-link router is used for receiving operation and parameter information contained in the access request; determining target user characteristic data corresponding to operation and parameter information contained in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sending the block chain operation and block chain parameter information to the block chain network; and forwarding the target information of the blockchain network to the access gateway;
the block chain network is used for receiving the block chain operation and the block chain parameter information, and processing the block chain operation to obtain target information; and sending the target information to the cross-link router.
2. The blockchain network system of claim 1, wherein the access gateway is further configured to determine the cross-link router corresponding to the access request according to a random algorithm or a weighted random algorithm, or a polling algorithm or a weighted polling algorithm, or a consistent hashing algorithm, or a minimum connection number weighting algorithm.
3. The blockchain network system of claim 1, wherein the cross-link router includes a storage module, the storage module being configured to store user characteristic data of each user according to a user identifier, the user characteristic data being data reflecting a specific attribute of the user;
the cross-link router determines target user characteristic data corresponding to operation and parameter information contained in the access request, processes the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sends the block chain operation and block chain parameter information to the block chain network, and the method comprises the following steps:
analyzing operation and parameter information contained in the access request, determining a target user identifier corresponding to the access request, and determining block chain operation and block chain parameter information corresponding to the access request; acquiring target user characteristic data corresponding to the target user identification; calculating a block chain network corresponding to the target user characteristic data through a preset rule; and sending the blockchain operation and blockchain parameter information contained in the access request to a blockchain network corresponding to the target user characteristic data.
4. The blockchain network system of claim 3, wherein the storage module is a centralized database, or a distributed database, or a standalone blockchain network.
5. The blockchain network system of claim 1, wherein the blockchain network processes the access request to obtain the target information includes:
and according to the blockchain operation contained in the access request, performing user creation, account transaction, intelligent contract calling and transaction query operations to obtain target information.
6. The system according to claim 1, wherein each of the blockchain networks corresponds to a different user.
7. The blockchain network system of claim 1, wherein the blockchain network is an etherhouse, a commercial distributed blockchain operating system (EOS), or an alliance chain or a private chain of a super ledger.
8. An information processing method, applied to a block chain network system, the system comprising: an access gateway, one or more cross-link routers, and a plurality of blockchain networks, the method comprising:
the access gateway receives an access request of a user and determines operation and parameter information contained in the access request; sending operation and parameter information contained in the access request to a corresponding cross-link router; receiving the target information forwarded by the cross-link router, and sending the target information to a user corresponding to the access request;
the cross-link router receives operation and parameter information contained in the access request; determining target user characteristic data corresponding to operation and parameter information contained in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sending the block chain operation and block chain parameter information to the block chain network; and forwarding the target information of the blockchain network to the access gateway;
the block chain network receives operation and parameter information contained in the access request, processes the operation contained in the access request and obtains target information; and sending the target information to the cross-link router.
9. The information processing method according to claim 8, wherein before said sending the operation and parameter information included in the access request to the corresponding cross-link router, the method further comprises:
and determining the cross-link router corresponding to the access request according to a random algorithm or a weighted random algorithm, or a polling algorithm or a weighted polling algorithm, or a consistent hashing algorithm, or a minimum connection number weighting algorithm.
10. The information processing method according to claim 8, characterized by further comprising:
the storage module stores user characteristic data of each user according to the user identification, wherein the user characteristic data is data reflecting the specific attribute of the user;
the determining target user characteristic data corresponding to operation and parameter information included in the access request, processing the target user characteristic data by using a preset algorithm to obtain a block chain network corresponding to the access request and block chain operation and block chain parameter information corresponding to the access request, and sending the block chain operation and block chain parameter information to the block chain network includes:
analyzing operation and parameter information contained in the access request, determining a target user identifier corresponding to the access request, and determining block chain operation and block chain parameter information corresponding to the access request;
acquiring target user characteristic data corresponding to the target user identification;
calculating a block chain network corresponding to the target user characteristic data through a preset rule;
and sending the blockchain operation and blockchain parameter information contained in the access request to a blockchain network corresponding to the target user characteristic data.
11. The information processing method according to claim 8, wherein the processing the operation included in the access request to obtain the target information includes:
and according to the blockchain operation contained in the access request, performing user creation, account transaction, intelligent contract calling and transaction query operations to obtain target information.
CN201811219106.5A 2018-10-19 2018-10-19 Block chain network system and information processing method Active CN109347955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811219106.5A CN109347955B (en) 2018-10-19 2018-10-19 Block chain network system and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811219106.5A CN109347955B (en) 2018-10-19 2018-10-19 Block chain network system and information processing method

Publications (2)

Publication Number Publication Date
CN109347955A CN109347955A (en) 2019-02-15
CN109347955B true CN109347955B (en) 2021-03-02

Family

ID=65310374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811219106.5A Active CN109347955B (en) 2018-10-19 2018-10-19 Block chain network system and information processing method

Country Status (1)

Country Link
CN (1) CN109347955B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110011930B (en) * 2019-03-12 2022-06-24 深圳前海微众银行股份有限公司 Load balancing method and device for multi-union chain in block chain
CN110232569B (en) * 2019-05-07 2021-04-16 北京奇艺世纪科技有限公司 Method and device for reading transaction record and storage medium
CN110213266B (en) * 2019-05-31 2021-10-22 联想(北京)有限公司 Block chain cross-chain information processing method and electronic equipment
EP3992883A4 (en) * 2019-06-25 2023-01-25 Antpool Technologies Limited Digital certificate processing method, gateway, device, system, medium, and program product
CN110428329A (en) * 2019-07-01 2019-11-08 扬州腾邮大数据网络科技有限公司 A kind of fragment treating method and apparatus of multi-tiling chain
CN110266817B (en) * 2019-07-15 2022-02-25 武汉天喻信息产业股份有限公司 Cross-channel data sharing model, method and device based on block chain
CN112333131B (en) * 2019-08-05 2023-04-18 北京京东振世信息技术有限公司 Service providing method, block chain network service system and storage medium
CN110677462B (en) * 2019-09-09 2022-07-12 上海共链信息科技有限公司 Access processing method, system, device and storage medium for multi-block chain network
CN112583712B (en) * 2019-09-30 2023-05-30 北京京东尚科信息技术有限公司 Block chain router and block chain network system
CN111163129B (en) * 2019-12-05 2021-12-14 深圳前海微众银行股份有限公司 Resource processing method and device based on cross-link network
CN111431960B (en) * 2020-02-19 2022-04-22 重庆邮电大学 Decentralized internet of things heterogeneous identification analysis method based on super account book
CN111724170B (en) * 2020-03-05 2022-10-11 支付宝(杭州)信息技术有限公司 Service processing system, service processing method, device and equipment
CN111488615A (en) * 2020-04-08 2020-08-04 北京瑞策科技有限公司 Cross-link realization method and device for service data block chain
CN112200575B (en) * 2020-05-28 2022-05-31 支付宝(杭州)信息技术有限公司 Node group creating method and node group-based transaction method in alliance chain network
CN112732803B (en) * 2021-04-06 2021-06-29 北京万物智链科技有限公司 Consensus block chain transaction query verification method and system
CN113660337B (en) * 2021-08-17 2024-02-06 区块动力(广州)科技有限公司 Block chain multiple-crossing protection method
CN115022053A (en) * 2022-06-08 2022-09-06 京东科技控股股份有限公司 Method, device and system for accessing block chain network
CN115811498A (en) * 2023-02-06 2023-03-17 北京微芯区块链与边缘计算研究院 Node routing method, device, equipment and storage medium of alliance chain
CN116016523B (en) * 2023-03-22 2023-07-14 浪潮电子信息产业股份有限公司 Data access method, device, system and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231299A (en) * 2017-06-07 2017-10-03 众安信息技术服务有限公司 A kind of chain route and realized the system that block chain communicates across chain
CN108174381A (en) * 2018-04-17 2018-06-15 上海连尚网络科技有限公司 For connecting the method and apparatus of wireless access point
CN108234677A (en) * 2018-03-09 2018-06-29 高飞 A kind of block chain network node serve device towards multi-tiling platform chain
WO2018126065A1 (en) * 2016-12-30 2018-07-05 Intel Corporation Decentralized data storage and processing for iot devices
CN108521661A (en) * 2018-04-15 2018-09-11 佛山市虚拟现实大数据产业研究院有限公司 A kind of wireless sensor network routing method based on block chain technology
CN108521456A (en) * 2018-04-01 2018-09-11 南京米好信息安全有限公司 Network establishment contest system based on block chain
CN108632480A (en) * 2018-04-19 2018-10-09 北京阿尔山金融科技有限公司 Charging method based on block chain and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018126065A1 (en) * 2016-12-30 2018-07-05 Intel Corporation Decentralized data storage and processing for iot devices
CN107231299A (en) * 2017-06-07 2017-10-03 众安信息技术服务有限公司 A kind of chain route and realized the system that block chain communicates across chain
CN108234677A (en) * 2018-03-09 2018-06-29 高飞 A kind of block chain network node serve device towards multi-tiling platform chain
CN108521456A (en) * 2018-04-01 2018-09-11 南京米好信息安全有限公司 Network establishment contest system based on block chain
CN108521661A (en) * 2018-04-15 2018-09-11 佛山市虚拟现实大数据产业研究院有限公司 A kind of wireless sensor network routing method based on block chain technology
CN108174381A (en) * 2018-04-17 2018-06-15 上海连尚网络科技有限公司 For connecting the method and apparatus of wireless access point
CN108632480A (en) * 2018-04-19 2018-10-09 北京阿尔山金融科技有限公司 Charging method based on block chain and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Blockchain-based electricity trading with Digitalgrid router";Kenji Tanaka;《IEEE》;20170727;全文 *

Also Published As

Publication number Publication date
CN109347955A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN109347955B (en) Block chain network system and information processing method
CN109981750B (en) Business process system, business data processing method and device
CN107332876B (en) Method and device for synchronizing block chain state
CN108710681A (en) File acquisition method, device, equipment and storage medium
CN105868231A (en) Cache data updating method and device
CN102968719A (en) Payment server, terminal and payment channel access method
CN112702402A (en) System, method, device, processor and storage medium for realizing government affair information resource sharing and exchange based on block chain technology
CN110225039B (en) Authority model obtaining method, authority authentication method, gateway, server and storage medium
CN108881354A (en) A kind of pushed information storage method, device, server and computer storage medium
CN111885133A (en) Data processing method and device based on block chain and computer storage medium
Goudarzi et al. Khorramshahr: A scalable peer to peer architecture for port warehouse management system
CN112351088A (en) CDN cache method, device, computer equipment and storage medium
CN113077259A (en) Block chain-based evidence storing method and device and electronic equipment
CN110597922A (en) Data processing method, device, terminal and storage medium
CN110855688B (en) Block chain information processing method and related equipment
GB2507037A (en) Software application discovery using variable frequency file system scanning
CN108876314B (en) Career professional ability traceable method and platform
JP6580212B1 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
CN113765675B (en) Transaction data processing method, device, equipment and medium
CN108632386B (en) Block chain link point cluster building method and device
CN110071966B (en) Block chain networking and data processing method based on cloud platform
CN108365949A (en) Client's system of real name approaches to IM, apparatus and system
CN106951225B (en) Data processing method and device based on service configuration template
CN113239255B (en) Heterogeneous data resource sharing method and device, computer equipment and medium
CN112988852B (en) Block chain-based data management method, device and medium

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