CN113128998B - Service processing method, device and system of block chain system - Google Patents

Service processing method, device and system of block chain system Download PDF

Info

Publication number
CN113128998B
CN113128998B CN201911415964.1A CN201911415964A CN113128998B CN 113128998 B CN113128998 B CN 113128998B CN 201911415964 A CN201911415964 A CN 201911415964A CN 113128998 B CN113128998 B CN 113128998B
Authority
CN
China
Prior art keywords
processing result
service
verification
sub
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911415964.1A
Other languages
Chinese (zh)
Other versions
CN113128998A (en
Inventor
偶瑞军
宋颖
王巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201911415964.1A priority Critical patent/CN113128998B/en
Publication of CN113128998A publication Critical patent/CN113128998A/en
Application granted granted Critical
Publication of CN113128998B publication Critical patent/CN113128998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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

Abstract

The application discloses a business processing method, a business processing device and a business processing system for a block chain system, which are used for solving the technical problem of low business processing efficiency in the multi-chain system. The method comprises the following steps: one of the full nodes in the block chain system receives a first service, wherein the first service comprises identification information of the first service; then dividing the first service into a plurality of sub-services according to the identification information of the first service, wherein each sub-service corresponds to one of a plurality of block chains; respectively transmitting the plurality of subtasks to corresponding blockchains; and after obtaining at least one second processing result corresponding to the at least one first processing result according to the received at least one first processing result sent by the plurality of blockchains, issuing the at least one second processing result to each blockchain so as to enable each blockchain to store the at least one second processing result.

Description

Service processing method, device and system of block chain system
Technical Field
The present invention relates to the technical field of financial technology (Fintech), and in particular, to a method, an apparatus and a system for processing services of a blockchain system.
Background
With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually changed to the financial technology (Fintech), and the blockchain technology is not exceptional, but because of the requirements of safety and real-time performance of the financial industry, the technology is also required to be higher. In a blockchain system, in order to ensure the accuracy of transaction execution, a plurality of nodes are generally required to be used for consensus on the blocks, and if the number of the nodes for consensus on the blocks exceeds a preset number, the blocks obtained by processing the transaction by most nodes in the blockchain system are consistent; thus, the block can be successfully exported, and the node can update the internal transaction database according to the block.
However, in a blockchain system, a plurality of blockchains may be included, and each blockchain needs to interact with data in other blockchains to obtain consensus information sent by other blockchains when recording transaction information of its blockchain, and then determine a final consensus result according to the consensus information. Therefore, a method for processing services in a blockchain system is needed to solve the technical problem of low service processing efficiency in a multi-chain system.
Disclosure of Invention
The embodiment of the application provides a service processing method, device and system of a block chain system, which are used for solving the technical problem of low service processing efficiency in the multi-chain system.
In a first aspect, a method of traffic processing for a blockchain system is provided, the method being applicable to a blockchain system including a plurality of blockchains and at least one full node in communication with the plurality of blockchains, respectively, the method comprising:
one of all nodes in the block chain system receives a first service, wherein the first service comprises identification information of the first service;
dividing the first service into a plurality of sub-services according to the identification information of the first service, wherein each sub-service corresponds to one of the block chains;
the subtasks are respectively sent to corresponding block chains;
obtaining at least one second processing result corresponding to the at least one first processing result according to the received at least one first processing result sent by the plurality of blockchains;
and issuing the at least one second processing result to each blockchain so that each blockchain stores the at least one second processing result.
In one possible design, obtaining at least one second processing result corresponding to the at least one first processing result according to the received at least one first processing result sent by the plurality of blockchains includes:
receiving at least one piece of verification information sent by each block chain of the plurality of block chains, wherein each piece of verification information is obtained by verifying one of the at least one first processing result through each block chain, and each piece of verification information is verification passing or verification failing;
and obtaining the at least one second processing result according to the at least one piece of verification information and the at least one first processing result.
In one possible design, the obtaining the at least one second processing result according to the at least one verification information and the at least one first processing result includes:
determining that the number of verification information passing verification in the plurality of verification information is larger than a preset number, and determining the first processing result as the second processing result;
and determining that the number of verification information passing verification in the plurality of verification information is smaller than or equal to the preset number, and determining a processing result opposite to the first processing result as the second processing result.
In a second aspect, a method of traffic processing for a blockchain system is provided, the method being applicable to a blockchain system including a plurality of blockchains and at least one full node in communication with the plurality of blockchains, respectively, the method comprising:
each blockchain in the plurality of blockchains receives a sub-service sent by one of the at least one full node, wherein the sub-task is that the full node divides a first service into one of a plurality of sub-services according to the received identification information of the first service;
after the sub-service is processed, sending a first processing result corresponding to the sub-service to the full node, so that the full node obtains at least one second processing result corresponding to the at least one first processing result according to at least one first processing result corresponding to the plurality of sub-services received from the plurality of blockchains;
and receiving and storing the at least one second processing result.
In one possible design, the method further comprises:
receiving at least one third processing result from other block chains in the plurality of block chains, wherein each third processing result is a processing result corresponding to a sub-service processed by one block chain in the other block chains;
Verifying the at least one third processing result to obtain at least one piece of verification information, wherein the verification information is verification passing or verification failing;
and sending the at least one verification message to the full node so that the full node obtains the at least one second processing result according to the at least one first processing result and the at least one verification message.
In one possible design, the storing the at least one second processing result includes:
and storing the at least one second processing result in the form of a main state and at least one auxiliary state, wherein the main state is the processing result corresponding to the block chain, and the auxiliary state is the processing result corresponding to other block chains.
In a third aspect, a service processing apparatus of a blockchain system is provided, the apparatus comprising:
the receiving module is used for receiving a first service, wherein the first service comprises identification information of the first service;
the division module is used for dividing the first service into a plurality of sub-services according to the identification information of the first service, and each sub-service corresponds to one of the block chains;
the first sending module is used for respectively sending the plurality of subtasks to corresponding block chains;
The obtaining module is used for obtaining at least one second processing result corresponding to the at least one first processing result according to the received at least one first processing result sent by the plurality of blockchains;
and the second sending module is used for sending the at least one second processing result to each blockchain so that each blockchain can store the at least one second processing result.
In one possible design, the receiving module is configured to:
receiving at least one piece of verification information sent by each block chain of the plurality of block chains, wherein each piece of verification information is obtained by verifying one of the at least one first processing result through each block chain, and each piece of verification information is verification passing or verification failing;
the obtaining module is used for: and obtaining the at least one second processing result according to the at least one piece of verification information and the at least one first processing result.
In one possible design, the obtaining module is further configured to:
determining that the number of verification information passing verification in the plurality of verification information is larger than a preset number, and determining the first processing result as the second processing result;
And determining that the number of verification information passing verification in the plurality of verification information is smaller than or equal to the preset number, and determining a processing result opposite to the first processing result as the second processing result.
In a fourth aspect, there is provided a service processing apparatus of a blockchain system, the apparatus comprising:
the receiving module is used for receiving the sub-service sent by one of the at least one full node, wherein the sub-task is that the full node divides the first service into one of a plurality of sub-services according to the received identification information of the first service;
the sending module is used for sending the first processing results corresponding to the sub-services to the full node after the sub-services are processed, so that the full node obtains at least one second processing result corresponding to the at least one first processing result according to the at least one first processing result corresponding to the plurality of sub-services received from the plurality of blockchains;
and the storage module is used for receiving and storing the at least one second processing result.
In one possible design, the receiving module is further configured to:
receiving at least one third processing result from other block chains in the plurality of block chains, wherein each third processing result is a processing result corresponding to a sub-service processed by one block chain in the other block chains;
Verifying the at least one third processing result to obtain at least one piece of verification information, wherein the verification information is verification passing or verification failing;
the sending module is further configured to: and sending the at least one verification message to the full node so that the full node obtains the at least one second processing result according to the at least one first processing result and the at least one verification message.
In one possible design, the storage module is configured to:
and storing the at least one second processing result in the form of a main state and at least one auxiliary state, wherein the main state is the processing result corresponding to the block chain, and the auxiliary state is the processing result corresponding to other block chains.
In a fifth aspect, there is provided a blockchain system comprising an apparatus as in any of the possible embodiments of the third or fourth aspects.
In a sixth aspect, there is provided a computing device comprising:
at least one processor, and
a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor implementing the method as described in the first or second aspect and any possible embodiments by executing the instructions stored by the memory.
In a seventh aspect, there is provided a computer readable storage medium storing computer instructions that, when run on a computer, cause the computer to perform a method as described in the first or second aspect and any one of the possible embodiments.
In an eighth aspect, a computer program product is provided that contains instructions that, when executed on a computer, cause the computer to perform the business processing method of a blockchain system described in the various possible implementations above.
In the embodiment of the application, after the full node receives the first service, the first service can be divided into a plurality of sub-services, and then distributed to the corresponding blockchain to process the plurality of sub-services, and the corresponding ledger book exists in the blockchain corresponding to each sub-service, so that the service corresponding to the plurality of ledgers can be processed through the same full node, and the service processing efficiency of the blockchain system is improved. In addition, the full node can carry out consensus on the service processing result according to the verification information reported by the plurality of blockchains, and issue the final result after the consensus to each blockchain, so that when each blockchain stores the service state marked by the self, the service states of other blockchains can be stored in the self blockchain, and therefore, when related information of a transaction needs to be checked, the state information of the transaction can be obtained by only accessing one blockchain, and the checking efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 2 is a flow chart of a service processing method of a blockchain system according to an embodiment of the present application;
FIG. 3 is a block diagram of a service processing device of a blockchain system according to an embodiment of the present disclosure;
FIG. 4 is another block diagram of a service processing device of the blockchain system according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure. Embodiments and features of embodiments in this application may be combined with each other arbitrarily without conflict. Also, while a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than presented herein.
The terms first and second in the description and claims of the present application and in the above-described figures are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The term "plurality" in the present application may mean at least two, for example, two, three or more, and embodiments of the present application are not limited.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. The character "/" herein generally indicates that the associated object is an "or" relationship unless otherwise specified.
The technical field of financial science (Fintech) generally relates to various transactions, for example, a transaction of a bank may include a card selling transaction, a deposit transaction, a loan transaction, an insurance transaction, a financial transaction, etc., and the daily transaction amount of the bank may reach thousands or even tens of thousands. With the development of blockchain technology, the financial science and technology field can also use blockchain technology to process transactions, for example, if related transactions are related among a plurality of banks, related transactions can be synchronously processed by setting a alliance chain, or courts, clients and the like can be simultaneously and uplink to jointly maintain the security and stability of the alliance chain.
The blockchain system may be a point-To-point (P2P) network consisting of a plurality of nodes. P2P is an application layer protocol that runs on top of the transmission control protocol (Transmission Control Protocol, TCP) protocol, nodes in a blockchain system can peer to each other, there is no central node in the system, and thus each node can randomly connect to other nodes. In the blockchain system, a preset database can be arranged in each node, each node maintains a public account book in the blockchain system through the preset database, and the preset database in the node can store the block data in the blockchain system; the block data comprises a block header and a block body, the block header comprises information such as a hash value of the previous block, a hash value of the current block, a block height of the current block, a time stamp and the like, and the block body comprises transaction data, such as transaction data to be processed in the process of consensus of the block by a node in a block chain system and transaction results obtained by processing the transaction data to be processed.
Nodes in a blockchain system may have a variety of functions, such as routing functions, transaction functions, blockchain functions, consensus functions, and the like. Specifically, the nodes in the blockchain system can transmit the transaction data and other information transmitted by other nodes to more nodes so as to realize the communication between the nodes; alternatively, nodes in the blockchain system may be used to support transactions by users; alternatively, nodes in the blockchain system may be used to record all transactions historically (e.g., such nodes may be referred to as full nodes); alternatively, nodes in the blockchain system may generate new blocks in the blockchain by validating and recording transactions.
In the related art for processing financial services through blockchains, each blockchain corresponds to a specific service type, and each service type corresponds to an account book. When a certain node initiates a transaction, all nodes associated with the transaction receive a corresponding request and perform corresponding state transition processing. For example, a transaction is currently initiated by a node, which is that user a pays 10 digital currencies to user B, and the transaction is that requiring tax payment, then the full node of the blockchain processing the funds settlement chain processes the corresponding funds settlement state transition based on the transaction, and the full node of the blockchain processing the tax payment transaction processes the tax payment service corresponding to the transaction according to the relevant processing rules of tax payment.
That is, each transaction-related service is processed through the full nodes corresponding to various services. It should be noted that, each blockchain corresponds to a plurality of full nodes that process traffic, and these full nodes can only process state transitions of the corresponding blockchain, that is, each full node can only process traffic state transitions of one blockchain. And when the state of a certain link is converted, each full node realizes state conversion through the same service processing module of the full node, and when the state is converted, the state is also converted and confirmed through the same common module of the full node. Thus, each full node can only process the own service state transition, so that the service processing efficiency of the block chain system is lower.
In view of this, the embodiment of the present application provides a service processing method of a blockchain system, by which a full node can divide a service into a plurality of sub-services after receiving the service, and then the corresponding blockchain processes the plurality of sub-services, and can make a consensus on a service processing result through the full node, and can issue the consensus result to each blockchain, so that after each blockchain stores a service state of a self-tag, the service states of other blockchains can be stored in the own blockchain, thereby improving the service processing efficiency of the blockchain system, and when related information of a transaction needs to be checked, only accessing one blockchain can obtain a plurality of state information of the transaction, and improving the checking efficiency.
In order to facilitate understanding of the technical solution provided by the embodiments of the present application, some simple descriptions are provided below for application scenarios used in the technical solution provided by the embodiments of the present application, and it should be noted that the application scenarios described below are only used to illustrate the embodiments of the present invention and are not limiting. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Referring to fig. 1, fig. 1 is an application scenario to which the technical solution of the embodiment of the present application may be applied. In the application scenario shown in fig. 1, the blockchain system may include a plurality of blockchains and a plurality of full nodes, each blockchain may include one or more nodes, in fig. 1, there are 2 full nodes, 2 blockchains, and 4 nodes in each blockchain, for example, node 1, node 2, node 3, and node 4, where it should be noted that the nodes included in each blockchain may be full nodes or light nodes, so any one of nodes 1 to 4 may be full nodes or light nodes, and this is not a limitation. Any two of nodes 1-4 in each blockchain may be communicatively coupled to collectively maintain the blockchain system. When a transaction occurs, the full node receives the transaction, divides the transaction into different subtasks according to the business processing types contained in the transaction, distributes the subtasks to corresponding blockchains for corresponding processing, and reports corresponding processing results to the full node after the blockchains are processed. It should be noted that a node in the blockchain system may be on a physical machine (server), and a node may specifically refer to a process or a series of processes running in the server.
As shown in fig. 1, the application scenario may further include a client device, where the client device may be connected to any full node in the blockchain system through an access blockchain network. In particular implementations, the client device may send the transaction to any full node in the blockchain system, and after receiving the transaction, a full node in the blockchain system may synchronize the transaction to other nodes in the blockchain system to perform the corresponding task.
In the application scenario shown in fig. 1, each blockchain corresponds to one service ledger, and all nodes in the blockchain system are respectively connected with two blockchains, that is, each of the full nodes can process two service ledgers at the same time, so that there may be a plurality of consensus modules and service processing modules corresponding to each of the full nodes. The consensus module is used for realizing consistency of account book state conversion among different nodes, and the business processing module is used for carrying out state conversion of each account book.
The following describes the technical scheme provided by the embodiment of the application with reference to the attached drawings.
Referring to fig. 2, fig. 2 is a flowchart of a service processing method of a blockchain system according to an embodiment of the present application. The following description will take an example of the application of the method in an application scenario as shown in fig. 1. The description of the flow chart is as follows:
Step 201: one of the full nodes in the blockchain system receives a first service that includes identification information of the first service.
In one possible embodiment, the blockchain system may include multiple full nodes, and when receiving the service, any one of all the full nodes may receive, specifically, which full node may receive, according to the actual situation, for example, may receive the full node closest to the service, or may receive the full node with the smallest current load, and the like, which is not limited herein. In the application scenario shown in fig. 1, for example, the current service is received by the full node 1, the service may be understood as a first service, where the first service includes identification information of the service, where the identification information is attribute information used to indicate that the service includes, and the attribute information may be, for example, whether the transaction needs tax payment, whether the transaction needs invoice, or whether the transaction needs invoice, and so on, which is not limited herein.
For example, the identification information may be in the form of a digital code, for example, the first digit is used to determine whether the business needs tax payment, the first digit is "0" is determined that the transaction does not need tax payment, the first digit is "1" is determined that the transaction needs tax payment, after the whole node receives the business, whether the business needs tax payment can be determined according to the first digit data code of the identification information, and the first digit data code of the first business is determined to be "1" on the assumption that the transaction needs tax payment.
Step 202: the full node divides the first service into a plurality of sub-services according to the received identification information of the first service, and each sub-service corresponds to one of the plurality of blockchains.
In one possible implementation, after the full node receives the first service, the specific service condition of the transaction may be determined according to the identification information, and then the transaction is divided into a plurality of sub-services. For example, the first service is determined to include two attribute information of fund settlement and tax payment according to the identification information of the first service, and then the first service can be divided into two corresponding fund settlement, tax payment and two sub-services, wherein the two sub-services respectively correspond to one blockchain, that is, the fund settlement service corresponds to the fund settlement blockchain and the tax payment service corresponds to the tax payment transaction blockchain. In a specific implementation process, the number of sub-services may be more, which is not limited in the embodiments of the present application.
For example, taking the application scenario of fig. 1 as an example, adding the blockchain 1 corresponds to a fund settlement chain, and the blockchain 2 corresponds to a tax payment transaction chain, assuming that there is a transaction currently: a pays B100 digital currencies and the transaction requires tax payment. After the A initiates the request of paying 100 digital currencies to the B, any one of the full nodes 1 and 2 receives the transaction, and the full node receives the transaction and divides the transaction into two subtasks, namely a fund settlement task and a tax payment transaction task, then the full node sends the fund settlement task to a corresponding fund settlement chain (namely a block chain 1) and sends the tax payment transaction task to a corresponding tax payment transaction chain (namely a block chain 2), and the block chain 1 and the block chain 2 can process corresponding business content after receiving the task issued by the full node.
Step 203: the full node sends the plurality of sub-services to the corresponding blockchain respectively.
After dividing the first service into a plurality of sub-services, the full node may send the plurality of sub-services to the corresponding blockchain respectively, so that the corresponding blockchain processes its own related service, for example, sends the funds accounting sub-service to the funds accounting chain, so that the funds accounting chain processes the service. It should be noted that, when the all nodes issue sub-services to the blockchain, the sub-services may be issued simultaneously or may be issued separately in sequence, which is not limited in the embodiment of the present application.
Step 204: each blockchain of the plurality of blockchains of the blockchain system receives sub-traffic sent by one of the at least one full node.
In a specific embodiment, after the full node sends the divided sub-services to the corresponding blockchains respectively, each blockchain receives the sub-service corresponding to the blockchain, and then performs corresponding processing, for example, the tax payment transaction block links receive the tax payment processing service included in the first service sent by the full node, and then performs corresponding tax payment processing.
Step 205: after the received sub-service is processed, the block chain sends a first processing result corresponding to the sub-service to the full node.
After processing the sub-service issued by the full node, each blockchain reports its own processing result to the full node, for convenience of distinguishing, for example, the processing result is the first processing result.
In one possible implementation, after the full node issues the sub-services to the blockchains, since the content of each blockchain processing service is different, and the processing speed may be different, when a blockchain reports its own first processing result to the full node, other blockchains may not have processed the corresponding sub-services yet, so the full node may only receive the first processing result of one blockchain first, then receive the first processing result of the other blockchains, or may process all blockchains together to process its own sub-services, then report the first processing result to the full node simultaneously, and then the full node may receive the first processing result reported by the blockchains that process all the sub-services simultaneously, or when the number of sub-services exceeds two, it may also receive the first processing results of two blockchains simultaneously, then receive the first processing results of the other blockchains.
For example, in the present case, for example, two sub-services, a fund settlement service and a tax payment service, assuming that the fund settlement chain may be processed first and then the processing result is reported to the full node, the full node receives the first processing result of the fund settlement chain first and then receives the first processing result of the tax payment transaction chain, or the fund calculation chain and the tax payment transaction chain report the own first processing result to the full node at the same time, and then the full reception you receive the two first processing results at the same time.
Step 206: the full node receives at least one first processing result sent by the plurality of blockchains, and obtains at least one second processing result corresponding to the at least one first processing result.
In one possible implementation manner, after receiving the first processing results reported by the blockchains corresponding to each sub-service, the full node also needs to receive verification information of each blockchain on each first processing result, and then determines whether the received first processing result is correct or not according to the verification information. Each piece of verification information is obtained by verifying the first processing results of other blockchains through each blockchain, each piece of verification information can be verification passing or verification failing, if the verification information is verification passing, the blockchain can be indicated to determine that the first processing result of the current verification is correct, and correspondingly, if the verification information is verification failing, the blockchain can be indicated to determine that the first processing result of the current verification is incorrect.
In a specific implementation process, after a certain blockchain of the processing subtask finishes processing the subtask, a first processing result is reported to the full node, and meanwhile, the first processing result of the processing subtask is also sent to other blockchains, so that the other blockchains verify the first processing result of the processing subtask, and accordingly, each blockchain receives the processing result corresponding to the other blockchains sent by the other blockchains to the processing result of the processing subtask, for convenience of distinguishing, for example, the processing result sent by the blockchain to the other blockchains can be called as a third processing result. Each blockchain may receive the third processing result sent by a plurality of other blockchains at the same time, or may receive the third processing result sequentially, which is not limited herein.
After a certain block link receives the third processing result sent by other block links, the third processing result is verified, and then the verification result is reported to the full node. It should be noted that, for the same third processing result, when different blockchains verify the same third processing result, the same consensus algorithm is generally required to verify the same third processing result, so that consistency and validity of the verification result can be ensured.
It should be noted that, in a specific verification process, each blockchain may not send verification information of the corresponding first processing result. For example, there are three blockchains currently processing the sub-service, namely, blockchain 1, blockchain 2, blockchain 3 and blockchain 4, and then after the blockchain 1 reports the first processing result, the full node needs to receive the verification information of the first processing result of blockchain 1 by blockchain 2, blockchain 3 and blockchain 4, and then determine whether the first processing result of blockchain 1 is correct. Assuming that the validation information sent by blockchain 2 and blockchain 3 for the first processing result of blockchain 1 is validated, then it is indicated that blockchain 2 and blockchain 3 consider the first processing result of blockchain 1 as correct, and if the validation information sent by blockchain 4 for the first processing result of blockchain 1 is validated to fail, then it is indicated that blockchain 4 considers the first processing result of blockchain 1 as incorrect.
In one possible implementation manner, after receiving a plurality of pieces of verification information for a certain first processing result, the full node determines the plurality of pieces of verification information to determine whether the first processing result is correct, and further obtains a second processing result corresponding to the first processing result, where the second processing result is the verification result after verifying the first processing result, when the first processing result is correct, the corresponding second processing result is the first processing result, and when the first processing result is incorrect, the second processing result is the processing result opposite to the first processing result.
In one possible implementation, the full node that receives the first service may include a plurality of service processing modules and a plurality of consensus modules, where each sub-service corresponds to a service processing module. Different sub-services can be respectively sent to corresponding block chains through the service processing module, and then verification information aiming at a certain first processing result is received through a certain consensus module and subjected to consensus processing. The number of traffic handling modules and the number of consensus modules may not be equal. Each sub-service performs consensus through which consensus module, which consensus module is required to be used for the service can be determined according to actual conditions, for example, the sub-service is appointed, or the corresponding relation between each service processing module and the consensus module can be preset, and then the corresponding sub-service is sent to the corresponding block chain through each service processing module.
For example, the service processing module 1 sends the sub-service 1 to the blockchain 1, the service processing module 2 sends the sub-service 2 to the blockchain 2, then the preset corresponding to the service processing module 1 is the consensus module 1, the corresponding to the service processing module 2 is the consensus module 2, then for the first processing result reported by the blockchain 1, the consensus module 1 is used to receive the verification information sent by other blockchains, and the consensus module 1 obtains the corresponding second processing result, that is, the consensus of the first processing result of the blockchain 1 is carried out through the consensus module 1, for the first processing result reported by the blockchain 2, the consensus module 2 is used to receive the verification information sent by other blockchains, and the consensus module 2 obtains the corresponding second processing result, that is, the consensus of the first processing result of the blockchain 2 is carried out through the consensus module 2; alternatively, the service processing module 1 and the service processing module 2 may both correspond to the consensus module 1, and the first processing results reported by the blockchain 1 and the blockchain 2 are commonly known by the consensus module 1.
In a specific implementation process, the full node may calculate how many pieces of the plurality of pieces of verification information are verification-passing verification information, and if the number of pieces of verification information that are verification-passing verification information in the plurality of pieces of verification information is greater than a preset number, the first processing result may be considered to be correct, and correspondingly, if the number of pieces of verification-passing verification information is less than or equal to the preset number, the first processing result may be indicated to be incorrect. It should be noted that, the preset number may be a number value preset according to an actual service condition, and the embodiment of the present application is not limited to the numerical setting of the preset number.
For example, there are ten blockchain processing sub-services currently, and the first processing result reported for the tax-paying transaction chain is tax-paid, then the full node receives the verification information of the other 9 blockchains on the first processing result, assuming that the preset number is 5, and the verification information of the first processing result of the 6 blockchains for the tax-paying transaction chain in the 9 blockchains is verification passing, the first processing result is considered correct, that is, tax-paying has been performed, the second processing result corresponding to the first processing result is tax-paid, or the verification information of the first processing result of the 3 blockchains for the tax-paying transaction chain in the 9 blockchains is verification passing, that is, the first processing result is error, that is, the current transaction is not tax-paid, and the second processing corresponding to the first processing result is not tax-paid.
Step 207: the full node issues at least one second processing result to each blockchain.
After obtaining the corresponding second processing result according to each first processing result, the full node issues the obtained second processing result to each blockchain so that each blockchain stores the second processing result. Because the second processing result is obtained by the all nodes according to the verification information fed back by the blockchain in the blockchain network, the second processing result can be understood as an achieved consensus result, and thus, the transaction information recorded by all the nodes can be effectively ensured to be the same.
Step 208: the blockchain receives and saves at least one second processing result.
In one possible implementation, after each blockchain receives at least one second processing result issued by the full node, the second processing result may be saved in a primary state and at least one secondary state, where the primary state may be understood as a processing result corresponding to the blockchain, and the secondary state may be understood as a processing result of other blockchains received by the blockchain. It should be noted that, each blockchain processes one sub-service, so each blockchain has only one main state, but may have multiple sub-states. Alternatively, the primary state may be understood as a change in the object of the ledger tag corresponding to the chain, and the secondary state transition may be understood as a change in the attribute of the chain.
For example, if there is a fund transaction requiring tax payment, for the fund settlement chain, it records the respective fund amount of the owners, then the fund amount is the object of the chain mark, when the fund amount is changed, the main state of the fund settlement chain changes, and the corresponding change becomes the main state transition of the fund settlement chain. Meanwhile, the fund settlement chain can record the tax-paying state of the transaction, the tax-paying state can be understood as the attribute of the fund settlement chain, the attribute can comprise two different states, namely a tax-paying state and a non-tax-paying state, when the transaction just happens, the tax-paying process is probably not performed, that is, the tax-paying state attribute of the fund payment chain is non-tax-paying, and after the tax-paying transaction chain processes the tax-paying business of the transaction, the fund settlement chain can convert the tax-paying state attribute into the tax-paying state, and the condition can be understood as the secondary state conversion.
That is, each blockchain may record the processing results of other blockchains associated with its own blockchain, and when a user obtains the relevant state information of a transaction corresponding to a blockchain, the state information of other blockchains associated with the blockchain may be obtained synchronously. Compared with the prior art, when a user needs to acquire the state information of a certain transaction in a fund settlement link and a tax payment transaction link, the user needs to access the state information of the fund settlement link and the tax payment transaction link respectively to acquire the related state information of fund settlement and the acquiring mode of the related state information of tax payment, the business processing method provided by the embodiment of the application can realize that when the fund settlement link is accessed to acquire the fund settlement information of whether the transaction pays, the user can also acquire the tax payment state information of whether the transaction pays tax, and the acquiring efficiency is improved.
In the embodiment of the application, after the full node receives the first service, the first service can be divided into a plurality of sub-services, and then distributed to the corresponding blockchain to process the plurality of sub-services, and the corresponding ledger book exists in the blockchain corresponding to each sub-service, so that the service corresponding to the plurality of ledgers can be processed through the same full node, and the service processing efficiency of the blockchain system is improved. In addition, the full node can carry out consensus on the service processing result according to the verification information reported by the plurality of blockchains, and issue the final result after the consensus to each blockchain, so that when each blockchain stores the service state marked by the self, the service states of other blockchains can be stored in the self blockchain, and therefore, when related information of a transaction needs to be checked, the state information of the transaction can be obtained by only accessing one blockchain, and the checking efficiency is improved.
Based on the same inventive concept, the embodiment of the application provides a service processing device of a block chain system. The service processing device of the blockchain system can be a hardware structure, a software module or a hardware structure plus a software module. The business processing device of the block chain system can be realized by a chip system, and the chip system can be formed by a chip or can comprise a chip and other discrete devices. Referring to fig. 3, the service processing apparatus of the blockchain system includes a receiving module 301, a dividing module 302, a first sending module 303, an obtaining module 304, and a second sending module 305. Wherein:
A receiving module 301, configured to receive a first service, where the first service includes identification information of the first service;
the dividing module 302 is configured to divide the first service into a plurality of sub-services according to the identification information of the first service, where each sub-service corresponds to one of the plurality of blockchains;
a first sending module 303, configured to send the plurality of subtasks to corresponding blockchains respectively;
an obtaining module 304, configured to obtain at least one second processing result corresponding to the at least one first processing result according to the received at least one first processing result sent by the plurality of blockchains;
the second sending module 305 is configured to issue at least one second processing result to each blockchain, so that each blockchain stores at least one second processing result.
In a possible implementation manner, the receiving module 301 is configured to:
receiving at least one piece of verification information sent by each block chain of the plurality of block chains, wherein each piece of verification information is obtained by verifying one of at least one first processing result through each block chain, and each piece of verification information is verification passing or verification failing;
the obtaining module 304 is configured to: and obtaining at least one second processing result according to the at least one verification information and the at least one first processing result.
In one possible implementation, the obtaining module 304 is further configured to:
determining that the number of verification information passing verification in the plurality of verification information is larger than a preset number, and determining the first processing result as a second processing result;
and determining that the number of verification information passing verification in the plurality of verification information is smaller than or equal to the preset number, and determining a processing result opposite to the first processing result as a second processing result.
All relevant contents of each step of the foregoing service processing method of the blockchain system may be cited in the functional description of the functional module corresponding to the service processing device of the blockchain system in the embodiment of the present application, which is not described herein again.
Based on the same inventive concept, the embodiment of the application provides a service processing device of a block chain system. The service processing device of the blockchain system can be a hardware structure, a software module or a hardware structure plus a software module. The business processing device of the block chain system can be realized by a chip system, and the chip system can be formed by a chip or can comprise a chip and other discrete devices. Referring to fig. 4, the service processing apparatus of the blockchain system includes a receiving module 401, a transmitting module 402, and a storing module 403. Wherein:
A receiving module 401, configured to receive sub-services sent by one of at least one full node, where a sub-task is that the full node divides a first service into one of a plurality of sub-services according to identification information of the received first service;
a sending module 402, configured to send a first processing result corresponding to the sub-service to the full node after the sub-service is processed, so that the full node obtains at least one second processing result corresponding to the at least one first processing result according to at least one first processing result corresponding to the plurality of sub-services received from the plurality of blockchains;
a saving module 403, configured to receive and save at least one second processing result.
In one possible implementation, the receiving module 401 is further configured to:
receiving at least one third processing result from other block chains in the plurality of block chains, wherein each third processing result is a processing result corresponding to a sub-service processed by one block chain in the other block chains;
verifying at least one third processing result to obtain at least one piece of verification information, wherein the verification information is verification passing or verification failing;
the sending module 402 is further configured to: and sending at least one verification message to the full node so that the full node obtains at least one second processing result according to the at least one first processing result and the at least one verification message.
In one possible implementation, the saving module 403 is configured to:
at least one second processing result is stored in the form of a primary state and at least one secondary state, wherein the primary state is a processing result corresponding to a block chain, and the secondary state is a processing result corresponding to other block chains.
All relevant contents of each step related to the foregoing embodiment of the service processing method of the blockchain system may be cited to the functional description of the functional module corresponding to the service processing device of the blockchain system in the embodiment of the present application, which is not described herein.
Based on the same inventive concept, the embodiments of the present application provide a blockchain system, all relevant modules of the service processing device of the blockchain system in fig. 3 and fig. 4 may be incorporated into the blockchain system in the embodiments of the present application, and for the specific implementation of the blockchain system, the functional description of the functional module corresponding to the service processing device of the blockchain system may be referred to, which is not repeated herein.
The division of the modules in the embodiments of the present application is schematically only one logic function division, and there may be another division manner in actual implementation, and in addition, each functional module in each embodiment of the present application may be integrated in one processor, or may exist separately and physically, or two or more modules may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules.
Based on the same inventive concept, an embodiment of the present application provides a computing device, referring to fig. 5, where the computing device includes at least one processor 501 and a memory 502 connected to the at least one processor, the embodiment of the present application is not limited to a specific connection medium between the processor 501 and the memory 502, and in fig. 5, the connection between the processor 501 and the memory 502 is taken as an example, and in fig. 5, the bus 500 is shown in a thick line, and a connection manner between other components is merely illustrative and not limited to the example. Bus 500 may be divided into an address bus, a data bus, a control bus, etc., and is represented by only one thick line in fig. 5 for ease of illustration, but does not represent only one bus or one type of bus.
The computing device in the embodiments of the present application may further include a communication interface 503, where the communication interface 503 is, for example, a network port, and the computing device may receive data or send data through the communication interface 503.
In the embodiment of the present application, the memory 502 stores instructions executable by the at least one processor 501, and the at least one processor 501 may execute the steps included in the service processing method of the blockchain system by executing the instructions stored in the memory 502.
Where the processor 501 is the control center of the computing device, various interfaces and lines may be used to connect various parts of the overall device, and by executing or executing instructions stored in the memory 502 and invoking data stored in the memory 502, various functions of the computing device and processing data, to thereby monitor the computing device as a whole. Alternatively, the processor 501 may include one or more processing units, and the processor 501 may integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system and application programs, etc., and the modem processor primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 501. In some embodiments, processor 501 and memory 502 may be implemented on the same chip, or they may be implemented separately on separate chips in some embodiments.
The processor 501 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, and may implement or perform the methods, steps and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the service processing method of the blockchain system disclosed in connection with the embodiment of the application can be directly embodied as the execution completion of a hardware processor or the execution completion of the combination execution of hardware and software modules in the processor.
The memory 502, as a non-volatile computer readable storage medium, may be used to store non-volatile software programs, non-volatile computer executable programs, and modules. The Memory 502 may include at least one type of storage medium, and may include, for example, flash Memory, hard disk, multimedia card, card Memory, random access Memory (Random Access Memory, RAM), static random access Memory (Static Random Access Memory, SRAM), programmable Read-Only Memory (Programmable Read Only Memory, PROM), read-Only Memory (ROM), charged erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory), magnetic Memory, magnetic disk, optical disk, and the like. Memory 502 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 502 in the present embodiment may also be circuitry or any other device capable of implementing a memory function for storing program instructions and/or data.
By programming the processor 501, codes corresponding to the service processing method of the blockchain system described in the foregoing embodiment may be cured into a chip, so that the chip can execute the steps of the service processing method of the blockchain system during operation, and how to program the processor 501 is a technology known to those skilled in the art will not be repeated here.
Based on the same inventive concept, the embodiments of the present application also provide a storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the steps of the service processing method of the blockchain system as described above.
In some possible embodiments, aspects of the method for processing services of a blockchain system provided herein may also be implemented in the form of a program product comprising program code for causing a smart device to perform the steps in the method for processing services of a blockchain system according to various exemplary embodiments of the present application described herein above when the program product is run on a master device.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (15)

