CN109558454B - Parallel chain mining consensus method, apparatus and storage medium - Google Patents

Parallel chain mining consensus method, apparatus and storage medium Download PDF

Info

Publication number
CN109558454B
CN109558454B CN201811432620.7A CN201811432620A CN109558454B CN 109558454 B CN109558454 B CN 109558454B CN 201811432620 A CN201811432620 A CN 201811432620A CN 109558454 B CN109558454 B CN 109558454B
Authority
CN
China
Prior art keywords
calculation result
transaction
result information
authorization
main chain
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
CN201811432620.7A
Other languages
Chinese (zh)
Other versions
CN109558454A (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.)
Hangzhou Fuzamei Technology Co Ltd
Original Assignee
Hangzhou Fuzamei Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Fuzamei Technology Co Ltd filed Critical Hangzhou Fuzamei Technology Co Ltd
Priority to CN201811432620.7A priority Critical patent/CN109558454B/en
Publication of CN109558454A publication Critical patent/CN109558454A/en
Application granted granted Critical
Publication of CN109558454B publication Critical patent/CN109558454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a parallel chain excavation consensus method, equipment and a storage medium, wherein the method comprises the following steps: generating first calculation result information according to a plurality of transactions to be identified; packing the first calculation result information into a first mining transaction and storing the first mining transaction in a local database for query or data recovery; packaging the first calculation result information to generate a first voting transaction and sending the first voting transaction to a corresponding main chain node so that the main chain node can execute the first voting transaction, recording the first calculation result information to the main chain through main chain consensus, verifying whether the first calculation result information with the quantity not less than a first threshold value is the same in each first calculation result information recorded by the main chain and generating a verification result; and synchronizing the verification result, and writing the verified first calculation result information into the parallel chain. The parallel chain consensus mechanism is provided with functions of local query and the like through atomic local data backup, and the parallel chain consensus is further participated through issuing ore excavation excitation and attracting parallel chain nodes.

Description

