Search

CN-121841596-B - Medical alliance block chain grouping consensus method and system based on lead group decision

CN121841596BCN 121841596 BCN121841596 BCN 121841596BCN-121841596-B

Abstract

The present invention belongs to the field of consensus technology in medical scenarios, providing a medical alliance blockchain group consensus method and system based on leadership group decision-making. In response to the practical problems of high communication complexity, power concentration, and master node failure in traditional PBFT in large-scale node scenarios, combined with a node level grouping model, the hierarchical design of leadership group decision-making is adopted to prevent power concentration. Through parallel decision-making by leadership groups, communication overhead is reduced, consensus efficiency is improved, and power set phenomena are avoided while ensuring post quantum security.

Inventors

  • LI CHENCHU
  • ZHUANG JINCHENG

Assignees

  • 山东大学

Dates

Publication Date
20260508
Application Date
20260313

Claims (10)

  1. 1. The medical alliance block chain grouping consensus method based on the lead group decision is characterized by comprising the following steps of: The certificate issuing organization divides the hospital nodes into a plurality of grade sets according to the reality grades of the hospital nodes, divides the hospital nodes into a plurality of subgroups based on the grade sets, and calculates the comprehensive grade of each subgroup; In each epoch, selecting a leading subgroup of the epoch from a plurality of subgroups, and randomly selecting a subgroup from a falling subgroup as a supervision committee; The leader node in the leader group collects and verifies the transaction request and encapsulates the transaction request into blocks, the leader node enters the internal consensus of the blocks, and consistency verification is carried out on the generated blocks; when a certain block completes consensus in the leader group and the certificate authority receives a reply message for the block to meet a set condition, adding the block into a block pool; The supervision committee performs global ordering on the blocks which are commonly completed in each epoch group, determines the final submitting sequence of the blocks in the account book, and constructs a reply message broadcast certificate issuing mechanism after ordering is completed; The certificate authority broadcasts the sorted blocks and sorting results to the whole network.
  2. 2. The lead group decision based medical alliance blockchain grouping consensus method as in claim 1, wherein the certificate authority divides the hospital nodes into a plurality of hierarchical sets according to their reality ratings, comprising: The first grade hospital is A grade, the second grade hospital is B grade, and other medical institutions are C grade, wherein the A grade is 100 grade, the B grade is 80 grade, the C grade is 60 grade, and the A grade node set is generated after grading is completed Class B node set Class C node set 。
  3. 3. The lead group decision based medical alliance blockchain grouping consensus method as in claim 1, wherein the dividing hospital nodes into a plurality of groups and calculating a composite score for each group comprises: according to the total number of hospital nodes and the preset single group scale Calculating the number of subgroups, and initializing each subgroup and the comprehensive score thereof; Randomly disturbing the exchange positions of the highest-level node set, uniformly distributing the highest-level node set to other subgroups by adopting a polling mode, adopting a grouping strategy in other subgroups, checking whether each subgroup contains the node type number, if the subgroup with the node type number of 0 exists, placing the current distribution node into the subgroup, if the subgroup with the node type number of 0 does not exist, placing the current distribution node into the subgroup with the smallest current score, and checking whether the node number of the subgroup after the addition is If it is Checking the number of node types contained in the subgroup after the node is added into the subgroup, if the number of node types contained in the subgroup is 1, canceling the placement, selecting the subgroup with the next lowest score, repeating the checking steps until the number of node types contained in the subgroup after the node is added into the preset subgroup is not 1, and updating the corresponding subgroup number after each node is added into the subgroup 。
  4. 4. The medical alliance blockchain grouping consensus method based on lead group decisions of claim 1, wherein in each epoch, selecting the epoch lead group from a plurality of groups comprises: marking the leading subgroup of the previous round as empty; in each round, if the round is the first round, selecting one from all the subgroups in a random selection mode as a leading subgroup, and starting from the second round, firstly removing the leading subgroup of the previous round from the candidate subgroup set, and then sorting from high to low according to subgroup scores, and selecting the subgroup with the highest score as the leading subgroup of the current round.
  5. 5. The medical alliance blockchain grouping consensus method based on lead group decisions of claim 1, wherein the lead node enters intra-block consensus, decoupling block verification from block ordering using PBFT-based consensus mechanism, focusing only on consistency verification of the blocks themselves and not on sequential relationships between the blocks.
  6. 6. The leadership group decision-based medical alliance blockchain group consensus method as in claim 1 wherein the supervision board is responsible for the joining of the pool of blocks The process of ordering the blocks in (a) comprises: For joining a pool of blocks Each time a new block is added to the block of (a) Supervision committee node check block The transaction contained in the file; if the block check is correct, entering a pre-sequencing stage; If there is transaction error in the block, the supervision node finding the error initiates a check request to the supervision committee master node, performs PBFT consensus, and consensus message content For the wrong block transaction number, each supervision node checks the transaction after PBFT finishes the consensus, and constructs a transaction check reply message Sending to other supervision nodes and certificate issuing institutions; Certificate issuing authorities and all supervising nodes receive The same transaction check reply message And obtaining a checking result, if the checking result is that the error exists, canceling all transactions contained in the block by the certificate authority and recording the failure times of the small group in block discharging, canceling the block pre-sequencing by all supervision nodes, and if the checking result is that the error exists, continuing the pre-sequencing.
  7. 7. The leader group decision-based medical alliance blockchain grouping consensus method of claim 1, further comprising updating each leader group score at the end of each round based on the leader group's blockgeneration, intra-group consensus success rate, and behavior records, and updating the supervision committee score based on its ordering task completion and behavior records.
  8. 8. A medical alliance blockchain grouping consensus system based on lead group decisions, comprising: the hospital node grouping module is used for dividing the certificate issuing organization into a plurality of grade sets according to the reality grades of the hospital nodes, dividing the hospital nodes into a plurality of subgroups based on the grade sets, and calculating the comprehensive grade of each subgroup; a lead output module for selecting, in each epoch, a leading subgroup of the epoch from a plurality of subgroups, and randomly selecting one subgroup from the group of the fall-selected subgroups as a supervision committee; The block consensus module is used for collecting and verifying the transaction request by the leader node in the leader group and packaging the transaction request into blocks; when a certain block completes consensus in the leader group and the certificate authority receives a reply message for the block to meet a set condition, adding the block into a block pool; The supervision committee performs global ordering on the blocks which are commonly completed in each epoch group, determines the final submitting sequence of the blocks in the account book, and constructs a reply message broadcast certificate issuing mechanism after ordering is completed; The certificate authority broadcasts the sorted blocks and sorting results to the whole network.
  9. 9. A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps in the lead group decision based medical alliance blockchain grouping consensus method as in any of claims 1-7.
  10. 10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements the steps in the leadership group decision-based medical alliance blockchain grouping consensus method as in any of claims 1-7.

Description

Medical alliance block chain grouping consensus method and system based on lead group decision Technical Field The invention belongs to the technical field of medical scene consensus, and particularly relates to a grouping consensus method and system for leading group decision based on alliance block chains. Background The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. In recent years, with the rapid advancement of medical informatization and the continuous innovation of digital health technology, the status of medical data in modern medical systems is becoming more important, and especially in a plurality of key fields such as disease prevention, clinical diagnosis and treatment, scientific research and development, public health decision and the like, the medical data has become an indispensable core resource. By means of big data analysis and artificial intelligence models, medical institutions can conduct early identification and intervention on high-risk people. Researchers develop a plurality of chronic diseases and cancer risk prediction models based on large-scale electronic health records, provide data support for local governments to develop early screening work, and greatly improve early diagnosis and early treatment rate. However, the medical resource still has the information island problem that the medical resource is subjected to system fracture, different standards and incompatible data among different hospitals, so that patient information cannot be effectively integrated, doctors cannot comprehensively grasp diagnosis and treatment data, and research institutions cannot acquire high-quality and multi-dimensional clinical samples, so that the overall operation efficiency and innovation capability of a medical system are greatly limited. Under the background, the medical alliance becomes an important means for promoting the integration and sharing of medical resources, and each medical institution in the alliance can store information such as patient visit records, image data, laboratory detection results and the like on the premise of guaranteeing the safety and privacy of data. Blockchains are a distributed ledger technique based on cryptography, distributed network architecture and consensus mechanisms. Its core characteristics include decentralization, data non-falsification, traceability, transparency, etc. The blockchain breaks through the dependence of the traditional system on a central organization through collaborative maintenance and verification among nodes, so that a novel mechanism which can still achieve trust and collaboration on the premise that multiple parties do not trust each other is constructed. The challenges of the application of the block chain in the medical field at present are particularly reflected in the aspects of consensus efficiency and rights centralization, and the adopted consensus algorithm is a practical Bayesian fault-tolerant algorithm (PRACTICAL BYZANTINE FAULT TOLERANCE, PBFT) which has the problems of increased node number or lower efficiency under the condition of strong network isomerism, so that the communication complexity and higher delay of the consensus process are easy to cause, and the requirements of real-time sharing and quick response of high-value data in medical scenes are difficult to meet. Meanwhile, with the development of quantum computing, the security of the blockchain consensus mechanism is vulnerable to quantum computing attacks. Disclosure of Invention In order to solve at least one technical problem in the background art, the invention provides a grouping consensus method and a grouping consensus system for leading group decisions based on alliance blockchain, which reduce communication overhead, improve consensus efficiency and avoid authority centralization phenomena while guaranteeing post quantum security through layered design of leading group decisions. In order to achieve the above purpose, the present invention adopts the following technical scheme: A first aspect of the present invention provides a method of group consensus for leader group decisions based on federated blockchains, comprising the steps of: The certificate issuing organization divides the hospital nodes into a plurality of grade sets according to the reality grades of the hospital nodes, divides the hospital nodes into a plurality of subgroups based on the grade sets, and calculates the comprehensive grade of each subgroup; In each epoch, selecting a leading subgroup of the epoch from a plurality of subgroups, and randomly selecting a subgroup from a falling subgroup as a supervision committee; The leader node in the leader group collects and verifies the transaction request and encapsulates the transaction request into blocks, the leader node enters the internal consensus of the blocks, and consistency verification is carried out on the generated blocks