A blockchain-based method and system for dynamically selecting instrument and equipment management nodes

Through voting and ranking of block nodes on the blockchain, dynamic selection and supervision of management nodes is solved, and the problem of inability to replace management nodes in the existing technology is improved, and the effectiveness and management capabilities of instrument and equipment management are improved.

CN116800764BActive Publication Date: 2025-08-22CHINESE PEOPLES LIBERATION ARMY NAVAL SPECIALTY MEDICAL CENT
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310757075.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-26
Publication Date
2025-08-22
Estimated Expiration
2043-06-26

AI Technical Summary

Technical Problem

The existing central instrument and equipment management nodes will not be replaced once confirmed, and the dynamic replacement function is lacking, resulting in insufficient management capabilities.

Method used

Through voting and ranking of block nodes on the blockchain, management nodes are dynamically selected and supervised and adjusted during the management cycle to ensure the effectiveness and participation of management nodes.

Benefits of technology

The dynamic selection of instrument and equipment management nodes is realized, management capabilities are improved, and supervision and participation of block nodes are promoted, and losses of problematic management nodes are prevented.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116800764B_ABST
    Figure CN116800764B_ABST
Patent Text Reader

Abstract

The present invention is based on the block chain instrument equipment management node dynamic selection method and system: the management node selection is the first time selection, the first time the block node actively participating in the voting is used as the node to be voted, not the first time the credit and contribution ranking of the top M block nodes as the node to be voted, the number of nodes to be voted is one or the node to be voted with the highest number of votes is one, it is used as the management node, the highest number of votes of the voting block node is multiple, one of them is selected as the management node, the management node needs to be replaced during the management cycle, and the credit and contribution are deducted, if it does not appear, it is not replaced and the credit and contribution are given. The present invention can realize the dynamic selection of instrument equipment management nodes, so that the selected management nodes have more management capabilities, and can achieve better management of instruments and equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of instrument and equipment management nodes, and in particular to a method and system for dynamically selecting instrument and equipment management nodes based on blockchain. Background Art

[0002] Blockchain is an intelligent peer-to-peer network that uses a distributed database to identify, disseminate, and record information. Its core characteristics are data immutability and decentralization. Transactions on a blockchain are confirmed through consensus among all nodes on the blockchain, and upon successful consensus, the data is packaged and written into a block. Blockchain maintains a public ledger that stores all transactions on the blockchain network. Any node on the storage block maintains a complete copy of the public ledger, ensuring it cannot be forged or tampered with. It also enables information sharing and improves the efficiency of transactions and information flow.

[0003] Existing central instruments and equipment use blockchain technology to manage them. Management requires a management node. Once the management node is confirmed, it will not be replaced. There is no function of dynamically replacing the management node, which is not conducive to better management of central instruments and equipment. The present invention designs a method to realize dynamic selection of instrument and equipment management nodes, so that the selected management nodes have better management capabilities and can achieve better management of instruments and equipment. Summary of the Invention

[0004] In response to the problems and shortcomings of the existing technology, the present invention provides a method and system for dynamically selecting instrument and equipment management nodes based on blockchain.

[0005] The present invention solves the above technical problems through the following technical solutions:

[0006] The present invention provides a method for dynamically selecting an instrument and equipment management node based on a blockchain, wherein the blockchain includes N block nodes, where N is a positive integer and N is greater than or equal to 2, and each block node corresponds to at least one instrument and equipment. The method for dynamically selecting an instrument and equipment management node includes the following steps:

[0007] S1. Determine whether the current instrument and equipment management node selection is the first management node selection. If so, proceed to step S2; otherwise, proceed to step S3.

[0008] S2. The block nodes that actively participate in the voting among the block nodes are selected as the block nodes to be voted, and the process proceeds to step S4;

[0009] S3. Calculate the current credit and current contribution of each block node, sort them from largest to smallest, and select the top M block nodes in terms of current credit and current contribution as the block nodes to be voted. If M < N, proceed to step S4.

[0010] S4: Determine whether the number of nodes to be voted is one or more. If it is one, proceed to step S5; if it is more than one, proceed to step S6.

[0011] S5. Directly use the block node to be voted as the management node and proceed to step S10;

[0012] S6. Within the set voting time, receive the voting results of each block node for each pending voting block node, sort each pending voting block node from largest to smallest according to the number of votes cast for approval, and assign a first set voting contribution to each pending voting block node with the highest number of votes and an approval vote, and a second set voting contribution to each pending voting block node with a lower number of votes and a veto vote;

