CN110659986B - Block chain multi-account collaborative blocking method and system - Google Patents

Block chain multi-account collaborative blocking method and system Download PDF

Info

Publication number
CN110659986B
CN110659986B CN201810687850.1A CN201810687850A CN110659986B CN 110659986 B CN110659986 B CN 110659986B CN 201810687850 A CN201810687850 A CN 201810687850A CN 110659986 B CN110659986 B CN 110659986B
Authority
CN
China
Prior art keywords
account
transaction
node
cooperative
block
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
CN201810687850.1A
Other languages
Chinese (zh)
Other versions
CN110659986A (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.)
Benchainless Technology Shenzhen Co ltd
Original Assignee
Benchainless Technology Shenzhen 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 Benchainless Technology Shenzhen Co ltd filed Critical Benchainless Technology Shenzhen Co ltd
Priority to CN201810687850.1A priority Critical patent/CN110659986B/en
Publication of CN110659986A publication Critical patent/CN110659986A/en
Application granted granted Critical
Publication of CN110659986B publication Critical patent/CN110659986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a system for multi-account collaborative blocking of a block chain.

Description

Block chain multi-account collaborative blocking method and system
Technical Field
The invention belongs to the field of block chains, and particularly relates to a method and a system for multi-account collaborative blocking of a block chain.
Background
With the emergence of bitcoin, the blockchain technology is more and more recognized, and mining in blockchains is especially favored by many technical fans, and in the existing blockchain network, performance is always the bottleneck of blockchains, and how to continuously improve the performance of blockchains is a main subject of continuous research in the industry. Some solutions for improving performance have appeared in the world at present, but the general idea is to comprehensively improve the processing performance of the computer and fully squeeze each drop of performance of the computer, so that although the performance of the system can be directly improved, there is a bottleneck of performance limit because the single-machine computing capability of the computer cannot be infinitely improved. If the performance problem of the blockchain is solved by some blockchain clustering modes, the clusters can be used as a point to process transactions together logically, and then a problem occurs, namely that the clusters are huge and can not be participated by any person at all, if the clusters can not be participated by any person at all, the final blockchain participants concentrate towards the head, and the original purpose of breaking the blockchain to center design is achieved. How to solve the problem that the block chain performance can break through the limit of the single-machine computing capability and the participation capability can be prevented from concentrating towards the head is an urgent need to be solved.
Disclosure of Invention
The invention aims to solve the technical problem of providing a block chain multi-account collaborative blocking method and system which break through the limit of single-computer computing capability, have high blocking speed, can realize the collaborative blocking of a plurality of accounts, improve the blocking efficiency and improve the performance of a block chain.
In order to solve the technical problems, the technical solution of the invention is as follows:
a method for multi-account collaborative blocking of a block chain comprises the following steps:
s1 starting a block chain node, and searching a block chain collaborative blocking account list in a block chain network;
s2, selecting a account to be added into the account list;
s3, judging whether an account list capable of being added exists in the block chain network, if so, directly adding the account list into the account list, and if not, creating the account list by the account and adding the created account list;
s4, the account with the lead fills in the lead initiating information, and the lead initiating information is converted into the block chain transaction, and the block chain network types the transaction into the block;
s5, other accounts are selected as cooperative accounts to join the work, and the information applied for joining is converted into blockchain transaction;
S6 the blockchain checks whether other accounts meet the joining condition, if yes, the transaction is typed into a block, if not, the transaction is abandoned, and the step S5 is returned; (ii) a
S7 the block chain selects lead accounts when the starting round begins, the selected lead accounts enter an observer coordination mode, and the non-selected lead accounts are switched to a mode waiting for receiving transaction instructions;
s8, waiting for the blocking time when the clock enters the block, and starting to process the parallel transaction by the account;
s9, after completing the parallel processing of the transaction by leading the account, punching the processing information into a block and broadcasting the processing information into the block chain network;
s10 account is tied to calculate and assign rewards for the collaborative account.
Further, the method for processing the parallel transaction by account in step S8 is:
s81, the account pull node obtains the trade from the trade pool, and receives the trade information;
s82 the head pulling nodes are grouped according to the transaction correlation, and after the transactions in the group which are needed by the transaction sequence processing are locked, each group of transactions is sent to the cooperative nodes participating in the cooperative blocking;
after the S83 cooperative nodes receive the transaction, the head-pulling node sends an unlocking instruction of the transaction with correlation to the corresponding cooperative nodes;
S84 processing the cooperative nodes without the related transaction, directly processing the transaction without waiting for an unlocking instruction, and processing the transaction after the cooperative nodes with the related transaction receive the unlocking instruction;
s85, each cooperative node sends the result after the calculation to the head-pulling node;
s86 holding the head node to store the result and recording the contribution of each cooperative node;
s87 sequentially circulating S21-S26 until the transaction is completely processed or when the clock command is met in the transaction processing process of the cooperative node and the period is finished, immediately stopping the transaction;
s88 the leading node will gather all the processed transactions and type them into the block, and broadcast the block to the network, finish the parallel processing of local area, wait for the next transaction.
Further, the method for calculating and distributing the bonus in the account involved in the step S10 is as follows:
s101, calculating the transaction amount processed by the block-making at this time by using a head-pulling node in a head-pulling account;
s102, calculating the number of the processing transactions of each participated cooperative account by using the lead node;
s103, calculating the proportion of the transaction quantity processed by each collaborative account and the transaction total quantity of the block by the lead node;
s104, creating a transaction for transferring rewards from the self-awarding account to each cooperative account by the lead node;
S105, the head-leading node sends the transaction of the distributed reward into the block when the next block is reached, and the calculation and the distribution of the distributed reward are completed.
Further, the header initiation information in S4 includes information such as a collaboration flag, a reward distribution rule, a startup turn, whether to accept an un-delegated account, and the like.
Furthermore, the method of selecting account in S7 is to count the account with the largest equity and transaction amount in the group participating in the cooperative work, and use the account as account.
A blockchain multi-account collaborative chunking system, comprising:
the account collaborator: the account collaborator is connected with the block chain network and used for managing accounts participating in centralized transaction processing, selecting account groups and collaborative account groups and determining division of work of the account groups and the collaborative account groups;
the node collaborator: the node collaborator is connected with the block chain network and used for managing nodes participating in centralized processing transaction and determining the division and cooperation of the lead node and the collaborative node;
the contribution manager: the contribution manager is connected with the node collaborator and the blockchain network and is used for managing the contribution condition of each node participating in the centralized processing transaction and determining the contribution value of the collaborative node;
A transaction manager: the transaction manager is connected with the block chain network and the node coordinators and is used for determining the coordinated nodes for the node coordinators, distributing transactions and receiving processing results of the coordinated nodes;
a block forging device: connecting with account cooperator, node cooperator, contribution manager and block chain network, and broadcasting the processed transaction into blocks;
the account cooperator, the node cooperator, the contribution manager, the transaction manager and the block forging device are sequentially connected.
Further, the account coordinator comprises an account management module, a participation queuing module and a lead consensus module, wherein the account management module is used for managing the accounts participating in the coordination and recording the rotation and the historical conditions of the participation in the coordination; the participation queuing module is used for managing account of leading and queuing participated cooperative nodes; the lead consensus module is used for voting to select the lead nodes in the cooperative work.
Furthermore, the node collaborator comprises a clock synchronization module, a transaction locking module and a transaction distribution module; the clock synchronization module is used for synchronizing the work rhythm of each cooperative node and keeping the transaction processing pace consistent; the transaction locking module is used for ensuring the order consistency of related transactions and avoiding the problem of messy accounts caused by the common processing of the same account by multiple nodes; the transaction distribution module is used for distributing the transactions to be processed for each node, and the transactions are guaranteed to be processed simultaneously, efficiently and orderly.
Further, the contribution manager comprises a contribution calculating module and a contribution distributing module; the contribution calculation module records the transaction condition of each node involved in historical processing, and calculates the contribution value of each node according to the transaction processing amount and the transaction total amount in the current round; and the contribution distribution module sends the acquired transaction contribution rewards to the front-end nodes according to the contribution values of the nodes.
Furthermore, the account collaborator selects the account to be account-committed in a manner of counting the account with the greatest equity and transaction amount in the group participating in the collaborative work, and taking the account as the account to be account-committed.
The invention has the beneficial effects that:
according to the invention, through determining the account and the cooperative account in the block chain network and through the cooperation of the account cooperative device and the cooperative account, a group of transactions can be processed by a plurality of accounts at the same time, so that the performance of the block chain can be expanded without a boundary, the problem that the participation and control capacity of the block chain are controlled by a small number of nodes can be prevented, the block discharging speed is increased, the limit of the single machine computing capacity is broken through, and the performance of the block chain is improved.
Drawings
FIG. 1 is a flow chart of a corresponding method of the present invention;
FIG. 2 is a block diagram of the architecture of a corresponding system of the present invention;
FIG. 3 is a block diagram of a corresponding system account coordinator structure according to the present invention;
FIG. 4 is a block diagram of a node coordinator of a corresponding system according to the present invention;
FIG. 5 is a block diagram of a corresponding system contribution manager of the present invention;
the following drawings: 100-account coordinator; 200-node cooperator; 300-contribution manager; 400-a transaction manager; 500-block forger; 600-blockchain network; 101-account management module; 102-a participating queuing module; 103-a lead consensus module; 201-clock synchronization module, 202-transaction locking module; 203-transaction allocation module; 301-contribution calculation module; 302-contribution assignment module;
Detailed Description
The invention is described in further detail below with reference to the figures and the specific embodiments. It should be noted that the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The problem that the overall performance of a block chain is improved and the block output efficiency is improved in the existing block chain network is difficult to solve all the time, especially the problem that the performance of the block chain can break through the limit of single-machine computing capacity and the participation capacity can be prevented from being concentrated towards the head is solved.
The invention discloses a method for block chain multi-account collaborative blocking, which comprises the following steps as shown in figure 1:
s1 starts a blockchain node, searches a blockchain collaborative blocking lead account list in the blockchain network 600, where the lead account list is used to bid on lead accounts, a lead account has a certain right and may define a reward rule, and the reward rule may fix a multiple reward of a lead, as long as the degree is agreed by other collaborative accounts, if the blockchain network 600 performs multi-account collaborative blocking for the first time, i.e., a lead account is generated for the first time, then there is no lead account list in the blockchain network 600, and at this time, only self-creation is possible;
s2, selecting a lead account to be added into the lead account list, wherein the lead account is the main account which is required to be subjected to multi-account blocking;
s3 determining whether there is an account list that can be added to the block chain network 600, if yes, directly adding the account to the account list, and if not, creating an account list by the account and adding the created account list;
s4 the lead account fills in lead initiation information and converts the lead initiation information into block chain transaction, the lead information of the block chain network 600 for driving the transaction into the block mainly comprises information such as cooperative mark, reward distribution rule, starting turn, whether to accept non-entrusted account and the like, the information is the important information interaction between the lead account and the cooperative account, the cooperative account can select whether to join the work according to the information, and meanwhile, the lead account can also check whether the cooperative account meets the requirement of the lead account;
S5, other accounts are selected as cooperative accounts to join the work, and the information applied for joining is converted into blockchain transaction;
s6 the blockchain checks whether other accounts meet the joining condition, if yes, the transaction is typed into a block, if not, the transaction is abandoned, and the step S5 is returned; the checking mode is mainly to see whether other accounts meet the conditions in the initiation information of the account to be account-related;
the block chain of S7 selects account of leading, the selected account of leading enters into the coordination mode of observer, starts waiting for clock, the unselected account of leading is switched into the mode waiting for receiving trade order, the preferred mode of selecting account of leading is to count the account with maximum interest and trade amount in the group participating cooperative work, the account is used as account of leading, but the selection can be other selection modes, the change of any selection mode does not affect the implementation of the invention;
s8 waiting for the block-making time when the clock enters the block, the account starts processing the parallel transaction, each block has the block-making time, the block-making time is determined by the clock to ensure that each transaction is carried out orderly, when the clock enters the block-making time, the account starts processing the parallel transaction, the processing mode is:
S81, a lead node in the lead account acquires the transaction from the transaction pool, receives the transaction information, is the expression form of the lead account in the block chain, and executes the command of the lead account;
s82 the head pulling nodes are grouped according to the transaction correlation, and after the transactions in the group which are needed by the transaction sequence processing are locked, each group of transactions is sent to the cooperative nodes participating in the cooperative blocking;
after the S83 cooperative nodes receive the transaction, the head-pulling node sends an unlocking instruction of the transaction with correlation to the corresponding cooperative nodes;
s84, processing the cooperative nodes of unrelated transactions, directly processing the transactions without waiting for an unlocking instruction, and starting to process the transactions after the cooperative nodes of related transactions receive the unlocking instruction;
s85, each cooperative node sends the result after the calculation to the head-pulling node;
s86 holding the head node to store the result and recording the contribution of each cooperative node;
s87 sequentially circulating S81-S86 until the transaction is completely processed or when the clock command is met in the transaction processing process of the cooperative node and the period is finished, immediately stopping the transaction and finishing the blocking;
s88 the leading node will gather all the processed transactions and type them into the block, and broadcast the block to the network, finish the parallel processing of local area, wait for the next transaction. The mode of processing the parallel nodes by the account at the front of the account is a multi-node collaborative blocking mode, and the blocking efficiency can be effectively improved by the multi-node collaborative blocking.
S9, after completing the parallel processing of the transaction by leading the account, the processing information is typed into the block and broadcasted to the block chain network 600;
s10, calculating and distributing rewards for the cooperative account, wherein the specific method for calculating and distributing the rewards for the account is as follows:
s101, calculating the transaction amount processed by the block-making at this time by using a head-pulling node in a head-pulling account;
s102, calculating the number of the processing transactions of each participated cooperative account by using the head-pulling node;
s103, calculating the proportion of the transaction quantity processed by each collaborative account and the transaction total quantity of the block by the lead node;
s104, creating a transaction for transferring rewards from the self-awarding account to each cooperative account by the lead node;
s105, the leading node punches the transaction of the distribution reward into the block when the leading node is at the next block, and the calculation and the distribution of the distribution reward are completed.
By using the method, the invention effectively solves the problem of multi-account collaborative blocking, improves the blocking speed, breaks through the limit of single-machine computing capability and improves the performance of a block chain. At the same time, the invention also discloses
A blockchain multi-account collaborative blocking system, as shown in fig. 2, includes:
account coordinator 100: the account coordinator 100 is connected with the blockchain network 600 and is used for managing accounts participating in centralized transaction processing, selecting account groups and collaborative account groups, and determining the division of labor of the account groups and collaborative account groups; specifically, as shown in fig. 3, the account coordinator 100 includes an account management module 101, a participation queuing module 102, and a lead consensus module 103, where the account management module 101 is configured to manage accounts participating in collaboration, record turns and history of participating in collaboration, and when a new collaboration account is added, the account management module 101 updates information of the collaboration account; the participation queuing module 102 is configured to manage account arrangements, determine account arrangements, count an account with the largest equity and transaction amount in the group participating in the cooperative work as an account arrangement, queue participating cooperative nodes at the same time, and determine that the cooperative nodes can enter the account cooperator 100 in order; the lead consensus module 103 is used for voting to deduce a lead node in the cooperative work, and the cooperative nodes perform parallel processing on the transaction; the account coordinator 100 of the present invention mainly solves the problem that the original cluster controlled by one person is dispersed to be controlled by the masses collectively, that is, the computing power of the masses is centralized to process the transaction. Therefore, the performance of the block chain can be expanded without boundary, and the problem that the participation and control capacity of the block chain is controlled by a small part of nodes can be prevented. Through division and cooperation of the account and the collaborative account, collaborative blocking of a plurality of accounts is achieved, and therefore blocking efficiency is improved.
The node coordinator 200: the node coordinator 200 is connected to the blockchain network 600, and is configured to manage nodes participating in centralized transaction processing, and determine that a head-up node and a coordinating node work separately, specifically, as shown in fig. 4, the node coordinator 200 includes a clock synchronization module 201, a transaction locking module 202, and a transaction distribution module 203; the clock synchronization module 201 is used for synchronizing the work rhythm of each cooperative node, keeping the transaction processing pace consistent, ensuring the transaction to be carried out orderly and preventing transaction data from being disordered; the transaction locking module 202 is used for ensuring order consistency of related transactions and avoiding the problem of messy accounts caused by the common processing of the same account by multiple nodes; the transaction distribution module 203 is used for distributing transactions to be processed for each node, ensuring that the transactions are processed simultaneously, efficiently and orderly, and avoiding resource waste, the clock synchronization module 201, the transaction locking module 202 and the transaction distribution module 203 are all part of the node coordinator 200, and the three modules are matched with each other; the node cooperator 200 of the present invention is mainly used for realizing the cooperative blocking of a plurality of nodes and improving the overall blocking efficiency.
The contribution manager 300: the contribution manager 300 is connected to the node cooperator 200 and the blockchain network 600, and is configured to manage contribution conditions of nodes participating in the centralized processing transaction, and determine a contribution value of the cooperative node, specifically, as shown in fig. 5, the contribution manager 300 includes a contribution calculating module 301 and a contribution calculating module 302; the contribution calculation module 301 records the transaction condition of each node involved in the historical processing, and calculates the contribution value of each node according to the transaction processing amount and the transaction total amount in the current round; the contribution calculation module 302 sends the acquired transaction contribution rewards to rewards according to the contribution values of the nodes by the leading nodes; the contribution manager 300 of the present invention is mainly used to distribute rewards, determine the processing capacity of each cooperative node, and improve the participation enthusiasm of each cooperative node.
The transaction manager 400: the transaction manager 400 is connected to the blockchain network 600 and the node coordinator 200, and is configured to determine a coordination node for the node coordinator 200, allocate a transaction, and receive a processing result of the coordination node;
the block forging device 500: connected to the account coordinator 100, the node coordinator 200, the contribution manager 300, and the blockchain network 600, the processed transaction is typed into a block and broadcast to the blockchain network 600; the block forge 500 is used for driving all the transactions whose transaction data need to be block-linked in the whole transaction processing process into the block chain network 600, so that the data can achieve the effects of uniqueness and traceability of the block chain, thereby preventing the data from being tampered and increasing the reliability.
The account coordinator 100, the node coordinator 200, the contribution manager 300, the transaction manager 400, and the block masker 500 are connected in sequence. The specific connection and use mode is as follows:
firstly, starting a system, searching a block chain collaborative blocking account list by a participation queuing module 102 in an account collaborator 100, creating the collaborative blocking account list by self when no list which can be added in a block chain network 600 exists, selecting a ready-to-add blocking account, filling in the blocking initiating information, converting the blocking initiating information into a block chain transaction, and then, driving the transaction into a block by a block forging device 500; the account management module 101 in the account coordinator 100 selects another collaborative account to join in the collaborative work, in the process, the transaction manager 400 judges whether the collaborative node meets the requirement of the lead initiation information, if not, the collaborative node is discarded, if so, the account is joined as the collaborative account, and the lead consensus module 103 in the account coordinator 100 selects the lead account by counting the account with the greatest interest and transaction amount in the group of collaborative work, so that the selection of the lead account and the collaborative account is completed. When the lead node receives the transaction, the transaction manager 400 starts to process the transaction, firstly, the transaction distribution module 203 in the node cooperator 200 groups the transaction and distributes the transaction to each cooperative node, after each node receives the transaction, the lead node sends an unlocking instruction of the transaction with correlation to the corresponding cooperative node, the related transaction is locked by the transaction locking module 202 in the node coordinator 200, and can be performed only by obtaining an unlocking instruction, and the unlocked transaction can be processed normally, and the clock synchronization module 201 in the node coordinator 200 will determine the transaction time for each cycle, the clock synchronization module 201 stops processing when it determines that the time is up, waits for the next job to arrive, wherein the block forging device 500 is responsible for the transaction data to be typed into a block in the whole process, and the transaction manager 400 is responsible for the transaction processing; after the transaction is processed, the lead node calculates and distributes the rewards through a contribution calculating module 301 and a contribution calculating module 302 in the contribution manager respectively, and the multi-process block making in one period is completed.
According to the invention, through determining the account and the cooperative account in the block chain network and through the cooperation of the account cooperative device and the cooperative account, a group of transactions can be processed by a plurality of accounts at the same time, so that the performance of the block chain can be expanded without a boundary, the problem that the participation and control capacity of the block chain are controlled by a small number of nodes can be prevented, the block discharging speed is increased, the limit of the single machine computing capacity is broken through, and the performance of the block chain is improved.
The above-mentioned embodiments are only preferred embodiments of the present invention, and do not limit the technical scope of the present invention, so that the changes and modifications made by the claims and the specification of the present invention should fall within the scope of the present invention.

