CN111641617A - Processing method, device and storage medium for accounting right in block chain network - Google Patents

Processing method, device and storage medium for accounting right in block chain network Download PDF

Info

Publication number
CN111641617A
CN111641617A CN202010433001.0A CN202010433001A CN111641617A CN 111641617 A CN111641617 A CN 111641617A CN 202010433001 A CN202010433001 A CN 202010433001A CN 111641617 A CN111641617 A CN 111641617A
Authority
CN
China
Prior art keywords
node
block
accounting
accounting node
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010433001.0A
Other languages
Chinese (zh)
Other versions
CN111641617B (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.)
Iallchain Co Ltd
Original Assignee
Iallchain 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 Iallchain Co Ltd filed Critical Iallchain Co Ltd
Priority to CN202010433001.0A priority Critical patent/CN111641617B/en
Publication of CN111641617A publication Critical patent/CN111641617A/en
Application granted granted Critical
Publication of CN111641617B publication Critical patent/CN111641617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/20ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The embodiment of the invention provides a processing method, equipment and a storage medium for accounting right in a block chain network. When medical identification is carried out on the medical image through the accounting node to generate a new block, the embodiment of the invention determines the target accounting node which maliciously contends for the accounting right of the previous block in the generation process of the previous block of the new block. Therefore, each billing node not only needs to perform medical identification on the medical images, but also needs to supervise medical identification results of other billing nodes, and if a certain billing node guesses the medical identification results in order to compete for the billing right as soon as possible, the error rate of the medical identification results is very high, so that the probability that the medical identification results are determined to be the billing nodes which maliciously compete for the billing right and lose the billing right is also high. Therefore, the situation that the accounting nodes compete for the accounting right maliciously is effectively avoided, and the error rate is reduced as much as possible when the accounting nodes in the block chain network carry out medical identification on the medical images.

Description