[0013] S7: Determine whether there is one or more nodes with the highest number of votes for the block to be voted. If there is only one, proceed to step S8. If there are more than one, proceed to step S9.

[0014] S8. Select the voting block node with the highest number of votes as the management node, and proceed to step S10;

[0015] S9: Select one of the nodes with the highest number of votes as the management node, and proceed to step S11;

[0016] S10, the management node manages a management cycle, and determines whether the management node needs to be replaced during the management cycle. If so, the process proceeds to step S12; otherwise, the process proceeds to step S13;

[0017] S11, the management node manages a management cycle, and determines whether the management node needs to be replaced during the management cycle. If so, the process proceeds to step S14; otherwise, the process proceeds to step S15;

[0018] S12: Deduct the first set credit and the first set contribution of the management node, and proceed to step S3;

[0019] S13, assigning the management node a second set credit and a second set contribution, and proceeding to step S3;

[0020] S14, deduct the first set credit and the first set contribution of the management node, and proceed to step S16;

[0021] S15: Assign the management node a second set credit and a second set contribution, and proceed to step S16;

[0022] S16: Determine whether each of the nodes with the highest number of votes has served as a management node in turn. If not, proceed to step S17; if so, proceed to step S3.

[0023] S17: directly select the voting block node with the highest number of votes that has never served as a management node as the management node, and proceed to step S11.

[0024] The present invention also provides a blockchain-based instrument and equipment management node dynamic selection system, which is characterized in that the blockchain includes N block nodes, N ≥ 2 and is a positive integer, each of the block nodes corresponds to at least one instrument and equipment, and the instrument and equipment management node dynamic selection system includes a first judgment module, a receiving module, a calculation module, a second judgment module, a first selection module, a voting module, a third judgment module, a second selection module, a third selection module, a fourth judgment module, a fifth judgment module, a deduction module, an assignment module, a sixth judgment module and a fourth selection module;

[0025] The first judgment module is used to judge whether the current instrument equipment management node selection is the first management node selection, and call the receiving module if it is yes, and call the calculation module if it is not;

[0026] The receiving module is used to take the block nodes that actively participate in voting among the received block nodes as the block nodes to be voted, and call the second judgment module;

[0027] The calculation module is used to calculate the current credit and current contribution of each current block node, and the current credit and current contribution are sorted from large to small. The block nodes with the top M current credit rankings and the top M current contribution rankings are used as the block nodes to be voted, M < N, and the second judgment module is called;

[0028] The second judgment module is used to judge whether the number of the block nodes to be voted is one or more, and if it is one, the first selection module is called; if it is more than one, the voting module is called;

[0029] The first selection module is used to directly select the voting block node to be voted as the management node and call the fourth judgment module;

[0030] The voting module is configured to receive, within a set voting time, the voting results of each block node for each pending voting block node, sort the pending voting block nodes from largest to smallest according to the number of votes cast for approval, and assign a first set voting contribution to the block nodes that voted for the pending voting block nodes with the highest number of votes and cast an approval vote, and a second set voting contribution to the block nodes that voted for the pending voting block nodes with a lower number of votes and cast a veto vote;

[0031] The third judgment module is used to judge whether there is one or more voting block nodes with the highest number of votes, and if there is only one, the second selection module is called; if there are more than one, the third selection module is called;

[0032] The second selection module is used to select the voting block node with the highest number of votes as the management node and call the fourth judgment module;

[0033] The third selection module is used to select one of the voting block nodes with the highest number of votes as the management node and call the fifth judgment module;

[0034] The fourth judgment module is used for the management node to manage a management cycle, and judge whether the management node needs to be replaced within the management cycle. If so, the deduction module is called, and the calculation module is called again. If not, the assignment module is called, and the calculation module is called again.

[0035] The fifth judgment module is used for the management node to manage a management cycle, and judge whether the management node needs to be replaced within the management cycle. If so, the deduction module and the sixth judgment module are called in sequence; if not, the granting module and the sixth judgment module are called in sequence;

[0036] The deduction module is used to deduct the first set credit and the first set contribution of the management node;

[0037] The granting module is used to grant the management node a second set credit and a second set contribution;