1. A method of traffic processing for a blockchain system, the blockchain system including a plurality of blockchains and at least one full node in communication with the plurality of blockchains, respectively, the method comprising:
one of all nodes in the block chain system receives a first service, wherein the first service comprises identification information of the first service;
Dividing the first service into a plurality of sub-services according to the identification information of the first service, wherein each sub-service corresponds to one of the block chains;
the plurality of sub-services are respectively sent to corresponding block chains;
obtaining at least one second processing result corresponding to the at least one first processing result according to the received at least one first processing result sent by the plurality of blockchains;
issuing the at least one second processing result to each blockchain so that each blockchain stores the at least one second processing result;
and each second processing result is a verification result obtained after the first processing result corresponding to each second processing result is verified, wherein each second processing result is the same as or opposite to the first processing result corresponding to each second processing result.
2. The method of claim 1, wherein deriving at least one second processing result corresponding to the at least one first processing result from the received at least one first processing result transmitted by the plurality of blockchains comprises:
receiving at least one piece of verification information sent by each block chain of the plurality of block chains, wherein each piece of verification information is obtained by verifying one of the at least one first processing result through each block chain, and each piece of verification information is verification passing or verification failing;
And obtaining the at least one second processing result according to the at least one piece of verification information and the at least one first processing result.
3. The method of claim 2, wherein obtaining the at least one second processing result based on the at least one authentication information and the at least one first processing result comprises:
determining that the number of verification information passing verification in the plurality of verification information is larger than a preset number, and determining the first processing result as the second processing result;
and determining that the number of verification information passing verification in the plurality of verification information is smaller than or equal to the preset number, and determining a processing result opposite to the first processing result as the second processing result.
4. A method of traffic processing for a blockchain system, the blockchain system including a plurality of blockchains and at least one full node in communication with the plurality of blockchains, respectively, the method comprising:
each blockchain in the plurality of blockchains receives a sub-service sent by one of the at least one full node, wherein the sub-service is one of the plurality of sub-services after the full node divides the first service into the plurality of sub-services according to the received identification information of the first service;
After the sub-service is processed, sending a first processing result corresponding to the sub-service to the full node, so that the full node obtains at least one second processing result corresponding to the at least one first processing result according to at least one first processing result corresponding to the plurality of sub-services received from the plurality of blockchains;
receiving and storing the at least one second processing result;
and each second processing result is a verification result obtained after the first processing result corresponding to each second processing result is verified, wherein each second processing result is the same as or opposite to the first processing result corresponding to each second processing result.
5. The method of claim 4, wherein the method further comprises:
receiving at least one third processing result from other block chains in the plurality of block chains, wherein each third processing result is a processing result corresponding to a sub-service processed by one block chain in the other block chains;
verifying the at least one third processing result to obtain at least one piece of verification information, wherein the verification information is verification passing or verification failing;
And sending the at least one verification message to the full node so that the full node obtains the at least one second processing result according to the at least one first processing result and the at least one verification message.
6. The method of claim 4 or 5, wherein saving the at least one second processing result comprises:
and storing the at least one second processing result in the form of a main state and at least one auxiliary state, wherein the main state is the processing result corresponding to the block chain, and the auxiliary state is the processing result corresponding to other block chains.
7. A traffic processing apparatus for a blockchain system, the blockchain system including a plurality of blockchains and at least one full node in communication with the plurality of blockchains, respectively, the apparatus comprising:
the receiving module is used for receiving a first service, wherein the first service comprises identification information of the first service;
the dividing module is used for dividing the first service into a plurality of sub-services according to the identification information of the first service, wherein each sub-service corresponds to one block chain in the plurality of block chains;
The first sending module is used for respectively sending the plurality of sub-services to the corresponding block chains;
the obtaining module is used for obtaining at least one second processing result corresponding to the at least one first processing result according to the received at least one first processing result sent by the plurality of blockchains;
the second sending module is used for sending the at least one second processing result to each blockchain so that each blockchain can store the at least one second processing result;
and each second processing result is a verification result obtained after the first processing result corresponding to each second processing result is verified, wherein each second processing result is the same as or opposite to the first processing result corresponding to each second processing result.
8. The apparatus of claim 7, wherein the receiving module is to:
receiving at least one piece of verification information sent by each block chain of the plurality of block chains, wherein each piece of verification information is obtained by verifying one of the at least one first processing result through each block chain, and each piece of verification information is verification passing or verification failing;
The obtaining module is used for: and obtaining the at least one second processing result according to the at least one piece of verification information and the at least one first processing result.
9. The apparatus of claim 8, wherein the obtaining module is further to:
determining that the number of verification information passing verification in the plurality of verification information is larger than a preset number, and determining the first processing result as the second processing result;
and determining that the number of verification information passing verification in the plurality of verification information is smaller than or equal to the preset number, and determining a processing result opposite to the first processing result as the second processing result.
10. A traffic processing apparatus for a blockchain system, the blockchain system including a plurality of blockchains and at least one full node in communication with the plurality of blockchains, respectively, the apparatus comprising:
the receiving module is used for receiving sub-services sent by one of at least one full node, wherein the sub-services are one of the sub-services after the full node divides the first service into a plurality of sub-services according to the received identification information of the first service;
The sending module is used for sending the first processing results corresponding to the sub-services to the full node after the sub-services are processed, so that the full node obtains at least one second processing result corresponding to the at least one first processing result according to the at least one first processing result corresponding to the plurality of sub-services received from the plurality of blockchains;
the storage module is used for receiving and storing the at least one second processing result;
and each second processing result is a verification result obtained after the first processing result corresponding to each second processing result is verified, wherein each second processing result is the same as or opposite to the first processing result corresponding to each second processing result.
11. The apparatus of claim 10, wherein the receiving module is further for:
receiving at least one third processing result from other block chains in the plurality of block chains, wherein each third processing result is a processing result corresponding to a sub-service processed by one block chain in the other block chains;
verifying the at least one third processing result to obtain at least one piece of verification information, wherein the verification information is verification passing or verification failing;
The sending module is further configured to: and sending the at least one verification message to the full node so that the full node obtains the at least one second processing result according to the at least one first processing result and the at least one verification message.
12. The apparatus of claim 10 or 11, wherein the means for storing is configured to:
and storing the at least one second processing result in the form of a main state and at least one auxiliary state, wherein the main state is the processing result corresponding to the block chain, and the auxiliary state is the processing result corresponding to other block chains.
13. A blockchain system, characterized in that the system comprises a service processing device according to any of claims 7-9 and a service processing device according to any of claims 10-12.
14. A computing device, the computing device comprising:
at least one processor, and
a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor implementing the method of any of claims 1-3 or claims 4-6 by executing the instructions stored by the memory.
15. A computer readable storage medium storing computer instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-3 or 4-6.
CN201911415964.1A 2019-12-31 2019-12-31 Service processing method, device and system of block chain system Active CN113128998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911415964.1A CN113128998B (en) 2019-12-31 2019-12-31 Service processing method, device and system of block chain system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911415964.1A CN113128998B (en) 2019-12-31 2019-12-31 Service processing method, device and system of block chain system