Claims (9)

1. A block chain multi-account collaborative blocking method comprises the following steps:
s1, starting a block chain node, and searching a block chain collaborative blocking account list in a block chain network;
s2, selecting a account to be added into the account list;
s3, judging whether an account list capable of being added exists in the block chain network, if so, directly adding the account list into the account list, and if not, creating the account list by the account and adding the created account list;
S4, the account with leading head fills in the leading head initiating information, and the leading head initiating information is converted into the block chain transaction, and the block chain network types the transaction into the block;
s5, other accounts are selected as cooperative accounts to join the work, and the information applied for joining is converted into the block chain transaction;
s6 checking whether other accounts satisfy the joining condition, if yes, typing the transaction into a block, if not, abandoning the transaction, and returning to S5;
s7, when the starting round of the block chain starts, selecting account leads, enabling the selected account leads to enter an observer coordination mode, and switching the account leads which are not selected into a mode waiting for receiving transaction instructions;
s8, waiting for the blocking time when the clock enters the block, and starting to process the parallel transaction by the account;
s9, after the transaction is completed by leading the account, the processing information is typed into the block and is broadcasted to the block chain network;
s10, calculating and distributing rewards for the cooperative account by the account of account of account number lead;
the method for account-based parallel transaction processing in step S8 is as follows:
s81, the account pull node obtains the trade from the trade pool, and receives the trade information;
s82 the head pulling nodes are grouped according to the transaction correlation, and after the transactions in the group which are needed by the transaction sequence processing are locked, each group of transactions is sent to the cooperative nodes participating in the cooperative blocking;
S83, after the cooperative nodes receive the transaction, the head-pulling node sends the unlocking instruction of the related transaction to the corresponding cooperative nodes;
s84 processing the cooperative nodes without the related transaction, directly processing the transaction without waiting for an unlocking instruction, and processing the transaction after the cooperative nodes with the related transaction receive the unlocking instruction;
s85, each cooperative node sends the result after the calculation to the head node;
s86, storing the result by using the head-pulling node, and recording the contribution of each cooperative node;
s87 sequentially circulating S81-S86 until the transaction is completely processed or when the clock command is met in the transaction processing process of the cooperative node and the period is finished, immediately stopping the transaction and finishing the blocking;
s88 the head node will gather all the processed transactions into block and broadcast the block to the network to finish the parallel processing of local area and wait for the next transaction.
2. The method of claim 1, wherein the step S10 of account calculation and distribution of reward is:
s101, calculating the transaction amount of the block making process by using a head pulling node in a head pulling account;
s102, calculating the number of the processing transactions of each participated cooperative account by using the lead node;
S103, calculating the proportion of the transaction quantity processed by each collaborative account and the transaction total quantity of the block by the lead node;
s104, creating a transaction for transferring rewards from the self-awarding account to each cooperative account by the lead node;
s105, the head-leading node sends the transaction of the distributed reward into the block when the next block is reached, and the calculation and the distribution of the distributed reward are completed.
3. The method of claim 1, wherein the lead initiation information in S4 includes information about collaboration flags, reward distribution rules, starting rounds, whether to accept non-delegated accounts, and the like.
4. The method of claim 1, wherein the account id selected in S7 is determined as a account id by counting the account with the greatest interest and transaction amount participating in the collaborative work.
5. A system of the method of co-blocking multiple accounts of a blockchain of claim 1, comprising:
an account coordinator: the account collaborator is connected with the block chain network and used for managing accounts participating in centralized transaction processing, selecting account groups and collaborative account groups and determining division of work of the account groups and the collaborative account groups;
The node collaborator: the node collaborator is connected with the block chain network and used for managing nodes participating in centralized processing transaction and determining the division and cooperation of the lead node and the collaborative node;
a contribution manager: the contribution manager is connected with the node collaborator and the blockchain network and is used for managing the contribution condition of each node participating in the centralized processing transaction and determining the contribution value of the collaborative node;
a transaction manager: the transaction manager is connected with the block chain network and the node collaborator and used for determining the collaborative nodes for the node collaborator, distributing transactions and receiving the processing results of the collaborative nodes;
a block forging device: connecting with account cooperator, node cooperator, contribution manager and block chain network, and making the processed transaction into block and broadcasting to the block chain network;
the account cooperator, the node cooperator, the contribution manager, the transaction manager and the block forging device are sequentially connected.
6. The system according to claim 5, wherein the account collaborator comprises an account management module, a participation queuing module and a lead consensus module, the account management module is configured to manage the accounts participating in the collaboration, and record the round and history of the collaboration; the participation queuing module is used for managing account of leading and queuing participated cooperative nodes; the lead consensus module is used for voting to select the lead nodes in the cooperative work.
7. The system according to claim 5, wherein said node coordinator comprises a clock synchronization module, a transaction locking module and a transaction distribution module; the clock synchronization module is used for synchronizing the working rhythm of each cooperative node and keeping the transaction processing pace consistent; the transaction locking module is used for ensuring the order consistency of related transactions and avoiding the problem of messy accounts caused by the common processing of the same account by multiple nodes; the transaction distribution module is used for distributing the transactions to be processed for each node, and the transactions are guaranteed to be processed simultaneously, efficiently and orderly.
8. The system of claim 5, wherein the contribution manager comprises a contribution calculation module and a contribution allocation module; the contribution calculation module records the transaction condition of each node involved in historical processing, and calculates the contribution value of each node according to the transaction processing amount and the transaction total amount in the current round; the contribution distribution module sends the acquired transaction contribution rewards to rewards according to contribution values of all nodes by the leading nodes.
9. The system of claim 5, wherein the account coordinator selects the account with the largest amount of interest and transaction in the collaborative work as the account with the largest account.
CN201810687850.1A 2018-06-28 2018-06-28 Block chain multi-account collaborative blocking method and system Active CN110659986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810687850.1A CN110659986B (en) 2018-06-28 2018-06-28 Block chain multi-account collaborative blocking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810687850.1A CN110659986B (en) 2018-06-28 2018-06-28 Block chain multi-account collaborative blocking method and system

Publications (2)

Publication Number Publication Date
CN110659986A CN110659986A (en) 2020-01-07
CN110659986B true CN110659986B (en) 2022-07-19

Family

ID=69026312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810687850.1A Active CN110659986B (en) 2018-06-28 2018-06-28 Block chain multi-account collaborative blocking method and system

Country Status (1)

Country Link
CN (1) CN110659986B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991607A (en) * 2017-03-29 2017-07-28 杭州秘猿科技有限公司 A kind of unordered transaction control method based on block chain account model
CN107403379A (en) * 2017-08-07 2017-11-28 质数智慧科技(成都)有限公司 A kind of data processing method, device and block chain Core distribution formula system
CN107678865A (en) * 2017-09-20 2018-02-09 中国银行股份有限公司 The verification method and system of block chain based on transaction packet
CN107688999A (en) * 2017-08-11 2018-02-13 杭州秘猿科技有限公司 A kind of parallel transaction based on block chain performs method
CN108108487A (en) * 2018-01-10 2018-06-01 杭州复杂美科技有限公司 A kind of common recognition method of block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10313134B2 (en) * 2016-10-27 2019-06-04 Denso Corporation System and method for authenticating and authorizing devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991607A (en) * 2017-03-29 2017-07-28 杭州秘猿科技有限公司 A kind of unordered transaction control method based on block chain account model
CN107403379A (en) * 2017-08-07 2017-11-28 质数智慧科技(成都)有限公司 A kind of data processing method, device and block chain Core distribution formula system
CN107688999A (en) * 2017-08-11 2018-02-13 杭州秘猿科技有限公司 A kind of parallel transaction based on block chain performs method
CN107678865A (en) * 2017-09-20 2018-02-09 中国银行股份有限公司 The verification method and system of block chain based on transaction packet
CN108108487A (en) * 2018-01-10 2018-06-01 杭州复杂美科技有限公司 A kind of common recognition method of block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于区块链的供应链物流信息生态圈模型;汪传雷,万一荻,秦琴,汪宁宁;《信息系统》;20170711;第115-121页 *

Also Published As

Publication number Publication date
CN110659986A (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN1967488B (en) Task allocation method and task allocation apparatus
CN106209682A (en) Business scheduling method, device and system
CN109949160A (en) A kind of sharding method and device of block chain
CN101582917B (en) Method for dispatching MCU resource, business server and system
CN105988876B (en) Memory allocation method and device
CN105320561A (en) Task management method and system
CN110557416B (en) Multi-node collaborative blocking method and system
CN105373426B (en) A kind of car networking memory aware real time job dispatching method based on Hadoop
CN103761146B (en) A kind of method that MapReduce dynamically sets slots quantity
CN104239147B (en) One kind processing deadlock round-robin method and system
CN103620522B (en) The random administration of the power consumption of computer system
CN105320570B (en) Method for managing resource and system
CN105389206A (en) Method for rapidly configuring virtual machine resources in cloud computing data center
DE60315965T2 (en) DEVICE FOR PACKAGE RUN CONTROL
CN109522090A (en) Resource regulating method and device
CN110659110A (en) Block chain based distributed computing method and system
CN111160873A (en) Batch processing device and method based on distributed architecture
CN113434284A (en) Privacy computation server side equipment, system and task scheduling method
CN109871273A (en) A kind of adaptive task moving method and device
CN104965762B (en) A kind of scheduling system towards hybrid task
CN108123987A (en) The method and device of master scheduler is determined from cloud computing system
CN110659986B (en) Block chain multi-account collaborative blocking method and system
CN103678537B (en) Metadata amending method, device and node device based on cluster
CN110879753B (en) GPU acceleration performance optimization method and system based on automatic cluster resource management
CN110083441B (en) Distributed computing system and distributed computing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210316

Address after: Room 2201, 703c, Desai science and technology building, 9789 Shennan Avenue, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Benchainless Technology (Shenzhen) Co.,Ltd.

Address before: 361000 unit 11, 201, building B, 86 Haijing Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province

Applicant before: XIAMEN INSTINCT BLOCKCHAIN TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant