CN110149323A - A kind of processing unit with millions TPS contract processing capacity - Google Patents

A kind of processing unit with millions TPS contract processing capacity Download PDF

Info

Publication number
CN110149323A
CN110149323A CN201910372310.9A CN201910372310A CN110149323A CN 110149323 A CN110149323 A CN 110149323A CN 201910372310 A CN201910372310 A CN 201910372310A CN 110149323 A CN110149323 A CN 110149323A
Authority
CN
China
Prior art keywords
contract
block chain
tps
block
user
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
CN201910372310.9A
Other languages
Chinese (zh)
Other versions
CN110149323B (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.)
Shaanxi Fengxing Network Technology Co.,Ltd.
Original Assignee
Shandong 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 Shandong Gongchain Information Technology Co Ltd filed Critical Shandong Gongchain Information Technology Co Ltd
Priority to CN201910372310.9A priority Critical patent/CN110149323B/en
Publication of CN110149323A publication Critical patent/CN110149323A/en
Application granted granted Critical
Publication of CN110149323B publication Critical patent/CN110149323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • 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/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (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)
  • Storage Device Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The processing unit with millions TPS contract processing capacity of the application, mobile agent in service-domain receives the content resource that user node uploads, from presetting the TPS contract that preset quantity is randomly selected in multiple TPS contracts, guarantee that treaty content does not disclose other block chain nodes, each block chain node only needs to be decrypted using signature of the public key of contract promoter and contract participant to contract promoter and contract participant, prevent one party from carrying out transaction cheating operation, log contract is mainly used in cross-node multichannel payment process, guarantee the fund security of intermediate node, with the normal operation of cross-node payment, it does not need to learn specific content, it solves existing block chain contract and signs method, treaty content is directly broadcasted in block chain, contract signatory is difficult with block chain and carries out some secret conjunctions The problem of signing about.

Description

A kind of processing unit with millions TPS contract processing capacity
Technical field
The invention belongs to block chain technical fields, and in particular to a kind of processing with millions TPS contract processing capacity Device.
Background technique
In actual use, block chain node is likely to occur various abnormal conditions.It is continuous to establish such as hacker attack With disconnect, cause the block chain node vast resources attacked consumption in connection, block chain node efficiency reduce, very To cisco unity malfunction, and then influence the efficiency and safety of entire block chain.
Why hard to find block chain technician is at present because it is most of used rare foreign languages computer language develop and across Field technology barrier, Duo Yuanlian have broken this restraint of trade, and operation layer API exploitation receives opening for current all computer languages Hair, any ordinary programmers for skillfully grasping a certain languages can quickly operation layer landing be realized in exploitation on more former chains.
Multiple Atomic Chain(abbreviation MAC, Duo Yuanlian) it is the third developed except bit coin and ether mill The kind block chain bottom ecosystem is dedicated to expanding commercial occupation layer boundary and the technological boundary of block chain technology, masses is allowed to use Family user can really experience the value of block chain technology, and block chain is allowed not stagnate in academic theory level but more For direct operation layer into the practice of exploitation operation layer, the exploitation of Duo Yuanlian will be commercial occupation layer and the collision of block chain technology Spark, and a kind of challenge to the block chain prior art, prior art thinking of having jumped out is block chain 3.0 is raw State business coating systems start pioneer.In more original catenary systems, it can realize that point-to-point value turns by value transport protocol Move, high-performance, high-throughput, be fast and safely more former chains characteristic, so that it is more to construct a support with the bottom of more original chains The scene service of the decentralization of a industry field (finance, supply chain, social activity, game, electric business, traces to the source, trades at Internet of Things) Layer develops ecological platform.
More former chains public chain (in PublicBlockchain system, the whole world anyone all can be read, anyone all Can send transaction and transaction can obtain effectively confirm, anyone can participate in wherein common recognition process block chain (common recognition process is determined Which fixed block can be added in block chain and clear current state).Centered on change or true centricization trust substitution The safety of object, public block chain takes the modes such as proof of work mechanism or equity proof mechanism by " encryption digital economy ", will Financial incentive and encryption digital verification combine, and follow rule: everyone therefrom obtainable financial incentive, It is directly proportional to the contribution made to common recognition process.These block chains are typically considered " complete decentralization ".
Low level development is applied in numerous decentralizations such as decentralization transaction platform, using the Floor layer Technology of more former chains, into The problem of exploitation of row decentralization platform using most important problem is exactly about performance for decentralization, passes through MAC More original chain high-performance can solve this problem pain spot, and high TPS can solve finance logistics and the demands of industries such as trace to the source, very The application of positive realization business level allows block chain really to enter for 3.0 epoch, and the more former chains of MAC are by block chain decentralization For technology from technical know-how level to practical application level, business application is the maximum appraisal standards to technical performance, at present we Some application developers are had and are based on more former chains and applied, following we will also access more applications, from complete The industrial chain of ecology starts, and the bottom for carrying out full industrial chain builds exploitation, and current 2.0 epoch of block chain all rest on hair TOKEN develops the simple application such as wallet, can not really access the application of real economy.
Summary of the invention
Therefore, in order to solve the problems, such as that the integration in current block chain data communication link is difficult, accuracy is low, the present invention Propose a kind of processing unit with millions TPS contract processing capacity.
A kind of processing unit with millions TPS contract processing capacity is claimed in the present invention, which is characterized in that packet It includes:
Web client provides the web browser program of the local service interacted with cloud for user, and according to user Specific requirement mobile agent executes corresponding operation, and the operation includes the upper transmitting file of user, generates block chain account book address It is operated with completeness check etc. is initiated;
When user operates data, mobile agent in service-domain receives the content resource that user node uploads, from pre- If the TPS contract of preset quantity is randomly selected in multiple TPS contracts, user connects the mobile agent in cloud, reselection first Corresponding module is operated;
TPS contract module, TPS contract are the protocol cores of block chain network, are that both sides are able to carry out quick, Secure Transaction weight It ensures;
TPS contract is divided into channel contract, account book contract and log and about three kinds of different type contracts, and channel contract will be used for block Trade user both sides create payment channel in chain network, and account book contract will be used for the mutual transfer operation of trade user both sides, remove base This illustrates except both parties' transfer amounts, will also take measures to guarantee the safety that both sides trade, prevents one party from carrying out Transaction cheating operation, log contract is mainly used in cross-node multichannel payment process, guarantees the fund security of intermediate node, and across The normal operation of node payment;
Mobile Agent Server end, mainly include C# server end and block chain API interface, C# server end to from The request that Web client is sent is responded, and is substantially carried out file pretreatment, is responded completeness check, establishes Merkle Hash The operation such as tree, block chain API interface is mainly responsible for be interacted with block chain network;
Block chain infrastructure service module: the block chain safeguarded jointly by the respective mobile agent node of multi-tenant, contract hair It rises before person broadcasts contract to block chain and contract is encrypted, the participant's public key and contract of each contract participant is one One-to-one correspondence installs block chain visitor corresponding with the format of the new block according to the block chain client downloads information Family end, to generate new block content according to the format of the new block by block chain client, so that other nodes are judging The new block content is charged in block chain account book after meeting the update TPS contract, and each participant's public key encrypts pair respectively The contract answered, to obtain the more parts of contracts by encryption.
The processing unit with millions TPS contract processing capacity of the application, the mobile agent in service-domain, which receives, to be used The content resource that family node uploads guarantees contract from the TPS contract that preset quantity is randomly selected in multiple TPS contracts is preset Content does not disclose other block chain nodes, and each block chain node only needs the public affairs using contract promoter and contract participant The signature of contract promoter and contract participant is decrypted in key, prevents one party from carrying out transaction cheating operation, log contract It is mainly used in cross-node multichannel payment process, guarantees the normal operation of fund security and the cross-node payment of intermediate node, no It needs to learn specific content, solves existing block chain contract and sign method, treaty content is directly broadcasted in block chain In, contract signatory is difficult with the problem of block chain carries out the signing of some secret contracts.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment Attached drawing is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as Restriction to range for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of function structure chart of the processing unit of millions TPS contract processing capacity according to the present invention;
Fig. 2 is a kind of work flow diagram of each module of processing unit of millions TPS contract processing capacity according to the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing this public affairs in attached drawing The exemplary embodiment opened, it being understood, however, that may be realized in various forms the disclosure without the implementation that should be illustrated here Example is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the disclosure Range is fully disclosed to those skilled in the art.
It is a kind of module knot of the processing unit of millions TPS contract processing capacity according to the present invention referring to attached drawing 1 Composition.
A kind of processing unit with millions TPS contract processing capacity is claimed in the present invention, which is characterized in that packet It includes:
Web client provides the web browser program of the local service interacted with cloud for user, and according to user Specific requirement mobile agent executes corresponding operation, and the operation includes the upper transmitting file of user, generates block chain account book address It is operated with completeness check etc. is initiated;
When user operates data, mobile agent in service-domain receives the content resource that user node uploads, from pre- If the TPS contract of preset quantity is randomly selected in multiple TPS contracts, user connects the mobile agent in cloud, reselection first Corresponding module is operated;
TPS contract module, TPS contract are the protocol cores of block chain network, are that both sides are able to carry out quick, Secure Transaction weight It ensures;
TPS contract is divided into channel contract, account book contract and log and about three kinds of different type contracts, and channel contract will be used for block Trade user both sides create payment channel in chain network, and account book contract will be used for the mutual transfer operation of trade user both sides, remove base This illustrates except both parties' transfer amounts, will also take measures to guarantee the safety that both sides trade, prevents one party from carrying out Transaction cheating operation, log contract is mainly used in cross-node multichannel payment process, guarantees the fund security of intermediate node, and across The normal operation of node payment;
Mobile Agent Server end, mainly include C# server end and block chain API interface, C# server end to from The request that Web client is sent is responded, and is substantially carried out file pretreatment, is responded completeness check, establishes Merkle Hash The operation such as tree, block chain API interface is mainly responsible for be interacted with block chain network;
Block chain infrastructure service module: the block chain safeguarded jointly by the respective mobile agent node of multi-tenant, contract hair It rises before person broadcasts contract to block chain and contract is encrypted, the participant's public key and contract of each contract participant is one One-to-one correspondence installs block chain visitor corresponding with the format of the new block according to the block chain client downloads information Family end, to generate new block content according to the format of the new block by block chain client, so that other nodes are judging The new block content is charged in block chain account book after meeting the update TPS contract, and each participant's public key encrypts pair respectively The contract answered, to obtain the more parts of contracts by encryption.
Preferably, the operation includes the upper transmitting file of user, generates block chain account book address and initiation completeness check etc. Operation, specifically includes:
Upper transmitting file: file is uploaded to C# server in the mobile agent of cloud, the condition that setting file divides specifies data The size of block, is pre-processed, and block chain API interface is finally transferred to store to HDFS cluster, and the mobile agent is by institute State MA node fragment MA of the content resource in this service-domain;
Download file: user's C# server into mobile agent, which issues, obtains file request, and C# business device returns to file The address HDFS, user directly pass through the address HDFS and obtain source file to HDFS storage cluster.
Initiate completeness check: user chooses suitable block number and is sent to mobile agent progress according to the total block data of file Integrality;
It registers block chain account book address: username and password is provided, block chain API interface in mobile agent is transferred to complete note Volume.
Further, described when user operates data, the mobile agent in service-domain receives on user node The content resource of biography, from the TPS contract that preset quantity is randomly selected in multiple TPS contracts is preset, user connects cloud first Mobile agent, the corresponding module of reselection operated, specifically included:
It selects a TPS contract at random from the TPS contract, obtains the first TPS contract;It is logical to control first node in block chain It crosses the information that the first TPS contract inputs user to handle, obtains output information;
The resource characteristic value that the mobile agent generates the content resource returns to the user node, to the treaty content It carries out Hash operation and obtains the first cryptographic Hash, first cryptographic Hash is encrypted using promoter's private key to obtain promoter's signature, By promoter signature and each part, the contract by encryption is broadcasted into block chain, and the mobile agent is by the content resource Resource characteristic value and fragment MA information MA to serial chain.
Preferably, the TPS contract module, TPS contract are the protocol cores of block chain network, are that both sides are able to carry out fastly Speed, the important leverage of Secure Transaction, specifically include:
TPS contract is an interface, and specific function is then in corresponding channel contract, account book contract and log contract these It is realized respectively in class.Meanwhile this interface is used by log contract class again, whether this interface represents a log contract will quilt The condition of execution calls TPS contract to be uploaded to the distribution of interests rule of the resource characteristic value and the content resource publicly-owned Chain, particularly, Transfer Condition class realize this interface, and use in log contract.
The transmitting of logistics network progress information, however not excluded that have interception and destruction of the malicious node to encryption information, to solve Logistics service Transaction Information safety transmitting and can not tamper problem, each logistics node to upper node logistics service hand over It is encrypted after easy acquisition of information analysis, it is necessary to enclose the digital signature of the node.Each node transmits logistics service Transaction Information A series of key pair, each key pair include a private key and a public key.Private key (k) is usually a string of random numbers, is generated It is necessary to sign to prove the correctness of logistics information on services.A public key (K) is generated using elliptic curve cryptography function.It is public Key (K) carries out One-Way Encryption hash function again and generates cryptographic digest (A).
Further, the Mobile Agent Server end, mainly include C# server end and block chain API interface, C# server end responds the request sent from Web client, is substantially carried out file pretreatment, response integrality school The operation such as test, establish MERKLE Hash tree, block chain API interface is mainly responsible for be interacted with block chain network, specific to wrap It includes:
It is handed over using the cryptological techniques such as hash function, encryption and signature algorithm, definition block format and chained structured record on basis Easily, account book state etc. is protected using a kind of MPT (Merkle Patricia Tree) structure based on Merkle tree and prefix trees The related datas such as account book state are deposited, in interface layer, trading server program is one to programming interface provided by Fabric Secondary encapsulation is that transaction is completed by disposing, executing chain code in Fabric, by the encapsulation to operation chain code API, It facilitates developer to communicate using RPC, simplifies calling process, on the one hand may be implemented to turn the request of transacting customer end Change and distribute, on the other hand client-side program is isolated with the block chain service of the basis Fabric.
Preferably, the Mobile Agent Server end mainly includes C# server end and block chain API interface, C# Server end responds the request sent from Web client, is substantially carried out file pretreatment, response completeness check, builds The operations such as vertical MERKLE Hash tree, block chain API interface is mainly responsible for be interacted with block chain network, is specifically included:
It creates TPS contract: using block chain account address, call TPS and about ABI, consume certain token and generate new contract Object address, for saving MERKLE Hash tree file root cryptographic Hash.
Registration block chain account address: each block chain account is made of a pair of public and private key, and account address is that public key spreads out Raw 20 obtained bytes, account sign transaction with public key encryption so as to the body of block chain network energy safety verification sender Part, private key is encrypted by the password that user provides, and the operation of all block chains is all based on the address, same user after registration Multiple account addresses can be registered, privacy leakage is prevented;
Inquire information on block chain: according to information on transaction record affairs Id or block inquiry chain, for trace files Change and post-audit;
File pretreatment: file is divided into data block according to the format that user specifies, generates digital label, MERKLE is calculated and breathes out Uncommon tree root cryptographic Hash;
Verifying challenge: according to the challenge number of Web client, and constructing corresponding random number, obtains source file to HDFS cluster Block calculates evidence, verification of data integrity.
Further, it the block chain infrastructure service module: is safeguarded jointly by the respective mobile agent node of multi-tenant One block chain, contract promoter encrypt contract before broadcasting contract to block chain, the ginseng of each contract participant It is one-to-one relationship with person's public key with contract, according to block chain client downloads information installation and the new block The corresponding block chain client of format, to generate new block content according to the format of the new block by block chain client, So that other nodes are charged in block chain account book after judging that the new block content meets the update TPS contract, Ge Gecan Corresponding contract is encrypted respectively with person's public key, to obtain the more parts of contracts by encryption, is specifically included:
Deployment TPS contract: it is online that TPS contract is deployed to block chain by user, returns to contract address, user by contract address and About ABI calls contract, executes relevant operation;
Information is inquired on chain: the information of block chain network is inquired by trade transactions Id, and information can not be distorted and be deleted;
Token is transferred accounts on chain: block chain network rewards token to the tenant's mobile generation for obtaining the power of packing by way of economic incentives Node is managed, and the token can trade between block chain account address.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (7)

1. a kind of processing unit with millions TPS contract processing capacity characterized by comprising
Web client provides the web browser program of the local service interacted with cloud for user, and is had according to user Body requires mobile agent to execute corresponding operation, the operation include the upper transmitting file of user, generate block chain account book address and Initiate the operation such as completeness check;
When user operates data, mobile agent in service-domain receives the content resource that user node uploads, from pre- If the TPS contract of preset quantity is randomly selected in multiple TPS contracts, user connects the mobile agent in cloud, reselection first Corresponding module is operated;
TPS contract module, TPS contract are the protocol cores of block chain network, are that both sides are able to carry out quick, Secure Transaction weight It ensures;TPS contract is divided into channel contract, account book contract and log and about three kinds of different type contracts, and channel contract will be used for Trade user both sides create payment channel in block chain network, and account book contract will be used for the mutual transfer operation of trade user both sides, Except it is basic illustrate both parties' transfer amounts in addition to, will also take measures the safety for guaranteeing both sides' transaction, prevent one party Transaction cheating operation is carried out, log contract is mainly used in cross-node multichannel payment process, guarantee the fund security of intermediate node, With the normal operation of cross-node payment;
Mobile Agent Server end, mainly include C# server end and block chain API interface, C# server end to from The request that Web client is sent is responded, and is substantially carried out file pretreatment, is responded completeness check, establishes Merkle Hash The operation such as tree, block chain API interface is mainly responsible for be interacted with block chain network;
Block chain infrastructure service module: the block chain safeguarded jointly by the respective mobile agent node of multi-tenant, contract hair It rises before person broadcasts contract to block chain and contract is encrypted, the participant's public key and contract of each contract participant is one One-to-one correspondence installs block chain visitor corresponding with the format of the new block according to the block chain client downloads information Family end, to generate new block content according to the format of the new block by block chain client, so that other nodes are judging The new block content is charged in block chain account book after meeting the update TPS contract, and each participant's public key encrypts pair respectively The contract answered, to obtain the more parts of contracts by encryption.
2. a kind of processing unit with millions TPS contract processing capacity as described in claim 1, which is characterized in that packet It includes:
The operation includes the upper transmitting file of user, generates the operation such as block chain account book address and initiation completeness check, specific to wrap It includes:
Upper transmitting file: file is uploaded to C# server in the mobile agent of cloud, the condition that setting file divides specifies number It according to the size of block, is pre-processed, finally transfers to block chain API interface to store to HDFS cluster, the mobile agent will MA node fragment MA of the content resource in this service-domain;
Download file: user's C# server into mobile agent, which issues, obtains file request, and C# business device returns to file The address HDFS, user directly pass through the address HDFS and obtain source file to HDFS storage cluster;
Initiate completeness check: user chooses suitable block number and is sent to mobile agent progress completely according to the total block data of file Property;
It registers block chain account book address: username and password is provided, block chain API interface in mobile agent is transferred to complete note Volume.
3. a kind of processing unit with millions TPS contract processing capacity as described in claim 1, which is characterized in that packet It includes:
It is described that when user operates data, the mobile agent in service-domain receives the content resource that user node uploads, From the TPS contract that preset quantity is randomly selected in multiple TPS contracts is preset, user connects the mobile agent in cloud first, then It selects corresponding module to be operated, specifically includes:
It selects a TPS contract at random from the TPS contract, obtains the first TPS contract;It is logical to control first node in block chain It crosses the information that the first TPS contract inputs user to handle, obtains output information;
The resource characteristic value that the mobile agent generates the content resource returns to the user node, to the treaty content It carries out Hash operation and obtains the first cryptographic Hash, first cryptographic Hash is encrypted using promoter's private key to obtain promoter's signature, By promoter signature and each part, the contract by encryption is broadcasted into block chain, and the mobile agent is by the content resource Resource characteristic value and fragment MA information MA to serial chain.
4. a kind of processing unit with millions TPS contract processing capacity as described in claim 1, which is characterized in that packet It includes:
The TPS contract module, TPS contract are the protocol cores of block chain network, are that both sides are able to carry out quick, Secure Transaction Important leverage, specifically include:
TPS contract is an interface, and specific function is then in corresponding channel contract, account book contract and log contract these It is realized respectively in class;
Meanwhile this interface is used by log contract class again, this interface represents the log contract item whether to be performed Part calls TPS contract that the distribution of interests rule of the resource characteristic value and the content resource is uploaded to publicly-owned chain, especially Ground, Transfer Condition class realizes this interface, and uses in log contract.
5. a kind of processing unit with millions TPS contract processing capacity as described in claim 1, which is characterized in that packet It includes:
The Mobile Agent Server end mainly includes C# server end and block chain API interface, C# server end pair The request sent from Web client is responded, and is substantially carried out file pretreatment, is responded completeness check, establishes MERKLE The operation such as Hash tree, block chain API interface is mainly responsible for be interacted with block chain network, is specifically included:
It is handed over using the cryptological techniques such as hash function, encryption and signature algorithm, definition block format and chained structured record on basis Easily, account book state etc. is protected using a kind of MPT (Merkle Patricia Tree) structure based on Merkle tree and prefix trees The related datas such as account book state are deposited, in interface layer, trading server program is one to programming interface provided by Fabric Secondary encapsulation is that transaction is completed by disposing, executing chain code in Fabric, by the encapsulation to operation chain code API, It facilitates developer to communicate using RPC, simplifies calling process, on the one hand may be implemented to turn the request of transacting customer end Change and distribute, on the other hand client-side program is isolated with the block chain service of the basis Fabric.
6. a kind of processing unit with millions TPS contract processing capacity as described in claim 1, which is characterized in that packet It includes:
The Mobile Agent Server end mainly includes C# server end and block chain API interface, C# server end pair The request sent from Web client is responded, and is substantially carried out file pretreatment, is responded completeness check, establishes MERKLE The operation such as Hash tree, block chain API interface is mainly responsible for be interacted with block chain network, is specifically included:
It creates TPS contract: using block chain account address, call TPS and about ABI, consume certain token and generate new contract Object address, for saving MERKLE Hash tree file root cryptographic Hash;
Registration block chain account address: each block chain account is made of a pair of public and private key, and account address is that public key is derivative 20 bytes arrived, account sign the identity traded so as to block chain network energy safety verification sender with public key encryption, Private key is encrypted by the password that user provides, and the operation of all block chains is all based on the address after registration, and same user can To register multiple account addresses, privacy leakage is prevented;
Inquire information on block chain: according to information on transaction record affairs Id or block inquiry chain, for trace files Change and post-audit;
File pretreatment: file is divided into data block according to the format that user specifies, generates digital label, MERKLE is calculated and breathes out Uncommon tree root cryptographic Hash;
Verifying challenge: according to the challenge number of Web client, and constructing corresponding random number, obtains source file to HDFS cluster Block calculates evidence, verification of data integrity.
7. a kind of processing unit with millions TPS contract processing capacity as described in claim 1, which is characterized in that packet It includes:
The block chain infrastructure service module: the block chain safeguarded jointly by the respective mobile agent node of multi-tenant closes About promoter encrypts contract before broadcasting contract to block chain, the participant's public key and contract of each contract participant It is one-to-one relationship, block corresponding with the format of the new block is installed according to the block chain client downloads information Chain client, to generate new block content according to the format of the new block by block chain client, so that other nodes exist Judge to charge in block chain account book after the new block content meets the update TPS contract, each participant's public key adds respectively Close corresponding contract specifically includes to obtain the more parts of contracts by encryption:
Deployment TPS contract: it is online that TPS contract is deployed to block chain by user, returns to contract address, user by contract address and About ABI calls contract, executes relevant operation;
Information is inquired on chain: the information of block chain network is inquired by trade transactions Id, and information can not be distorted and be deleted;
Token is transferred accounts on chain: block chain network rewards token to the tenant's mobile generation for obtaining the power of packing by way of economic incentives Node is managed, and the token can trade between block chain account address.
CN201910372310.9A 2019-05-06 2019-05-06 Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity Active CN110149323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910372310.9A CN110149323B (en) 2019-05-06 2019-05-06 Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910372310.9A CN110149323B (en) 2019-05-06 2019-05-06 Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity

Publications (2)

Publication Number Publication Date
CN110149323A true CN110149323A (en) 2019-08-20
CN110149323B CN110149323B (en) 2020-07-10

Family

ID=67594880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910372310.9A Active CN110149323B (en) 2019-05-06 2019-05-06 Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity

Country Status (1)

Country Link
CN (1) CN110149323B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545273A (en) * 2019-08-29 2019-12-06 广东昭阳信息技术有限公司 resource allocation method and system based on block chain application
CN111177096A (en) * 2019-12-11 2020-05-19 招银云创(深圳)信息技术有限公司 Log management method and device, computer equipment and storage medium
CN111652728A (en) * 2020-06-17 2020-09-11 深圳前海微众银行股份有限公司 Transaction processing method and device
CN112187816A (en) * 2020-09-30 2021-01-05 杭州复杂美科技有限公司 RPC request processing method, equipment and storage medium
CN113065867A (en) * 2021-03-30 2021-07-02 上海万向区块链股份公司 System, method and medium for data playback-based incompatible blockchain upgrade

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257374A (en) * 2017-06-15 2017-10-17 中国银行股份有限公司 Transaction processing method and system on a kind of block chain
CN108430061A (en) * 2018-02-11 2018-08-21 深圳市图灵奇点智能科技有限公司 The method and apparatus that block chain contract is signed by the auxiliary that intelligent mobile phone is realized
CN108694669A (en) * 2018-07-18 2018-10-23 矩阵元技术(深圳)有限公司 A kind of block chain intelligence contract implementation method and device
CN108805702A (en) * 2018-04-19 2018-11-13 深圳市网心科技有限公司 Transaction buffer/accelerated method based on block chain and block chain transaction processing system
CN108881274A (en) * 2018-07-06 2018-11-23 众安信息技术服务有限公司 A kind of block chain sharding method and device based on application
KR20190010515A (en) * 2018-11-22 2019-01-30 김경준 Management system for blockchain
CN109635572A (en) * 2018-11-05 2019-04-16 深圳变设龙信息科技有限公司 A kind of contract signing method, apparatus and terminal device based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257374A (en) * 2017-06-15 2017-10-17 中国银行股份有限公司 Transaction processing method and system on a kind of block chain
CN108430061A (en) * 2018-02-11 2018-08-21 深圳市图灵奇点智能科技有限公司 The method and apparatus that block chain contract is signed by the auxiliary that intelligent mobile phone is realized
CN108805702A (en) * 2018-04-19 2018-11-13 深圳市网心科技有限公司 Transaction buffer/accelerated method based on block chain and block chain transaction processing system
CN108881274A (en) * 2018-07-06 2018-11-23 众安信息技术服务有限公司 A kind of block chain sharding method and device based on application
CN108694669A (en) * 2018-07-18 2018-10-23 矩阵元技术(深圳)有限公司 A kind of block chain intelligence contract implementation method and device
CN109635572A (en) * 2018-11-05 2019-04-16 深圳变设龙信息科技有限公司 A kind of contract signing method, apparatus and terminal device based on block chain
KR20190010515A (en) * 2018-11-22 2019-01-30 김경준 Management system for blockchain

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545273A (en) * 2019-08-29 2019-12-06 广东昭阳信息技术有限公司 resource allocation method and system based on block chain application
CN111177096A (en) * 2019-12-11 2020-05-19 招银云创(深圳)信息技术有限公司 Log management method and device, computer equipment and storage medium
CN111652728A (en) * 2020-06-17 2020-09-11 深圳前海微众银行股份有限公司 Transaction processing method and device
CN112187816A (en) * 2020-09-30 2021-01-05 杭州复杂美科技有限公司 RPC request processing method, equipment and storage medium
CN113065867A (en) * 2021-03-30 2021-07-02 上海万向区块链股份公司 System, method and medium for data playback-based incompatible blockchain upgrade
CN113065867B (en) * 2021-03-30 2023-06-30 上海万向区块链股份公司 System, method and medium for upgrading incompatible blockchain based on data replay

Also Published As

Publication number Publication date
CN110149323B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
EP3688930B1 (en) System and method for issuing verifiable claims
EP3721603B1 (en) System and method for creating decentralized identifiers
US10992649B2 (en) Systems and methods for privacy in distributed ledger transactions
US11277268B2 (en) System and method for verifying verifiable claims
EP3732857B1 (en) Apparatus and method for decentralized-identifier creation
CN110149323A (en) A kind of processing unit with millions TPS contract processing capacity
EP3903268B1 (en) Blockchain management system
WO2020173287A1 (en) Systems and methods for determining network shards in blockchain network
EP4216077A1 (en) Blockchain network-based method and apparatus for data processing, and computer device
CN111737715A (en) Decentralized electronic contract online signing method and system
CN113947394A (en) Block chain-based fair payment method for deletable duplicate data in cloud storage
CN110910110A (en) Data processing method and device and computer storage medium
CN112600830B (en) Service data processing method and device, electronic equipment and storage medium
CN115705601A (en) Data processing method and device, computer equipment and storage medium
CN111125734B (en) Data processing method and system
CN111199007A (en) Configuration method based on Web page, data encryption method and device
Paavolainen et al. Decentralized beacons: Attesting the ground truth of blockchain state for constrained IoT devices
CN116743377B (en) Data processing method, device, equipment and storage medium based on blockchain key
CN115599773B (en) Distributed resource transfer method, device and system and computer equipment
Pandey et al. A Secure and Scalable IoT Data Management System based on Blockchain
Sinai et al. Performance evaluation of a quantum-resistant Blockchain: a comparative study with Secp256k1 and Schnorr
Naaz et al. A study of bitcoin and Ethereum blockchains in the context of client types, transactions, and underlying network architecture
Liu et al. Epoch: Enabling Path Concealing Payment Channel Hubs with Optimal Path Encryption
CN117255081A (en) Data processing method and device based on block chain system, equipment 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191225

Address after: 350000 Yuanfu garden, no.196, middle lianjiang Road, Jin'an District, Fuzhou City, Fujian Province

Applicant after: Li Baoci

Applicant after: Shandong Gongchain Information Technology Co.,Ltd.

Address before: Room 301, 15 Yanzishan Road, Lixia District, Jinan City, Shandong Province, 250000

Applicant before: Shandong Gongchain Information Technology Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200420

Address after: Room 301, 15 Yanzishan Road, Lixia District, Jinan City, Shandong Province, 250000

Applicant after: Shandong Gongchain Information Technology Co.,Ltd.

Address before: 350000 Yuanfu garden, no.196, middle lianjiang Road, Jin'an District, Fuzhou City, Fujian Province

Applicant before: Li Baoci

Applicant before: Shandong Gongchain Information Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240401

Address after: 710000, No.3-12009, Shengdu Building, No. 379 Dianzi Zheng Street, Yanta District, Xi'an City, Shaanxi Province

Patentee after: Shaanxi Fengxing Network Technology Co.,Ltd.

Country or region after: China

Address before: Room 301, No.15, Yanzishan Road, Lixia District, Jinan City, Shandong Province

Patentee before: Shandong Gongchain Information Technology Co.,Ltd.

Country or region before: China