Parallel chain mining consensus method, apparatus and storage medium
Technical Field
The application relates to the technical field of block chains, in particular to a parallel chain mining consensus method, parallel chain mining consensus equipment and a storage medium.
Background
The parallel chain is a block chain based on the main chain, the parallel chain has own blocks and nodes, and the block transaction is completely transparent to the main chain. Due to the high consensus cost and other reasons, the conventional parallel chain mechanism is not usually configured with the consensus mechanism, so that after a node of a parallel chain generates a block, the security of the block is lack of guarantee, and the possible problems of forking and the like are difficult to solve.
In view of the above problems, the applicant proposed a parallel chain consensus mechanism for performing parallel chain consensus through a main chain in one of the previously applied patents, which can solve the above problems to some extent, but still has a problem that a local data backup with atomicity is not performed on parallel chain link points, which results in that a convenient local query cannot be performed. In addition, the workload of parallel chain link points participating in the consensus of the parallel chain is increased, but the problem that the parallel chain nodes are difficult to attract to participate in the consensus of the parallel chain is caused due to lack of excitation.
Disclosure of Invention
In view of the above-described deficiencies or inadequacies in the prior art, it would be desirable to provide a parallel chain mining consensus method, apparatus, and storage medium that facilitates local query functionality by enabling local data backup with atomicity, and further attracts parallel chain nodes to participate in parallel chain consensus through issuing incentives.
In a first aspect, the present invention provides a method for mining consensus on a parallel chain, where a plurality of authorized nodes are configured in the parallel chain, and the method is applied to the authorized nodes, and the method includes:
generating first calculation result information according to a plurality of transactions to be identified;
packing the first calculation result information into a first mining transaction and storing the first mining transaction in a local database for query or data recovery;
packaging the first calculation result information to generate a first voting transaction and sending the first voting transaction to a corresponding main chain node so that the main chain node can execute the first voting transaction, recording the first calculation result information to the main chain through main chain consensus, verifying whether the first calculation result information with the quantity not less than a first threshold value is the same in each first calculation result information recorded by the main chain and generating a verification result;
and synchronizing the verification result, and writing the verified first calculation result information into the parallel chain.
In a second aspect, the present invention provides a parallel chain mining consensus method, where a plurality of authorized nodes are configured in a parallel chain, and the method is applied to a main chain node corresponding to an authorized node, and the method includes:
receiving and executing a first voting transaction sent by a corresponding authorization node, and recording first calculation result information to a main chain through main chain consensus; the corresponding authorization node also packages the first calculation result information into a first mining transaction and stores the first mining transaction into a local database;
and verifying whether the first calculation result information with the number not less than the first threshold number in each first calculation result information recorded by the main chain is the same and generating a verification result so as to enable the corresponding authorization node to synchronize the verification result, and writing the verified first calculation result information into the parallel chain.
In a third aspect, the present invention also provides an apparatus comprising one or more processors and a memory, wherein the memory contains instructions executable by the one or more processors to cause the one or more processors to perform a method of parallel chain mining consensus provided according to embodiments of the present invention.
In a fourth aspect, the present invention also provides a storage medium storing a computer program for causing a computer to execute the parallel chain mining consensus method according to the embodiments of the present invention.
According to the parallel chain mining consensus method, the parallel chain mining consensus equipment and the storage medium, provided by the embodiments of the invention, the calculation results of all to-be-consensus transactions are packaged into mining transactions and stored in the local database, so that the atomicity of local data backup is ensured, and functions such as convenient data query are provided;
the parallel chain mining consensus method, the device and the storage medium provided by some embodiments of the present invention further configure incentive information for issuing mining rewards to current authorized nodes in voting transactions sent to the main chain node, so that the authorization nodes participating in the parallel chain consensus are issued with incentives, thereby attracting the parallel chain nodes to participate in the parallel chain consensus.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a parallel chain mining consensus method according to an embodiment of the present invention.
FIG. 2 is a flow diagram of a preferred embodiment of the method shown in FIG. 1.
Fig. 3 is a flowchart of another parallel chain mining consensus method according to an embodiment of the present invention.
FIG. 4 is a flow chart of a preferred embodiment of the method shown in FIG. 3.
FIG. 5 is a flow chart of a preferred embodiment of the method shown in FIG. 3.
Fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a flowchart of a parallel chain mining consensus method according to an embodiment of the present invention.
As shown in fig. 1, in this embodiment, the present invention provides a parallel chain mining consensus method, where multiple authorized nodes are configured in a parallel chain, and the method is applied to the authorized nodes, and the method includes:
s12: generating first calculation result information according to a plurality of transactions to be identified;
s13: packing the first calculation result information into a first mining transaction and storing the first mining transaction in a local database for query or data recovery;
s14: packaging the first calculation result information to generate a first voting transaction and sending the first voting transaction to a corresponding main chain node so that the main chain node can execute the first voting transaction, recording the first calculation result information to the main chain through main chain consensus, verifying whether the first calculation result information with the quantity not less than a first threshold value is the same in each first calculation result information recorded by the main chain and generating a verification result;
s15: and synchronizing the verification result, and writing the verified first calculation result information into the parallel chain.
The method shown in fig. 1 is exemplarily illustrated below by taking the main chain X configured with a first parallel chain Y configured with 4 authorization nodes a, b, c, d, and the 4 authorization nodes a, b, c, d respectively corresponding to the main chain node A, B, C, D as an example:
for example, the state of the main chain node A, B, C and the authorized nodes a, b, and c is normal, and the main chain node D and the authorized node D are in a forked state, at this time, the authorized nodes a, b, c, and D synchronize 100 transactions on the first parallel chain Y from the corresponding main chain node A, B, C, D to the memory.
For those skilled in the art, it can be considered that after the transaction is synchronously acquired and executed in the packed block, the transaction of the block is stored in the local database, so as to implement functions such as local data query, however, this method has a defect that it is difficult to guarantee the atomicity of the local data and the parallel chain real-time data: for example, after the authorization node a performs 100 transactions packed into a block, it actively goes offline when 50 transactions are locally stored, and after the authorization node c performs 100 transactions packed into a block, it actively goes offline when 80 transactions are locally stored, and in this case, when the authorization node a/c goes online again, it is no longer possible to store 50/20 transactions that are not locally stored, which results in inconsistency between data in the local database and real-time data in the parallel chain (not through the commonly recognized parallel chain data, which lags behind the real-time data through the commonly recognized data, and cannot be used for functions such as local query and data recovery), and it is not atomicity.
In step S12, the authorization node a packages 100 transactions to be identified, and generates first calculation result information S for executing the 100 transactionsaSimilarly, the authorized nodes b, c, d generate respective first calculation result information Sb、Sc、Sd
In step S13, the authorized node a sends the first calculation result information SaPacked as first mine cut transaction TXa1And sends the first mine excavation transaction TXa1And storing the transaction data into a local database of the authorization node a, and storing the 100 transactions into the local database of the authorization node a. Similarly, the authorized nodes b, c, d respectively use the respective first calculation result information Sb、Sc、SdPacked as first mine cut transaction TXb1、TXc1、TXd1And is divided intoRespectively storing the 100 transactions into the respective local databases, and respectively synchronizing the 100 transactions into the respective local databases.
In other embodiments, the data stored in the local database may be configured to store only the first mining transaction, the hash values of the first mining transaction and the corresponding transactions, and the like according to different actual requirements in step S13.
In step S14, the authorized node a determines the first calculation result information SaGenerating a first voting transaction TX by packinga2Transacting the first vote TXa2Sending the voting content to the corresponding main chain node A, receiving and executing the voting content by the main chain node A, and authorizing the node a to vote the latest block of the parallel chain through main chain consensus (first calculation result information S)a) Recorded onto the backbone. Similarly, the authorized nodes b, c, d respectively package to generate respective first voting transactions, send to the corresponding main chain node B, C, D, and obtain the first calculation result information S through main chain consensusb、Sc、SdRecorded onto the backbone.
When enough votes for consensus of the parallel links are recorded on the main chain (for example, in this embodiment, votes of nodes a, b, c, and d that need to be authorized are recorded on the main chain), the main chain node verifies whether the blocks of the parallel links pass the consensus, and determines that the first calculation result information S is obtaineda、Sb、Sc、SdWhether at least three of them are identical. At this time, since the states of the main chain node A, B, C and the authorized nodes a, b, and c are normal, the main chain node D and the authorized node D are in a forked state, resulting in Sa、Sb、ScSame, and SdUnlike the other three items, the block consensus of the parallel chain is successful, and the verification result is generated and recorded on the main chain.
In step S15, the authorized nodes a, b, and c synchronize the verification results from the corresponding main chain nodes A, B, C and write the verified first calculation result information into the parallel chain. And the authorized node D is recovered after the corresponding main chain node D is recovered from the bifurcation state and then is recovered by the main chain node D.
In the parallel chain consensus process, the authorization node packages the calculation results into mining transactions and stores the mining transactions into the local database after generating the calculation results of all to-be-consensus transactions of the packaged parallel chain blocks, so that only part of the transactions are not stored into the local database, and the other part of the transactions are not stored.
For example, when the authorized node a does not generate the first calculation result information SaThat is, when the authorized node a is off-line, the first calculation result information S is recalculated after the authorized node a is on-line againaAnd proceeds to the local data storage of step S13.
As another example, when the authorized node a sends the first calculation result information SaIf the transaction is offline when the transaction is stored in the local database and 70 of the corresponding 100 transactions are stored in the local database, the authorization node a can be on-line again according to the locally stored first calculation result information SaChecking the 70 transactions, and judging whether the calculation result of the 70 transactions is the first calculation result information SaIf not, S is stored againaCorresponding 100 transactions, thereby further ensuring the transaction data in the local database and the first calculation result information SaIs atomic.
In the above example, the first parallel chain Y is configured with 4 authorization nodes as an example for explanation, and in further embodiments, different numbers of authorization nodes may be configured in the parallel chain according to actual requirements. For example, when parallel chain consensus is performed by using an algorithm of 3f +1(f is a positive integer), the number of authorized nodes may be configured to be 3f + 1; when the parallel chain consensus is carried out by adopting different consensus algorithms commonly used in the field, the number of the authorized nodes with different numbers is configured according to the actual algorithm requirements, and the like.
According to the embodiment, the calculation results of the to-be-identified transactions are packaged into the mining transactions and stored in the local database, so that the atomicity of local data backup is guaranteed, and functions such as convenient data query are provided.
In a preferred embodiment, the first voting transaction further includes incentive information for issuing a mine excavation reward to the current authorized node. Also taking the above example as an example, the first voting transaction TXa2、TXb2、TXc2、TXd2The method comprises the step of issuing incentive information of mine digging rewards to authorized nodes a, b, c and d respectively. After the main chain node finishes the parallel chain consensus, because the votes of the authorized nodes a, b and c pass the parallel chain consensus and the vote of the authorized node d does not pass the parallel chain consensus, the authorized nodes a, b and c can obtain the ore digging reward, and the authorized node d can not obtain the ore digging reward temporarily and can obtain the ore digging reward after recovering from the bifurcation. In this embodiment, the excavation reward of the parallel chain excavation is configured to be issued by the parallel chain operator, and in more embodiments, the excavation reward can be configured to be issued by different objects according to actual requirements, so that the same technical effect can be achieved.
The embodiment further configures incentive information for issuing mining rewards to the current authorization node in the voting transaction sent to the main chain node, so that the incentive is issued to the authorization node participating in the parallel chain consensus, and the parallel chain node is attracted to participate in the parallel chain consensus.
FIG. 2 is a flow diagram of a preferred embodiment of the method shown in FIG. 1. As shown in fig. 2, in a preferred embodiment, step S12 is preceded by:
s11: and generating an authorization application transaction and sending the authorization application transaction to a corresponding main chain node so that an authorization contract configured by the main chain node is configured in a parallel chain authorization node list which is recorded on the main chain according to the authorization application transaction.
Specifically, the parallel chain node is allowed to apply for being an authorized node to participate in the parallel chain consensus under a certain configuration condition, so that the safety of the parallel chain can be effectively enhanced.
In a preferred embodiment, each authorization node generates an authorization configuration transaction by a parallel chain operator and sends the authorization configuration transaction to the main chain node, so that an authorization contract configured by the main chain node is configured in a parallel chain authorization node list recorded by the main chain according to the authorization configuration transaction.
Fig. 3 is a flowchart of another parallel chain mining consensus method according to an embodiment of the present invention. The method of fig. 3 may be performed in conjunction with the method of fig. 1.
As shown in fig. 3, in this embodiment, the present invention further provides another parallel chain mining consensus method, which is applicable to a main chain node corresponding to a parallel chain authorization node, and includes:
s23: receiving and executing a first voting transaction sent by a corresponding authorization node, and recording first calculation result information to a main chain through main chain consensus; the corresponding authorization node also packages the first calculation result information into a first mining transaction and stores the first mining transaction into a local database;
s24: and verifying whether the first calculation result information with the number not less than the first threshold number in each first calculation result information recorded by the main chain is the same and generating a verification result so as to enable the corresponding authorization node to synchronize the verification result, and writing the verified first calculation result information into the parallel chain.
Preferably, the first voting transaction further comprises incentive information for issuing a mine excavation reward to the current authorized node.
The principle of the parallel chain excavation consensus of the method shown in fig. 3 can be referred to the method shown in fig. 1, and will not be described herein.
FIG. 4 is a flow chart of a preferred embodiment of the method shown in FIG. 3. The method illustrated in fig. 4 may be performed in conjunction with the method illustrated in fig. 2.
As shown in fig. 4, in a preferred embodiment, step S23 is preceded by:
s21: and receiving and executing the authorization application transaction sent by the corresponding authorization node to trigger an authorization contract to configure a parallel chain authorization node list which is recorded on the main chain according to the authorization application transaction.
FIG. 5 is a flow chart of a preferred embodiment of the method shown in FIG. 3.
As shown in fig. 5, in a preferred embodiment, step S23 is preceded by:
s22: and receiving and executing an authorization configuration transaction sent by a parallel chain operator to trigger an authorization contract to configure a parallel chain authorization node list which is put on record in the main chain according to the authorization configuration transaction.
Fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
As shown in fig. 6, as another aspect, the present application also provides an apparatus 600 including one or more Central Processing Units (CPUs) 601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the apparatus 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
To the I/O interface 605, AN input section 606 including a keyboard, a mouse, and the like, AN output section 607 including a network interface card such as a Cathode Ray Tube (CRT), a liquid crystal display (L CD), and the like, a speaker, and the like, a storage section 608 including a hard disk, and the like, and a communication section 609 including a network interface card such as a L AN card, a modem, and the like, the communication section 609 performs communication processing via a network such as the internet, a drive 610 is also connected to the I/O interface 605 as necessary, a removable medium 611 such as a magnetic disk, AN optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted into the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the parallel chain mining consensus method described in any of the above embodiments may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing a parallel chain mining consensus method. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611.
As yet another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus of the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the parallel chain mining consensus method described herein.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, for example, each of the described units may be a software program provided in a computer or a mobile intelligent device, or may be a separately configured hardware device. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the present application. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (13)

