CN113630475A - Block chain system cluster based on interfacing block chain system and operation method thereof - Google Patents

Block chain system cluster based on interfacing block chain system and operation method thereof Download PDF

Info

Publication number
CN113630475A
CN113630475A CN202111091218.9A CN202111091218A CN113630475A CN 113630475 A CN113630475 A CN 113630475A CN 202111091218 A CN202111091218 A CN 202111091218A CN 113630475 A CN113630475 A CN 113630475A
Authority
CN
China
Prior art keywords
module
network interface
transaction data
additional
core
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111091218.9A
Other languages
Chinese (zh)
Inventor
田周辉
黄晏清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Jingtum Network Tech Co ltd
Original Assignee
Wuxi Jingtum Network Tech 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 Wuxi Jingtum Network Tech Co ltd filed Critical Wuxi Jingtum Network Tech Co ltd
Priority to CN202111091218.9A priority Critical patent/CN113630475A/en
Publication of CN113630475A publication Critical patent/CN113630475A/en
Pending legal-status Critical Current

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/104Peer-to-peer [P2P] networks
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a block chain system cluster based on an interfacing block chain system, which belongs to the technical field of block chain application and comprises a system body and a cluster body; the system body comprises a network interface module, a core module and an additional module; the network interface module is used for carrying out network connection and transaction data distribution; the core module is used for executing a consensus algorithm; an attachment module for performing attachment functions in a transaction data process; the network interface module is in communication connection with the additional module and the core module; the core module is in communication connection with the additional module; the cluster body comprises at least two system bodies, and any two system bodies in the cluster body are in communication connection through the network interface module. The system bodies of the invention carry out information interaction through the network interface module, thereby realizing cross-network and cross-node interaction of the system bodies, further increasing the expandability of a block chain, reducing the coupling degree among modules, improving TPS and accelerating the consensus of transaction data.

Description

Block chain system cluster based on interfacing block chain system and operation method thereof
Technical Field
The present invention relates to the field of blockchain application technologies, and in particular, to a blockchain system cluster based on an interfaced blockchain system and an operating method thereof.
Background
With the gradual maturity of the blockchain technology, the transaction amount required to be processed is increased, and while the blockchain core function is met, the blockchain system is enabled to be more and more bloated by additional other functions, the processing load of the whole blockchain cluster system is increased, and the TPS is caused, namely the transaction processing amount per second becomes a bottleneck, the expandability of the blockchain is poor, and the coupling degree between modules is high.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a blockchain system cluster based on an interfacing blockchain system and an operation method thereof, which can reduce the processing load of the blockchain system cluster, increase the expandability of the system, reduce the coupling degree between modules, improve the TPS, and accelerate the consensus of transaction data.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a blockchain system cluster based on an interfaced blockchain system, comprising: a system ontology and a cluster ontology; the system body comprises: the system comprises a network interface module, a core module and an additional module; the network interface module is used for carrying out network connection and transaction data distribution; the core module is used for executing a consensus algorithm in the transaction data processing process; an attachment module for performing attachment functions in a transaction data process; the network interface module is in communication connection with the additional module and the core module; the core module is in communication connection with the additional module; the cluster body comprises at least two system bodies, and any two system bodies in the cluster body are in communication connection through the network interface module.
Further, the add-on module includes: the system comprises a database, an address generation module, a p2p network module, an intelligent contract module and an encryption module; the network interface module is in communication connection with the database, the address generation module, the p2p network module, the intelligent contract module and the encryption module; the database, the address generation module, the p2p network module, the intelligent contract module and the encryption module are all in communication connection with the core module.
The method for operating a blockchain system cluster based on an interfacing blockchain system comprises the following steps: s1, the transaction request side sends the network request of transaction to the network interface module of the system body; s2, the network interface module classifies and packages the transaction data and sends the packaged data to the core module or the additional module according to the data type; s3, the additional module and the core module unpack, analyze and process the received transaction data, and the additional module feeds back the processed data to the transaction request party or the core module through the network interface module; the S4 core module forwards the processed transaction data to other system bodies in the cluster body through the network interface module; and S5, after receiving the forwarded transaction data, executing the steps S2 to S4, and feeding back a transaction processing result to the transaction request party until the transaction data is processed.
S1 specifically includes: and the transaction requester initiates a network request of transaction to the network interface module of the system body in a websocket transmission protocol mode.
S2 specifically includes: the network interface module classifies and packages the transaction data and sends the packaged data to the core module or the additional module in an RPC mode according to the data type.
Further, S3 includes: s31, the additional module and the core module separately unpack and analyze the received transaction data, if the core module needs the functional support of the additional module in the process of unpacking and analyze, the core module node initiates the RPC request to the additional module, the additional module receives the request and unpacks the request; and the S32 additional module packs the processed transaction data again, returns the transaction data to the network interface module or the core module in an RPC mode, and returns the transaction data to the transaction requester in a websocket transmission protocol mode.
S4 specifically includes: and the core module forwards the processed transaction data to other system bodies in the cluster body in an RPC mode through the network interface module.
The technical scheme has the following advantages or beneficial effects: the system bodies in the block chain system cluster based on the interfacing block chain system all carry out information interaction through the network interface module, so that cross-network and cross-node interaction of the system bodies is realized, the expandability of the block chain is further increased, the coupling degree among the modules is reduced, the TPS is improved, and the consensus of transaction data is accelerated.
Drawings
The invention and its features, aspects and advantages will become more apparent from reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings. Like reference symbols in the various drawings indicate like elements. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.
Fig. 1 is a schematic relationship diagram of a blockchain system cluster based on an interfaced blockchain system provided by the present invention.
Detailed Description
The invention will be further described with reference to the following drawings and specific examples, which are not intended to limit the invention thereto.
The invention provides a block chain system cluster based on an interfacing block chain system, which comprises: a system body 1 and a cluster body 2; the system body 1 includes: a network interface module 11, a core module 12 and an additional module; the network interface module 11 is used for performing network connection and transaction data distribution; the core module 12 is used for executing a consensus algorithm in the transaction data processing process; an attachment module for performing attachment functions in a transaction data process; the network interface module 11 is in communication connection with the additional module and the core module 12; the core module 12 is in communication connection with the additional module; the cluster body 2 includes at least two system bodies 1, and any two system bodies 1 in the cluster body 2 are in communication connection through a network interface module 11. The add-on module includes: the system comprises a database 13, an address generation module 14, a p2p network module 15, an intelligent contract module 16 and an encryption module 17; the network interface module 11 is in communication connection with the database 13, the address generation module 14, the p2p network module 15, the intelligent contract module 16 and the encryption module 17; the database 13, the address generation module 14, the p2p network module 15, the intelligent contract module 16 and the encryption module 17 are all communicatively connected to the core module 12. The system bodies 1 of the invention all carry out information interaction through the network interface module 11, thereby realizing the cross-network and cross-node interaction of the system bodies 1, and being capable of running in different processes, further increasing the expandability of a block chain, reducing the coupling degree among modules, improving the TPS and accelerating the consensus of transaction data.
When the method is implemented, a transaction requester initiates a network request of transaction to the network interface module 11 of the system body 1 in a websocket transmission protocol mode, the network interface module 11 classifies and packages transaction data, and sends the packaged data to the core module 12 or the additional module in an RPC mode according to the data type. The additional module and the core module 12 perform unpacking analysis processing on the received transaction data respectively, if the core module 12 needs functional support of the additional module in the unpacking analysis process, the core module 12 node initiates an RPC request for the additional module, and the additional module receives the request and performs unpacking processing. The additional module packs the processed transaction data again, returns the transaction data to the network interface module 11 or the core module 12 in an RPC mode, and returns the transaction data to the transaction requester in a websocket transmission protocol mode through the network interface module 11. The core module 12 forwards the processed transaction data to other system bodies 1 in the cluster body 2 by the network interface module 11 through an RPC manner, and after the other system bodies 1 receive the forwarded transaction data, the above-mentioned S2 to S4 are executed until the transaction data is processed, and the transaction processing result is fed back to the transaction requester.
In summary, the invention solves the problems of TPS (transaction processing amount per second) becoming a bottleneck, poor block chain expandability and high inter-module coupling degree caused by large processing load of the block chain cluster system.
The above description is of the preferred embodiment of the invention; it is to be understood that the invention is not limited to the particular embodiments described above, in that devices and structures not described in detail are understood to be implemented in a manner common in the art; any person skilled in the art can make many possible variations and modifications, or modify equivalent embodiments, without departing from the technical solution of the invention, without affecting the essence of the invention; therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.

Claims (7)

1. A blockchain system cluster based on an interfaced blockchain system, comprising: a system ontology and a cluster ontology; the system body comprises: the system comprises a network interface module, a core module and an additional module;
the network interface module is used for performing network connection and transaction data distribution;
the core module is used for executing a consensus algorithm in the transaction data processing process;
the additional module is used for executing an additional function in the transaction data process;
the network interface module is in communication connection with the additional module and the core module; the core module is in communication connection with the additional module;
the cluster body comprises at least two system bodies, and any two system bodies in the cluster body are in communication connection through the network interface module.
2. The interfaced blockchain system based blockchain system cluster of claim 1, wherein the additional module comprises: the system comprises a database, an address generation module, a p2p network module, an intelligent contract module and an encryption module;
the network interface module is in communication connection with the database, the address generation module, the p2p network module, the intelligent contract module and the encryption module; the database, the address generation module, the p2p network module, the intelligent contract module and the encryption module are all in communication connection with the core module.
3. Method of operating a blockchain system cluster based on an interfaced blockchain system according to any of claims 1 or 2, comprising the steps of:
s1, the transaction request side sends the network request of transaction to the network interface module of the system body;
s2, the network interface module classifies and packages the transaction data and sends the packaged data to the core module or the additional module according to the data type;
s3, the additional module and the core module unpack, analyze and process the received transaction data, and the additional module feeds back the processed data to the transaction request party or the core module through the network interface module;
the S4 core module forwards the processed transaction data to other system bodies in the cluster body through the network interface module;
and S5, after receiving the forwarded transaction data, executing the steps S2 to S4, and feeding back a transaction processing result to the transaction request party until the transaction data is processed.
4. The method of claim 3, wherein said S1 is specifically: and the transaction requester initiates a network request of transaction to the network interface module of the system body in a websocket transmission protocol mode.
5. The method of claim 3, wherein said S2 is specifically: the network interface module classifies and packages the transaction data and sends the packaged data to the core module or the additional module in an RPC mode according to the data type.
6. The method of claim 3, wherein the S3 comprises:
s31, the additional module and the core module separately unpack and analyze the received transaction data, if the core module needs the functional support of the additional module in the process of unpacking and analyze, the core module node initiates the RPC request to the additional module, the additional module receives the request and unpacks the request;
and the S32 additional module packs the processed transaction data again, returns the transaction data to the network interface module or the core module in an RPC mode, and returns the transaction data to the transaction requester in a websocket transmission protocol mode.
7. The method of claim 3, wherein said S4 is specifically: and the core module forwards the processed transaction data to other system bodies in the cluster body in an RPC mode through the network interface module.
CN202111091218.9A 2021-09-17 2021-09-17 Block chain system cluster based on interfacing block chain system and operation method thereof Pending CN113630475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111091218.9A CN113630475A (en) 2021-09-17 2021-09-17 Block chain system cluster based on interfacing block chain system and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111091218.9A CN113630475A (en) 2021-09-17 2021-09-17 Block chain system cluster based on interfacing block chain system and operation method thereof

Publications (1)

Publication Number Publication Date
CN113630475A true CN113630475A (en) 2021-11-09

Family

ID=78390289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111091218.9A Pending CN113630475A (en) 2021-09-17 2021-09-17 Block chain system cluster based on interfacing block chain system and operation method thereof

Country Status (1)