Processing method, device and storage medium for accounting right in block chain network
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a processing method, equipment and a storage medium for accounting right in a block chain network.
Background
Current medical images can be identified and diagnosed by Artificial Intelligence (AI). However, a certain amount of computational power is required for support. Because the current hospitals lack the corresponding computing power, there is a certain limitation in identifying and diagnosing medical images through AI. To address this issue, AI-based medical identification may be combined with blockchain ideas. For example, billing nodes in the blockchain network may compete for billing rights by medically identifying medical images.
However, in order to compete for the billing right, some billing nodes may not perform medical identification on the medical image, or the medical identification accuracy of the medical image is low, so that the phenomenon of maliciously competing for the billing right occurs in the blockchain network.
Disclosure of Invention
The embodiment of the invention provides a processing method, equipment and a storage medium for billing right in a blockchain network, which are used for effectively avoiding malicious contention of the billing right by billing nodes and reducing the error rate as much as possible during the medical identification of medical images by the billing nodes in the blockchain network.
In a first aspect, an embodiment of the present invention provides a method for processing an accounting right in a blockchain network, where the method includes:
a first accounting node receives an N-1 block broadcasted by at least one second accounting node in a block chain network in the block chain network, wherein the N-1 block broadcasted by the second accounting node comprises a medical identification result obtained by the second accounting node performing medical identification on at least one first medical image;
the first accounting node determines a target accounting node in the at least one second accounting node according to the N-1 block broadcasted by the at least one second accounting node in the blockchain network and the N-1 block recorded in the blockchain account book, wherein the error rate of the medical identification result in the N-1 block broadcasted by the target accounting node relative to the medical identification result in the N-1 block recorded in the blockchain account book is greater than or equal to a preset threshold value;
the first accounting node receives at least one second medical image broadcast in the blockchain network by the medical image generating node in the blockchain network;
the first accounting node performs medical identification on the at least one second medical image;
the first accounting node records the block chain identification of the target accounting node and the medical identification result corresponding to the at least one second medical image into an Nth block;
the first accounting node broadcasts the nth block in the blockchain network for other accounting nodes in the blockchain network to verify the nth block, and if the nth block passes the verification, the nth block is recorded in the blockchain account book.
In a second aspect, an embodiment of the present invention provides a first accounting node, including:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
receiving an N-1 block broadcast by at least one second accounting node in a blockchain network in the blockchain network through the communication interface, wherein the N-1 block broadcast by the second accounting node comprises a medical identification result obtained by the second accounting node performing medical identification on at least one first medical image;
determining a target accounting node in the at least one second accounting node according to the N-1 block broadcasted by the at least one second accounting node in the blockchain network and the N-1 block recorded in the blockchain account book, wherein the error rate of the medical identification result in the N-1 block broadcasted by the target accounting node relative to the medical identification result in the N-1 block recorded in the blockchain account book is greater than or equal to a preset threshold value;
receiving at least one second medical image broadcast by a medical image generation node in the blockchain network through the communication interface;
performing medical identification on the at least one second medical image;
recording the blockchain identification of the target accounting node and the medical identification result corresponding to the at least one second medical image into an Nth block;
broadcasting the Nth block in the blockchain network through the communication interface so as to enable other accounting nodes in the blockchain network to verify the Nth block, wherein if the Nth block passes the verification, the Nth block is recorded in the blockchain account book.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method in the first aspect.
According to the processing method, the processing device and the storage medium for the accounting right in the block chain network, provided by the embodiment of the invention, when the medical image is medically identified through the accounting node for generating a new block, the target accounting node which maliciously contends for the accounting right of the previous block in the generation process of the previous block of the new block is determined. Or when medical identification is carried out on the medical image through the accounting node for generating the next block, the target accounting node which maliciously contends for the accounting right of the new block in the generation process of the new block is determined. Therefore, each billing node not only needs to perform medical identification on the medical images, but also needs to supervise medical identification results of other billing nodes, and if a certain billing node guesses the medical identification results in order to compete for the billing right as soon as possible, the error rate of the medical identification results is very high, so that the probability that the medical identification results are determined to be the billing nodes which maliciously compete for the billing right and lose the billing right is also high. Therefore, the situation that the accounting nodes compete for the accounting right maliciously is effectively avoided, and the error rate is reduced as much as possible when the accounting nodes in the block chain network carry out medical identification on the medical images.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 2 is a flowchart of a processing method for accounting rights in a blockchain network according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for processing billing rights in a blockchain network according to another embodiment of the present invention;
fig. 4 is a flowchart of a method for processing billing rights in a blockchain network according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first accounting node according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The method for processing the accounting right in the block chain network provided by the embodiment of the invention can be applied to the communication system shown in fig. 1. As shown in fig. 1, the communication system includes: the medical image. The medical image generation node comprises a billing node A, a billing node B, a billing node C, a medical image generation node and a user node, wherein the billing node A, the billing node B, the billing node C, the medical image generation node and the user node are participating nodes in a block chain network. It is understood that the description is only illustrative and does not limit the number and types of nodes in the blockchain network. The accounting node can be one or a plurality of cloud servers, the cloud servers are a server cluster, a plurality of servers are arranged, the server cluster is similar to a universal computer framework, and the cloud servers comprise processors, hard disks, memories, system buses and the like. The medical image generation node may be a medical device such as a Computed Tomography (CT) machine or an X-ray machine. The user node may specifically be a terminal device of a clinician or patient, e.g. a smartphone, a tablet, a personal computer, etc. In addition, in the present embodiment, the blockchain network is a decentralized, peer-to-peer (P2P) communication network.
It is understood that in the embodiment of the present application, the medical image generation node may be used to generate a medical image. Billing nodes such as billing node a, billing node B, billing node C, etc. may be used to perform medical identification on the medical image. The block chain account book in the block chain network can be used for recording a medical identification result obtained after medical identification is carried out on the medical image by the accounting node. The user node may be configured to query the medical identification results in the blockchain ledger.
For example, as shown in fig. 1, a medical image generation node (e.g., a medical device such as a CT machine or an X-ray machine) can generate a plurality of medical images such as a medical image PICi, a medical image PICi +1, and a medical image PICi +2 as a node for generating a medical image. After the medical image generating node is connected to the P2P network, the medical image generating node can broadcast the medical images in the P2P network. Wherein each medical image may include generation time information and identification information. The generation time information may specifically be a time stamp at the time of generation of the medical image. The identification information may specifically be a medical serial number of the medical image. That is, each medical image is marked by adopting a mode of generating time information and identification information, and each medical image can be uniquely marked, so that the medical images are prevented from being overlapped or repeated with the medical images generated by other medical equipment such as other CT machines, other X-ray machines and the like in the block chain network. It is understood that the blockchain network may include more than one medical image generation node, for example, there may be a plurality of medical image generation nodes, and the medical image generated by each medical image generation node may be effectively marked by using the generation time information and the identification information.
In addition, as shown in fig. 1, a plurality of accounting nodes, e.g., accounting node a, accounting node B, accounting node C, are included in the blockchain network. In the embodiment of the present application, when the medical image generating node broadcasts the medical image in the blockchain network, the accounting node a, the accounting node B, and the accounting node C may all receive the medical image.
For example, the accounting node a, the accounting node B, and the accounting node C may respectively generate a candidate block according to a predetermined rule, where the candidate block includes at least one medical image.
Optionally, the preset rule includes at least one of the following: packing a preset number of medical images into a candidate block; packing the medical images broadcasted by the medical image generating node into a candidate block within a preset time; and packaging the medical images with the accumulated storage size reaching a preset threshold into a candidate block.
For example, taking the billing node a as an example, the billing node a may pack n medical images into one candidate block. Or the accounting node a may pack the medical images broadcast by the medical image generating node into one candidate block every m minutes. Or the accounting node a may accumulate and store the medical images broadcast by the medical image generating node, and when the accumulated and stored size reaches a preset threshold P, the accounting node a packs the accumulated and stored medical images into a candidate block.
It can be understood that the manner of generating the candidate blocks by the accounting node B and the accounting node C according to the preset rule is similar to the manner of generating the candidate blocks by the accounting node a according to the preset rule, and is not described herein again.
For example, taking billing node a as an example, the billing node a may employ an AI algorithm to perform medical identification on at least one medical image in the candidate block. Similarly, the accounting node B and the accounting node C may also perform medical identification on at least one medical image in the candidate block generated by each of the accounting node B and the accounting node C by using an AI algorithm.
It is understood that the accounting node a, the accounting node B and the accounting node C may have different algorithms, and thus, the accounting node a, the accounting node B and the accounting node C may have different speeds or accuracies for medical identification of at least one medical image in the candidate block. In the embodiment of the present application, the earliest one of the accounting node a, the accounting node B and the accounting node C to complete the medical identification may obtain the accounting right, i.e. the right to record information in the new block in the blockchain network. That is, the accounting node a, the accounting node B and the accounting node C compete for accounting rights of the new block by performing medical identification on at least one medical image in the candidate block.
For example, if the accounting node a is an accounting node that completes the medical identification earliest in the accounting node a, the accounting node B, and the accounting node C, the accounting node a may record the at least one medical image in the candidate block and the medical identification result of the at least one medical image in a new block in the blockchain network, where the new block is a newly generated block in the blockchain network, and is referred to as a first block here.
Further, accounting node a broadcasts the first block in the blockchain network so that other accounting nodes in the blockchain network, e.g. accounting node B, accounting node C, may receive the first block. When accounting node B and accounting node C receive the first block, the first block is verified, for example, the medical identification result in the first block is verified. If both accounting node B and accounting node C approve the medical identification result in the first block, it indicates that the first block is verified, and the first block can be recorded into the blockchain ledger. Furthermore, accounting node A, accounting node B and accounting node C begin to compete for accounting right of the next block. For example, the first block is the nth block in the blockchain network, and when both accounting node B and accounting node C approve the nth block, accounting node a, accounting node B and accounting node C begin to contend for accounting right for the (N + 1) th block. When a plurality of blocks after the nth block are approved, the node in the blockchain network may consider that the medical identification result in the nth block is finally approved by most accounting nodes in the blockchain network, so that the medical identification result in the nth block can be queried by the user node. For example, the user node may query a medical identification result corresponding to the medical image in an nth block in the blockchain account according to the timestamp and the medical serial number of the medical image, so that a clinician or a patient refers to or applies the medical identification result in the medical diagnosis process.
In other embodiments, if the accounting node a is the earliest accounting node among the accounting node a, the accounting node B and the accounting node C to complete the medical identification, the accounting node a may record at least one medical image in the candidate block, the medical identification result of the at least one medical image and the reward value required by the accounting node a in the nth block. Further, the accounting node a may sign the nth block using a private key of the accounting node a to obtain signature information, and broadcast the signature information to the blockchain network. When other accounting nodes in the block chain network receive the signature information, the public key of the accounting node A is adopted to verify the private key signature of the accounting node A, and if the private key signature of the accounting node A passes the verification, the other accounting nodes determine that the Nth block is not tampered.
Additionally, the billing node a may also broadcast a first message in the blockchain network, which may include the manner in which billing node a generates the nth block, e.g., billing node a packages N medical images into a candidate block. And performing medical identification on the n medical images in the candidate block. Further, the nth block is generated according to the N medical images and medical identification results corresponding to the N medical images.
In the embodiment of the present application, the accounting node a that completes the medical identification earliest may also determine the rule generated by the (N + 1) th block. Specifically, the first message may include the generation manner of the (N + 1) th block, for example, the accounting node a may specify that the (N + 1) th block is generated by packaging the medical images broadcast by the medical image generation node into a candidate block every m minutes.
Or, the first message may include both the nth block and the (N + 1) th block generation.
In addition, the originating node in the blockchain network, i.e. the node that creates the first block, may also broadcast a second message in the blockchain network, where the second message includes the time range to which each of the preset rules applies, that is, the second message may be used to specify which of the preset rules is selected to generate the candidate block in which time range, so as to avoid the problem that the medical identification results are diverse and cannot be compared.
As described in the above embodiment, after the accounting node a broadcasts the nth block in the blockchain network, if the accounting node B and the accounting node C both verify the nth block, the accounting node a, the accounting node B and the accounting node C start to contend for the accounting right of the next block, i.e., the (N + 1) th block. If the accounting node B and the accounting node C do not approve the Nth block, the accounting node B and the accounting node C can respectively continue the process of carrying out medical identification on at least one medical image in the candidate block. If billing node B completes the medical identification process before billing node C, billing node B may record the at least one medical image and the medical identification result corresponding to the at least one medical image in the nth block. Since the medical identification result included in the nth block generated by the accounting node a is different from the medical identification result included in the nth block generated by the accounting node B, the nth block generated by the accounting node a may be denoted as a first block, and the nth block generated by the accounting node B may be denoted as a second block. Furthermore, the accounting node B may sign the private key for the second block that is considered to be correct by itself, and broadcast the second block signed by the private key to the block chain network for verification by the accounting node a and the accounting node C. If accounting node a and accounting node C validate the second block, then the second block will be recorded in the blockchain ledger in place of the first block.
In summary, in the prior art, the billing right is contended by the billing node in a manner of calculating a hash value meeting requirements by searching for a random number, and the billing right is contended by the billing node in a manner of performing medical identification on at least one medical image in the candidate block, so that the meaningless waste of computing power and electric power of the billing node can be effectively avoided, and the limitation problem that the medical image is identified and diagnosed through the AI due to lack of corresponding computing power in the current hospital is solved.
However, in order to compete for the billing right, some billing nodes may not perform medical identification on the medical image, or the medical identification accuracy of the medical image is low, so that the phenomenon of maliciously competing for the billing right occurs in the blockchain network. To solve this problem, embodiments of the present application provide a method for processing accounting rights in a blockchain network, and the method is described below with reference to specific embodiments.
The method for processing the accounting right in the block chain network provided by the embodiment of the invention aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a processing method for accounting rights in a blockchain network according to an embodiment of the present invention. The embodiment of the invention provides a method for processing the accounting right in the block chain network aiming at the technical problems in the prior art, which comprises the following specific steps:
step 201, a first accounting node receives an N-1 block broadcasted in a blockchain network by at least one second accounting node in the blockchain network, wherein the N-1 block broadcasted by the second accounting node includes a medical identification result obtained by the second accounting node performing medical identification on at least one first medical image.
In this embodiment of the application, the first accounting node may specifically be an accounting node a shown in fig. 1, and the second accounting node may specifically be an accounting node B and an accounting node C shown in fig. 1.
For example, billing node A, billing node B, and billing node C need to medically identify at least one first medical image while contending for billing right for the N-1 block in the blockchain network. If the accounting node B is the earliest accounting node to complete the medical identification, the accounting node B may record the medical identification result of the at least one first medical image by the accounting node B in the N-1 th block and broadcast the N-1 th block to the blockchain network for verification of the N-1 th block by other accounting nodes in the blockchain network, for example, the accounting node a may receive the N-1 th block broadcast by the accounting node B. If most billing nodes in the blockchain network do not recognize the (N-1) th block broadcast by billing node B, then billing node A and billing node C may continue their respective medical identifications and generate (N-1) th blocks, respectively. Similarly, if billing node C completes the medical identification before billing node A, billing node C broadcasts the N-1 block generated by billing node C in the blockchain network, e.g., billing node A may receive the N-1 block broadcast by billing node C. If the block N-1 generated by accounting node C is not approved by most accounting nodes in the blockchain network, accounting node a may broadcast its own generated block N-1 in the blockchain network after generating the block N-1. If the (N-1) th block generated by the accounting node A is approved by most accounting nodes in the blockchain network, the (N-1) th block generated by the accounting node A is recorded into a blockchain ledger. It will be appreciated that the process from the first time the (N-1) th block is broadcast into the blockchain network to the time the (N-1) th block is recorded into the blockchain ledger can be considered to be the generation process of the (N-1) th block. For example, the process of broadcasting the (N-1) th block from accounting node B to the (N-1) th block broadcast by accounting node A being recorded into the blockchain ledger can be regarded as the generation process of the (N-1) th block. The time corresponding to the generation process of each tile may be within a threshold time range.
Step 202, the first accounting node determines a target accounting node in the at least one second accounting node according to the (N-1) th block broadcast by the at least one second accounting node in the blockchain network and the (N-1) th block recorded in the blockchain account book, wherein the error rate of the medical identification result in the (N-1) th block broadcast by the target accounting node relative to the medical identification result in the (N-1) th block recorded in the blockchain account book is greater than or equal to a preset threshold value.
It is understood that billing node B or billing node C may not perform accurate medical identification or guess the medical identification result in order to compete for billing right in the (N-1) th block as soon as possible. The billing node A may be a billing node for medical identification of medical images, and the billing node A may generate the (N-1) th block slower than the billing node B or the billing node C due to the large amount of medical identification calculation, for example, a large amount of floating point calculation.
Therefore, in order to determine the accounting node maliciously competing for the accounting right of the (N-1) th block, the accounting node A may determine the accounting node maliciously competing for the accounting right of the (N-1) th block in the accounting node B and the accounting node C according to the (N-1) th block broadcast by the accounting node B and the accounting node C respectively and the (N-1) th block recorded in the block chain account book. For example, a target billing node may maliciously compete for billing rights for one or more blocks, and thus the target billing nodes may be the same or different for different blocks.
The specific method for determining the accounting node which is in the accounting node B and the accounting node C and is willing to contend for the accounting right of the (N-1) th block according to the (N-1) th block respectively broadcast by the accounting node B and the accounting node C and the (N-1) th block recorded in the block chain account book by the accounting node a may include: and the accounting node A compares the medical identification result in the (N-1) th block broadcasted by the accounting node B with the medical identification result recorded in the (N-1) th block in the block chain account book, and if the error rate of the medical identification result in the (N-1) th block broadcasted by the accounting node B compared with the medical identification result recorded in the (N-1) th block in the block chain account book is greater than or equal to a preset threshold value, the accounting node B is a target accounting node. Similarly, if the error rate of the medical identification result in the (N-1) th block broadcasted by the accounting node C compared with the medical identification result recorded in the (N-1) th block in the block chain account book is greater than or equal to the preset threshold, the accounting node C is the target accounting node. It will be appreciated that the target accounting nodes that maliciously compete for accounting rights for the (N-1) th block may be one or more.
It will be appreciated that not only can accounting node A determine the accounting nodes that maliciously contend for accounting rights for block N-1, each accounting node in the blockchain network may determine the accounting nodes that maliciously contend for accounting rights for block N-1 in a manner similar to accounting node A. Similarly, each accounting node in the blockchain network can determine the accounting node which maliciously contends for the accounting right of each block.
Step 203, the first accounting node receives at least one second medical image broadcast in the blockchain network by the medical image generating node in the blockchain network.
For example, after the N-1 block broadcast by accounting node A is recorded in the blockchain ledger, accounting node A, accounting node B, and accounting node C continue to contend for accounting rights for the N block. For example, billing node A, billing node B, and billing node C need to medically identify at least one second medical image while contending for billing rights for the N-1 block in the blockchain network. The at least one second medical image and the at least one first medical image as described above may be regarded as medical images generated by the medical image generation node at different time periods. The at least one second medical image may be generated at a later time than the at least one first medical image. After the medical image generation node generates the at least one second medical image, the at least one second medical image is broadcast to the blockchain network, so that the accounting node a, the accounting node B and the accounting node C can respectively receive the at least one second medical image.
Step 204, the first accounting node performs medical identification on the at least one second medical image.
For example, billing node a, billing node B, and billing node C may each perform medical identification of the at least one second medical image based on AI.
Step 205, the first accounting node records the blockchain identifier of the target accounting node and the medical identification result corresponding to the at least one second medical image into the nth block.
If the billing node a completes the medical identification of the at least one second medical image earliest, the billing node a may record the block chain identifier of the target billing node determined by the billing node a and maliciously contending for the billing right of the (N-1) th block and the medical identification result of the billing node a for the at least one second medical image in the nth block.
Alternatively, if the nth block generated by billing node B and billing node C is earlier than generated by billing node a, and the nth block generated by billing node B and billing node C, respectively, is not approved by most billing nodes in the blockchain network, billing node a may record the blockchain identification of the target billing node determined by billing node a and maliciously contending for the billing right of the (N-1) th block, and the medical identification result of the at least one second medical image by billing node a in the nth block.
That is, the nth block needs to include the block chain identification of the target accounting node that maliciously contends for accounting rights for the N-1 th block. Similarly, the (N + 1) th block needs to include the block chain identification of the target accounting node that maliciously contends for the accounting right of the nth block. The method for determining the target accounting node maliciously contending for the accounting right of the nth block is similar to the method for determining the target accounting node maliciously contending for the accounting right of the nth block as described above, and details are not repeated herein.
Step 206, the first accounting node broadcasts the nth block in the blockchain network, so that other accounting nodes in the blockchain network verify the nth block, and if the nth block passes the verification, the nth block is recorded in the blockchain account book.
Further, accounting node a broadcasts the nth block it generates to the blockchain network for other accounting nodes in the blockchain network to verify the nth block generated by accounting node a. If the nth block generated by the accounting node a is approved by most accounting nodes in the blockchain network, the nth block generated by the accounting node a is recorded in the blockchain account book.
It is to be understood that the nth-1 block generally refers to a block preceding a new block in the blockchain network, and the nth block generally refers to a new block in the blockchain network. Alternatively, the nth-1 block generally refers to a new block in the blockchain network and the nth block generally refers to a block next to the new block in the blockchain network.
That is, each billing node also determines the target billing node that maliciously contends for the billing right of the previous block during the generation of the previous block when performing medical identification on the medical image for generating a new block. Alternatively, each billing node also determines a target billing node that maliciously contends for the billing right of the new block during the generation of the new block when performing medical identification on the medical image for generating the next block.
As a feasible implementation manner, if a certain accounting node is determined as a target accounting node in the generation process of a certain block, the accounting authority of the accounting node is permanently cancelled. For example, when the accounting node broadcasts a block again, other accounting nodes in the blockchain network ignore the block, resulting in the failure of the block broadcasted again by the accounting node to be recorded in the blockchain ledger.
As another possible implementation manner, if a certain accounting node is determined as the target accounting node in the generation process of a certain block, the number of times that the accounting node is determined as the target accounting node is accumulated. When the number reaches the preset number, the accounting authority of the accounting node is cancelled permanently.
When medical identification is carried out on the medical image through the accounting node to generate a new block, the embodiment of the invention determines the target accounting node which maliciously contends for the accounting right of the previous block in the generation process of the previous block of the new block. Or when medical identification is carried out on the medical image through the accounting node for generating the next block, the target accounting node which maliciously contends for the accounting right of the new block in the generation process of the new block is determined. Therefore, each billing node not only needs to perform medical identification on the medical images, but also needs to supervise medical identification results of other billing nodes, and if a certain billing node guesses the medical identification results in order to compete for the billing right as soon as possible, the error rate of the medical identification results is very high, so that the probability that the medical identification results are determined to be the billing nodes which maliciously compete for the billing right and lose the billing right is also high. Therefore, the situation that the accounting nodes compete for the accounting right maliciously is effectively avoided, and the error rate is reduced as much as possible when the accounting nodes in the block chain network carry out medical identification on the medical images.
Fig. 3 is a flowchart of a processing method for accounting rights in a blockchain network according to another embodiment of the present invention. On the basis of the above embodiment, the method further includes: and the first accounting node establishes a list locally, wherein the list comprises block chain identifiers of target accounting nodes corresponding to all blocks in the block chain account book.
For example, accounting node a as an accounting node in the blockchain network may record the blockchain identification of the target accounting node corresponding to each block in the blockchain network. For example, accounting node a may locally establish a list that includes the blockchain identifications of target accounting nodes that maliciously compete for accounting rights and correspond to the blocks in the blockchain account book determined by accounting node a. For example, the list may include the identification number of each block in the blockchain account book, and the blockchain identification of the target accounting node corresponding to each block and competing for accounting rights maliciously. It will be appreciated that the list is continually updated as the number of blocks in the blockchain ledger increases.
In addition, the method for processing the accounting right in the block chain network provided by this embodiment further includes the following steps:
step 301, if the nth block broadcast by the first accounting node fails the verification, the first accounting node receives the nth block broadcast by the second accounting node in the blockchain network, where the nth block broadcast by the second accounting node includes a blockchain identifier of a target accounting node corresponding to the nth-1 block determined by the second accounting node, and a medical identification result obtained by performing medical identification on the at least one second medical image by the second accounting node.
For example, if the billing node a completes the medical identification of the at least one second medical image earliest, the billing node a may record the blockchain identification of the target billing node determined by the billing node a to maliciously contend for the billing right of the nth-1 block and the medical identification result of the billing node a for the at least one second medical image in the nth block. Further, accounting node a broadcasts the nth block it generates to the blockchain network for other accounting nodes in the blockchain network to verify the nth block generated by accounting node a.
If the nth block generated by the accounting node a is not approved by most accounting nodes in the blockchain network, that is, the nth block generated by the accounting node a is not verified, the nth block may be regenerated by other accounting nodes other than the accounting node a, for example, the nth block may be regenerated by the accounting node B, and the nth block regenerated by the accounting node B includes a blockchain identifier of a target accounting node determined by the accounting node B to maliciously contend for the accounting right of the nth-1 block, and a medical identification result obtained by the accounting node B performing medical identification on the at least one second medical image. Specifically, the accounting node B may perform private key signature on the nth block generated by the accounting node B by using its own private key, and broadcast the nth block signed by the private key to the blockchain network. Correspondingly, the accounting node a may receive the nth block after the private key signature broadcast by the accounting node B, and the accounting node a may verify the private key signature of the accounting node B by using the public key of the accounting node B, and if the private key signature of the accounting node B passes the verification, the accounting node a may verify the nth block broadcast by the accounting node B. When the accounting node a verifies the nth block broadcasted by the accounting node B, the following steps 302-304 can be specifically performed.
Step 302, the first accounting node determines whether the blockchain identification of the second accounting node is in the list.
For example, accounting node a first determines whether the block chain identification of accounting node B is in the list local to accounting node a. If the block chain identifier of the accounting node B is in the local list of the accounting node A, the block chain identifier indicates that the accounting node B maliciously contends for accounting right in the generation process of the history block. At this point, accounting node a may directly discard the nth block broadcast by accounting node B and not continue authentication. Or, the accounting node a may further calculate the number of times that the accounting node B maliciously contends for the accounting right, and when the number of times is greater than or equal to the preset number of times, the accounting node a directly discards the nth block broadcast by the accounting node B, and does not continue to perform verification.
Step 303, if the blockchain identifier of the second accounting node is not in the list, the first accounting node detects whether the blockchain identifier of the target accounting node corresponding to the nth-1 block determined by the second accounting node is correct.
If the block chain identification of the accounting node B is not in the local list of the accounting node A, the block chain identification shows that the accounting node B does not maliciously compete for the accounting right in the generation process of the history block, and the accounting node A further detects whether the block chain identification of the target accounting node maliciously contending for the accounting right of the (N-1) th block, which is determined by the accounting node B, in the Nth block broadcast by the accounting node B is correct. For example, accounting node A may compare the block chain identification of the target accounting node that was maliciously contending for accounting rights for block N-1 determined by accounting node B with the block chain identification of the target accounting node that was maliciously contending for accounting rights for block N-1 recorded in the accounting node A's local list, and if the two are identical, accounting node A determines that the block chain identification of the target accounting node that was maliciously contending for accounting rights for block N-1 determined by accounting node B is correct.
Step 304, if the blockchain identifier of the target accounting node corresponding to the N-1 th block determined by the second accounting node is correct, the first accounting node verifies the medical identification result in the nth block broadcast by the second accounting node, and if the nth block broadcast by the second accounting node is verified by a preset number of accounting nodes in the blockchain network, the nth block broadcast by the second accounting node is recorded in the blockchain account book.
If the accounting node A determines that the block chain identification of the target accounting node which is maliciously contending for the accounting right of the (N-1) th block and is determined by the accounting node B is correct, the accounting node A further verifies whether a medical identification result obtained by performing medical identification on the at least one second medical image by the accounting node B in the Nth block broadcasted by the accounting node B is correct. Similarly, when accounting node B broadcasts the nth block it generates to the blockchain network, other accounting nodes in the blockchain network may also verify the nth block broadcast by accounting node B in a manner similar to that of accounting node a. If the nth block broadcast by the accounting node B is approved by most accounting nodes in the blockchain network, the nth block broadcast by the accounting node B is recorded in the blockchain ledger. Furthermore, accounting node a, accounting node B and accounting node C may respectively determine a target accounting node that maliciously contends for the accounting right of the nth block in the generation process of the nth block, and record the block chain identifier of the target accounting node in their respective local lists. Further, the accounting node a, the accounting node B and the accounting node C may generate the (N + 1) th block and contend for the accounting right of the (N + 1) th block, respectively, until the (N + 1) th block is recorded in the block chain account book. The method for determining the target accounting node for maliciously competing for the accounting right of the Nth block is similar to the method for determining the target accounting node for maliciously competing for the accounting right of the N-1 th block, as described above. Accounting node A, accounting node B and accounting node C compete for the accounting right of the (N + 1) th block, which is similar to accounting node A, accounting node B and accounting node C contending for the accounting right of the Nth block, and is not repeated here.
When medical identification is carried out on the medical image through the accounting node to generate a new block, the embodiment of the invention determines the target accounting node which maliciously contends for the accounting right of the previous block in the generation process of the previous block of the new block. Or when medical identification is carried out on the medical image through the accounting node for generating the next block, the target accounting node which maliciously contends for the accounting right of the new block in the generation process of the new block is determined. Therefore, each billing node not only needs to perform medical identification on the medical images, but also needs to supervise medical identification results of other billing nodes, and if a certain billing node guesses the medical identification results in order to compete for the billing right as soon as possible, the error rate of the medical identification results is very high, so that the probability that the medical identification results are determined to be the billing nodes which maliciously compete for the billing right and lose the billing right is also high. Therefore, the situation that the accounting nodes compete for the accounting right maliciously is effectively avoided, and the error rate is reduced as much as possible when the accounting nodes in the block chain network carry out medical identification on the medical images.
Fig. 4 is a flowchart of a processing method for accounting rights in a blockchain network according to another embodiment of the present invention. On the basis of the above embodiment, the first accounting node receives at least one second accounting node in a blockchain network before the N-1 st block broadcasted in the blockchain network, and the method further comprises:
step 401, the first accounting node obtains signature information from a blockchain maintenance node in the blockchain network.
For example, the blockchain network may also include an originating node for creating a first block in the blockchain network, which may also be referred to as an originating block. For example, the starting block may include a blockchain identification of a blockchain maintenance node and a blockchain public key of the blockchain maintenance node.
In the embodiment of the present application, each accounting node in the blockchain network needs to acquire information signed by a private key of the blockchain maintenance node before having the accounting authority. For example, the accounting node may obtain the information signed by the private key of the blockchain maintenance node in a manner under the blockchain.
Step 402, the first accounting node broadcasts the signature information in the blockchain network, so that a legal accounting node or an originating node in the blockchain network verifies the signature information, and if the signature information is verified by the legal accounting node or the originating node, the first accounting node obtains an accounting right.
Optionally, the broadcasting, by the first accounting node, the signature information in the blockchain network, so that a legitimate accounting node or originating node in the blockchain network verifies the signature information, where the verifying includes: the first accounting node broadcasts the signature information in the block chain network so that a legal accounting node or an originating node in the block chain network verifies the signature information according to a block chain public key of the block chain maintenance node, and the block chain public key of the block chain maintenance node is stored in an originating block.
Further, the accounting node broadcasts the information signed by the private key of the blockchain maintenance node to the blockchain network, for example, the accounting node may broadcast the information signed by the private key of the blockchain maintenance node in a broadcast message signed by the private key, so that a legitimate accounting node or originating node in the blockchain network verifies the information signed by the private key of the blockchain maintenance node.
For example, if there is a legitimate billing node in the blockchain network before the billing node broadcasts the information signed by the blockchain maintenance node private key to the blockchain network, the information signed by the blockchain maintenance node private key is verified by the legitimate billing node when the billing node broadcasts the information signed by the blockchain maintenance node private key to the blockchain network. Specifically, the legal accounting node acquires the block chain public key of the block chain maintenance node from the starting block, and verifies the private key signature information of the block chain maintenance node broadcast by the accounting node according to the block chain public key of the block chain maintenance node. If more than half of legal accounting nodes verify the private key signature information of the block chain maintenance node broadcasted by the accounting node, the accounting node acquires the accounting right and writes the accounting right of the accounting node into a new block, so that the accounting right of the accounting node is further written into a block chain account book, and the accounting right of the accounting node is approved by the whole block chain network.
If no legal accounting node exists in the blockchain network before the accounting node broadcasts the information signed by the private key of the blockchain maintenance node to the blockchain network, when the accounting node broadcasts the information signed by the private key of the blockchain maintenance node to the blockchain network, the starting node verifies the information signed by the private key of the blockchain maintenance node, the verification process is similar to the process of verifying the information signed by the private key of the blockchain maintenance node by the legal accounting node, and the description is omitted here. After the originator node verifies the information signed by the private key of the block chain maintenance node, the accounting node acquires the accounting right and writes the accounting right of the accounting node into a new block, so that the accounting right of the accounting node is further written into a block chain account book, and the accounting right of the accounting node is approved by the whole block chain network.
The embodiment of the invention verifies the information which is broadcast by the accounting node and is signed by the private key of the block chain maintenance node so as to verify the accounting right of the accounting node, namely, any node is not allowed to be the accounting node, namely, the accounting node which maliciously contends for the accounting right can be further avoided by strictly verifying the accounting node before the accounting node obtains the accounting right, further, the accounting node which maliciously contends for the accounting right is effectively avoided, and the error rate of the accounting node in the block chain network is reduced as much as possible in the process of carrying out medical identification on the medical image.
Fig. 5 is a schematic structural diagram of a first accounting node according to an embodiment of the present invention. As shown in fig. 5, the first accounting node 50 may execute the processing flow provided by the processing method for accounting right in the blockchain network in the embodiment of the present invention, where: memory 51, processor 52, computer programs and communication interface 53; wherein the computer program is stored in the memory 51 and is configured to be executed by the processor 52 for: receiving an N-1 block broadcast by at least one second accounting node in a blockchain network in the blockchain network through the communication interface, wherein the N-1 block broadcast by the second accounting node comprises a medical identification result obtained by the second accounting node performing medical identification on at least one first medical image; determining a target accounting node in the at least one second accounting node according to the N-1 block broadcasted by the at least one second accounting node in the blockchain network and the N-1 block recorded in the blockchain account book, wherein the error rate of the medical identification result in the N-1 block broadcasted by the target accounting node relative to the medical identification result in the N-1 block recorded in the blockchain account book is greater than or equal to a preset threshold value; receiving at least one second medical image broadcast by a medical image generation node in the blockchain network through the communication interface; performing medical identification on the at least one second medical image; recording the blockchain identification of the target accounting node and the medical identification result corresponding to the at least one second medical image into an Nth block; broadcasting the Nth block in the blockchain network through the communication interface so as to enable other accounting nodes in the blockchain network to verify the Nth block, wherein if the Nth block passes the verification, the Nth block is recorded in the blockchain account book.
Optionally, the processor is further configured to: and establishing a list locally, wherein the list comprises block chain identifiers of target accounting nodes corresponding to all blocks in the block chain account book.
Optionally, the processor is further configured to: if the nth block broadcast by the processor through the communication interface fails the verification, receiving the nth block broadcast by a second accounting node in the blockchain network through the communication interface, wherein the nth block broadcast by the second accounting node comprises a blockchain identifier of a target accounting node corresponding to the nth-1 block determined by the second accounting node and a medical identification result obtained by performing medical identification on the at least one second medical image by the second accounting node; determining whether a blockchain identification of the second accounting node is in the list; if the block chain identification of the second accounting node is not in the list, detecting whether the block chain identification of the target accounting node corresponding to the (N-1) th block determined by the second accounting node is correct; and if the block chain identification of the target accounting node corresponding to the (N-1) th block determined by the second accounting node is correct, verifying the medical identification result in the Nth block broadcast by the second accounting node, and if the Nth block broadcast by the second accounting node is verified by the accounting nodes with the preset number in the block chain network, recording the Nth block broadcast by the second accounting node in a block chain account book.
Optionally, the processor receives, through the communication interface, at least one second accounting node in the blockchain network before the N-1 st block broadcasted in the blockchain network, and is further configured to: acquiring signature information from a blockchain maintenance node in the blockchain network; and broadcasting the signature information in the blockchain network through the communication interface so as to verify the signature information by a legal accounting node or an originating node in the blockchain network, wherein if the signature information is verified by the legal accounting node or the originating node, the first accounting node obtains an accounting right.
Optionally, the processor broadcasts the signature information in the blockchain network through the communication interface, so that when a valid accounting node or an originating node in the blockchain network verifies the signature information, the processor is specifically configured to: and broadcasting the signature information in the blockchain network through the communication interface so that a legal accounting node or an originating node in the blockchain network verifies the signature information according to a blockchain public key of the blockchain maintenance node, wherein the blockchain public key of the blockchain maintenance node is stored in an originating block.
The first accounting node of the embodiment shown in fig. 5 may be configured to execute the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for processing accounting rights in a blockchain network described in the foregoing embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for processing billing rights in a blockchain network, comprising:
a first accounting node receives an N-1 block broadcasted by at least one second accounting node in a block chain network in the block chain network, wherein the N-1 block broadcasted by the second accounting node comprises a medical identification result obtained by the second accounting node performing medical identification on at least one first medical image;
the first accounting node determines a target accounting node in the at least one second accounting node according to the N-1 block broadcasted by the at least one second accounting node in the blockchain network and the N-1 block recorded in the blockchain account book, wherein the error rate of the medical identification result in the N-1 block broadcasted by the target accounting node relative to the medical identification result in the N-1 block recorded in the blockchain account book is greater than or equal to a preset threshold value;
the first accounting node receives at least one second medical image broadcast in the blockchain network by the medical image generating node in the blockchain network;
the first accounting node performs medical identification on the at least one second medical image;
the first accounting node records the block chain identification of the target accounting node and the medical identification result corresponding to the at least one second medical image into an Nth block;
the first accounting node broadcasts the nth block in the blockchain network for other accounting nodes in the blockchain network to verify the nth block, and if the nth block passes the verification, the nth block is recorded in the blockchain account book.
2. The method of claim 1, further comprising:
and the first accounting node establishes a list locally, wherein the list comprises block chain identifiers of target accounting nodes corresponding to all blocks in the block chain account book.
3. The method of claim 2, further comprising:
if the nth block broadcast by the first accounting node fails the verification, the first accounting node receives the nth block broadcast by the second accounting node in the blockchain network, wherein the nth block broadcast by the second accounting node comprises a blockchain identifier of a target accounting node corresponding to the nth-1 block determined by the second accounting node, and a medical identification result obtained by performing medical identification on the at least one second medical image by the second accounting node;
the first accounting node determining whether a blockchain identification of the second accounting node is in the list;
if the block chain identification of the second accounting node is not in the list, the first accounting node detects whether the block chain identification of the target accounting node corresponding to the (N-1) th block determined by the second accounting node is correct;
if the block chain identification of the target accounting node corresponding to the (N-1) th block determined by the second accounting node is correct, the first accounting node verifies the medical identification result in the Nth block broadcast by the second accounting node, and if the Nth block broadcast by the second accounting node is verified by the accounting nodes with the preset number in the block chain network, the Nth block broadcast by the second accounting node is recorded in the block chain account book.
4. A method according to any of claims 1-3, wherein the first accounting node receives at least one second accounting node in a blockchain network prior to the N-1 th block broadcast in the blockchain network, the method further comprising:
the first accounting node acquires signature information from a block chain maintenance node in the block chain network;
and the first accounting node broadcasts the signature information in the block chain network so as to enable a legal accounting node or an originating node in the block chain network to verify the signature information, and if the signature information is verified by the legal accounting node or the originating node, the first accounting node obtains an accounting right.
5. The method of claim 4, wherein the first accounting node broadcasts the signature information in the blockchain network for a legitimate accounting node or originating node in the blockchain network to verify the signature information, comprising:
the first accounting node broadcasts the signature information in the block chain network so that a legal accounting node or an originating node in the block chain network verifies the signature information according to a block chain public key of the block chain maintenance node, and the block chain public key of the block chain maintenance node is stored in an originating block.
6. A first billing node, comprising:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
receiving an N-1 block broadcast by at least one second accounting node in a blockchain network in the blockchain network through the communication interface, wherein the N-1 block broadcast by the second accounting node comprises a medical identification result obtained by the second accounting node performing medical identification on at least one first medical image;
determining a target accounting node in the at least one second accounting node according to the N-1 block broadcasted by the at least one second accounting node in the blockchain network and the N-1 block recorded in the blockchain account book, wherein the error rate of the medical identification result in the N-1 block broadcasted by the target accounting node relative to the medical identification result in the N-1 block recorded in the blockchain account book is greater than or equal to a preset threshold value;
receiving at least one second medical image broadcast by a medical image generation node in the blockchain network through the communication interface;
performing medical identification on the at least one second medical image;
recording the blockchain identification of the target accounting node and the medical identification result corresponding to the at least one second medical image into an Nth block;
broadcasting the Nth block in the blockchain network through the communication interface so as to enable other accounting nodes in the blockchain network to verify the Nth block, wherein if the Nth block passes the verification, the Nth block is recorded in the blockchain account book.
7. The first billing node of claim 6, wherein the processor is further configured to:
and establishing a list locally, wherein the list comprises block chain identifiers of target accounting nodes corresponding to all blocks in the block chain account book.
8. The first billing node of claim 7, wherein the processor is further configured to:
if the nth block broadcast by the processor through the communication interface fails the verification, receiving the nth block broadcast by a second accounting node in the blockchain network through the communication interface, wherein the nth block broadcast by the second accounting node comprises a blockchain identifier of a target accounting node corresponding to the nth-1 block determined by the second accounting node and a medical identification result obtained by performing medical identification on the at least one second medical image by the second accounting node;
determining whether a blockchain identification of the second accounting node is in the list;
if the block chain identification of the second accounting node is not in the list, detecting whether the block chain identification of the target accounting node corresponding to the (N-1) th block determined by the second accounting node is correct;
and if the block chain identification of the target accounting node corresponding to the (N-1) th block determined by the second accounting node is correct, verifying the medical identification result in the Nth block broadcast by the second accounting node, and if the Nth block broadcast by the second accounting node is verified by the accounting nodes with the preset number in the block chain network, recording the Nth block broadcast by the second accounting node in a block chain account book.
9. A first accounting node according to any one of claims 6-8, wherein the processor is further configured to receive, via the communication interface, at least one second accounting node in a blockchain network before an N-1 th block broadcast in the blockchain network:
acquiring signature information from a blockchain maintenance node in the blockchain network;
and broadcasting the signature information in the blockchain network through the communication interface so as to verify the signature information by a legal accounting node or an originating node in the blockchain network, wherein if the signature information is verified by the legal accounting node or the originating node, the first accounting node obtains an accounting right.
10. The first billing node of claim 9, wherein the processor broadcasts the signature information in the blockchain network through the communication interface, so that when a legitimate billing node or originating node in the blockchain network verifies the signature information, the processor is specifically configured to:
and broadcasting the signature information in the blockchain network through the communication interface so that a legal accounting node or an originating node in the blockchain network verifies the signature information according to a blockchain public key of the blockchain maintenance node, wherein the blockchain public key of the blockchain maintenance node is stored in an originating block.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202010433001.0A 2020-05-19 2020-05-19 Processing method, device and storage medium for accounting right in block chain network Active CN111641617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010433001.0A CN111641617B (en) 2020-05-19 2020-05-19 Processing method, device and storage medium for accounting right in block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010433001.0A CN111641617B (en) 2020-05-19 2020-05-19 Processing method, device and storage medium for accounting right in block chain network

Publications (2)

Publication Number Publication Date
CN111641617A true CN111641617A (en) 2020-09-08
CN111641617B CN111641617B (en) 2022-10-21

Family

ID=72332751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010433001.0A Active CN111641617B (en) 2020-05-19 2020-05-19 Processing method, device and storage medium for accounting right in block chain network

Country Status (1)

Country Link
CN (1) CN111641617B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666043A (en) * 2022-03-04 2022-06-24 广东钜联信息科技有限公司 Method for generating bookkeeper by block chain difference probability consensus algorithm

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180205558A1 (en) * 2015-01-23 2018-07-19 Daniel Robert Ferrin Method and apparatus for the limitation of the mining of blocks on a block chain
CN108881169A (en) * 2018-05-21 2018-11-23 西安电子科技大学 Time distribution and synchronous method and system, data processing system based on block chain
CN108885899A (en) * 2017-04-01 2018-11-23 深圳前海达闼云端智能科技有限公司 Processing method, device and the electronic equipment of medical image transmission data
CN109102287A (en) * 2018-08-13 2018-12-28 中国联合网络通信集团有限公司 Block chain bookkeeping methods, device, equipment and storage medium
CN109522456A (en) * 2018-11-14 2019-03-26 全链通有限公司 The node availability detection generated based on block
CN109670701A (en) * 2018-12-17 2019-04-23 莆田市烛火信息技术有限公司 A kind of excitation regulator control system based on the control of block chain network the whole network construction cost

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180205558A1 (en) * 2015-01-23 2018-07-19 Daniel Robert Ferrin Method and apparatus for the limitation of the mining of blocks on a block chain
CN108885899A (en) * 2017-04-01 2018-11-23 深圳前海达闼云端智能科技有限公司 Processing method, device and the electronic equipment of medical image transmission data
CN108881169A (en) * 2018-05-21 2018-11-23 西安电子科技大学 Time distribution and synchronous method and system, data processing system based on block chain
CN109102287A (en) * 2018-08-13 2018-12-28 中国联合网络通信集团有限公司 Block chain bookkeeping methods, device, equipment and storage medium
CN109522456A (en) * 2018-11-14 2019-03-26 全链通有限公司 The node availability detection generated based on block
CN109670701A (en) * 2018-12-17 2019-04-23 莆田市烛火信息技术有限公司 A kind of excitation regulator control system based on the control of block chain network the whole network construction cost

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李吉广: ""使用区块链的处理监督架构和随机授权‘", 《信息安全研究》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666043A (en) * 2022-03-04 2022-06-24 广东钜联信息科技有限公司 Method for generating bookkeeper by block chain difference probability consensus algorithm

Also Published As

Publication number Publication date
CN111641617B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN109102287B (en) Block chain accounting method, device, equipment and storage medium
CN110868441B (en) Block chain public link maintenance method and device, node and block chain public link
CN110569251B (en) Data processing method, related equipment and computer readable storage medium
CN108768665B (en) Block chain generation method and device, computer equipment and storage medium
CN107171810B (en) Verification method and device of block chain
US12107964B2 (en) Technique for computing a block in a blockchain network
CN108848148B (en) Transaction information confirmation method and device based on block chain
CN110602217B (en) Block chain-based alliance management method, device, equipment and storage medium
JP2023509889A (en) Blockchain-based data detection method and device, computer device and program
CN112118239B (en) Block chain consensus method and device, electronic equipment and storage medium
CN109408595B (en) Block chain accounting method, device and computer readable storage medium
CN111275438B (en) Consensus method, device, equipment and storage medium of block chain network
US20210306137A1 (en) Blockchain-based advertisement monitoring method and apparatus, and electronic device
CN112948851A (en) User authentication method, device, server and storage medium
CN113052329B (en) Method and device for jointly updating service model
CN113037492B (en) Sensor data processing method and device
CN111641617B (en) Processing method, device and storage medium for accounting right in block chain network
CN114338715A (en) Data synchronization method, block chain system, terminal device and storage medium
CN110807035A (en) Serial number generation method, device, equipment and storage medium
CN111679978B (en) Program testing method, program testing device, electronic equipment and storage medium
CN110958107A (en) Electronic voting method, device and storage medium based on block chain
CN111641616B (en) Processing method, device and storage medium for accounting right in block chain network
CN111613304B (en) Medical image processing method, device and storage medium
CN111627530B (en) Medical image identification method, device and storage medium
CN110730186A (en) Token issuing method, accounting node and medium based on block chain

Legal Events

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