WO2020258044A1 - 数字凭证处理方法、网关、设备、系统、介质和程序产品 - Google Patents

数字凭证处理方法、网关、设备、系统、介质和程序产品 Download PDF

Info

Publication number
WO2020258044A1
WO2020258044A1 PCT/CN2019/092842 CN2019092842W WO2020258044A1 WO 2020258044 A1 WO2020258044 A1 WO 2020258044A1 CN 2019092842 W CN2019092842 W CN 2019092842W WO 2020258044 A1 WO2020258044 A1 WO 2020258044A1
Authority
WO
WIPO (PCT)
Prior art keywords
digital voucher
voucher processing
block
digital
data
Prior art date
Application number
PCT/CN2019/092842
Other languages
English (en)
French (fr)
Inventor
李群
徐凌超
于金峰
Original Assignee
比特大陆科技有限公司
李群
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 比特大陆科技有限公司, 李群 filed Critical 比特大陆科技有限公司
Priority to PCT/CN2019/092842 priority Critical patent/WO2020258044A1/zh
Priority to US17/622,187 priority patent/US20220366409A1/en
Priority to EP19934782.4A priority patent/EP3992883A4/en
Publication of WO2020258044A1 publication Critical patent/WO2020258044A1/zh

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • 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/3263Cryptographic 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 certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • H04L9/3268Cryptographic 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 certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]
    • 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/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash

Definitions

  • This application relates to the field of blockchain technology, in particular to a distributed digital voucher processing method, as well as a gateway, a digital voucher processing service device, a distributed digital voucher processing system, a computer-readable storage medium, and a computer program product.
  • the digital certificate processing service process involves digital certificate processing equipment, digital certificate processing service equipment, and digital certificate processing nodes.
  • digital voucher processing service nodes For distributed digital voucher processing with a large number of digital voucher processing devices and a wide distribution of digital voucher processing devices, there are usually one or more digital voucher processing service nodes, and these digital voucher processing service nodes are connected to corresponding digital voucher processing nodes.
  • Digital voucher processing services include two main workflows: digital voucher processing task generation and issuance process and block submission process.
  • the digital voucher processing node in the process of generating and issuing digital voucher processing tasks, the digital voucher processing node usually provides the data of the original digital voucher processing task through RPC (Remote Procedure Call) service or P2P protocol and sends it to the digital voucher processing service device.
  • the class data contains data such as block headers and transaction lists.
  • transaction data is usually relatively large, usually exceeding 1M bytes, and the transaction data of some digital certificates can even reach more than 30M bytes.
  • Multiple digital voucher processing service devices frequently read a large amount of data from the digital voucher processing node, which causes a large computational load and network load on the digital voucher processing node and digital voucher processing service equipment, and a large amount of data is transmitted through the network. Network delay. Also, in order to obtain the latest digital voucher processing tasks in time, multiple digital voucher processing service devices usually poll the RPC service of the digital voucher processing node frequently, which consumes the computational load and network load of the digital voucher processing service device.
  • the first purpose of this application is to propose a distributed digital voucher processing method, which can reduce the computational load and network load of the digital voucher processing node and digital voucher processing service equipment.
  • the second purpose of this application is to propose a gateway.
  • the third purpose of this application is to propose another distributed digital voucher processing method.
  • the fourth purpose of this application is to propose another gateway.
  • the fifth purpose of this application is to propose a gateway.
  • the sixth purpose of this application is to propose a distributed digital certificate processing method.
  • the seventh purpose of this application is to provide a digital certificate processing service device.
  • the eighth purpose of this application is to propose another digital certificate processing service device.
  • the ninth purpose of this application is to propose a distributed digital certificate processing system.
  • the tenth purpose of this application is to provide a computer-readable storage medium.
  • the eleventh purpose of this application is to propose a computer program product.
  • the distributed digital voucher processing method of the embodiment of the first aspect of the present application is used in a gateway.
  • the distributed digital voucher processing method includes: polling a digital voucher processing node to obtain the latest digital voucher processing Task template data; generating reduced task template data of a digital voucher processing task according to the digital voucher processing task template data; distributing the reduced task template data to digital voucher processing service equipment.
  • the digital voucher processing node is polled through the gateway.
  • the gateway can reduce The computational load and network load of the digital voucher processing node and digital voucher processing service equipment, as well as the conversion of digital voucher processing task template data into streamlined task template data.
  • Data not required for digital voucher processing tasks especially includes transaction data with a large amount of data It can be cached in the gateway to distribute the streamlined task template data to the digital voucher processing service equipment, thereby reducing the communication load, shortening the time to obtain the latest task template data, and reducing the amount of network transmission data and reducing data delay.
  • the generating simplified task template data of a digital voucher processing task according to the digital voucher processing task template data includes: extracting fields required for digital voucher processing task data from the digital voucher processing task template data , Wherein the field includes a task list; constructs a merkle tree of digital voucher transaction data according to the task list; calculates a left tree hash list of the merkle tree; generates a block initial digital voucher transaction; according to the left tree hash list and The block initial digital voucher transaction generates the simplified task template data.
  • the method further includes generating block data in response to the summary block information, and submitting the block data to the digital voucher processing node.
  • the generating block data in response to the summary report block information and submitting the block data to the digital voucher processing node includes: obtaining block header information in the summary report block information; Block header information supplements transaction data; submit the block header information and assembly information of the transaction data to the digital voucher processing node.
  • the method further includes: obtaining registration information of the digital credential processing service device, and establishing a connection with the digital credential processing service device according to the registration information.
  • the gateway of the embodiment of the second aspect of the present application includes: an acquisition module configured to poll a digital voucher processing node to obtain the latest digital voucher processing task template data; and a first generation module configured to The digital voucher processing task template data generates reduced task template data of the digital voucher processing task; the first sending module is configured to distribute the reduced task template data to digital voucher processing service equipment.
  • the gateway according to the embodiment of the present application is set between the digital voucher processing service device and the digital voucher processing node, obtains digital voucher processing template data from the digital voucher processing node, and converts the digital voucher processing template data into simplified task template data. Send and transmit the data required for digital voucher processing tasks, thereby reducing the computational load and network load of digital voucher processing nodes and digital voucher processing service equipment, reducing data transmission delays, and shortening the time to obtain the latest digital voucher processing tasks .
  • the first generation module further includes: an extraction unit configured to extract fields required for digital voucher processing task data from the digital voucher processing task template data, wherein the fields include a task list; A construction unit, configured to construct a merkle tree of digital voucher transaction data according to the task list; a calculation unit, configured to calculate a left tree hash list of the merkle tree; a first generating unit, configured to generate block initial digital voucher transactions; The second generating unit is configured to generate the simplified task template data according to the left tree hash list and the digital voucher transaction.
  • an extraction unit configured to extract fields required for digital voucher processing task data from the digital voucher processing task template data, wherein the fields include a task list
  • a construction unit configured to construct a merkle tree of digital voucher transaction data according to the task list
  • a calculation unit configured to calculate a left tree hash list of the merkle tree
  • a first generating unit configured to generate block initial digital voucher transactions
  • the second generating unit is configured to generate the simplified task template data according to the left tree hash list and the digital voucher
  • the gateway further includes a reporting block module configured to generate block data in response to the condensed reporting block information, and submit the block data to the digital voucher processing node.
  • the reporting block module further includes: an acquiring unit configured to acquire block header information in the summary report block information; a supplementing unit configured to supplement transaction data according to the block header information; a submission unit, It is configured to submit the block header information and the assembly information of the transaction data to the digital voucher processing node.
  • the gateway further includes a registration connection module configured to obtain registration information of the digital credential processing device, and establish a connection with the digital credential processing service device according to the registration information.
  • the distributed digital voucher processing method of the embodiment of the third aspect of the present application is used in a gateway.
  • the distributed digital voucher processing method includes: determining whether a summary block information is received; and responding to the The summary block information generates block data, and submits the block data to the digital voucher processing node.
  • the gateway based on the provision of a gateway between the digital voucher processing node and the digital voucher processing service device, the gateway generates block data when receiving the summary block information, and submits the block data to the digital voucher Processing node, which can realize the block reporting process, reduce the amount of transmitted data, and improve the transmission efficiency.
  • generating block data in response to the summary report block information and submitting the block data to the digital voucher processing node includes: obtaining block header information in the summary report block information; The block header information supplements transaction data; the block header information and the assembly information of the transaction data are submitted to the digital voucher processing node.
  • the gateway of the embodiment of the fourth aspect of the present application includes: a judging module configured to determine whether summary report block information is received; and a reporting block module configured to generate a block in response to the summary report block information Data, and submit the block data to the digital voucher processing node.
  • the gateway according to the embodiment of the present application is set between the digital voucher processing node and the digital voucher processing service device, generates block data when receiving the summary block information sent by the digital voucher processing service device, and submits the block data to the digital voucher processing Nodes, which can realize the block reporting process, reduce the amount of transmitted data, and improve transmission efficiency.
  • the reporting block module further includes: an acquiring unit configured to acquire block header information in the summary report block information; a supplementing unit configured to supplement transaction data according to the block header information; a submission unit, It is configured to submit the block header information and the assembly information of the transaction data to the digital voucher processing node.
  • the gateway of the embodiment of the fifth aspect of the present application includes: at least one first processor; and a first memory communicatively connected with the at least one processor; wherein the memory stores the An instruction executed by the at least one first processor, when the instruction is executed by the at least one first processor, causes the at least one first processor to execute the above-mentioned embodiment of the first aspect and the embodiment of the third aspect Distributed digital voucher processing method.
  • the distributed digital voucher processing method of the embodiment of the sixth aspect of the present application is applied to a digital voucher processing service device.
  • the distributed digital voucher processing method includes: receiving a simplified task template for digital voucher processing tasks Data; generate a digital voucher processing task according to the simplified task template data; distribute the digital voucher processing task to a digital voucher processing device.
  • the simplified task template data is obtained, and the digital voucher processing task is generated according to the simplified task template data.
  • the simplified task template data removes data that is not required for the digital voucher processing task, thereby reducing
  • the computing load and communication load of the digital credential processing service equipment reduce the delay of data transmission.
  • the method further includes: receiving share information sent by the digital voucher processing device; verifying whether the block header constructed based on the share information meets the reporting block standard; the block header reaches the reporting block standard , Send the briefing block information to the gateway.
  • the digital voucher processing service device of the embodiment of the seventh aspect of the present application includes: a first receiving module configured to receive simplified task template data of a digital voucher processing task; and a second generating module configured to The simplified task template data generates a digital voucher processing task; the second sending module is configured to distribute the digital voucher processing task to a digital voucher processing device.
  • a digital voucher processing task is generated based on the streamlined task template data.
  • the streamlined task template data removes data that is not required for the digital voucher processing task, thereby reducing
  • the computing load and communication load of the digital credential processing service equipment reduce the delay of data transmission.
  • the digital credential processing service device further includes: a second receiving module configured to receive share information sent by the digital credential processing device; a verification module configured to verify a block header constructed based on the share information Whether the report block standard is reached; the third sending module is configured to send the summary report block information to the gateway when the share information reaches the report block standard.
  • the digital voucher processing service device of the embodiment of the eighth aspect of the present application includes: at least one second processor; and a second memory communicatively connected with the at least one second processor; wherein, The memory stores instructions that can be executed by the at least one second processor, and when the instructions are executed by the at least one second processor, the at least one second processor executes the above sixth aspect embodiment The distributed digital voucher processing method.
  • the distributed digital voucher processing system of the embodiment of the ninth aspect of this application includes: a digital voucher processing node; the gateway described in the above embodiment, the gateway is connected to the digital voucher processing node; In the digital credential processing service device described in the above embodiment, the digital credential processing service device is connected to the gateway; the digital credential processing device is connected to the digital credential processing service device.
  • the digital voucher processing node is polled through the gateway, and the simplified task template data is generated, which will simplify the task template Data is sent to digital voucher processing service equipment to generate digital voucher processing tasks, which can reduce the computing load and communication load of digital voucher processing nodes and digital voucher processing service equipment, reduce the delay of data transmission, and shorten the time to obtain digital voucher processing tasks .
  • the computer-readable storage medium of the embodiment of the tenth aspect of the present application stores computer-executable instructions, and the computer-executable instructions are configured to execute the distributed digital voucher processing method described in the above embodiments.
  • the computer program product of an embodiment of the eleventh aspect of the present application includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions that, when executed by a computer, cause The computer executes the distributed digital voucher processing method described in the above embodiment.
  • Fig. 1 is a flowchart of a distributed digital voucher processing method according to an embodiment of the present application
  • Fig. 2 is a schematic diagram of a distributed digital voucher processing process according to an embodiment of the present application
  • Fig. 3 is a block diagram of a gateway according to an embodiment of the present application.
  • FIG. 4 is a block diagram of a gateway according to another embodiment of the present application.
  • FIG. 5 is a block diagram of a gateway according to still another embodiment of the present application.
  • Fig. 6 is a block diagram of a gateway according to another embodiment of the present application.
  • Fig. 7 is a flowchart of a block reporting process in a distributed digital voucher processing method according to an embodiment of the present application.
  • Fig. 8 is a block diagram of a gateway according to an embodiment of the present application.
  • FIG. 9 is a block diagram of a gateway according to another embodiment of the present application.
  • Fig. 10 is a block diagram of a gateway according to still another embodiment of the present application.
  • Fig. 11 is a block diagram of a gateway according to another embodiment of the present application.
  • Fig. 12 is a flowchart of a distributed digital voucher processing method according to an embodiment of the present application.
  • Figure 13 is a block diagram of a digital voucher processing service device according to an embodiment of the present application.
  • Figure 14 is a block diagram of a digital voucher processing service device according to another embodiment of the present application.
  • FIG. 15 is a block diagram of a digital voucher processing service device according to still another embodiment of the present application.
  • Fig. 16 is a block diagram of a distributed digital voucher processing system according to an embodiment of the present application.
  • Fig. 1 is a flowchart of a distributed digital voucher processing method according to an embodiment of the present application.
  • the distributed digital voucher processing method of an embodiment of the present application includes steps S1, S2, and S3.
  • the method can be used in a gateway, and implemented through the gateway.
  • Step S1 poll the digital voucher processing node to obtain the latest digital voucher processing task template data.
  • a gateway is added between the digital credential processing service device and the digital credential processing node.
  • the gateway connects the digital credential processing node and multiple digital credential processing service devices respectively, and polls the digital credential processing node through the gateway, Obtain digital voucher processing task template data.
  • the digital voucher processing task template data may include task content, difficulty information, transaction data with a large amount of data, and other related data.
  • a large amount of data is data that is not required for the digital voucher processing task of the digital voucher processing device, such as Transaction data.
  • the gateway polls the digital voucher processing node to obtain the digital voucher processing task template data, and then verifies whether it is the latest digital voucher processing task template data, for example, according to the sequence of acquisition time or the sequence of the data cache time.
  • Step S2 generating simplified task template data of the digital voucher processing task according to the digital voucher processing task template data.
  • the reduced task template data may include data required for the digital voucher processing task, such as task content and difficulty information. Some unnecessary data such as transaction data with a large amount of data is removed. Such transaction data can be cached in the gateway. .
  • Simplified task template data is obtained by removing data that is unnecessary for the digital voucher processing task in the digital voucher processing task template data.
  • Step S3 Distribute the simplified task template data to the digital voucher processing service equipment.
  • a gateway is added between the digital voucher processing node and multiple digital voucher processing service devices, and the digital voucher processing node is polled through the gateway to obtain digital voucher processing template data, and the digital voucher processing template data contains large amounts of data and digital data.
  • Data not needed for voucher processing is removed to obtain simplified task template data, that is, only the data required for digital voucher processing is issued and transmitted to the digital voucher processing service device, and the digital voucher processing service device generates digital voucher processing tasks based on the simplified task template data. And distribute the digital certificate processing tasks to the digital certificate processing equipment.
  • the digital voucher processing service It is equivalent to dividing the digital voucher processing service into two parts, one of which is obtained by the gateway to obtain simplified task template data, and the other part is generated by the digital voucher processing service equipment and distributed to the digital voucher processing equipment. Multiple digital vouchers
  • the processing service equipment does not need to separately poll the digital voucher processing nodes, and the main network communication mode is converted from the polling mode to the notification mode.
  • the digital voucher processing device performs data processing related to the digital voucher, and the digital voucher can be obtained through the data processing. Further, when the digital voucher is related to or embodied as encrypted currency, the digital voucher in the embodiment of the present application
  • the credential processing device can be a blockchain computing device, and the digital credential can be an encrypted currency based on blockchain technology.
  • the digital voucher processing node is polled through the gateway.
  • the gateway Compared with multiple digital voucher processing service devices in the related art, which frequently read a large amount of data from the digital voucher processing node, it can reduce The computing load and network load of the digital voucher processing node and the digital voucher processing service equipment, and the digital voucher processing task template data is converted into simplified task template data.
  • the data not needed for the digital voucher processing task especially includes transaction data with large data volume It can be cached in the gateway to distribute the streamlined task template data to the digital voucher processing service equipment, thereby reducing the communication load, shortening the time to obtain the latest task template data, and reducing the amount of network transmission data and reducing data delay.
  • the process of generating simplified task template data for the digital voucher processing task may include: extracting the fields required for the digital voucher processing task data from the digital voucher processing task template data, such as version, ntime, last block The hash value, nbits, and task list of the task list; build a merkle tree of digital voucher transaction data based on the task list; calculate the hash list of the left tree of the merkle tree; generate block initial digital voucher transactions such as Coinbase transactions; generate streamlined task template data based on the above data, Among them, the above data includes the left tree hash list and the block initial digital voucher transaction, and can also include the hash value, nbits, version and other information of the previous block, and the streamlined task template data is issued to the digital voucher processing service equipment, namely the amount of data Larger transaction data is cached in the gateway, and only the left tree of the merkle tree of the transaction hash is issued, which can reduce the amount of data from the number of digital voucher processing services multiplied by several megabytes
  • Fig. 2 is a schematic diagram of a distributed digital voucher processing system according to an embodiment of the present application.
  • the digital voucher processing service is divided into two parts, including a digital voucher processing service device and a gateway.
  • the digital voucher processing node is connected, the digital voucher processing node is connected to the digital voucher network, and the digital voucher processing service equipment is respectively connected to multiple digital voucher processing devices.
  • the gateway is responsible for polling the RPC (Remote Procedure Call) service of the digital voucher processing node to obtain the latest digital voucher processing task template data, and the digital voucher processing task template data is not relevant to the digital voucher processing task.
  • RPC Remote Procedure Call
  • the required data such as transaction data with a large amount of data, generates streamlined task template data and actively distributes it to all digital voucher processing service devices connected to it.
  • the digital voucher processing service equipment generates digital voucher processing tasks after processing and supplementing other data based on the received streamlined task template data, and distributes the digital voucher processing tasks to the digital voucher processing equipment, where supplementary other data may include, for example, mining pool data Information such as watermarks and node markings. The watermark can be used to identify that the data block is processed by the mining pool.
  • the gateway and the digital credential processing service device may establish a connection through a registration mechanism.
  • each gateway has its own gateway identification code, and assigns a service identification code to each digital credential processing service device.
  • the gateway obtains the registration information of the digital credential processing service device and recognizes the registration Whether the information is valid, and when it is valid, establish a connection with the digital credential processing service device based on the registration information.
  • the two when the two are connected for the first time, they can establish a connection through the registration information, and they will not be needed in the future, unless the connection is disconnected and needs to be reconnected.
  • the distributed digital voucher processing method of the embodiment of the present application further includes a block submission process.
  • the gateway receives the summary block information to generate block data, and submits the block data to the digital voucher processing node.
  • the summary block information does not contain the transaction data, which can reduce the amount of transmitted data and improve the transmission efficiency.
  • the digital voucher processing device after receiving the digital voucher processing task, performs calculations based on the digital voucher processing task, and when the answer to the digital voucher processing task is obtained, submits a share to the digital voucher processing service
  • the digital certificate processing service device verifies the share information. If the difficulty of the digital certificate processing task is met, the workload of the corresponding digital certificate processing device is calculated. If the block header constructed based on the share information meets the block reporting standard, the number
  • the credential processing service device submits the summary report block information to the gateway.
  • the summary report block information may include block header information. After the gateway receives the summary report block information, it obtains the block header information in the summary report block information, and supplements transaction data based on the block header information.
  • Transaction data has been cached in the gateway during the process of generating digital voucher processing tasks.
  • the gateway assembles the block header information and transaction data, and submits the block header information and transaction data assembly information to the digital voucher processing node, through the digital voucher processing node
  • the RPC service reports blocks.
  • the distributed digital voucher processing method of the embodiment of the present application separates the process of a large amount of network data communication and is processed by the gateway, so that the large amount of data and the data that is not required for the digital voucher processing task are not issued and transmitted. , Only issue and transmit the data required by the digital voucher processing task, thereby reducing the computational load and network load of the digital voucher processing node and digital voucher processing service equipment, reducing the delay of data transmission, and shortening the process of obtaining the latest digital voucher The time of the task.
  • the distributed digital voucher processing method of this application has a more obvious effect.
  • FIG. 3 is a block diagram of a gateway according to an embodiment of the present application.
  • the gateway 10 of the embodiment of the present application includes an acquisition module 1, a first generation module 2 and a first sending module 3.
  • the obtaining module 1 is configured to poll the digital voucher processing node to obtain the latest digital voucher processing task template data.
  • the first generating module 2 is configured to generate reduced task template data of the digital voucher processing task according to the digital voucher processing task template data; the first sending module 3 is configured to distribute the reduced task template data to the digital voucher processing service device.
  • the gateway 10 in the embodiment of the present application connects the digital voucher processing node and multiple digital voucher processing service devices, and polls the digital voucher processing node through the acquisition module 1 to obtain the latest digital voucher processing template data.
  • the digital voucher processing service equipment polls the digital voucher processing nodes separately, which can reduce the computing load and communication load of the digital voucher processing nodes.
  • the digital voucher processing template data includes a large number of data that is not required for digital voucher processing tasks, such as large data volume.
  • the first generation module 2 filters and caches the data in the digital voucher processing template data that is not needed for the digital voucher processing task, and converts it into reduced task template data.
  • the first sending module 3 distributes the reduced task template data to the digital Voucher processing service equipment, that is, only issuing and transmitting the data required for digital voucher processing to the digital voucher processing service device, and then the digital voucher processing service device generates digital voucher processing tasks based on the simplified task template data, and distributes the digital voucher processing tasks to Digital voucher processing equipment, which can reduce the amount of communication data with the digital voucher processing service device, reduce the computing load and communication load of the digital voucher processing service device, and greatly reduce the amount of transmitted data, and reduce the delay of data transmission .
  • the gateway polls the digital voucher processing node to obtain the digital voucher processing task template data, and then verifies whether it is the latest digital voucher processing task template data, for example, according to the sequence of acquisition time or the sequence of the data cache time.
  • the first generation module 2 further includes an extraction unit 21, a construction unit 22, a calculation unit 23, a first generation unit 24 and a second generation unit 25.
  • the extraction unit 21 is configured to extract the fields required for the digital voucher processing task data from the digital voucher processing task template data, such as version, ntime, the hash value of the previous block, nbits, and the task list;
  • the construction unit 22 is configured to according to the task List construction of the merkle tree of digital currency transaction data;
  • the merkle tree is a binary tree that stores transaction information.
  • the calculation unit 23 is configured to calculate the left tree hash list of the merkle tree; the first generation unit 24 is configured to generate the initial block number Voucher transaction; the second generating unit 25 is configured to generate streamlined task template data based on the above data, and deliver the streamlined task template data to the digital voucher processing service device, where the above data includes the left tree hash list, block initial digital voucher transaction, And can include the previous block information, nbits, version and other information.
  • a connection can be established between the gateway and the digital credential processing service device through a registration mechanism.
  • the gateway 10 in this embodiment of the present application further includes a registration connection module 4, and the registration connection module 4 is configured to obtain The registration information of the digital credential processing equipment, and the establishment of a connection with the digital credential processing service equipment according to the registration information.
  • the gateway 10 has its own gateway identification code, and assigns a service identification code to each digital credential processing service device.
  • the gateway 10 obtains the registration information of the digital credential processing service device through the registration connection module 4 , And identify whether the registration information is valid, and when it is valid, establish a connection with the digital credential processing service device based on the registration information.
  • the two when the two are connected for the first time, they can establish a connection through registration information, and can automatically connect in the future, unless the connection is disconnected and needs to be reconnected.
  • the gateway 10 of the embodiment of the present application further includes a reporting block module 5, which is configured to generate block data in response to the condensed reporting block information, and submit the block data to digital voucher processing Nodes, where the summary block information does not include transaction data, which can reduce the amount of transmitted data and improve the efficiency of data transmission.
  • a reporting block module 5 which is configured to generate block data in response to the condensed reporting block information, and submit the block data to digital voucher processing Nodes, where the summary block information does not include transaction data, which can reduce the amount of transmitted data and improve the efficiency of data transmission.
  • the digital voucher processing device after receiving the digital voucher processing task, performs calculations based on the digital voucher processing task, and when it obtains the answer to the digital voucher processing task, submits a share to the digital voucher processing service device ,
  • the digital certificate processing service device verifies the block header constructed based on the share information, and if the difficulty of the digital certificate processing task is met, the workload of the corresponding digital certificate processing device is calculated. If the block header constructed based on the share information satisfies the report Block standard, the digital voucher processing service device submits the summary block information to the gateway 10.
  • the summary report block information may include block header information.
  • the report block module 5 further includes an acquisition unit 51, a supplement unit 52 and a submission unit 53.
  • the obtaining unit 51 is configured to obtain block header information in the summary report block information;
  • the supplementing unit 52 is configured to supplement transaction data according to the block header information, wherein the transaction data has been cached in the gateway 10 during the process of generating digital voucher processing tasks,
  • the supplementary unit 52 assembles the block header information and transaction data;
  • the submission unit 53 is configured to submit the block header information and the assembly information of the transaction data to the digital certificate processing node, and report the block through the RPC service of the digital certificate processing node.
  • the gateway 10 of this application is set between the digital voucher processing service device and the digital voucher processing node.
  • the digital voucher processing template data is obtained through the gateway 10, and the digital voucher processing template data is converted into simplified task template data. Distribute and transmit the data required for digital voucher processing tasks, thereby reducing the computational load and network load of digital voucher processing nodes and digital voucher processing service equipment, reducing data transmission delays, and shortening the time required to obtain the latest digital voucher processing tasks time.
  • the gateway 10 of the present application has a more obvious effect.
  • FIG. 7 is a flowchart of a distributed digital voucher processing method according to an embodiment of the present application, where, in the embodiment, a gateway is added between the digital voucher processing service device and the digital voucher processing node, for example, the gateways are respectively connected to the digital voucher Processing node and multiple digital credential processing service devices, the distributed digital credential processing method of the embodiment of this aspect can be implemented on the gateway side.
  • the distributed digital voucher processing method of the embodiment of the present application includes step S11 and step S12.
  • Step S11 it is judged whether the summary report block information is received.
  • the digital voucher processing device After receiving the digital voucher processing task, the digital voucher processing device performs calculations based on the digital voucher processing task, and when obtaining the answer to the digital voucher processing task, submits a share to the digital voucher processing service device, and the digital voucher processing service device Assemble a complete block initial digital voucher transaction based on the miner identification service setting identification, etc., construct a complete merkle tree based on the left tree of the merkle tree and calculate the root hash value of the merkle tree, construct a complete block header, and verify the block header. If the difficulty of the digital voucher processing task is met, the workload of the corresponding digital voucher processing device is calculated. If the block header constructed based on the share information meets the block reporting standard, the digital voucher processing service device submits the summary block information to the gateway.
  • Step S12 Generate block data in response to the summary block information, and submit the block data to the digital voucher processing node.
  • the summary block information may include block header information.
  • the gateway receives the block header information and supplements transaction data based on the block header information.
  • the transaction data has been cached in the gateway during the process of generating digital voucher processing tasks.
  • the gateway combines the block header information with The transaction data is assembled, and the block header information and the assembly information of the transaction data are submitted to the digital certificate processing node, and the block is reported through the RPC service of the digital certificate processing node.
  • the gateway based on the provision of a gateway between the digital voucher processing node and the digital voucher processing service device, the gateway generates block data when receiving the summary block information, and submits the block data to the digital voucher Processing node, which can realize the block reporting process.
  • the block header information and transaction data are assembled through the gateway to generate block data, and then submitted to the digital voucher processing node, which can reduce the amount of transmitted data and reduce the delay of data transmission.
  • the gateway according to an embodiment of the fourth aspect of the present application will be described below with reference to FIGS. 8 and 9.
  • FIG. 8 is a block diagram of a gateway according to an embodiment of the present application. As shown in FIG. 8, the gateway 10 of the embodiment of the present application includes a judgment module 6 and a reporting block module 5.
  • the judgment module 6 is configured to judge whether the summary report block information is received; the report block module 5 is configured to generate block data in response to the summary report block information, and submit the block data to the digital voucher processing node through the RPC of the digital voucher processing node The service reports blocks.
  • the reporting block information may include block header information.
  • the reporting block module 5 may include an obtaining unit 51, a supplementing unit 52, and a submitting unit 53, wherein the receiving unit 51 is configured to obtain the summary block information Block header information; the supplement unit 52 is configured to supplement transaction data according to the block header information; the submission unit 53 is configured to submit the block header information and the assembly information of the transaction data to the digital certificate processing node, and report the block through the RPC service of the digital certificate processing node .
  • Fig. 10 is a block diagram of a gateway according to an embodiment of the present application.
  • the gateway 10 of the present application includes at least one first processor 7, and a first memory 8 communicatively connected with at least one first processor 7.
  • the first memory 8 stores instructions that can be executed by at least one first processor 7, and when the instructions are executed by at least one first processor 7, at least one first processor 7 executes the distributed Digital voucher processing method.
  • a first processor 7 is taken as an example, and a first memory (memory) 8 may also include a communication interface (Communication Interface) 9 and a bus 91. Among them, the first processor 7, the communication interface 9, and the first memory 8 can communicate with each other through the bus 91.
  • the communication interface 9 can be used for information transmission.
  • the first processor 7 can call the logic instructions in the first memory 8 to execute the distributed digital voucher processing method of the foregoing embodiment.
  • the above-mentioned logical instructions in the first memory 8 can be implemented in the form of a software functional unit and when sold or used as an independent product, they can be stored in a computer readable storage medium.
  • the first memory 8 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present application.
  • the first processor 7 executes functional applications and data processing by running software programs, instructions, and modules stored in the first memory 8, that is, implements the method of transferring digital voucher processing tasks in the foregoing method embodiments.
  • the first memory 8 may include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal device.
  • the first memory 8 may include a high-speed random access memory, and may also include a non-volatile memory.
  • a gateway is provided between the digital voucher processing service device and the digital voucher processing node, and the distributed digital voucher processing method of the embodiment of this aspect can be implemented on the side of the digital voucher processing service device.
  • Fig. 12 is a flowchart of a distributed digital voucher processing method according to an embodiment of the present application. As shown in Fig. 12, the method of the embodiment of the present application includes step S111, step S112, and step S113.
  • Step S111 receiving simplified task template data of the digital voucher processing task.
  • a gateway is set between the digital voucher processing service equipment and the digital voucher processing node, the gateway polls the digital voucher processing node to obtain the latest digital voucher processing task template data, and the digital voucher processing task template data is used for the digital voucher processing task Unnecessary data is filtered out, converted to reduced task template data, and the reduced task template data is distributed to the digital voucher processing service equipment connected to it, that is, the reduced task template data includes data required for digital voucher processing tasks such as task content and difficulty information , Remove some unnecessary data such as transaction data with a large amount of data, such transaction data can be cached in the gateway.
  • Step S112 Generate a digital voucher processing task according to the simplified task template data.
  • the digital voucher processing service device generates a complete block initial digital voucher transaction task based on the received streamlined task template data and supplements other data, and generates a digital voucher processing task, where the supplemented other data may include, for example, a mining pool Information such as the watermark of the node and the label of the node. The watermark can be used to identify that the data block is processed by the digital voucher processing node.
  • Step S113 Distribute the digital voucher processing task to the digital voucher processing device.
  • the simplified task template data is obtained, and the digital voucher processing task is generated according to the simplified task template data.
  • the simplified task template data removes data that is not required for the digital voucher processing task, thereby reducing
  • the computing load and communication load of the digital credential processing service equipment reduce the delay of data transmission.
  • the digital voucher processing device After receiving the digital voucher processing task, the digital voucher processing device performs calculations based on the digital voucher processing task, and when it obtains an answer that meets the conditions of the digital voucher processing task, submits the share information to the digital voucher processing service device, and the digital voucher processing
  • the service device receives the share information sent by the digital credential processing device, verifies whether the block header constructed based on the share information meets the reporting block standard, and the block header meets the reporting block standard, and sends the summary block information to the gateway.
  • the gateway generates block data in response to the summary report block information, and submits the block data to the digital voucher processing node, and reports the block through the RPC service of the digital voucher processing node to realize the block reporting process.
  • the digital credential processing service device according to the embodiment of the seventh aspect of the present application is described below with reference to FIGS. 13 and 14.
  • FIG. 13 is a block diagram of a digital voucher processing service device according to an embodiment of the present application.
  • the digital voucher processing service device 20 of the embodiment of the present application includes a first receiving module 201, a second generating module 202, and a first Two sending module 203.
  • the first receiving module 201 is configured to receive the reduced task template data of the digital voucher processing task; the second generating module 202 is configured to generate the digital voucher processing task according to the reduced task template data; the second sending module 203 is configured to send the digital voucher processing task Distribute to digital voucher processing equipment.
  • a digital voucher processing task is generated based on the streamlined task template data.
  • the streamlined task template data removes data that is not required for the digital voucher processing task, so it can reduce
  • the small digital voucher handles the computing load and communication load of the service equipment, reducing the delay of data transmission.
  • the digital credential processing service device 20 of the embodiment of the present application further includes a second receiving module 204, a verification module 205, and a third sending module 206.
  • the second receiving module 204 is configured to receive share information sent by the digital credential processing device
  • the verification module 205 is configured to verify whether the block header constructed based on the share information meets the block reporting standard, specifically, the verification module 205 is set based on the miner identification service Assemble a complete block initial digital voucher transaction based on identification, etc., construct a complete merkle tree based on the left tree of the merkle tree, calculate the root hash value of the merkle tree, construct a complete block header, and verify the block header
  • third sending module 206 It is configured to send summary report block information to the gateway when the block header reaches the reporting block standard. Furthermore, the gateway generates block data in response to the simplified report block information, and submits the block data to the digital voucher processing node, and reports the block through the RPC service of the digital voucher
  • the digital voucher processing service device according to an embodiment of the eighth aspect of the present application is described below with reference to FIG. 15.
  • the digital voucher processing service device 20 in this embodiment of the present application includes at least one second processor 207, and a second memory 208 communicatively connected with the at least one second processor 207; wherein, the second memory 208 stores An instruction that can be executed by at least one second processor 207, when the instruction is executed by at least one second processor 207, causes at least one second processor 207 to execute the distributed digital voucher processing method of the embodiment of the sixth aspect above.
  • the distributed digital voucher processing system 100 of the embodiment of the present application includes a digital voucher processing node 30, the gateway 10 of the above embodiment, a digital voucher processing service device 20, and a digital voucher processing device 40.
  • the gateway 10 is connected to the digital credential processing node 30, the digital credential processing service device 20 is connected to the gateway 10; the digital credential processing device 40 is connected to the digital credential processing service device 20.
  • the distributed digital voucher processing system 100 of the embodiment of the present application is based on the provision of a gateway 10 between the digital voucher processing node 30 and the digital voucher processing service device 20, and its digital voucher processing service may include tasks The issuing process and the block reporting process.
  • the task issuing process may include: the gateway 10 polls the digital voucher processing node 30, obtains the latest digital voucher processing template data, and generates the simplified task template data of the digital voucher processing task according to the digital voucher processing template data, where the simplified task template
  • the data removes data that is not needed for the digital voucher processing task, such as transaction data with a large amount of data, and caches it in the gateway 10, and distributes the simplified task template data to the digital voucher processing service device 20 connected to it.
  • the digital voucher processing service device 20 generates a digital voucher processing task based on the received simplified task template data, and distributes the digital voucher processing task to the digital voucher processing device 40.
  • the block reporting process may include: the digital voucher processing device 40 performs calculations according to the digital voucher processing task, and when an answer that satisfies the digital voucher processing task is obtained, the digital voucher processing device 40 submits share information to the digital voucher processing service device 20, and the digital voucher The nursing service device 20 assembles a block header based on the share information and performs verification.
  • the block reporting standard is met, the summary report block information is generated and the summary report block information is reported to the gateway 10, and the gateway 10 generates block data in response to the summary report block information, The block data is submitted to the digital voucher processing node 30, and the block is reported through the RPC service of the digital voucher processing node 30 to realize the block reporting process.
  • a gateway 10 is set between the digital voucher processing node 30 and the digital voucher processing service device 20, the digital voucher processing node 30 is polled through the gateway, and the simplified task template data is generated , Sending the simplified task template data to the digital voucher processing service device 20 to generate digital voucher processing tasks, which can reduce the computing load and communication load of the digital voucher processing node 30 and the digital voucher processing service device 20, and reduce the delay of data transmission, Shorten the time for processing tasks to obtain digital certificates.
  • the embodiment of the eleventh aspect of the present application also proposes a computer-readable storage medium that stores computer-executable instructions configured to execute the distributed digital voucher processing method of the above embodiment.
  • the embodiment of the twelfth aspect of the present application also proposes a computer program product.
  • the computer program product includes a computer program stored on a computer-readable storage medium.
  • the computer program includes program instructions. When the program instructions are executed by a computer, the computer Perform the distributed digital voucher processing method as in the above embodiment.
  • the technical solutions of the embodiments of the present application can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer). , A server, or a network device, etc.) execute all or part of the steps of the method described in the embodiments of the present application.
  • the aforementioned storage medium may be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
  • first, second, etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element.
  • the first element can be called the second element, and likewise, the second element can be called the first element, as long as all occurrences of the "first element” are renamed consistently and all occurrences "Second component” can be renamed consistently.
  • the first element and the second element are both elements, but they may not be the same element.
  • the various aspects, implementations, implementations or features in the described embodiments can be used alone or in any combination. All aspects in the described embodiments can be implemented by software, hardware, or a combination of software and hardware.
  • the described embodiments may also be embodied by a computer-readable medium storing computer-readable code, the computer-readable code including instructions executable by at least one computing device.
  • the computer-readable medium can be associated with any data storage device capable of storing data, which can be read by a computer system.
  • the computer readable medium used for example may include read-only memory, random access memory, CD-ROM, HDD, DVD, magnetic tape, optical data storage device, and the like.
  • the computer-readable medium can also be distributed in computer systems connected through a network, so that the computer-readable code can be stored and executed in a distributed manner.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请涉及一种数字凭证处理方法、网关、设备、系统、介质和程序产品,其中,数字凭证处理方法为分布式数字凭证处理方法,用于网关,该分布式数字凭证处理方法包括:轮询数字凭证处理节点,获得最新的数字凭证处理任务模板数据;根据数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据;将精简任务模板数据分发给数字凭证处理服务设备。

Description

数字凭证处理方法、网关、设备、系统、介质和程序产品 技术领域
本申请涉及区块链技术领域,尤其涉及一种分布式数字凭证处理方法,以及网关、数字凭证处理服务设备、分布式数字凭证处理系统、计算机可读存储介质和计算机程序产品。
背景技术
在相关技术中,数字凭证处理服务过程会涉及到数字凭证处理设备、数字凭证处理服务设备和数字凭证处理节点。对于数字凭证处理设备众多且数字凭证处理设备分布比较广的分布式数字凭证处理,通常会有一个或多个数字凭证处理服务节点,这些数字凭证处理服务节点连接对应的数字凭证处理节点。
数字凭证处理服务包括两个主要的工作流程:数字凭证处理任务生成下发流程和提交报块流程。其中,在数字凭证处理任务生成下发流程中,数字凭证处理节点通常通过RPC(Remote Procedure Call,远程过程调用)服务或P2P协议提供数字凭证处理原始任务的数据发送给数字凭证处理服务设备,此类数据中包含区块头、交易列表等数据,其中,交易数据通常比较大,通常超过1M字节,有的数字凭证的交易数据甚至能达到30M字节以上。多个数字凭证处理服务设备分别频繁从数字凭证处理节点读取大量数据,对数字凭证处理节点和数字凭证处理服务设备造成很大的计算负载和网络负载,而且大量数据通过网络传输,有一定的网络延迟。以及,为了及时获得最新的数字凭证处理任务,多个数字凭证处理服务设备通常会频繁地轮询数字凭证处理节点的RPC服务,会耗费数字凭证处理服务设备的计算负载和网络负载。
发明内容
本申请旨在至少解决现有技术中存在的技术问题之一。为此,本申请的第一个目的在于提出一种分布式数字凭证处理方法,该方法可以减小数字凭证处理节点和数字凭证处理服务设备的计算负载和网络负载。
本申请的第二个目的在于提出一种网关。
本申请的第三个目的在于提出另一种分布式数字凭证处理方法。
本申请的第四个目的在于提出另一种网关。
本申请的第五个目的在于提出一种网关。
本申请的第六个目的在于提出一种分布式数字凭证处理方法。
本申请的第七个目的在于提出一种数字凭证处理服务设备。
本申请的第八个目的在于提出另一种数字凭证处理服务设备。
本申请的第九个目的在于提出一种分布式数字凭证处理系统。
本申请的第十个目的在于提出一种计算机可读存储介质。
本申请的第十一个目的在于提出一种计算机程序产品。
为了达到上述第一个目的,本申请第一方面实施例的分布式数字凭证处理方法,用于网关,所述分布式数字凭证处理方法包括:轮询数字凭证处理节点,获得最新的数字凭证处理任务模板数据;根据所述数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据;将所述精简任务模板数据分发给数字凭证处理服务设备。
根据本申请实施例的分布式数字凭证处理方法,通过网关轮询数字凭证处理节点,相较于相关技术中多个数字凭证处理服务设备分别频繁从数字凭证处理节点读取大量数据,可以减小数字凭证处理节点和数字凭证处理服务设备的计算负载和网络负载,以及,将数字凭证处理任务模板数据转换为精简任务模板数据,数字凭证处理任务所不需要的数据尤其包括数据量大的交易数据可以缓存在网关中,将精简任务模板数据分发给数字凭证处理服务设备,从而可以降低通信负载,缩短获取最新任务模板数据的时间,以及减小网络传输数据量,降低数据延迟。
在一些实施例中,所述根据所述数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据,包括:从所述数字凭证处理任务模板数据中提取数字凭证处理任务数据所需的字段,其中,所述字段包括任务列表;根据所述任务列表构建数字凭证交易数据的merkle树;计算所述merkle树的左树hash列表;生成块初始数字凭证交易;根据所述左树hash列表和所述块初始数字凭证交易生成所述精简任务模板数据。
在一些实施例中,所述方法还包括:响应于精简报块信息生成块数据,将所述块数据提交至所述数字凭证处理节点。
在一些实施例中,所述响应于精简报块信息生成块数据,将所述块数据提交至所述数字凭证处理节点,包括:获取所述精简报块信息中的区块头信息;根据所述区块头信息补充交易数据;将所述区块头信息和所述交易数据的组装信息提交至所述数字凭证处理节点。
在一些实施例中,所述方法还包括:获取所述数字凭证处理服务设备的注册信息, 并根据所述注册信息与所述数字凭证处理服务设备建立连接。
为了达到上述第二个目的,本申请第二方面实施例的网关,包括:获取模块,配置为轮询数字凭证处理节点,获取最新的数字凭证处理任务模板数据;第一生成模块,配置为根据所述数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据;第一发送模块,配置为将所述精简任务模板数据分发给数字凭证处理服务设备。
根据本申请实施例的网关,设置在数字凭证处理服务设备和数字凭证处理节点之间,从数字凭证处理节点获取数字凭证处理模板数据,将数字凭证处理模板数据转换为精简任务模板数据,只下发和传输数字凭证处理任务需要的数据,从而,可以减小数字凭证处理节点和数字凭证处理服务设备的计算负载和网络负载,减小数据传输的延迟性,缩短获得最新数字凭证处理任务的时间。
在一些实施例中,所述第一生成模块进一步包括:提取单元,配置为从所述数字凭证处理任务模板数据中提取数字凭证处理任务数据所需的字段,其中,所述字段包括任务列表;构建单元,配置为根据所述任务列表构建数字凭证交易数据的merkle树;计算单元,配置为计算所述merkle树的左树hash列表;第一生成单元,配置为生成块初始数字凭证交易;第二生成单元,配置为根据所述左树hash列表和所述数字凭证交易生成所述精简任务模板数据。
在一些实施例中,所述网关还包括报块模块,所述报块模块,配置为响应于精简报块信息生成块数据,将所述块数据提交至所述数字凭证处理节点。
在一些实施例中,所述报块模块进一步包括:获取单元,配置为获取所述精简报块信息中的区块头信息;补充单元,配置为根据所述区块头信息补充交易数据;提交单元,配置为将所述区块头信息和所述交易数据的组装信息提交至所述数字凭证处理节点。
在一些实施例中,所述网关还包括:注册连接模块,配置为获取所述数字凭证处理设备的注册信息,并根据所述注册信息与所述数字凭证处理服务设备建立连接。
为了达到上述第三个目的,本申请第三方面实施例的分布式数字凭证处理方法,用于网关,所述分布式数字凭证处理方法包括:判断是否接收到精简报块信息;响应于所述精简报块信息生成块数据,并将所述块数据提交至所述数字凭证处理节点。
根据本申请实施例的分布式数字凭证处理方法,基于在数字凭证处理节点和数字凭证处理服务设备之间设置网关,网关在接收到精简报块信息时生成块数据,将块数据提交至数字凭证处理节点,从而可以实现报块流程,减小传输数据量,提高传输效率。
在一些实施例中,响应于所述精简报块信息生成块数据,并将所述块数据提交至所 述数字凭证处理节点,包括:获取所述精简报块信息中的区块头信息;根据所述区块头信息补充交易数据;将所述区块头信息和所述交易数据的组装信息提交至所述数字凭证处理节点。
为了达到上述第四个目的,本申请第四方面实施例的网关,包括:判断模块,配置为判断是否接收到精简报块信息;报块模块,配置为响应于所述精简报块信息生成块数据,并将所述块数据提交至所述数字凭证处理节点。
根据本申请实施例的网关,设置在数字凭证处理节点和数字凭证处理服务设备之间,在接收到数字凭证处理服务设备发送的精简报块信息时生成块数据,将块数据提交至数字凭证处理节点,从而可以实现报块流程,降低传输数据量,提高传输效率。
在一些实施例中,所述报块模块进一步包括:获取单元,配置为获取所述精简报块信息中的区块头信息;补充单元,配置为根据所述区块头信息补充交易数据;提交单元,配置为将所述区块头信息和所述交易数据的组装信息提交至所述数字凭证处理节点。
为了达到上述第五个目的,本申请第五方面实施例的网关,包括:至少一个第一处理器;以及与所述至少一个处理器通信连接的第一存储器;其中,所述存储器存储有可被所述至少一个第一处理器执行的指令,所述指令被所述至少一个第一处理器执行时,使所述至少一个第一处理器执行上面第一方面实施例和第三方面实施例的分布式数字凭证处理方法。
为了达到上述第六个目的,本申请第六方面实施例的分布式数字凭证处理方法,应用于数字凭证处理服务设备,所述分布式数字凭证处理方法包括:接收数字凭证处理任务的精简任务模板数据;根据所述精简任务模板数据生成数字凭证处理任务;将所述数字凭证处理任务分发给数字凭证处理设备。
根据本申请实施例的分布式数字凭证处理方法,获取精简任务模板数据,根据精简任务模板数据生成数字凭证处理任务,精简任务模板数据中去除了数字凭证处理任务不需要的数据,因而可以减小数字凭证处理服务设备的计算负载和通信负载,降低数据传输的延迟性。
在一些实施例中,所述方法还包括:接收所述数字凭证处理设备发送的share信息;验证基于所述share信息构建的区块头是否达到报块标准;所述区块头达到所述报块标准,发送精简报块信息至网关。
为了达到上述第七个目的,本申请第七方面实施例的数字凭证处理服务设备,包括:第一接收模块,配置为接收数字凭证处理任务的精简任务模板数据;第二生成模块,配 置为根据所述精简任务模板数据生成数字凭证处理任务;第二发送模块,配置为将所述数字凭证处理任务分发给数字凭证处理设备。
根据本申请实施例的数字凭证处理服务设备,通过接收精简任务模板数据,根据精简任务模板数据生成数字凭证处理任务,精简任务模板数据中去除了数字凭证处理任务不需要的数据,因而可以减小数字凭证处理服务设备的计算负载和通信负载,降低数据传输的延迟性。
在一些实施例中,所述数字凭证处理服务设备还包括:第二接收模块,配置为接收所述数字凭证处理设备发送的share信息;验证模块,配置为验证基于所述share信息构建的区块头是否达到报块标准;第三发送模块,配置为在所述share信息达到所述报块标准时发送精简报块信息至网关。
为了达到上述第八个目的,本申请第八方面实施例的数字凭证处理服务设备,包括:至少一个第二处理器;以及与所述至少一个第二处理器通信连接的第二存储器;其中,所述存储器存储有可被所述至少一个第二处理器执行的指令,所述指令被所述至少一个第二处理器执行时,使所述至少一个第二处理器执行上面第六方面实施例所述的分布式数字凭证处理方法。
为了达到上述第九个目的,本申请第九方面实施例的分布式数字凭证处理系统,包括:数字凭证处理节点;上面实施例所述的网关,所述网关与所述数字凭证处理节点连接;上面实施例所述的数字凭证处理服务设备,所述数字凭证处理服务设备与所述网关连接;数字凭证处理设备,所述数字凭证处理设备与所述数字凭证处理服务设备连接。
根据本申请实施例的分布式数字凭证处理系统,通过在数字凭证处理节点与数字凭证处理服务设备之间设置网关,通过网关轮询数字凭证处理节点,并生成精简任务模板数据,将精简任务模板数据发送给数字凭证处理服务设备以生成数字凭证处理任务,可以减小数字凭证处理节点和数字凭证处理服务设备的计算负载和通信负载,降低数据传输的延迟性,缩短获得数字凭证处理任务的时间。
本申请第十方面实施例的计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上面实施例所述的分布式数字凭证处理方法。
本申请第十一方面实施例的计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上面实施例所述的分布式数字凭证处理方法。
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:
图1为根据本申请的一个实施例的分布式数字凭证处理方法的流程图;
图2为根据本申请的一个实施例的分布式数字凭证处理过程的示意图;
图3为根据本申请的一个实施例的网关的框图;
图4为根据本申请的另一个实施例的网关的框图;
图5为根据本申请的再一个实施例的网关的框图;
图6为根据本申请的又一个实施例的网关的框图;
图7为根据本申请的一个实施例的分布式数字凭证处理方法中报块过程的流程图;
图8为根据本申请的一个实施例的网关的框图;
图9为根据本申请的另一个实施例的网关的框图;
图10为根据本申请的再一个实施例的网关的框图;
图11为根据本申请的又一个实施例的网关的框图;
图12为根据本申请的一个实施例的分布式数字凭证处理方法的流程图;
图13为根据本申请的一个实施例的数字凭证处理服务设备的框图;
图14为根据本申请的另一个实施例的数字凭证处理服务设备的框图;
图15为根据本申请的再一个实施例的数字凭证处理服务设备的框图;
图16为根据本申请的一个实施例的分布式数字凭证处理系统的框图。
具体实施方式
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。
下面参照附图1和2描述根据本申请第一方面实施例的分布式数字凭证处理方法。
图1是根据本申请的一个实施例的分布式数字凭证处理方法的流程图,如图1所述,本申请实施例的分布式数字凭证处理方法包括步骤S1、步骤S2和步骤S3。在实施例中,该方法可以用在网关,通过网关来实现。
步骤S1,轮询数字凭证处理节点,获得最新的数字凭证处理任务模板数据。
在本申请实施例中,在数字凭证处理服务设备与数字凭证处理节点之间增加网关,例如,网关分别连接数字凭证处理节点和多个数字凭证处理服务设备,通过网关轮询数字凭证处理节点,获得数字凭证处理任务模板数据。
在实施例中,数字凭证处理任务模板数据可以包括任务内容、难度信息、数据量大的交易数据以及其他相关数据,其中,大量数据是数字凭证处理设备的数字凭证处理任务所不需要的数据例如交易数据。
具体地,网关轮询数字凭证处理节点,获得数字凭证处理任务模板数据后,验证是否是最新的数字凭证处理任务模版数据,例如可以根据获取时间的先后或者该数据缓存时间的先后。
步骤S2,根据数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据。
在实施例中,精简任务模板数据可以包括数字凭证处理任务所需要的数据例如任务内容和难度信息,去除了一些不需要的数据例如数据量大的交易数据,此类交易数据可以缓存在网关中。通过去除数字凭证处理任务模板数据中对于数字凭证处理任务不需要的数据来获得精简任务模板数据。
步骤S3,将精简任务模板数据分发给数字凭证处理服务设备。
具体地,在数字凭证处理节点和多个数字凭证处理服务设备之间增加一个网关,通过网关轮询数字凭证处理节点获得数字凭证处理模板数据,并将数字凭证处理模板数据中数据量大、数字凭证处理不需要的数据去除,获得精简任务模板数据,即只下发传输数字凭证处理需要的数据给数字凭证处理服务设备,进而数字凭证处理服务设备根据精简任务模板数据后生成数字凭证处理任务,并将数字凭证处理任务分发给数字凭证处理设备。
相当于将数字凭证处理服务分成两个部分,其中一个部分由网关来获得精简任务模板数据,另一个部分由数字凭证处理服务设备生成数字凭证处理任务并分发给数字凭证处理设备,多个数字凭证处理服务设备无需分别轮询数字凭证处理节点,主要的网络通 信模式从轮询模式转换为通知模式。
在一些实施例中,数字凭证处理设备进行与数字凭证相关的数据处理,通过数据处理可以得到数字凭证,进一步地,当数字凭证与加密货币相关或体现为加密货币时,本申请实施例的数字凭证处理设备可以是区块链计算设备,数字凭证可以是以区块链技术为基础的加密货币。
根据本申请实施例的分布式数字凭证处理方法,通过网关轮询数字凭证处理节点,相较于相关技术中多个数字凭证处理服务设备分别频繁从数字凭证处理节点读取大量数据,可以减小数字凭证处理节点和数字凭证处理服务设备的计算负载和网络负载,并且,将数字凭证处理任务模板数据转换为精简任务模板数据,数字凭证处理任务所不需要的数据尤其包括数据量大的交易数据可以缓存在网关中,将精简任务模板数据分发给数字凭证处理服务设备,从而可以降低通信负载,缩短获取最新任务模板数据的时间,以及减小网络传输数据量,降低数据延迟。
进一步地,在一些实施例中,生成数字凭证处理任务的精简任务模板数据的过程可以包括:从数字凭证处理任务模板数据中提取数字凭证处理任务数据所需的字段例如版本、ntime、上一个块的hash值、nbits、以及任务列表;根据任务列表构建数字凭证交易数据的merkle树;计算merkle树的左树hash列表;生成块初始数字凭证交易例如Coinbase交易;根据以上数据生成精简任务模板数据,其中,以上数据包括左树hash列表和块初始数字凭证交易,还可以包括上一个块的hash值、nbits、版本等信息,并将精简任务模板数据下发给数字凭证处理服务设备,即将数据量较大的交易数据缓存在网关中,只下发交易哈希的merkle树的左树,可以使得数据量从数字凭证处理服务数乘以几兆、几十兆字节降低到几千字节,大大降低通信负载,缩短获取最新数字凭证处理任务的时间。
举例说明,图2是根据本申请的一个实施例的分布式数字凭证处理系统的示意图,如图2所示,将数字凭证处理服务分成了两部分,包括数字凭证处理服务设备和网关,网关与数字凭证处理节点连接,数字凭证处理节点连接数字凭证网络,数字凭证处理服务设备分别连接多个数字凭证处理设备。其中,网关负责轮询数字凭证处理节点的RPC(Remote Procedure Call,远程过程调用)服务,以获取最新的数字凭证处理任务模板数据,并将数字凭证处理任务模板数据中对于数字凭证处理任务所不需要的数据例如数据量大的交易数据,生成精简任务模板数据,并主动分发给与其连接的所有数字凭证处理服务设备。数字凭证处理服务设备基于接收到的精简任务模板数据,经过处理补充其 他数据后生成数字凭证处理任务,并将数字凭证处理任务分发给数字凭证处理设备,其中,补充其他数据可以包括例如矿池的水印、节点的标示等信息,水印可以用来标识该数据块是该矿池处理的。
在一些实施例中,网关和数字凭证处理服务设备之间可以通过注册机制来建立连接。具体地,每个网关有自己的网关身份识别码,并给每个数字凭证处理服务设备分配一个服务身份识别码,在建立连接时,网关获取数字凭证处理服务设备的注册信息,并识别该注册信息是否有效,在有效时,根据注册信息与数字凭证处理服务设备建立连接。其中,两者在第一次连接时,可以通过注册信息来建立连接,以后不需要,除非连接断开,需要重新连接。
在实施例中,本申请实施例的分布式数字凭证处理方法还包括提交报块流程,网关接收到精简报块信息生成块数据,并将块数据提交至数字凭证处理节点。其中,由于交易数据存储在网关,精简报块信息不包含交易数据,从而可以减小传输数据量,提高传输效率。
具体地,如图2所示,数字凭证处理设备接收到数字凭证处理任务后,根据数字凭证处理任务进行计算,在获得数字凭证处理任务的答案时,提交贡献份额(share)给数字凭证处理服务设备,数字凭证处理服务设备对share信息进行验证,如果满足数字凭证处理任务的难度,则推算对应的数字凭证处理设备的工作量,如果基于该share信息构建的区块头满足报块标准,则数字凭证处理服务设备提交精简报块信息给网关,精简报块信息可以包括区块头信息,网关接收到精简报块信息后,获取精简报块信息中的区块头信息,根据区块头信息补充交易数据,交易数据在生成数字凭证处理任务流程中已经缓存在网关中,网关将区块头信息和交易数据进行组装,并将区块头信息和交易数据的组装信息提交至数字凭证处理节点,通过数字凭证处理节点的RPC服务进行报块。
总的来说,本申请实施例的分布式数字凭证处理方法,把大量网络数据通信的过程单独分离出来,由网关来处理,把数据量大、数字凭证处理任务不需要的数据不下发和传输,只下发和传输数字凭证处理任务需要的数据,从而,可以减小数字凭证处理节点和数字凭证处理服务设备的计算负载和网络负载,减小数据传输的延迟性,缩短获得最新数字凭证处理任务的时间。
对于服务数字凭证处理设备数量多,部署的数字凭证处理服务设备数量多的分布式大型数字凭证处理系统,采用本申请的分布式数字凭证处理方法,效果更加明显。
下面参照附图描述根据本申请第二方面实施例的网关。
图3是根据本申请的一个实施例的网关的框图,如图3所示,本申请实施例的网关10包括获取模块1、第一生成模块2和第一发送模块3。
其中,获取模块1配置为轮询数字凭证处理节点,获取最新的数字凭证处理任务模板数据。第一生成模块2配置为根据数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据;第一发送模块3配置为将精简任务模板数据分发给数字凭证处理服务设备。
具体地,本申请实施例的网关10分别连接数字凭证处理节点和多个数字凭证处理服务设备,通过获取模块1轮询数字凭证处理节点,获取最新的数字凭证处理模板数据,相较于多个数字凭证处理服务设备分别轮询数字凭证处理节点,可以减小数字凭证处理节点的计算负载和通信负载,其中,数字凭证处理模板数据中包括大量数字凭证处理任务所不需要的数据例如数据量大的交易数据,第一生成模块2将数字凭证处理模板数据中对于数字凭证处理任务不需要的数据进行过滤和缓存,转换为精简任务模板数据,第一发送模块3将精简任务模板数据分发给数字凭证处理服务设备,即只下发、传输数字凭证处理需要的数据给数字凭证处理服务设备,进而数字凭证处理服务设备根据精简任务模板数据后生成数字凭证处理任务,并将数字凭证处理任务分发给数字凭证处理设备,从而可以减小与数字凭证处理服务设备之间的通信数据量,减小数字凭证处理服务设备的计算负载和通信负载,以及传输数据量大大降低,减小数据传输的延迟性。
在实施例中,网关轮询数字凭证处理节点,获得数字凭证处理任务模板数据后,验证是否是最新的数字凭证处理任务模版数据,例如可以根据获取时间的先后或者该数据缓存时间的先后。
进一步地,在一些实施例中,如图4所示,第一生成模块2进一步包括提取单元21、构建单元22、计算单元23、第一生成单元24和第二生成单元25。
其中,提取单元21配置为从数字凭证处理任务模板数据中提取数字凭证处理任务数据所需的字段例如版本、ntime、上一个块的hash值、nbits、以及任务列表;构建单元22配置为根据任务列表构建数字货币交易数据的merkle树;merkle树是二叉树,存储有交易信息,在本申请中,计算单元23配置为计算merkle树的左树hash列表;第一生成单元24配置为生成块初始数字凭证交易;第二生成单元25配置为根据以上数据生成精简任务模板数据,并将精简任务模板数据下发给数字凭证处理服务设备,其中,以上数据包括左树hash列表、块初始数字凭证交易,以及可以包括上一个的块信息、nbits、版本等信息。
在一些实施例中,网关和数字凭证处理服务设备之间可以通过注册机制来建立连接,如图5所示,本申请实施例的网关10还包括注册连接模块4,注册连接模块4配置为获取数字凭证处理设备的注册信息,并根据注册信息与数字凭证处理服务设备建立连接。具体地,网关10有自己的网关身份识别码,并给每个数字凭证处理服务设备分配一个服务身份识别码,在建立连接时,网关10通过注册连接模块4获取数字凭证处理服务设备的注册信息,并识别该注册信息是否有效,在有效时,根据注册信息与数字凭证处理服务设备建立连接。其中,两者在第一次连接时,可以通过注册信息来建立连接,以后可以自动连接,除非连接断开,需要重新连接。
在实施例中,如图5所示,本申请实施例的网关10还包括报块模块5,报块模块5配置为响应于精简报块信息生成块数据,将该块数据提交至数字凭证处理节点,其中,精简报块信息不包括交易数据,从而可以减小传输数据量,提高数据传输效率。
具体地,如图2所示,数字凭证处理设备接收到数字凭证处理任务后,根据数字凭证处理任务进行计算,在获得数字凭证处理任务的答案时,提交份额(share)给数字凭证处理服务设备,数字凭证处理服务设备对基于该share信息构建的区块头进行验证,如果满足数字凭证处理任务的难度,则推算对应的数字凭证处理设备的工作量,如果基于该share信息构建的区块头满足报块标准,则数字凭证处理服务设备提交精简报块信息给网关10。精简报块信息可以包括区块头信息,如图6所示,报块模块5进一步包括获取单元51、补充单元52和提交单元53。其中,获取单元51配置为获取精简报块信息中的区块头信息;补充单元52配置为根据区块头信息补充交易数据,其中,交易数据在生成数字凭证处理任务流程中已经缓存在网关10中,补充单元52将区块头信息和交易数据进行组装;提交单元53配置为将区块头信息和交易数据的组装信息提交至数字凭证处理节点,通过数字凭证处理节点的RPC服务进行报块。
简言之,本申请的网关10,设置在数字凭证处理服务设备和数字凭证处理节点之间,通过网关10来获取数字凭证处理模板数据,将数字凭证处理模板数据转换为精简任务模板数据,只下发和传输数字凭证处理任务需要的数据,从而,可以减小数字凭证处理节点和数字凭证处理服务设备的计算负载和网络负载,减小数据传输的延迟性,缩短获得最新数字凭证处理任务的时间。对于服务数字凭证处理设备数量多,部署的数字凭证处理服务设备数量多的分布式大型数字凭证处理系统,采用本申请的网关10,效果更加明显。
下面参照附图7描述根据本申请第三方面实施例的分布式数字凭证处理方法。
图7是根据本申请的一个实施例的分布式数字凭证处理方法的流程图,其中,在实施例中,在数字凭证处理服务设备与数字凭证处理节点之间增加网关,例如网关分别连接数字凭证处理节点和多个数字凭证处理服务设备,本方面实施例的分布式数字凭证处理方法可以在网关侧实现。
如图7所示,本申请实施例的分布式数字凭证处理方法包括步骤S11和步骤S12。
步骤S11,判断是否接收到精简报块信息。
具体地,数字凭证处理设备接收到数字凭证处理任务后,根据数字凭证处理任务进行计算,在获得数字凭证处理任务的答案时,提交份额(share)给数字凭证处理服务设备,数字凭证处理服务设备基于矿工标识服务设置标识等组装出完整的块初始数字凭证交易,基于merkle树左树构建出完整的merkle树并计算出merkle树根hash值,构建完整的区块头,并对区块头进行验证,如果满足数字凭证处理任务的难度,则推算对应的数字凭证处理设备的工作量,如果基于share信息构建的区块头满足报块标准,则数字凭证处理服务设备提交精简报块信息给网关。
步骤S12,响应于精简报块信息生成块数据,并将块数据提交至数字凭证处理节点。
具体地,精简报块信息可以包括区块头信息,网关接收到区块头信息,根据区块头信息补充交易数据,交易数据在生成数字凭证处理任务流程中已经缓存在网关中,网关将区块头信息和交易数据进行组装,并将区块头信息和交易数据的组装信息提交至数字凭证处理节点,通过数字凭证处理节点的RPC服务进行报块。
根据本申请实施例的分布式数字凭证处理方法,基于在数字凭证处理节点和数字凭证处理服务设备之间设置网关,网关在接收到精简报块信息时生成块数据,将块数据提交至数字凭证处理节点,从而可以实现报块流程。以及,通过网关将区块头信息和交易数据进行组装生成块数据,再提交给数字凭证处理节点,可以减小传输数据量,降低数据传输延迟性。
下面参照附图8和9描述根据本申请第四方面实施例的网关。
图8是根据本申请的一个实施例的网关的框图,如图8所示,本申请实施例的网关10包括判断模块6和报块模块5。
其中,判断模块6配置为判断是否接收到精简报块信息;报块模块5配置为响应于精简报块信息生成块数据,并将块数据提交至数字凭证处理节点,通过数字凭证处理节点的RPC服务进行报块。
进一步地,报块信息可以包括区块头信息,如图9所示,报块模块5可以包括获取 单元51、补充单元52和提交单元53,其中,接收单元51配置为获取精简报块信息中的区块头信息;补充单元52配置为根据区块头信息补充交易数据;提交单元53配置为将区块头信息和交易数据的组装信息提交至数字凭证处理节点,通过数字凭证处理节点的RPC服务进行报块。
下面参照附图10描述根据本申请第五方面实施例的网关。
图10是根据本申请的一个实施例的网关的框图,如图10所示,本申请的网关10包括至少一个第一处理器7、与至少一个第一处理器7通信连接的第一存储器8;其中,第一存储器8存储有可被至少一个第一处理器7执行的指令,指令被至少一个第一处理器7执行时,使至少一个第一处理器7执行上面方面实施例的分布式数字凭证处理方法。
图11中以一个第一处理器7为例,和第一存储器(memory)8,还可以包括通信接口(Communication Interface)9和总线91。其中,第一处理器7、通信接口9、第一存储器8可以通过总线91完成相互间的通信。通信接口9可以用于信息传输。第一处理器7可以调用第一存储器8中的逻辑指令,以执行上述实施例的分布式数字凭证处理方法。
此外,上述的第一存储器8中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。
第一存储器8作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本申请实施例中的方法对应的程序指令/模块。第一处理器7通过运行存储在第一存储器8中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的中转数字凭证处理任务的方法。
第一存储器8可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,第一存储器8可以包括高速随机存取存储器,还可以包括非易失性存储器。
下面参照附图12描述根据本申请第六方面实施例的分布式数字凭证处理方法。
在实施例中,在数字凭证处理服务设备和数字凭证处理节点之间设置网关,本方面实施例的分布式数字凭证处理方法可以在数字凭证处理服务设备侧实现。
图12是根据本申请的一个实施例的分布式数字凭证处理方法的流程图,如图12所示,本申请实施例的方法包括步骤S111、步骤S112和步骤S113。
步骤S111,接收数字凭证处理任务的精简任务模板数据。
具体地,在数字凭证处理服务设备与数字凭证处理节点之间设置网关,网关轮询数 字凭证处理节点获取最新的数字凭证处理任务模板数据,并将数字凭证处理任务模板数据中对于数字凭证处理任务不需要的数据过滤掉,转换为精简任务模板数据,将精简任务模板数据分发给与其连接的数字凭证处理服务设备,即精简任务模板数据包括数字凭证处理任务所需要的数据例如任务内容和难度信息,去除了一些不需要的数据例如数据量大的交易数据,此类交易数据可以缓存在网关中。
步骤S112,根据精简任务模板数据生成数字凭证处理任务。
具体地,数字凭证处理服务设备基于接收到的精简任务模板数据,经过处理补充其他数据生成完整的块初始数字凭证交易任务,并生成数字凭证处理任务,其中,补充的其他数据可以包括例如矿池的水印、节点的标示等信息,水印可以用来标识该数据块是该数字凭证处理节点处理的。
步骤S113,将数字凭证处理任务分发给数字凭证处理设备。
根据本申请实施例的分布式数字凭证处理方法,获取精简任务模板数据,根据精简任务模板数据生成数字凭证处理任务,精简任务模板数据中去除了数字凭证处理任务不需要的数据,因而可以减小数字凭证处理服务设备的计算负载和通信负载,降低数据传输的延迟性。
进一步地,数字凭证处理设备在接收到数字凭证处理任务后,根据数字凭证处理任务进行计算,在获得满足数字凭证处理任务的条件的答案时,提交share信息给数字凭证处理服务设备,数字凭证处理服务设备接收数字凭证处理设备发送的share信息,验证基于该share信息构建的区块头是否达到报块标准,该区块头达到报块标准,发送精简报块信息至网关。进而网关响应于精简报块信息生成块数据,并将块数据提交至数字凭证处理节点,通过数字凭证处理节点的RPC服务进行报块,实现报块流程。
下面参照附图13和14描述根据本申请第七方面实施例的数字凭证处理服务设备。
图13是根据本申请的一个实施例的数字凭证处理服务设备的框图,如图13所示,本申请实施例的数字凭证处理服务设备20包括第一接收模块201、第二生成模块202和第二发送模块203。
其中,第一接收模块201配置为接收数字凭证处理任务的精简任务模板数据;第二生成模块202配置为根据精简任务模板数据生成数字凭证处理任务;第二发送模块203配置为将数字凭证处理任务分发给数字凭证处理设备。
根据本申请实施例的数字凭证处理服务设备20,通过接收精简任务模板数据,根据精简任务模板数据生成数字凭证处理任务,精简任务模板数据中去除了数字凭证处理 任务不需要的数据,因而可以减小数字凭证处理服务设备的计算负载和通信负载,降低数据传输的延迟性。
进一步地,如图14所示,本申请实施例的数字凭证处理服务设备20还包括第二接收模块204、验证模块205和第三发送模块206。其中,第二接收模块204配置为接收数字凭证处理设备发送的share信息;验证模块205配置为验证基于该share信息构建的区块头是否达到报块标准,具体地,验证模块205基于矿工标识服务设置标识等组装出完整的块初始数字凭证交易,并基于merkle树左树构建出完整的merkle树并计算出merkle树根hash值,构建完整的区块头,并区块头进行验证;第三发送模块206配置为在该区块头达到报块标准时发送精简报块信息至网关。进而网关响应于精简报块信息生成块数据,并将块数据提交至数字凭证处理节点,通过数字凭证处理节点的RPC服务进行报块,从而实现报块流程。
下面参照附图15描述根据本申请第八方面实施例的数字凭证处理服务设备。
如图15所示,本申请实施例的数字凭证处理服务设备20包括至少一个第二处理器207、与至少一个第二处理器207通信连接的第二存储器208;其中,第二存储器208存储有可被至少一个第二处理器207执行的指令,该指令被至少一个第二处理器207执行时,使至少一个第二处理器207执行上面第六方面实施例的分布式数字凭证处理方法。
基于上述实施例的数字凭证处理服务设备和网关,下面参照附图16描述根据本申请第九方面实施例的分布式数字凭证处理系统。
如图16所示,本申请实施例的分布式数字凭证处理系统100包括数字凭证处理节点30、上面实施例的网关10、数字凭证处理服务设备20和数字凭证处理设备40。
其中,网关10与数字凭证处理节点30连接,数字凭证处理服务设备20与网关10连接;数字凭证处理设备40与数字凭证处理服务设备20连接。
具体地,参照图2所示,本申请实施例的分布式数字凭证处理系统100,基于在数字凭证处理节点30和数字凭证处理服务设备20之间设置网关10,其数字凭证处理服务可以包括任务下发过程和报块过程。
其中,任务下发过程可以包括:网关10轮询数字凭证处理节点30,获得最新的数字凭证处理模板数据,并根据数字凭证处理模板数据生成数字凭证处理任务的精简任务模板数据,其中精简任务模板数据去除了对于数字凭证处理任务不需要的数据例如数据量大的交易数据,将其缓存在网关10中,将精简任务模板数据分发给与其连接的数字 凭证处理服务设备20。数字凭证处理服务设备20基于接收到的精简任务模板数据生成数字凭证处理任务,将数字凭证处理任务分发给数字凭证处理设备40。
其中,报块过程可以包括:数字凭证处理设备40根据数字凭证处理任务进行计算,在获得满足数字凭证处理任务的答案时,数字凭证处理设备40提交share信息给数字凭证处理服务设备20,数字凭证护理服务设备20基于该share信息组装成区块头并进行验证,在满足报块标准时,生成精简报块信息并将精简报块信息上报给网关10,网关10响应于精简报块信息生成块数据,并将块数据提交至数字凭证处理节点30,通过数字凭证处理节点30的RPC服务进行报块,实现报块流程。
根据本申请实施例的分布式数字凭证处理系统100,通过在数字凭证处理节点30与数字凭证处理服务设备20之间设置网关10,通过网关轮询数字凭证处理节点30,并生成精简任务模板数据,将精简任务模板数据发送给数字凭证处理服务设备20以生成数字凭证处理任务,可以减小数字凭证处理节点30和数字凭证处理服务设备20的计算负载和通信负载,降低数据传输的延迟性,缩短获得数字凭证处理任务的时间。
本申请第十一方面实施例还提出一种计算机可读存储介质,存储有计算机可执行指令,该计算机可执行指令设置为执行上面实施例的分布式数字凭证处理方法。
本申请第十二方面实施例还提出一种计算机程序产品,该计算机程序产品包括存储在计算机可读存储介质上的计算机程序,该计算机程序包括程序指令,当程序指令被计算机执行时,使计算机执行如上面实施例的分布式数字凭证处理方法。
需要说明的是,本申请实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。
当用于本申请中时,虽然术语“第一”、“第二”等可能会在本申请中使用以描述各元件,但这些元件不应受到这些术语的限制。这些术语仅用于将一个元件与另一个元件区别开。比如,在不改变描述的含义的情况下,第一元件可以叫做第二元件,并且同样第,第二元件可以叫做第一元件,只要所有出现的“第一元件”一致重命名并且所有出现的“第二元件”一致重命名即可。第一元件和第二元件都是元件,但可以不是相同的元件。
本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。
所描述的实施例中的各方面、实施方式、实现或特征能够单独使用或以任意组合的方式使用。所描述的实施例中的各方面可由软件、硬件或软硬件的结合实现。所描述的实施例也可以由存储有计算机可读代码的计算机可读介质体现,该计算机可读代码包括可由至少一个计算装置执行的指令。所述计算机可读介质可与任何能够存储数据的数据存储装置相关联,该数据可由计算机系统读取。用于举例的计算机可读介质可以包括只读存储器、随机存取存储器、CD-ROM、HDD、DVD、磁带以及光数据存储装置等。所述计算机可读介质还可以分布于通过网络联接的计算机系统中,这样计算机可读代码就可以分布式存储并执行。
上述技术描述可参照附图,这些附图形成了本申请的一部分,并且通过描述在附图中示出了依照所描述的实施例的实施方式。虽然这些实施例描述的足够详细以使本领域技术人员能够实现这些实施例,但这些实施例是非限制性的;这样就可以使用其它的实施例,并且在不脱离所描述的实施例的范围的情况下还可以做出变化。比如,流程图中所描述的操作顺序是非限制性的,因此在流程图中阐释并且根据流程图描述的两个或两个以上操作的顺序可以根据若干实施例进行改变。作为另一个例子,在若干实施例中,在流程图中阐释并且根据流程图描述的一个或一个以上操作是可选的,或是可删除的。另外,某些步骤或功能可以添加到所公开的实施例中,或两个以上的步骤顺序被置换。所有这些变化被认为包含在所公开的实施例以及权利要求中。
另外,上述技术描述中使用术语以提供所描述的实施例的透彻理解。然而,并不需要过于详细的细节以实现所描述的实施例。因此,实施例的上述描述是为了阐释和描述而呈现的。上述描述中所呈现的实施例以及根据这些实施例所公开的例子是单独提供的,以添加上下文并有助于理解所描述的实施例。上述说明书不用于做到无遗漏或将所描述的实施例限制到本申请的精确形式。根据上述教导,若干修改、选择适用以及变化 是可行的。在某些情况下,没有详细描述为人所熟知的处理步骤以避免不必要地影响所描述的实施例。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示意性实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。

Claims (23)

  1. 一种分布式数字凭证处理方法,其特征在于,用于网关,所述分布式数字凭证处理方法包括:
    轮询数字凭证处理节点,获得最新的数字凭证处理任务模板数据;
    根据所述数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据;
    将所述精简任务模板数据分发给数字凭证处理服务设备。
  2. 根据权利要求1所述的分布式数字凭证处理方法,其特征在于,所述根据所述数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据,包括:
    从所述数字凭证处理任务模板数据中提取数字凭证处理任务数据所需的字段,其中,所述字段包括任务列表;
    根据所述任务列表构建数字凭证交易数据的merkle树;
    计算所述merkle树的左树hash列表;
    生成块初始数字凭证交易;
    根据所述左树hash列表和所述块初始数字凭证交易生成所述精简任务模板数据。
  3. 根据权利要求1或2所述的分布式数字凭证处理方法,其特征在于,所述方法还包括:响应于精简报块信息生成块数据,将所述块数据提交至所述数字凭证处理节点。
  4. 根据权利要求3所述的分布式数字凭证处理方法,其特征在于,所述响应于精简报块信息生成块数据,将所述块数据提交至所述数字凭证处理节点,包括:
    获取精简报块信息中的区块头信息;
    根据所述区块头信息补充交易数据;
    将所述区块头信息和所述交易数据的组装信息提交至所述数字凭证处理节点。
  5. 根据权利要求1所述的分布式数字凭证处理方法,其特征在于,所述方法还包括:
    获取所述数字凭证处理服务设备的注册信息,并根据所述注册信息与所述数字凭证处理服务设备建立连接。
  6. 一种网关,其特征在于,所述网关包括:
    获取模块,配置为轮询数字凭证处理节点,获取最新的数字凭证处理任务模板数据;
    第一生成模块,配置为根据所述数字凭证处理任务模板数据生成数字凭证处理任务的精简任务模板数据;
    第一发送模块,配置为将所述精简任务模板数据分发给数字凭证处理服务设备。
  7. 根据权利要求6所述的网关,其特征在于,所述第一生成模块进一步包括:
    提取单元,配置为从所述数字凭证处理任务模板数据中提取数字凭证处理任务数据所需的字段,其中,所述字段包括任务列表;
    构建单元,配置为根据所述任务列表构建数字凭证交易数据的merkle树;
    计算单元,配置为计算所述merkle树的左树hash列表;
    第一生成单元,配置为生成块初始数字凭证交易;
    第二生成单元,配置为根据所述左树hash列表和所述块初始数字凭证交易生成所述精简任务模板数据。
  8. 根据权利要求6或7所述的网关,其特征在于,所述网关还包括报块模块,所述报块模块,配置为响应于精简报块信息生成块数据,将所述块数据提交至所述数字凭证处理节点。
  9. 根据权利要求8所述的网关,其特征在于,所述报块模块进一步包括:
    获取单元,配置为获取所述精简报块信息中的区块头信息;
    补充单元,配置为根据所述区块头信息补充交易数据;
    提交单元,配置为将所述区块头信息和所述交易数据的组装信息提交至所述数字凭证处理节点。
  10. 根据权利要求6所述的网关,其特征在于,所述网关还包括:
    注册连接模块,配置为获取所述数字凭证处理设备的注册信息,并根据所述注册信息与所述数字凭证处理服务设备建立连接。
  11. 一种分布式数字凭证处理方法,其特征在于,用于网关,所述分布式数字凭证处理方法包括:
    判断是否接收到精简报块信息;
    响应于所述精简报块信息生成块数据,并将所述块数据提交至所述数字凭证处理节点。
  12. 如权利要求11所述的分布式数字凭证处理方法,其特征在于,响应于所述精简报块信息生成块数据,并将所述块数据提交至所述数字凭证处理节点,包括:
    获取所述精简报块信息中的区块头信息;
    根据所述区块头信息补充交易数据;
    将所述区块头信息和所述交易数据的组装信息提交至所述数字凭证处理节点。
  13. 一种网关,其特征在于,包括:
    判断模块,配置为判断是否接收到精简报块信息;
    报块模块,配置为响应于所述精简报块信息生成块数据,并将所述块数据提交至所述数字凭证处理节点。
  14. 根据权利要求13所述的网关,其特征在于,所述报块模块进一步包括:
    获取单元,配置为获取所述精简报块信息中的区块头信息;
    补充单元,配置为根据所述区块头信息补充交易数据;
    提交单元,配置为将所述区块头信息和所述交易数据的组装信息提交至所述数字凭证处理节点。
  15. 一种网关,其特征在于,所述网关包括:
    至少一个第一处理器;以及
    与所述至少一个处理器通信连接的第一存储器;其中,
    所述存储器存储有可被所述至少一个第一处理器执行的指令,所述指令被所述至少一个第一处理器执行时,使所述至少一个第一处理器执行权利要求1-5任一项所述的分布式数字凭证处理方法,或者,使所述至少一个处理器执行权利要求11或12所述的分布式数字凭证处理方法。
  16. 一种分布式数字凭证处理方法,其特征在于,应用于数字凭证处理服务设备,所述分布式数字凭证处理方法包括:
    接收数字凭证处理任务的精简任务模板数据;
    根据所述精简任务模板数据生成数字凭证处理任务;
    将所述数字凭证处理任务分发给数字凭证处理设备。
  17. 根据权利要求16所述的分布式数字凭证处理方法,其特征在于,所述方法还包括:
    接收所述数字凭证处理设备发送的share信息;
    验证基于所述share信息构建的区块头是否达到报块标准;
    所述区块头达到所述报块标准,发送精简报块信息至网关。
  18. 一种数字凭证处理服务设备,其特征在于,所述数字凭证处理服务设备包括:
    第一接收模块,配置为接收数字凭证处理任务的精简任务模板数据;
    第二生成模块,配置为根据所述精简任务模板数据生成数字凭证处理任务;
    第二发送模块,配置为将所述数字凭证处理任务分发给数字凭证处理设备。
  19. 根据权利要求18所述的数字凭证处理服务设备,其特征在于,所述数字凭证处理服务设备还包括:
    第二接收模块,配置为接收所述数字凭证处理设备发送的share信息;
    验证模块,配置为验证基于所述share信息构建的区块头是否达到报块标准;
    第三发送模块,配置为在所述区块头达到所述报块标准时发送精简报块信息至网关。
  20. 一种数字凭证处理服务设备,其特征在于,包括:
    至少一个第二处理器;以及
    与所述至少一个第二处理器通信连接的第二存储器;其中,
    所述存储器存储有可被所述至少一个第二处理器执行的指令,所述指令被所述至少一个第二处理器执行时,使所述至少一个第二处理器执行权利要求16或17所述的分布式数字凭证处理方法。
  21. 一种分布式数字凭证处理系统,其特征在于,包括:
    数字凭证处理节点;
    如权利要求6-10任一项所述的网关或者如权利要求13或14所述的网关,所述网关与所述数字凭证处理节点连接;
    如权利要求18或19所述的数字凭证处理服务设备,所述数字凭证处理服务设备与所述网关连接;
    数字凭证处理设备,所述数字凭证处理设备与所述数字凭证处理服务设备连接。
  22. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行如权利要求1-5任一项所述的分布式数字凭证处理方法,或者,所述计算机执行指令设置为执行如权利要求11或12所述的分布式数字凭证处理方法,或者,所述计算机执行指令设置为执行如权利要求16或17所述的分布式数字凭证处理方法。
  23. 一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求1-5任一项所述的分布式数字凭证处理方法,或者,使所述计算机执行如权利要求11或12所述的分布式数字凭证处理方法,或者,所述计算机执行指令设置为执行如权利要求16或17所述的分布式数字凭证处理方法。
PCT/CN2019/092842 2019-06-25 2019-06-25 数字凭证处理方法、网关、设备、系统、介质和程序产品 WO2020258044A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2019/092842 WO2020258044A1 (zh) 2019-06-25 2019-06-25 数字凭证处理方法、网关、设备、系统、介质和程序产品
US17/622,187 US20220366409A1 (en) 2019-06-25 2019-06-25 Digital certificate processing method, gateway, device, system, medium, and program product
EP19934782.4A EP3992883A4 (en) 2019-06-25 2019-06-25 DIGITAL CERTIFICATE PROCESSING METHOD, GATEWAY, DEVICE, SYSTEM, MEDIA AND PRODUCT-PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/092842 WO2020258044A1 (zh) 2019-06-25 2019-06-25 数字凭证处理方法、网关、设备、系统、介质和程序产品

Publications (1)

Publication Number Publication Date
WO2020258044A1 true WO2020258044A1 (zh) 2020-12-30

Family

ID=74061147

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/092842 WO2020258044A1 (zh) 2019-06-25 2019-06-25 数字凭证处理方法、网关、设备、系统、介质和程序产品

Country Status (3)

Country Link
US (1) US20220366409A1 (zh)
EP (1) EP3992883A4 (zh)
WO (1) WO2020258044A1 (zh)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092158A (zh) * 2012-12-31 2013-05-08 深圳先进技术研究院 一种基于无线传感器网络的大型建筑能耗实时监控系统
CN103919538A (zh) * 2014-04-30 2014-07-16 中国科学院微电子研究所 一种体域网系统的信息采集系统及方法
CN108133420A (zh) * 2018-01-10 2018-06-08 杭州复杂美科技有限公司 一种区块链的委托共识方法
CN108269072A (zh) * 2016-12-30 2018-07-10 深圳瀚德创客金融投资有限公司 用于区块链的交易处理方法和网络节点
CN109154885A (zh) * 2016-03-21 2019-01-04 澳大利亚国家Ict有限公司 区块链平台上的业务处理执行
CN109347955A (zh) * 2018-10-19 2019-02-15 北京奇艺世纪科技有限公司 一种区块链网络系统以及信息处理方法
US20190079952A1 (en) * 2017-09-12 2019-03-14 Northwestern University Back-up sentinel network for a blockchain distribution network
CN109564599A (zh) * 2016-03-31 2019-04-02 克劳斯公司 用于创建和执行数据驱动法律合同的系统和方法
CN208820820U (zh) * 2018-08-27 2019-05-03 浙江天正电气股份有限公司 一种可实现边缘计算的低压智能组网系统
CN208999999U (zh) * 2018-11-22 2019-06-18 北京比特大陆科技有限公司 数据处理装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3008705C (en) * 2015-12-14 2020-03-10 Coinplug, Inc. System for issuing public certificate on basis of block chain, and method for issuing public certificate on basis of block chain by using same
US10425399B2 (en) * 2016-07-12 2019-09-24 International Business Machines Corporation Template-based distributed certificate issuance in a multi-tenant environment
US10157295B2 (en) * 2016-10-07 2018-12-18 Acronis International Gmbh System and method for file authenticity certification using blockchain network
US11563590B1 (en) * 2018-04-03 2023-01-24 Amazon Technologies, Inc. Certificate generation method
US11323274B1 (en) * 2018-04-03 2022-05-03 Amazon Technologies, Inc. Certificate authority
CN109587237B (zh) * 2018-12-03 2019-11-26 爱立信(中国)通信有限公司 记录并提供数据的方法,网络节点及网络

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092158A (zh) * 2012-12-31 2013-05-08 深圳先进技术研究院 一种基于无线传感器网络的大型建筑能耗实时监控系统
CN103919538A (zh) * 2014-04-30 2014-07-16 中国科学院微电子研究所 一种体域网系统的信息采集系统及方法
CN109154885A (zh) * 2016-03-21 2019-01-04 澳大利亚国家Ict有限公司 区块链平台上的业务处理执行
CN109564599A (zh) * 2016-03-31 2019-04-02 克劳斯公司 用于创建和执行数据驱动法律合同的系统和方法
CN108269072A (zh) * 2016-12-30 2018-07-10 深圳瀚德创客金融投资有限公司 用于区块链的交易处理方法和网络节点
US20190079952A1 (en) * 2017-09-12 2019-03-14 Northwestern University Back-up sentinel network for a blockchain distribution network
CN108133420A (zh) * 2018-01-10 2018-06-08 杭州复杂美科技有限公司 一种区块链的委托共识方法
CN208820820U (zh) * 2018-08-27 2019-05-03 浙江天正电气股份有限公司 一种可实现边缘计算的低压智能组网系统
CN109347955A (zh) * 2018-10-19 2019-02-15 北京奇艺世纪科技有限公司 一种区块链网络系统以及信息处理方法
CN208999999U (zh) * 2018-11-22 2019-06-18 北京比特大陆科技有限公司 数据处理装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3992883A4 *

Also Published As

Publication number Publication date
EP3992883A1 (en) 2022-05-04
US20220366409A1 (en) 2022-11-17
EP3992883A4 (en) 2023-01-25

Similar Documents

Publication Publication Date Title
US9967334B2 (en) Computing device configuration and management using a secure decentralized transaction ledger
WO2018050002A1 (zh) 基于区块链结构的安全性电子文件处理系统及方法
JP2011222049A5 (zh)
JP2024050784A (ja) ブロックチェーンネットワークにおける効率的な伝播のための確率的リレー
JP2003169089A5 (zh)
JP6969664B2 (ja) ブロックチェーン管理システム、ブロックチェーン管理装置、情報提供装置及びブロックチェーン管理方法
JP2009521773A5 (zh)
CN109101664B (zh) 一种轻量级节点的数据传输方法、装置、设备和介质
EP2918057A1 (en) Methods and nodes for verification of data
CN110636127B (zh) 一种各信息数据间的通信处理方法及系统
US20160314115A1 (en) Cross-platform messaging application
CN114567643B (zh) 跨区块链的数据流转方法、装置及相关设备
CN104079624A (zh) 一种基于服务的消息接入层框架及其实现方法
CN104811505A (zh) 基于云计算环境的客户端网络控制的方法及系统
WO2020258044A1 (zh) 数字凭证处理方法、网关、设备、系统、介质和程序产品
WO2023226478A1 (zh) 用于数据传输的方法及装置、路由器、物联网设备
CN111431933A (zh) 基于区块链的结算方法及装置
CN103944817A (zh) 一种联机系统中的报文转接方法、转接设备以及终端设备
CN111182009B (zh) 一种区块链交易消息多汇点分发的方法
CN111768196B (zh) 一种交易信息确认方法及装置
CN106101267A (zh) 一种跨网段文件传输系统及方法
JP2008147819A (ja) 証券・金融データ配信システム
US20160315812A1 (en) Systems and methods for securing remote configuration
TWI579729B (zh) 伺服器登入驗證系統及其方法
CN101860544A (zh) 会话启动协议消息的发送系统及方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19934782

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019934782

Country of ref document: EP

Effective date: 20220125