Country Link
CN (1) CN113630475A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network
CN109829267A (en) * 2019-02-22 2019-05-31 陕西优米数据技术有限公司 A kind of copyright common recognition system and method based on block chain
CN109995850A (en) * 2019-03-05 2019-07-09 深圳前海微众银行股份有限公司 A kind of transaction processing method of block catenary system and block catenary system
CN110276688A (en) * 2019-06-14 2019-09-24 深圳前海微众银行股份有限公司 The method and device of trading processing in a kind of block chain
CN110554927A (en) * 2019-09-12 2019-12-10 北京笔新互联网科技有限公司 Micro-service calling method based on block chain
US20190377617A1 (en) * 2018-06-08 2019-12-12 Optum, Inc. Domain and event type-specific consensus process for a distributed ledger
CN110602138A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device for block chain network, electronic equipment and storage medium
CN110597913A (en) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 Transaction information tracking method, device, system, storage medium and computer equipment
CN111740845A (en) * 2020-07-08 2020-10-02 中科全维科技(苏州)有限公司 Cluster cooperative communication network system and communication method based on block chain
US20210044647A1 (en) * 2019-10-16 2021-02-11 Alipay (Hangzhou) Information Technology Co., Ltd. Implementing a blockchain-based web service
CN113032488A (en) * 2021-03-23 2021-06-25 无锡井通网络科技有限公司 Distributed system based on pluggable encryption subsystem and encryption method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190377617A1 (en) * 2018-06-08 2019-12-12 Optum, Inc. Domain and event type-specific consensus process for a distributed ledger
CN109785136A (en) * 2019-01-30 2019-05-21 北京京东尚科信息技术有限公司 A kind of transaction processing method of block chain, client and block chain network
CN109829267A (en) * 2019-02-22 2019-05-31 陕西优米数据技术有限公司 A kind of copyright common recognition system and method based on block chain
CN109995850A (en) * 2019-03-05 2019-07-09 深圳前海微众银行股份有限公司 A kind of transaction processing method of block catenary system and block catenary system
CN110276688A (en) * 2019-06-14 2019-09-24 深圳前海微众银行股份有限公司 The method and device of trading processing in a kind of block chain
CN110554927A (en) * 2019-09-12 2019-12-10 北京笔新互联网科技有限公司 Micro-service calling method based on block chain
CN110597913A (en) * 2019-09-17 2019-12-20 腾讯科技(深圳)有限公司 Transaction information tracking method, device, system, storage medium and computer equipment
CN110602138A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device for block chain network, electronic equipment and storage medium
US20210044647A1 (en) * 2019-10-16 2021-02-11 Alipay (Hangzhou) Information Technology Co., Ltd. Implementing a blockchain-based web service
CN111740845A (en) * 2020-07-08 2020-10-02 中科全维科技(苏州)有限公司 Cluster cooperative communication network system and communication method based on block chain
CN113032488A (en) * 2021-03-23 2021-06-25 无锡井通网络科技有限公司 Distributed system based on pluggable encryption subsystem and encryption method

Similar Documents

Publication Publication Date Title
CN107645562B (en) Data transmission processing method, device, equipment and system
CN102630315B (en) Method and system for processing data for preventing deadlock
CN102857505B (en) A kind of Internet of Things data bus middleware system
US10496594B1 (en) Inter-processor communication method for access latency between system-in-package (SIP) dies
CN114268666A (en) Universal domain controller, vehicle and interactive system supporting service oriented architecture SOA
CN110351270A (en) A kind of method and system improving concurrent data treatment effeciency
CN115562887A (en) Inter-core data communication method, system, device and medium based on data package
US20050086412A1 (en) System and method for communicating between modules
CN113630475A (en) Block chain system cluster based on interfacing block chain system and operation method thereof
US20230153153A1 (en) Task processing method and apparatus
CN101552735A (en) Pluggable information bus device based on subscribing mode and realizing method thereof
CN106648934B (en) A kind of efficient data transfer method and system between Impala and HBase
CN104951373A (en) Message queue processing method of scheduling system
CN104156332A (en) High-performance parallel computing method based on external PCI-E connection
CN114546600A (en) Data processing device and method and electronic equipment
CN107819831A (en) A kind of universal message system based on metaq and mns
CN114595080A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN113792093A (en) Signal system interface service creating and executing method, device and electronic equipment
CN111858103A (en) Method for realizing compatibility of high-version and low-version communication of modules in software system
CN201440734U (en) Network equipment
CN213693764U (en) General mimicry judging assembly
CN114866534B (en) Image processing method, device, equipment and medium
CN114039894B (en) Network performance optimization method, system, device and medium based on vector packet
CN112785483B (en) Method and equipment for accelerating data processing
WO2024060247A1 (en) Data exchange method and apparatus based on bluetooth communication, and device and storage 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