[0038] The sixth judgment module is used to judge whether each of the voting block nodes with the highest number of votes has served as a management node in turn, and if not, call the fourth selection module; if yes, call the calculation module again;

[0039] The fourth selection module is used to directly select the voting block node to be voted with the highest number of votes that has never served as a management node as the management node, and call the fifth judgment module again.

[0040] The positive progressive effects of the present invention are: the present invention can realize dynamic selection of instrument and equipment management nodes, so that the selected management nodes have better management capabilities and can achieve better management of instruments and equipment; the present invention can realize effective supervision of management nodes, encourage more block nodes to supervise them, encourage more block nodes to participate in the selection of management nodes, and prevent losses caused by problematic management nodes. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 Schematic diagram of the structure of the method for dynamically selecting an instrument and equipment management node according to a preferred embodiment of the present invention.

[0042] Figure 2 This is a structural block diagram of a dynamic selection system for instrument and equipment management nodes according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0044] like Figure 1 As shown, this embodiment provides a method for dynamically selecting an instrument and equipment management node based on a blockchain. The blockchain includes N block nodes, where N ≥ 2 and is a positive integer. Each block node corresponds to at least one instrument and equipment. The method for dynamically selecting an instrument and equipment management node includes the following steps:

[0045] Step 101 : Determine whether the current instrument and equipment management node selection is the first management node selection. If so, proceed to step 102 ; otherwise, proceed to step 103 .

[0046] Step 102: The block nodes that actively participate in the voting among the block nodes are used as the block nodes to be voted, and the process goes to step 104.

[0047] Step 103: Calculate the current credit and current contribution of each block node. Sort the current credit and current contribution from large to small. The block nodes ranked in the top M in terms of current credit and the top M in terms of current contribution are selected as the block nodes to be voted. If M < N, proceed to step 104.

[0048] When the current instrument and equipment management node needs to be selected, it is first determined whether it is the first time to select a management node. If it is the first time to select a management node, since the initial stage credit and initial stage contribution of each block node are the same at the beginning, they cannot be distinguished by credit and contribution. Therefore, the first time to select a management node, a voluntary registration and active participation method is adopted. If it is not the first time to select a management node, the credit and contribution of each block node are different at this time, and they can be distinguished by credit and contribution. Therefore, when it is not the first time to select a management node, the block nodes ranked in the top M in current credit and the top M in current contribution are adopted as the block nodes to be voted.

[0049] Among them, the current credit = initial credit at joining + credit during joining + credit obtained as a management node - credit deducted as a management node.

[0050] When a block node joins, it will be given an initial credit upon joining. Depending on the length of time it has joined, it will be given a corresponding credit for the length of time it has joined. When a block node serves as a management node, if there is a need to replace the management node during the management cycle, a certain amount of credit will be deducted. If there is no need to replace the management node during the management cycle, a certain amount of credit will be given.

[0051] Current contribution = initial contribution upon joining + contribution over time of joining + contribution gained from voting + contribution gained as a management node - contribution deducted as a management node.

[0052] When a block node joins, it will be given an initial contribution. Depending on the length of time it has been joined, it will be given a corresponding contribution based on the length of time it has been joined. When a block node serves as a management node, if there is a need to replace the management node during the management cycle, a certain contribution will be deducted. If there is no need to replace the management node during the management cycle, a certain contribution will be given.

[0053] The contribution degree obtained by voting = the first set voting contribution degree obtained by casting affirmative votes for each voting block node with the highest number of votes + the second set voting contribution degree obtained by casting negative votes for each voting block node with a lower number of votes + the first set voting contribution degree obtained by casting affirmative votes when the management node needs to be replaced + the first set voting contribution degree obtained by casting negative votes when the management node does not need to be replaced.

[0054] Step 104: Determine whether the number of the block nodes to be voted is one or more. If it is one, proceed to step 105; if it is more than one, proceed to step 106.

[0055] Step 105: Directly use the block node to be voted as the management node and proceed to step 110.

[0056] Step 106: Within the set voting time, receive the voting results of each block node for each block node to be voted, sort each block node to be voted from large to small according to the number of votes cast for approval, and assign the first set voting contribution to the block node that voted for each block node to be voted with the highest number of votes and cast an approval vote, and the second set voting contribution to the block node that voted for each block node to be voted with a non-highest number of votes and cast a veto vote.

[0057] If there is only one block node to be voted, there is no need to vote, and the block node to be voted is directly used as the management node. If there are multiple block nodes, voting is required. Within the set voting time, the voting status of each block node for each block node to be voted is obtained, and each block node to be voted is sorted from large to small according to the number of votes cast in favor.

[0058] Step 107: Determine whether there is one or more voting block nodes with the highest number of votes. If there is only one, proceed to step 108; if there are more than one, proceed to step 109.

[0059] Step 108 : Select the voting block node with the highest number of votes as the management node, and proceed to step 110 .

[0060] Step 109 : Select one of the voting block nodes with the highest number of votes as the management node, and proceed to step 111 .

[0061] If there is only one voting block node with the highest number of votes, the voting block node with the highest number of votes will be directly used as the management node. If there are multiple voting block nodes with the highest number of votes, any one of the voting block nodes with the highest number of votes will be selected as the management node.

[0062] Step 110 : The management node manages a management cycle and determines whether a situation in which the management node needs to be replaced occurs within the management cycle. If so, the process proceeds to step 112 ; otherwise, the process proceeds to step 113 .

[0063] Among them, judging whether the management node needs to be replaced within a management cycle specifically includes the following steps: if a block node believes that the management node has a management problem and needs to be replaced, it sends voting information requesting the replacement of the management node to other block nodes except the management node, and obtains the voting situation for the management node. When the number of affirmative votes is greater than the number of veto votes, it is judged that the management node needs to be replaced within the management cycle, and the block node that voted in favor obtains the first set voting contribution. When the number of affirmative votes is less than the number of veto votes, it is judged that the management node does not need to be replaced within the management cycle, and the block node that voted in favor obtains the first set voting contribution.

[0064] Step 111 : The management node manages a management cycle and determines whether a situation in which the management node needs to be replaced occurs within the management cycle. If so, the process proceeds to step 114 ; otherwise, the process proceeds to step 115 .

[0065] Step 112 : Deduct the first set credit and the first set contribution of the management node, and proceed to step 103 .

[0066] Step 113 : Assign the management node a second set credit and a second set contribution, and proceed to step 103 .

[0067] If the management node needs to be replaced within a management cycle, the first set credit and the first set contribution of the management node will be deducted. Since there is no one waiting to be the management node at this time, the management node selection for the next management cycle will begin. If the management node does not need to be replaced within a management cycle, the management node will be granted the second set credit and the second set contribution. Since there is no one waiting to be the management node at this time, the management node selection for the next management cycle will begin.

[0068] Step 114: deduct the first set credit and first set contribution of the management node, and proceed to step 116;

[0069] Step 115: Assign the management node a second set credit and a second set contribution, and proceed to step 116;

[0070] Step 116: Determine whether each of the voting block nodes with the highest number of votes has served as a management node in turn. If not, proceed to step 117; if so, proceed to step 103.

[0071] Step 117 : directly select the voting block node with the highest number of votes that has never served as a management node as the management node, and proceed to step 111 .

[0072] If a management node needs to be replaced within a management cycle, the first set credit and the first set contribution of the management node are deducted. Since there may be candidates waiting to be appointed as a management node at this time, it is determined whether each of the voting block nodes with the highest number of votes has served as a management node in turn. If so, the management node selection process for the next management cycle begins. If not, the voting block node with the highest number of votes that has not served as a management node is directly selected as the management node, and the process continues until all candidates waiting to be appointed as management nodes have served as management nodes in turn. If a management node does not need to be replaced within a management cycle, the second set credit and the second set contribution are assigned to the management node. Since there may be candidates waiting to be appointed as a management node at this time, it is determined whether each of the voting block nodes with the highest number of votes has served as a management node in turn. If so, the management node selection process for the next management cycle begins. If not, the voting block node with the highest number of votes that has not served as a management node is directly selected as the management node, and the process continues until all candidates waiting to be appointed as management nodes have served as management nodes in turn.

[0073] like Figure 2 As shown, this embodiment provides a blockchain-based instrument and equipment management node dynamic selection system, the blockchain includes N block nodes, N ≥ 2 and is a positive integer, each block node corresponds to at least one instrument and equipment, and the instrument and equipment management node dynamic selection system includes a first judgment module 1, a receiving module 2, a calculation module 3, a second judgment module 4, a first selection module 5, a voting module 6, a third judgment module 7, a second selection module 8, a third selection module 9, a fourth judgment module 10, a fifth judgment module 11, a deduction module 12, an assignment module 13, a sixth judgment module 14 and a fourth selection module 15.

[0074] The first judgment module 1 is used to judge whether the current instrument equipment management node selection is the first management node selection, and call the receiving module 2 when the judgment is yes, and call the calculating module 3 when the judgment is no.

[0075] The receiving module 2 is configured to take the block nodes that actively participate in voting among the received block nodes as the block nodes to be voted, and call the second judgment module 4 .

[0076] The calculation module 3 is used to calculate the current credit and current contribution of each block node. The current credit and current contribution are sorted from large to small. The block nodes ranked in the top M in current credit and the top M in current contribution are used as the block nodes to be voted, M<N, and the second judgment module 4 is called.

[0077] Current credit = initial credit upon joining + credit gained during joining + credit earned as a management node - credit deducted as a management node;

[0078] Current contribution = initial contribution upon joining + contribution over time of joining + contribution gained from voting + contribution gained as a management node - contribution deducted as a management node.

[0079] The contribution degree obtained by voting = the first set voting contribution degree obtained by casting affirmative votes for each voting block node with the highest number of votes + the second set voting contribution degree obtained by casting negative votes for each voting block node with a lower number of votes + the first set voting contribution degree obtained by casting affirmative votes when the management node needs to be replaced + the first set voting contribution degree obtained by casting negative votes when the management node does not need to be replaced.

[0080] The second judgment module 4 is used to judge whether the number of the block nodes to be voted is one or more, and if it is one, the first selection module 5 is called; if it is more than one, the voting module 6 is called.

[0081] The first selection module 5 is used to directly select the voting block node to be voted as the management node and call the fourth judgment module.

[0082] The voting module 6 is used to receive the voting results of each block node for each block node to be voted within the set voting time, sort each block node to be voted from large to small according to the number of votes cast for approval, and assign a first set voting contribution to the block node that voted for each block node to be voted with the highest number of votes and cast an approval vote, and a second set voting contribution to the block node that voted for each block node to be voted with a non-highest number of votes and cast a veto vote.

[0083] The third judgment module 7 is used to judge whether the voting block node with the highest number of votes is one or more. If it is one, the second selection module 8 is called; if it is more than one, the third selection module 9 is called.

[0084] The second selection module 8 is used to select the voting block node with the highest number of votes as the management node, and call the fourth judgment module 10.

[0085] The third selection module 9 is used to select one of the voting block nodes with the highest number of votes as the management node, and call the fifth judgment module 11.

[0086] The fourth judgment module 10 is used to manage a management cycle for the management node, and to determine whether there is a need to replace the management node within a management cycle. If so, the deduction module 12 is called, and the calculation module 3 is called again. Otherwise, the assignment module 13 is called, and the calculation module 3 is called again.

[0087] Determining whether a situation arises in which the management node needs to be replaced during the management cycle specifically includes: if a block node believes that the management node has a management problem and needs to be replaced, it sends voting information requesting the replacement of the management node to other block nodes except the management node, and obtains the voting situation for the management node; when the number of affirmative votes is greater than the number of veto votes, it is determined that a situation arises in which the management node needs to be replaced during the management cycle, and the block node that voted in favor obtains a first set voting contribution; when the number of affirmative votes is less than the number of veto votes, it is determined that a situation does not arise in which the management node needs to be replaced during the management cycle, and the block node that voted in favor obtains the first set voting contribution.

[0088] The fifth judgment module 11 is used to manage a management cycle for the management node, and to determine whether the management node needs to be replaced within a management cycle. If so, the deduction module 12 and the sixth judgment module 14 are called in sequence; otherwise, the assignment module 13 and the sixth judgment module 14 are called in sequence.

[0089] The deduction module 12 is configured to deduct a first set credit and a first set contribution of the management node.

[0090] The granting module 13 is configured to grant the management node a second set credit and a second set contribution.

[0091] The sixth judgment module 14 is used to judge whether each of the voting block nodes with the highest number of votes has served as a management node in turn. If not, the fourth selection module 15 is called, and if so, the calculation module 3 is called again.

[0092] The fourth selection module 15 is used to directly select the voting block node with the highest number of votes that has never served as a management node as the management node, and call the fifth judgment module 11 again.

[0093] Although specific embodiments of the present invention have been described above, those skilled in the art will appreciate that these are merely illustrative and that the scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, and such changes and modifications are intended to fall within the scope of the present invention.

Claims

1. A method for dynamically selecting instrument and equipment management nodes based on blockchain, characterized in that: The blockchain includes N block nodes, where N is a positive integer and is greater than or equal to 2. Each block node corresponds to at least one instrument and equipment. The method for dynamically selecting an instrument and equipment management node includes the following steps: S1. Determine whether the current instrument and equipment management node selection is the first management node selection. If so, proceed to step S2; otherwise, proceed to step S3. S2. The block nodes that actively participate in the voting among the block nodes are selected as the block nodes to be voted, and the process goes to step S4; S3. Calculate the current credit and current contribution of each block node, sort them from largest to smallest, and select the top M block nodes in terms of current credit and current contribution as the block nodes to be voted. If M < N, proceed to step S4. S4: Determine whether the number of nodes to be voted is one or more. If it is one, proceed to step S5; if it is more than one, proceed to step S6. S5. Directly use the block node to be voted as the management node and proceed to step S10; S6. Within the set voting time, receive the voting results of each block node for each pending voting block node, sort each pending voting block node from largest to smallest according to the number of votes cast for approval, and assign a first set voting contribution to each pending voting block node with the highest number of votes and an approval vote, and a second set voting contribution to each pending voting block node with a lower number of votes and a veto vote; S7: Determine whether there is one or more nodes with the highest number of votes for the block to be voted. If there is only one, proceed to step S8. If there are more than one, proceed to step S9. S8. Select the voting block node with the highest number of votes as the management node, and proceed to step S10; S9: Select one of the nodes with the highest number of votes as the management node, and proceed to step S11; S10, the management node manages a management cycle, and determines whether the management node needs to be replaced during the management cycle. If so, the process proceeds to step S12; otherwise, the process proceeds to step S13; S11, the management node manages a management cycle, and determines whether the management node needs to be replaced during the management cycle. If so, the process proceeds to step S14; otherwise, the process proceeds to step S15; S12: Deduct the first set credit and the first set contribution of the management node, and proceed to step S3; S13, assigning the management node a second set credit and a second set contribution, and proceeding to step S3; S14, deduct the first set credit and the first set contribution of the management node, and proceed to step S16; S15: Assign the management node a second set credit and a second set contribution, and proceed to step S16; S16: Determine whether each of the nodes with the highest number of votes has served as a management node in turn. If not, proceed to step S17; if so, proceed to step S3. S17: directly select the voting block node with the highest number of votes that has never served as a management node as the management node, and proceed to step S11.

2. The method for dynamically selecting an instrument and equipment management node based on blockchain according to claim 1, wherein: Determining whether a situation in which the management node needs to be replaced occurs during the management cycle specifically includes the following steps: If a block node believes that the management node has management problems and needs to be replaced, it sends voting information requesting the replacement of the management node to other block nodes except the management node, and obtains the voting situation for the management node. When the number of affirmative votes is greater than the number of veto votes, it is determined that the management node needs to be replaced within the management cycle, and the block node that voted in favor obtains the first set voting contribution. When the number of affirmative votes is less than the number of veto votes, it is determined that the management node does not need to be replaced within the management cycle, and the block node that voted in favor obtains the first set voting contribution.

3. The method for dynamically selecting an instrument and equipment management node based on blockchain according to claim 2, wherein: Current credit = initial credit upon joining + credit gained during joining + credit earned as a management node - credit deducted as a management node; Current contribution = initial contribution upon joining + contribution over time of joining + contribution gained from voting + contribution gained as a management node - contribution deducted as a management node.

4. The method for dynamically selecting instrument and equipment management nodes based on blockchain according to claim 3, characterized in that: The contribution degree obtained by voting = the first set voting contribution degree obtained by casting affirmative votes for each voting block node with the highest number of votes + the second set voting contribution degree obtained by casting negative votes for each voting block node with a lower number of votes + the first set voting contribution degree obtained by casting affirmative votes when the management node needs to be replaced + the first set voting contribution degree obtained by casting negative votes when the management node does not need to be replaced.

5. A blockchain-based instrument and equipment management node dynamic selection system, characterized in that: The blockchain includes N block nodes, N ≥ 2 and is a positive integer, each of the block nodes corresponds to at least one instrument and equipment, and the instrument and equipment management node dynamic selection system includes a first judgment module, a receiving module, a calculation module, a second judgment module, a first selection module, a voting module, a third judgment module, a second selection module, a third selection module, a fourth judgment module, a fifth judgment module, a deduction module, an assignment module, a sixth judgment module and a fourth selection module; The first judgment module is used to judge whether the current instrument equipment management node selection is the first management node selection, and call the receiving module if it is yes, and call the calculation module if it is not; The receiving module is used to take the block nodes that actively participate in voting among the received block nodes as the block nodes to be voted, and call the second judgment module; The calculation module is used to calculate the current credit and current contribution of each current block node, and the current credit and current contribution are sorted from large to small. The block nodes with the top M current credit rankings and the top M current contribution rankings are used as the block nodes to be voted, M < N, and the second judgment module is called; The second judgment module is used to determine whether the number of block nodes to be voted is one or more, and if it is one, the first selection module is called; if it is more than one, the voting module is called; The first selection module is used to directly select the voting block node to be voted as the management node and call the fourth judgment module; The voting module is configured to receive, within a set voting time, the voting results of each block node for each pending voting block node, sort the pending voting block nodes from largest to smallest according to the number of votes cast for approval, and assign a first set voting contribution to the block nodes that voted for the pending voting block nodes with the highest number of votes and cast an approval vote, and a second set voting contribution to the block nodes that voted for the pending voting block nodes with a lower number of votes and cast a veto vote; The third judgment module is used to judge whether there is one or more voting block nodes with the highest number of votes, and if there is only one, the second selection module is called; if there are more than one, the third selection module is called; The second selection module is used to select the voting block node with the highest number of votes as the management node and call the fourth judgment module; The third selection module is used to select one of the voting block nodes with the highest number of votes as the management node and call the fifth judgment module; The fourth judgment module is used for the management node to manage a management cycle, and judge whether the management node needs to be replaced within the management cycle. If so, the deduction module is called, and the calculation module is called again. If not, the assignment module is called, and the calculation module is called again. The fifth judgment module is used for the management node to manage a management cycle, and judge whether the management node needs to be replaced within the management cycle. If so, the deduction module and the sixth judgment module are called in sequence; if not, the granting module and the sixth judgment module are called in sequence; The deduction module is used to deduct the first set credit and the first set contribution of the management node; The granting module is used to grant the management node a second set credit and a second set contribution; The sixth judgment module is used to judge whether each of the voting block nodes with the highest number of votes has served as a management node in turn, and if not, call the fourth selection module; if yes, call the calculation module again; The fourth selection module is used to directly select the voting block node to be voted with the highest number of votes that has never served as a management node as the management node, and call the fifth judgment module again.

6. The blockchain-based instrument and equipment management node dynamic selection system according to claim 5, characterized in that: Determining whether a situation arises in which the management node needs to be replaced during the management cycle specifically includes: if a block node believes that the management node has a management problem and needs to be replaced, it sends voting information requesting the replacement of the management node to other block nodes except the management node, and obtains the voting situation for the management node; when the number of affirmative votes is greater than the number of veto votes, it is determined that a situation arises in which the management node needs to be replaced during the management cycle, and the block node that voted in favor obtains a first set voting contribution; when the number of affirmative votes is less than the number of veto votes, it is determined that a situation does not arise in which the management node needs to be replaced during the management cycle, and the block node that voted in favor obtains the first set voting contribution.

7. The blockchain-based instrument and equipment management node dynamic selection system according to claim 6, characterized in that: Current credit = initial credit upon joining + credit gained during joining + credit earned as a management node - credit deducted as a management node; Current contribution = initial contribution upon joining + contribution over time of joining + contribution gained from voting + contribution gained as a management node - contribution deducted as a management node.

8. The blockchain-based instrument and equipment management node dynamic selection system according to claim 7, characterized in that: The contribution degree obtained by voting = the first set voting contribution degree obtained by casting affirmative votes for each voting block node with the highest number of votes + the second set voting contribution degree obtained by casting negative votes for each voting block node with a lower number of votes + the first set voting contribution degree obtained by casting affirmative votes when the management node needs to be replaced + the first set voting contribution degree obtained by casting negative votes when the management node does not need to be replaced.

Citation Information

Patent Citations

  • Cochain voting method and system for intelligent contract in point alliance chain

    CN111475577A

  • Cochain voting method and system for intelligent contract in credit investigation alliance chain

    CN111475578A