1. A parallel chain mining consensus method, wherein a plurality of authorized nodes are configured in a parallel chain, and the method is applied to the authorized nodes, and the method comprises the following steps:
generating first calculation result information according to a plurality of transactions to be identified;
packing the first calculation result information into a first mining transaction and storing the first mining transaction in a local database for query or data recovery;
packaging the first calculation result information to generate a first voting transaction and sending the first voting transaction to a corresponding main chain node so that the main chain node can execute the first voting transaction, recording the first calculation result information to a main chain through main chain consensus, and verifying whether the first calculation result information which is not less than a first threshold number is the same in all the first calculation result information recorded by the main chain and generating a verification result;
and synchronizing the verification result, and writing the verified first calculation result information into the parallel chain.
2. The method of claim 1, wherein packaging the first calculation result information into a first mine excavation transaction and storing in a local database for querying or data recovery further comprises:
and storing the transactions in a local database.
3. The method of claim 1, wherein the first voting transaction further comprises incentive information for issuing a mine excavation reward to a current authorized node.
4. The method according to any one of claims 1 to 3, wherein the generating the first calculation result information to be consensus further comprises:
and generating an authorization application transaction and sending the authorization application transaction to a corresponding main chain node so that an authorization contract configured by the main chain node is configured in a parallel chain authorization node list of a main chain record according to the authorization application transaction.
5. The method according to any one of claims 1 to 3, wherein each authorization node generates an authorization configuration transaction by a parallel chain operator and sends the authorization configuration transaction to the main chain node, so that an authorization contract configured by the main chain node is configured in a main chain filed parallel chain authorization node list according to the authorization configuration transaction.
6. The method according to any one of claims 1-3, wherein the number of authorized nodes is configured to be 3f +1, where f is a positive integer.
7. A parallel chain mining consensus method is characterized in that a plurality of authorized nodes are configured in a parallel chain, the method is applied to main chain nodes corresponding to the authorized nodes, and the method comprises the following steps:
receiving and executing a first voting transaction sent by a corresponding authorization node, and recording first calculation result information to a main chain through main chain consensus; the corresponding authorization node generates first calculation result information according to a plurality of transactions to be identified together and then packages the first calculation result information into a first mining transaction, and the first mining transaction is stored in a local database;
and verifying whether the first calculation result information with the number not less than a first threshold is the same in all the first calculation result information recorded by the main chain and generating a verification result so that the corresponding authorization node can synchronize the verification result and write the verified first calculation result information into the parallel chain.
8. The method of claim 7, wherein the first voting transaction further comprises incentive information for issuing a mine excavation reward to a current authorized node.
9. The method of claim 7 or 8, further comprising:
and receiving and executing an authorization application transaction sent by the corresponding authorization node to trigger an authorization contract to configure a parallel chain authorization node list which is recorded on the main chain according to the authorization application transaction.
10. The method of claim 7 or 8, further comprising:
and receiving and executing an authorization configuration transaction sent by a parallel chain operator to trigger an authorization contract to configure a parallel chain authorization node list which is put on record in a main chain according to the authorization configuration transaction.
11. The method according to claim 7 or 8, wherein the number of authorized nodes is configured to be 3f +1, where f is a positive integer.
12. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-11.
13. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-11.
CN201811432620.7A 2018-11-28 2018-11-28 Parallel chain mining consensus method, apparatus and storage medium Active CN109558454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811432620.7A CN109558454B (en) 2018-11-28 2018-11-28 Parallel chain mining consensus method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811432620.7A CN109558454B (en) 2018-11-28 2018-11-28 Parallel chain mining consensus method, apparatus and storage medium