Publications (2)

Publication Number Publication Date
CN113128998A CN113128998A (en) 2021-07-16
CN113128998B true CN113128998B (en) 2024-04-12

Family

ID=76769122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911415964.1A Active CN113128998B (en) 2019-12-31 2019-12-31 Service processing method, device and system of block chain system

Country Status (1)

Country Link
CN (1) CN113128998B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283987A (en) * 2021-05-17 2021-08-20 网易(杭州)网络有限公司 Service processing method, device, block chain gateway, block chain node and storage medium
CN117294757B (en) * 2023-11-27 2024-02-20 山东省计算中心(国家超级计算济南中心) Complex service splitting execution method, system, equipment and medium based on block chain

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
WO2018112940A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Service execution method and device for blockchain node, and node device
WO2018112946A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Registration and authorization method, device and system
CA3039818A1 (en) * 2017-03-08 2018-09-13 Alibaba Group Holding Limited Business processing method and apparatus
CN108540536A (en) * 2018-03-16 2018-09-14 深圳前海微众银行股份有限公司 Network magnanimity method for processing business, equipment and storage medium based on block chain
WO2018175540A1 (en) * 2017-03-24 2018-09-27 Alibaba Group Holding Limited Method and apparatus for consensus verification
CN108616578A (en) * 2018-04-09 2018-10-02 上海点融信息科技有限责任公司 Method for processing business, equipment and the computer readable storage medium of transregional piece of platform chain
CA3048741A1 (en) * 2017-03-28 2018-10-04 Alibaba Group Holding Limited Blockchain-based data storage and query method and device
WO2018223995A1 (en) * 2017-06-07 2018-12-13 众安信息技术服务有限公司 Method, device and system for cross-chain communication in blockchains
WO2018232494A1 (en) * 2017-06-23 2018-12-27 Zeu Crypto Networks Inc. A network of blockchains capable of cross-chain transactions
CN109286678A (en) * 2018-10-30 2019-01-29 刘国勋 The block chain group ecosystem and readable storage medium storing program for executing of complete decentralization and closed loop
CN110009337A (en) * 2018-12-21 2019-07-12 阿里巴巴集团控股有限公司 A kind of data processing method and device based on block chain
CN110020543A (en) * 2018-12-21 2019-07-16 阿里巴巴集团控股有限公司 A kind of data processing method and device based on block chain
CN110046996A (en) * 2019-01-18 2019-07-23 阿里巴巴集团控股有限公司 The generation method and device of block chain transaction
WO2019213867A1 (en) * 2018-05-09 2019-11-14 合肥达朴汇联科技有限公司 Method and device for reaching consensus in blockchain

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018112940A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Service execution method and device for blockchain node, and node device
WO2018112946A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Registration and authorization method, device and system
CA3039818A1 (en) * 2017-03-08 2018-09-13 Alibaba Group Holding Limited Business processing method and apparatus
WO2018175540A1 (en) * 2017-03-24 2018-09-27 Alibaba Group Holding Limited Method and apparatus for consensus verification
CA3048741A1 (en) * 2017-03-28 2018-10-04 Alibaba Group Holding Limited Blockchain-based data storage and query method and device
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
WO2018223995A1 (en) * 2017-06-07 2018-12-13 众安信息技术服务有限公司 Method, device and system for cross-chain communication in blockchains
WO2018232494A1 (en) * 2017-06-23 2018-12-27 Zeu Crypto Networks Inc. A network of blockchains capable of cross-chain transactions
CN108540536A (en) * 2018-03-16 2018-09-14 深圳前海微众银行股份有限公司 Network magnanimity method for processing business, equipment and storage medium based on block chain
CN108616578A (en) * 2018-04-09 2018-10-02 上海点融信息科技有限责任公司 Method for processing business, equipment and the computer readable storage medium of transregional piece of platform chain
WO2019213867A1 (en) * 2018-05-09 2019-11-14 合肥达朴汇联科技有限公司 Method and device for reaching consensus in blockchain
CN109286678A (en) * 2018-10-30 2019-01-29 刘国勋 The block chain group ecosystem and readable storage medium storing program for executing of complete decentralization and closed loop
CN110009337A (en) * 2018-12-21 2019-07-12 阿里巴巴集团控股有限公司 A kind of data processing method and device based on block chain
CN110020543A (en) * 2018-12-21 2019-07-16 阿里巴巴集团控股有限公司 A kind of data processing method and device based on block chain
CN110046996A (en) * 2019-01-18 2019-07-23 阿里巴巴集团控股有限公司 The generation method and device of block chain transaction

Also Published As

Publication number Publication date
CN113128998A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
WO2020258848A1 (en) Method and apparatus for cross-chain transmission of resources
US10986177B2 (en) Systems and methods of self-forking blockchain protocol
CN108200203B (en) Block chain system based on double-layer network
RU2744496C2 (en) System and method for increasing safety of a smart contract in a chain of units
CN107395353B (en) block chain consensus method and device
CN109154885B (en) Business process execution on a blockchain platform
CN110458631B (en) Bill number distribution method and device based on block chain and electronic equipment
WO2020258847A1 (en) Method and apparatus for cross-chain transmission of authenticable message based on processing module
KR101936759B1 (en) Apparatus and Method for KYC using KYC blockchain
CN110910230A (en) Accounting method, accounting system and storage medium
CN113128998B (en) Service processing method, device and system of block chain system
US20210319456A1 (en) Methods, apparatuses, devices, and systems for generating customs clearance confirmation information
US11138597B2 (en) System and method for improving security of smart contract on blockchain
CN111640002A (en) Block chain-based mortgage loan method and device
CN111260362A (en) Information processing method and device of block chain network and storage medium
CN110378693B (en) Distributed energy weak centralized transaction management system based on alliance block chain
CN112070503A (en) Contract execution method, device, equipment and storage medium based on block chain
CN111177262A (en) Block chain consensus method, related device and system
CN114154969B (en) Large-scale trading and settlement method based on block chain
US20210248603A1 (en) Blockchain-based transaction processing method and apparatus
CN112446787A (en) Resource transfer method, device, equipment and storage medium
CN108961039B (en) Transaction processing method, device and system
CN111986025A (en) Loan transaction processing method and system based on block chain
CN112801616A (en) Abnormal account book processing method and device
CN111738855A (en) Intelligent contract management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant