CN110149323B - Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity - Google Patents

Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity Download PDF

Info

Publication number
CN110149323B
CN110149323B CN201910372310.9A CN201910372310A CN110149323B CN 110149323 B CN110149323 B CN 110149323B CN 201910372310 A CN201910372310 A CN 201910372310A CN 110149323 B CN110149323 B CN 110149323B
Authority
CN
China
Prior art keywords
contract
tps
block chain
contracts
transaction
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
CN201910372310.9A
Other languages
Chinese (zh)
Other versions
CN110149323A (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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]

Abstract

The processing device with tens of millions of TPS (platform secure protocol) contract processing capabilities, a mobile agent in a service domain receives content resources uploaded by a user node, randomly selects a preset number of TPS contracts from a plurality of preset TPS contracts, ensures that contract contents are not disclosed to other block chain nodes, each block chain node only needs to decrypt the signatures of a contract initiator and a contract participant by using public keys of the contract initiator and the contract participant, prevents one party from carrying out transaction cheating operation, is mainly used in a cross-node multi-path payment process, ensures the fund security of an intermediate node, and the cross-node payment normally runs without knowing specific contents, thereby solving the problems that the contract content is directly broadcast in the block chain and the contract subscriber is difficult to sign some private contracts by using the block chain in the existing block chain contract signing method.

Description

Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a processing device with ten-million-level TPS (thermoplastic polystyrene) contract processing capacity.
Background
In the actual use process, various abnormal conditions can occur to the block link points. If a hacker attacks, the connection is continuously established and disconnected, so that a large amount of resources of the attacked block chain link point are consumed on the connection, the efficiency of the block chain node is reduced, and even the block chain node cannot normally work, and the efficiency and the safety of the whole block chain are influenced.
At present, block chain technology is difficult to obtain, most of the block chain technology uses computer language development in the small language and cross-domain technical barriers, the multi-primitive chain breaks the line limitation, the business layer API development accepts the development of all the computer languages at present, and any common programmer skilled in mastering a certain language can rapidly develop and realize the landing of the business layer on the multi-primitive chain.
Multiple Atomic Chain (MAC for short) is a third type of ecological system at the bottom of a blockchain developed outside bitcoin and ether house, and is dedicated to expanding business layer boundaries and technical boundaries of blockchain technology, so that a public user can really feel the value of blockchain technology, and the blockchain is not stagnated at an academic theory level but in the practice from a more direct business layer to a development business layer, and the development of the Multiple Atomic Chain is a spark of collision between the business layer and the blockchain technology, and is a challenge to the prior art of blockchain, and the thinking in the prior art is jumped out, and is a blockchain 3.0 pioneer of the ecological business layer system. In the multi-primitive chain system, point-to-point value transfer can be realized through a value transmission protocol, and the characteristics of high performance, high throughput and rapidness and safety are the characteristics of the multi-primitive chain, so that a decentralized scene business layer development ecological platform supporting multiple industry fields (finance, Internet of things, supply chain, social contact, games, e-commerce, traceability, transaction and the like) is constructed by using the bottom layer of the multi-primitive chain.
In a public chain of multi-primitive chains (in the public blockchain system, anyone can read all over the world, anyone can send a transaction and the transaction can be validated, a blockchain in which anyone can participate in the consensus process (the consensus process decides which block can be added to the blockchain and makes explicit the current state), as an alternative to centralized or quasi-centralized trust, the security of the public blockchain is by "encrypted digital economy" in the form of a workload attestation mechanism or a rights attestation mechanism, combining economic rewards and encrypted digital authentication, and following the general principle that economic rewards available from everyone are directly proportional to the contribution made to the consensus process.
The most important problem of decentralized application is about performance, the pain point of the problem can be solved through high performance of the MAC multi-primitive chain, the high TPS can meet the requirements of industries such as financial logistics traceability and the like, the commercial application is really realized, the block chain really enters 3.0 era, the technology of decentralized block chain is from technical theory to actual application, the commercial application is the maximum assessment standard of technical performance, at present, some application developers have application based on the multi-primitive chain, in the future, more applications can be accessed, the bottom building development of the whole industrial chain is carried out from the full ecological industrial chain, at present, the block chain 2.0 era stays in the simple application of developing a TOKEN wallet and the like, there is no real access entity economical application.
Disclosure of Invention
Therefore, in order to solve the problems of difficult integration and low accuracy in the current block chain data communication link, the invention provides a processing device with ten million levels of TPS (secure platform protocol) contract processing capacity.
The invention requests to protect a processing device with ten million levels of TPS (platform switch protocol) contract processing capacity, which is characterized by comprising the following steps:
the system comprises a Web client, a mobile agent and a cloud terminal, wherein the Web client provides a webpage browser program of local service interacting with the cloud terminal for a user, and executes corresponding operations according to specific requirements of the user, wherein the operations comprise operations of uploading a file by the user, generating a block chain account book address, initiating integrity check and the like;
when a user operates data, a mobile agent in a service domain receives content resources uploaded by a user node, a preset number of TPS contracts are randomly selected from a plurality of TPS contracts, the user is firstly connected with the mobile agent at the cloud end, and then a corresponding module is selected for operation;
the TPS contract module is a protocol core of a block chain network and is an important guarantee that two parties can carry out quick and safe transaction;
the TPS contracts are divided into three types of contracts, namely channel contracts, account book contracts and log contracts, wherein the channel contracts are used for establishing payment channels between two transaction users in a block chain network, the account book contracts are used for mutual transfer operation between the two transaction users, measures are taken to ensure the security of the transactions between the two transaction users besides the basic description of the transfer amount of the two transaction users, one party is prevented from carrying out transaction cheating operation, and the log contracts are mainly used for ensuring the fund security of an intermediate node and the normal operation of cross-node payment in the cross-node multi-path payment process;
the mobile proxy server end mainly comprises a C # server end and a block chain API interface, wherein the C # server end responds to a request sent from a Web client end, file preprocessing, response integrity verification, Merkle hash tree establishment and other operations are mainly carried out, and the block chain API interface is mainly responsible for interacting with a block chain network;
a block chain basic service module: the contract initiator encrypts the contract before broadcasting the contract to the block chain, the participant public keys of all contract participants and the contract are in one-to-one correspondence, the block chain client corresponding to the format of the new block is installed according to the downloading information of the block chain client, so that new block content is generated through the block chain client according to the format of the new block, other nodes are enabled to record the new block content into a block chain account after judging that the new block content conforms to the updated TPS contract, and the public keys of all participants encrypt the corresponding contracts respectively, so that a plurality of encrypted contracts are obtained.
The processing device with tens of millions of TPS (platform secure protocol) contract processing capabilities is characterized in that a mobile agent in a service domain receives content resources uploaded by a user node, randomly selects a preset number of TPS contracts from a plurality of preset TPS contracts, ensures that contract contents are not disclosed to other block chain nodes, each block chain node only needs to decrypt the signatures of a contract initiator and a contract participant by using public keys of the contract initiator and the contract participant, prevents one party from carrying out transaction cheating operation, is mainly used in a cross-node multi-path payment process, ensures the fund security of an intermediate node, and the cross-node payment normally runs without knowing specific contents, thereby solving the problems that the contract content is directly broadcast in the block chain and the contract subscriber is difficult to sign some private contracts by using the block chain in the existing block chain contract signing method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a block diagram of a processing apparatus for ten million levels of TPS contract processing capability according to the present invention;
fig. 2 is a workflow diagram of modules of a processing apparatus for processing capabilities of a million-level TPS contract according to the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a block diagram of a processing apparatus for processing capabilities of a ten-million level TPS contract according to the present invention.
The invention requests to protect a processing device with ten million levels of TPS (platform switch protocol) contract processing capacity, which is characterized by comprising the following steps:
the system comprises a Web client, a mobile agent and a cloud terminal, wherein the Web client provides a webpage browser program of local service interacting with the cloud terminal for a user, and executes corresponding operations according to specific requirements of the user, wherein the operations comprise operations of uploading a file by the user, generating a block chain account book address, initiating integrity check and the like;
when a user operates data, a mobile agent in a service domain receives content resources uploaded by a user node, a preset number of TPS contracts are randomly selected from a plurality of TPS contracts, the user is firstly connected with the mobile agent at the cloud end, and then a corresponding module is selected for operation;
the TPS contract module is a protocol core of a block chain network and is an important guarantee that two parties can carry out quick and safe transaction;
the TPS contracts are divided into three types of contracts, namely channel contracts, account book contracts and log contracts, wherein the channel contracts are used for establishing payment channels between two transaction users in a block chain network, the account book contracts are used for mutual transfer operation between the two transaction users, measures are taken to ensure the security of the transactions between the two transaction users besides the basic description of the transfer amount of the two transaction users, one party is prevented from carrying out transaction cheating operation, and the log contracts are mainly used for ensuring the fund security of an intermediate node and the normal operation of cross-node payment in the cross-node multi-path payment process;
the mobile proxy server end mainly comprises a C # server end and a block chain API interface, wherein the C # server end responds to a request sent from a Web client end, file preprocessing, response integrity verification, Merkle hash tree establishment and other operations are mainly carried out, and the block chain API interface is mainly responsible for interacting with a block chain network;
a block chain basic service module: the contract initiator encrypts the contract before broadcasting the contract to the block chain, the participant public keys of all contract participants and the contract are in one-to-one correspondence, the block chain client corresponding to the format of the new block is installed according to the downloading information of the block chain client, so that new block content is generated through the block chain client according to the format of the new block, other nodes are enabled to record the new block content into a block chain account after judging that the new block content conforms to the updated TPS contract, and the public keys of all participants encrypt the corresponding contracts respectively, so that a plurality of encrypted contracts are obtained.
Preferably, the operations include operations of uploading a file, generating a block chain ledger address, initiating integrity check, and the like by a user, and specifically include:
uploading a file: uploading the file to a C # server in a cloud mobile agent, setting a file dividing condition, specifying the size of a data block, preprocessing the file, finally delivering the file to a block chain API (application program interface) to be stored in an HDFS (Hadoop distributed file system) cluster, and fragmenting MA (MA) nodes of the content resource in the service domain by the mobile agent;
downloading a file: the user sends a file acquisition request to a C # server in the mobile agent, the C # server returns a file HDFS address, and the user directly acquires a source file from the HDFS storage cluster through the HDFS address.
Initiating integrity check: the user selects a proper block number according to the total block number of the file and sends the selected block number to the mobile agent for completeness;
register blockchain ledger address: and providing a user name and a password, and delivering the user name and the password to a block chain API interface in the mobile agent to complete registration.
Further, when the user operates data, the mobile agent in the service domain receives content resources uploaded by the user node, randomly selects a preset number of TPS contracts from a plurality of preset TPS contracts, and the user first connects the mobile agent in the cloud and then selects a corresponding module to operate, which specifically includes:
randomly selecting one TPS contract from the TPS contracts to obtain a first TPS contract; a first node in a control block chain processes information input by a user through the first TPS contract to obtain output information;
the mobile agent generates a resource characteristic value of the content resource and returns the resource characteristic value to the user node, hash operation is carried out on contract content to obtain a first hash value, an initiator private key is used for encrypting the first hash value to obtain an initiator signature, the initiator signature and all encrypted contracts are broadcasted to a block chain, and the mobile agent sends the resource characteristic value of the content resource and fragment MA information MA to a serial chain.
Preferably, the TPS contract module, where the TPS contract is a protocol core of a block link network, is an important guarantee that both parties can perform a fast and secure transaction, and specifically includes:
the TPS contract is an interface, and specific functions are implemented in the corresponding channel contract, the ledger contract, and the journal contract, respectively. And meanwhile, the interface is used by a log contract class, represents a Condition whether a log contract is executed or not, calls the TPS contract to upload the resource characteristic value and the benefit allocation rule of the content resource to the public chain, and particularly, the Transfer Condition class realizes the interface and is used in the log contract.
The logistics network transmits information, interception and damage of malicious nodes to encrypted information are not eliminated, and in order to solve the problems of safe transmission and non-tamper property of logistics service transaction information, each logistics node is encrypted after acquiring and analyzing the logistics service transaction information of the previous node, and a digital signature of the node is attached. Each node transmits logistics service transaction information which comprises a series of key pairs, wherein each key pair comprises a private key and a public key. The private key (k) is typically a string of random numbers that generates the necessary signature to prove the correctness of the logistics service information. A public key (K) is generated using an elliptic curve cryptographic function. The public key (K) then carries out one-way encryption hash function to generate an encryption summary (A).
Further, the mobile proxy server mainly includes a C # server and a blockchain API interface, where the C # server responds to a request sent from a Web client, and mainly performs operations such as file preprocessing, response integrity check, and establishment of a MERK L E hash tree, and the blockchain API interface is mainly responsible for interaction with a blockchain network, and specifically includes:
the basic uses cryptography technologies such as Hash function, encryption and signature algorithm, etc., defines block format and chain structure to record transaction, account book state, etc., uses an MPT (media Patricia Tree) structure based on a Merkle tree and a prefix tree to store related data such as account book state, etc., and at an interface layer, a transaction server program is used for packaging a programming interface provided by the Fabric, and the transaction is completed by deploying and executing chain codes in the Fabric.
Preferably, the mobile proxy server mainly includes a C # server and a blockchain API interface, where the C # server mainly responds to a request sent from a Web client, and mainly performs operations such as file preprocessing, response integrity check, and establishment of a MERK L E hash tree, and the blockchain API interface is mainly responsible for interaction with a blockchain network, and specifically includes:
and (3) creating a TPS contract, namely using a block chain account address, calling the TPS contract ABI, consuming a certain token to generate a new contract object address, and storing a MeRK L E hash tree file root hash value.
Register blockchain account address: each blockchain account consists of a pair of public and private keys, the account address is 20 bytes derived from the public key, the public key is used for encrypting the account to sign transaction so that the blockchain network can safely verify the identity of a sender, the private key is encrypted through a password provided by a user, all blockchain operations after registration are based on the address, and the same user can register a plurality of account addresses to prevent privacy leakage;
inquiring information on the block chain: inquiring information on the chain according to the transaction Id or the block number of the transaction record, and tracking the change and the post audit of the file;
file preprocessing, namely dividing a file into data blocks according to a format specified by a user, generating a digital label, and calculating a MeRK L E hash tree root hash value;
verification challenge: and constructing a corresponding random number according to the challenge number of the Web client, acquiring a source file block from the HDFS cluster, calculating evidence and verifying data integrity.
Further, the block chain basic service module: a block chain commonly maintained by each mobile agent node of multiple tenants, wherein a contract initiator encrypts a contract before broadcasting the contract to the block chain, participant public keys of each contract participant and the contract are in one-to-one correspondence, a block chain client corresponding to the format of the new block is installed according to downloading information of the block chain client, so that new block content is generated by the block chain client according to the format of the new block, other nodes record the new block content into a block chain account after judging that the new block content conforms to the updated TPS contract, and the corresponding contracts are encrypted by the participant public keys respectively, so that multiple encrypted contracts are obtained, specifically comprising:
deploying the TPS contract: the user deploys the TPS contract on the block link network, returns a contract address, and calls the contract through the contract address and the contract ABI to execute related operations;
and (3) searching information on the chain: inquiring information of the block chain network through the transaction Id, wherein the information cannot be tampered and deleted;
chain token transfer: the blockchain network awards tokens to tenant mobile agent nodes that acquire packaging rights by way of economic incentives, and the tokens can be traded between blockchain account addresses.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (7)

1. A processing apparatus having ten million levels of TPS contract processing capability, comprising:
the system comprises a Web client, a mobile agent and a cloud terminal, wherein the Web client provides a webpage browser program of local service interacting with the cloud terminal for a user, and executes corresponding operation according to the specific requirements of the user by the mobile agent, and the operation comprises file uploading by the user, block chain account book address generation and integrity verification operation initiation;
when a user operates data, a mobile agent in a service domain receives content resources uploaded by a user node, a preset number of TPS contracts are randomly selected from a plurality of TPS contracts, the user is firstly connected with the mobile agent at the cloud end, and then a corresponding module is selected for operation;
the TPS contract module is a protocol core of a block chain network and is an important guarantee that two parties can carry out quick and safe transaction; the TPS contracts are divided into three types of contracts, namely channel contracts, account book contracts and log contracts, wherein the channel contracts are used for establishing payment channels between two transaction users in a block chain network, the account book contracts are used for mutual transfer operation between the two transaction users, measures are taken to ensure the security of the transactions between the two transaction users besides the basic description of the transfer amount of the two transaction users, one party is prevented from carrying out transaction cheating operation, and the log contracts are mainly used for ensuring the fund security of an intermediate node and the normal operation of cross-node payment in the cross-node multi-path payment process;
the mobile proxy server end mainly comprises a C # server end and a block chain API interface, wherein the C # server end responds to a request sent from a Web client end, file preprocessing, response integrity verification and Merkle Hash tree establishment are mainly carried out, and the block chain API interface is mainly responsible for interacting with a block chain network;
a block chain basic service module: the contract method comprises the steps that a block chain is commonly maintained by mobile agent nodes of multiple tenants, a contract initiator encrypts a contract before broadcasting the contract to the block chain, participant public keys of all contract participants and the contract are in one-to-one correspondence, a block chain client corresponding to the format of a new block is installed according to downloading information of the block chain client, new block content is generated through the block chain client according to the format of the new block, other nodes are enabled to record the new block content into a block chain account after judging that the new block content accords with an updated TPS (Perfect service) contract, the public keys of all the participants encrypt corresponding contracts respectively, and accordingly multiple encrypted contracts are obtained.
2. A transaction device having ten million levels of TPS contract transaction capabilities according to claim 1, comprising:
the operation includes file uploading by a user, generation of a block chain account book address and initiation of an integrity check operation, and specifically includes:
uploading a file: uploading a file to a C # server in a cloud mobile agent, setting a file dividing condition, specifying the size of a data block, preprocessing the data block, finally delivering the data block to a block chain API (application program interface) interface to be stored in an HDFS (Hadoop distributed file system) cluster, and fragmenting MA (MA) nodes of the content resource in the service domain by the mobile agent;
downloading a file: a user sends a file acquisition request to a C # server in a mobile agent, the C # server returns a file HDFS address, and the user directly acquires a source file from an HDFS storage cluster through the HDFS address; initiating integrity check: the user selects a proper block number according to the total block number of the file and sends the selected block number to the mobile agent for completeness;
register blockchain ledger address: and providing a user name and a password, and delivering the user name and the password to a block chain API interface in the mobile agent to complete registration.
3. A transaction device having ten million levels of TPS contract transaction capabilities according to claim 1, comprising:
when the user operates data, the mobile agent in the service domain receives content resources uploaded by the user node, randomly selects a preset number of TPS contracts from a plurality of TPS contracts, and the user first connects the mobile agent in the cloud and then selects a corresponding module to operate, which specifically includes:
randomly selecting one TPS contract from the TPS contracts to obtain a first TPS contract; a first node in a control block chain processes information input by a user through the first TPS contract to obtain output information;
the mobile agent generates a resource characteristic value of the content resource and returns the resource characteristic value to the user node, hash operation is carried out on contract content to obtain a first hash value, an initiator private key is used for encrypting the first hash value to obtain an initiator signature, the initiator signature and all encrypted contracts are broadcasted to a block chain, and the mobile agent sends the resource characteristic value of the content resource and fragment MA information MA to a serial chain.
4. A transaction device having ten million levels of TPS contract transaction capabilities according to claim 1, comprising:
the TPS contract module, where a TPS contract is a protocol core of a block link network, is an important guarantee that both parties can perform fast and secure transactions, and specifically includes:
the TPS contract is an interface, and the specific functions are respectively realized in the corresponding channel contract, the account book contract and the log contract;
and meanwhile, the interface is used by a log contract class, represents a Condition whether a log contract is executed or not, calls the TPS contract to upload the resource characteristic value and the benefit allocation rule of the content resource to the public chain, and particularly, the Transfer Condition class realizes the interface and is used in the log contract.
5. A transaction device having ten million levels of TPS contract transaction capabilities according to claim 1, comprising:
the mobile proxy server mainly comprises a C # server and a blockchain API (application programming interface), wherein the C # server responds to a request sent from a Web client, file preprocessing, response integrity verification and MeRK L E hash tree establishment are mainly performed, and the blockchain API is mainly responsible for interacting with a blockchain network and specifically comprises the following steps:
the method is characterized in that a block format and a chain structure are defined to record transaction and account book states by using a Hash function, encryption and signature algorithm cryptography technology, an MPT (media Patricia Tree) structure based on a Merkle tree and a prefix tree is used for storing data related to the account book states, a transaction server program is used for packaging a programming interface provided by the Fabric at one time, the transaction is completed by deploying and executing chain codes in the Fabric, and through the packaging of an API (application program interface), a developer can conveniently use RPC (remote control Unit) for communication, the calling process is simplified, on one hand, the conversion and distribution of a transaction client request can be realized, and on the other hand, a client program is isolated from the basic Block chain service of the Fabric.
6. A transaction device having ten million levels of TPS contract transaction capabilities according to claim 1, comprising:
the mobile proxy server mainly comprises a C # server and a blockchain API (application programming interface), wherein the C # server responds to a request sent from a Web client, file preprocessing, response integrity verification and MeRK L E hash tree establishment are mainly performed, and the blockchain API is mainly responsible for interacting with a blockchain network and specifically comprises the following steps:
creating a TPS contract, namely using a block chain account address, calling an ABI (asynchronous transfer mode) contract, consuming a certain token to generate a new contract object address, and storing a file root hash value of a hash tree of MERK L E;
register blockchain account address: each blockchain account consists of a pair of public and private keys, the account address is 20 bytes derived from the public key, the public key is used for encrypting the account to sign transaction so that the blockchain network can safely verify the identity of a sender, the private key is encrypted through a password provided by a user, all blockchain operations after registration are based on the address, and the same user can register a plurality of account addresses to prevent privacy leakage;
inquiring information on the block chain: inquiring information on the chain according to the transaction Id or the block number of the transaction record, and tracking the change and the post audit of the file;
file preprocessing, namely dividing a file into data blocks according to a format specified by a user, generating a digital label, and calculating a MeRK L E hash tree root hash value;
verification challenge: and constructing a corresponding random number according to the challenge number of the Web client, acquiring a source file block from the HDFS cluster, calculating evidence and verifying data integrity.
7. A transaction device having ten million levels of TPS contract transaction capabilities according to claim 1, comprising:
the block chain basic service module: a block chain commonly maintained by each mobile agent node of multiple tenants, wherein a contract initiator encrypts a contract before broadcasting the contract to the block chain, participant public keys of each contract participant and the contract are in one-to-one correspondence, a block chain client corresponding to the format of the new block is installed according to downloading information of the block chain client, so that new block content is generated by the block chain client according to the format of the new block, other nodes record the new block content into a block chain account after judging that the new block content conforms to the updated TPS contract, and the corresponding contracts are encrypted by the participant public keys respectively, so that multiple encrypted contracts are obtained, specifically comprising:
deploying the TPS contract: the user deploys the TPS contract on the block link network, returns a contract address, and calls the contract through the contract address and the contract ABI to execute related operations;
and (3) searching information on the chain: inquiring information of the block chain network through the transaction Id, wherein the information cannot be tampered and deleted;
chain token transfer: the blockchain network awards tokens to tenant mobile agent nodes that acquire packaging rights by way of economic incentives, and the tokens can be traded between blockchain account addresses.
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 CN110149323A (en) 2019-08-20
CN110149323B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545273B (en) * 2019-08-29 2022-05-03 广东昭阳信息技术有限公司 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
CN112187816B (en) * 2020-09-30 2022-06-28 杭州复杂美科技有限公司 RPC request processing method, equipment and storage medium
CN113065867B (en) * 2021-03-30 2023-06-30 上海万向区块链股份公司 System, method and medium for upgrading incompatible blockchain based on data replay

Family Cites Families (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
CN108805702B (en) * 2018-04-19 2022-04-01 深圳市迅雷网络技术有限公司 Transaction buffering/accelerating method based on block chain and block chain transaction processing system
CN108881274B (en) * 2018-07-06 2019-10-01 众安信息技术服务有限公司 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
CN109635572B (en) * 2018-11-05 2021-05-25 深圳变设龙信息科技有限公司 Contract signing method and device based on block chain and terminal equipment
KR102217987B1 (en) * 2018-11-22 2021-02-18 김경준 Management system for blockchain

Also Published As

Publication number Publication date
CN110149323A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
EP3688930B1 (en) System and method for issuing verifiable claims
EP3721603B1 (en) System and method for creating decentralized identifiers
US11277268B2 (en) System and method for verifying verifiable claims
US10824701B2 (en) System and method for mapping decentralized identifiers to real-world entities
CN110147994B (en) Instant execution method of block chain based on homomorphic encryption
KR102247658B1 (en) Processing of blockchain data based on smart contract behavior executed in a trusted execution environment
KR102392420B1 (en) Program execution and data proof scheme using multi-key pair signatures
US10992649B2 (en) Systems and methods for privacy in distributed ledger transactions
CN110149323B (en) Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity
Robinson The merits of using ethereum mainnet as a coordination blockchain for ethereum private sidechains
CN116743377B (en) Data processing method, device, equipment and storage medium based on blockchain key

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