Publications (2)

Publication Number Publication Date
CN109558454A CN109558454A (en) 2019-04-02
CN109558454B true CN109558454B (en) 2020-07-10

Family

ID=65867805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811432620.7A Active CN109558454B (en) 2018-11-28 2018-11-28 Parallel chain mining consensus method, apparatus and storage medium

Country Status (1)

Country Link
CN (1) CN109558454B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113409B (en) * 2019-04-30 2021-07-06 杭州复杂美科技有限公司 Parallel chain authorization node configuration method, equipment and storage medium
CN110298756B (en) * 2019-06-28 2022-12-20 杭州复杂美科技有限公司 Parallel chain self-consensus method, device and storage medium
CN110445853B (en) * 2019-07-29 2021-08-06 杭州复杂美科技有限公司 Parallel chain node excitation method, device and storage medium
CN110691122B (en) * 2019-09-23 2022-04-05 杭州复杂美科技有限公司 Parallel chain consensus method, device and storage medium
CN111444270B (en) * 2020-02-25 2023-09-08 吴燕琼 Method and system for controlling harmful information based on block chain
CN111478906B (en) * 2020-04-08 2022-03-04 杭州复杂美科技有限公司 Anti-attack method, equipment and storage medium for parallel chain private transaction
CN111475576B (en) * 2020-04-15 2023-08-08 中国工商银行股份有限公司 Block chain-based distributed database storage method and system
CN112184251A (en) * 2020-09-30 2021-01-05 杭州复杂美科技有限公司 Asset transfer method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742210A (en) * 2017-10-13 2018-02-27 布比(北京)网络技术有限公司 Across the chain fund transfer system and method for a kind of different blocks interchain
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874393A (en) * 2017-01-13 2017-06-20 北京众享比特科技有限公司 Synchronizing traffic data method and system, Database Systems based on block chain
US20180293576A1 (en) * 2017-04-05 2018-10-11 Samsung Sds Co., Ltd. System for custom currency transaction based on blockchain and operating method thereof
CN108881387A (en) * 2018-05-16 2018-11-23 横琴密达科技有限责任公司 A kind of block chain common recognition system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742210A (en) * 2017-10-13 2018-02-27 布比(北京)网络技术有限公司 Across the chain fund transfer system and method for a kind of different blocks interchain
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium

Also Published As

Publication number Publication date
CN109558454A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109558454B (en) Parallel chain mining consensus method, apparatus and storage medium
CN109377365B (en) Asset transfer method, device and storage medium
Natoli et al. The blockchain anomaly
CN110442652B (en) Cross-chain data processing method and device based on block chain
AU2019204733B2 (en) Performing parallel execution of transactions in a distributed ledger system
US10671515B1 (en) Recording and playback of electronic event sequence in a distributed ledger system
EP3559874B1 (en) Event-driven blockchain workflow processing
US20200327545A1 (en) Performing parallel execution of transactions in a distributed ledger system
CN109831514A (en) Parallel chain common recognition method, data exception processing method, equipment and storage medium
US9898376B2 (en) Recovery of a transaction after XA end
CN104063293B (en) A kind of data back up method and stream calculation system
US20160048703A1 (en) Securing integrity and consistency of a cloud storage service with efficient client operations
US9600514B2 (en) Methods and systems for detecting data divergence and inconsistency across replicas of data within a shared-nothing distributed database
CN109492049A (en) Data processing, block generation and synchronous method for block chain network
CN110691122B (en) Parallel chain consensus method, device and storage medium
JP6618138B1 (en) Data management system with tamper detection
Bouhata et al. Byzantine fault tolerance in distributed machine learning: a survey
CN110535933A (en) Parallel chain common recognition method, equipment and storage medium
US20240054406A1 (en) Automated machine learning pipeline generation
CN106294017B (en) A kind of information security back-up method
US10678660B2 (en) Transformation drift detection and remediation
CN115564429A (en) System for prepaid transaction monitoring and related methods and blockchains
CN107277108B (en) Method, device and system for processing messages at nodes of block chain
US10621163B2 (en) Tracking and reusing function results
Lopes et al. A time-segmented consortium blockchain for robotic event registration

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
GR01 Patent grant