A method and system for mutual recognition of smart contract inspection and verification results in blockchain

By combining the index chain and data chain in the blockchain network with standard smart contracts and verification codes, the problem of interoperability of test results between different hospitals has been solved. This has enabled the mutual recognition and sharing of test results and the tamper-proof nature of data, ensuring service stability and reducing the waste of medical resources and patient costs.

CN116206722BActive Publication Date: 2026-04-03SHAN DONG MSUN HEALTH TECH GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

The inability to recognize test results between different hospitals leads to a waste of medical resources and duplicate testing. Existing technologies also pose risks of data tampering and service unavailability in high-concurrency scenarios.

Method used

Distributed storage is achieved using the index chain and data chain in the blockchain network. The inspection report is reviewed and verified through standard smart contracts, and a verification code is generated to ensure the authenticity, tamper-proofness, and stability of the data.

Benefits of technology

It enables mutual recognition and sharing of test results, reduces waste of medical resources, ensures the authenticity and stability of data, prevents service avalanche, and reduces the cost of medical treatment for patients.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116206722B_ABST
    Figure CN116206722B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for mutual recognition of smart contract inspection and verification results in a blockchain, comprising: constructing a standard smart contract based on quality control evaluation standards and uploading it to a blockchain node; after the uploaded inspection and verification report is approved by the standard smart contract, generating an index and verification code based on the inspection and verification report, uploading the index and verification code to the index chain, and uploading the verification code and inspection and verification report data to the data chain; upon receiving a request for access, determining whether the index to be accessed exists in the index chain based on the retrieval time; if it exists, comparing the corresponding verification code in the index chain with the corresponding verification code in the data chain; if the comparison passes, retrieving the corresponding inspection and verification report data from the data chain, caching the inspection and verification report data locally, and storing the access record on the blockchain node. This provides a dual-chain parallel index chain and data chain, enabling authentic, tamper-proof, and stable access to inspection and verification report data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of blockchain technology, and in particular to a method and system for mutual recognition of smart contract inspection and verification results in a blockchain. Background Technology

[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.

[0003] Picture archiving and communication systems (PACS) and laboratory information systems (LIS) play an important role in sharing examination and test results within hospitals.

[0004] If different hospitals in the same region use different manufacturers for their PACS and LIS systems and have different dictionaries for examination and testing items, then when a patient is transferred from one hospital to another for treatment, the lack of regionally unified standards for examination and testing items and the unreliability of mutual recognition of result quality leads to the inability to recognize the examination and testing results. This results in the patient having to undergo the examinations and tests again, causing a waste of medical resources.

[0005] Moreover, the existing business logic for mutual recognition of test results is generally hard-coded into the relevant business systems. Developers can easily modify the original confirmation business logic by using decompilation software. The modification traces are untraceable, which can easily lead to inconsistencies in the business logic of different hospitals, ultimately rendering clinical test results unusable.

[0006] Meanwhile, the existing test and examination report data is stored on a single chain. The report data can be tampered with simply by modifying the data on the single chain, which cannot effectively prevent the possibility of the report data being tampered with, resulting in unreliable clinical test and examination results.

[0007] In addition, when patients or doctors access report data, they directly retrieve the data from smart contracts on the blockchain. In scenarios with large data volumes and high concurrency, the service access may experience a service avalanche or breakdown, resulting in service unavailability. Summary of the Invention

[0008] To address the aforementioned issues, this invention proposes a method and system for mutual recognition of smart contract inspection and verification results in blockchain. It provides a dual-chain parallel index chain and data chain to achieve distributed storage of inspection and verification report data, ensuring the authenticity, tamper-proof nature, and stable accessibility of the data.

[0009] To achieve the above objectives, the present invention adopts the following technical solution:

[0010] In a first aspect, the present invention provides a method for mutual recognition of smart contract inspection and verification results in a blockchain, which is applied to a blockchain network. The blockchain network includes an index chain and a data chain. The index chain is composed of blockchain nodes deployed in various medical institutions within a region, and the data chain is deployed in an upper-level server.

[0011] include:

[0012] Build standard smart contracts based on the established quality control and evaluation standards, and upload them to the blockchain node;

[0013] After the uploaded inspection and testing report is approved by a standard smart contract, an index and a verification code are generated based on the inspection and testing report. The index and verification code are then uploaded to the index chain, and the verification code and inspection and testing report data are uploaded to the data chain.

[0014] Upon receiving a request for access, the system checks the index chain to determine if the index to be accessed exists based on the retrieval time. If it does, the system compares the corresponding checksum in the index chain with the corresponding checksum in the data chain. If the comparison passes, the system retrieves the corresponding inspection report data from the data chain, caches the inspection report data locally, and stores the access record on the blockchain node.

[0015] As an optional implementation, the quality control evaluation criteria include quality control of the consistency between textual and image information in the examination and testing reports, as well as the consistency between the examination type and the examination site.

[0016] As an optional implementation, the quality control evaluation criteria include complete quality control of the report number, patient identification, examination items, examination sites, examination conclusions, report time, reporting physician, reviewing physician, and examination status in the examination and testing report.

[0017] As an alternative implementation, the quality control evaluation criteria include quality control of the accuracy of the content described in the inspection report.

[0018] As an alternative implementation, the inspection and testing report is processed by generating a check string using the MD5 digest algorithm and Base64 encoding. A check code is generated after the blockchain node provides the key. The index, check code, and digest are stored in the index chain, and the check code, digest, and inspection and testing report data are stored in the data chain.

[0019] As an alternative implementation, a Bloom filter is introduced during retrieval to determine whether there are indexes in the blockchain network that are to be retrieved and whose retrieval time is within a set threshold range.

[0020] As an alternative implementation, if the index to be retrieved exists in the local cache, the inspection report data is returned from the local cache if the index exists in the local cache.

[0021] As an alternative implementation, if the checksum is not present in the local cache, a consistency comparison is performed between the checksum in the index chain and the checksum in the data chain. If the comparison passes, the data digest is stored in the Bloom filter.

[0022] As an alternative implementation, the mutual recognition method also includes uploading the established inspection and testing standards to the blockchain node.

[0023] Secondly, the present invention provides a blockchain smart contract inspection and verification result mutual recognition system, including a blockchain network, the blockchain network including an index chain and a data chain, the index chain being composed of blockchain nodes deployed in various medical institutions within the region, and the data chain being deployed in an upper-level server;

[0024] The blockchain network performs the following operations:

[0025] Build standard smart contracts based on the established quality control and evaluation standards, and upload them to the blockchain node;

[0026] After the uploaded inspection and testing report is approved by a standard smart contract, an index and a verification code are generated based on the inspection and testing report. The index and verification code are then uploaded to the index chain, and the verification code and inspection and testing report data are uploaded to the data chain.

[0027] Upon receiving a request for access, the system checks the index chain to determine if the index to be accessed exists based on the retrieval time. If it does, the system compares the corresponding checksum in the index chain with the corresponding checksum in the data chain. If the comparison passes, the system retrieves the corresponding inspection report data from the data chain, caches the inspection report data locally, and stores the access record on the blockchain node.

[0028] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0029] This invention proposes a method and system for mutual recognition of smart contract inspection and testing results in a blockchain. It achieves distributed storage of inspection and testing report data through a blockchain network, provides tamper-proof characteristics for inspection report data, and offers an index chain and a data chain. The two chains work in parallel to realize the on-chain storage of inspection and testing report data and index.

[0030] This invention proposes a method and system for mutual recognition of test results using smart contracts in a blockchain. It establishes standardized test items within a region, and medical institutions can synchronize these standardized items from the blockchain via smart contracts, comparing them with the items in their internal testing system, thus unifying the standardized test items within the region.

[0031] This invention proposes a method and system for mutual recognition of smart contract inspection and testing results in blockchain. Standard smart contracts are constructed based on established quality control and evaluation standards. Uploaded inspection and testing reports are reviewed using standard smart contracts, and can only be uploaded after passing the review, thus ensuring the authenticity and standardization of the data.

[0032] This invention proposes a method and system for mutual recognition of smart contract inspection and verification results in blockchain. The inspection and verification report data is cached locally, so that the same data can be retrieved directly from the local cache the next time. The retrieval records are stored on blockchain nodes to realize statistical monitoring of retrieval and ensure the traceability of retrieval records.

[0033] This invention proposes a method and system for mutual recognition of smart contract inspection results in blockchain. During the retrieval process, a caching mechanism and a Bloom filter are introduced to ensure high availability and stability of the retrieval service and prevent cache breakdown and cascading failure.

[0034] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0035] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0036] Figure 1 This is a flowchart of a method for mutual recognition of smart contract inspection and verification results in a blockchain, provided in Embodiment 1 of the present invention.

[0037] Figure 2 This is a schematic diagram of data uplink provided in Embodiment 1 of the present invention;

[0038] Figure 3 This is a schematic diagram of data retrieval provided in Embodiment 1 of the present invention. Detailed Implementation

[0039] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0040] It should be noted that the following detailed descriptions are exemplary and intended to provide further illustration of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0041] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the exemplary embodiments of the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. Furthermore, it should be understood that the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0042] Where there is no conflict, the embodiments and features in the embodiments of the present invention can be combined with each other.

[0043] Example 1

[0044] This invention provides a method for mutual recognition of smart contract inspection results in a blockchain, which is applied to a blockchain network. The blockchain network includes an index chain and a data chain. The index chain consists of blockchain nodes deployed in various medical institutions within a region, and the data chain is deployed in a higher-level server.

[0045] like Figure 1 As shown, it includes:

[0046] Build standard smart contracts based on the established quality control and evaluation standards, and upload them to the blockchain node;

[0047] After the uploaded inspection and testing report is approved by a standard smart contract, an index and a verification code are generated based on the inspection and testing report. The index and verification code are then uploaded to the index chain, and the verification code and inspection and testing report data are uploaded to the data chain.

[0048] Upon receiving a request for access, the system checks the index chain to determine if the index to be accessed exists based on the retrieval time. If it does, the system compares the corresponding checksum in the index chain with the corresponding checksum in the data chain. If the comparison passes, the system retrieves the corresponding inspection report data from the data chain, caches the inspection report data locally, and stores the access record on the blockchain node.

[0049] This embodiment deploys blockchain nodes in various medical institutions, and builds a dual-chain parallel index chain and data chain based on the government network. Different medical institutions upload, review, and access examination and test reports through smart contracts, realizing mutual recognition of examination and test results within a unified region. This solves problems such as inconsistent standards for examination and test items and lack of mutual recognition and traceability of report quality within the same region, ultimately achieving mutual recognition and sharing of reports, reducing waste of medical resources, and lowering the cost of medical treatment for patients.

[0050] Smart contracts are stored on the blockchain and possess immutability and distributed characteristics. Immutability means that once a smart contract is established, it cannot be changed, and therefore the code within the smart contract cannot be tampered with. Distributed characteristics mean that the output of a smart contract is confirmed by everyone in the blockchain network. Therefore, no single person can modify the business logic of a smart contract, because others in the blockchain network will definitely discover the behavior and mark it as invalid.

[0051] In this embodiment, firstly, shareable inspection and testing standards are established and uploaded to the blockchain node. The established quality control assessment standards are then uploaded to the blockchain node via a standard smart contract. The uploaded inspection and testing reports are reviewed using the standard smart contract. If they meet the requirements of the quality control assessment standards, the uploaded inspection and testing reports are saved to the blockchain node. If they do not meet the requirements, the quality control assessment results are fed back to correct the correctness of the content and format of the inspection and testing reports. After the correction is completed and the reports are deemed acceptable, they are re-uploaded. The inspection and testing reports include image-based inspection and testing reports.

[0052] In this embodiment, the quality control evaluation criteria are:

[0053] (1) Verify the consistency between text and image information in the examination and test reports; obtain the patient's examination images from the PACS system and the patient's examination and test reports from the LIS system, and verify the consistency between the patient identification, examination type, and examination site of the two.

[0054] (2) Check the integrity of the test report; verify the integrity of the test report number, patient identification, test items, site, test conclusion, report time, test findings, reporting physician, reviewing physician, and test status in the report.

[0055] (3) Obtain the patient's examination and test reports from the LIS system, and use natural language learning and analysis to conduct quality control on issues such as inconsistent descriptions with diagnostic conclusions, failure to reflect examination requirements, lack of description of main signs, incomplete description of main signs, incorrect description of main signs, lack of description of main negative signs, non-standard terminology, incorrect wording, logical errors, simplistic descriptions, left-right errors, failure to describe special examination positions, failure to describe enhanced scanning conditions, and obvious missed diagnoses or misdiagnoses.

[0056] In this embodiment, to ensure the immutability of the inspection report data and the scalability of storage resources, an index chain and a data chain are built based on the government network, with the two chains running in parallel.

[0057] The index chain is deployed in various medical institutions, and each medical institution deploys blockchain nodes to generate index data of the medical institution's test reports and uploads it to the index chain through smart contracts. The data chain is uniformly deployed on the servers of the health commissions of various cities and counties according to the storage resources available.

[0058] The inspection and testing report is processed using an MD5 digest algorithm and Base64 encoding to generate a preliminary checksum. Then, a blockchain node provides the key to generate a checksum. The index, checksum, and data digest are stored in the index chain, while the checksum, data digest, and inspection and testing report data are stored in the data chain, ensuring the data's tamper-proof properties. Figure 2 As shown.

[0059] In this embodiment, to ensure the availability and stability of examination and test reports under high concurrency, a Bloom filter and caching mechanism are introduced. When a physician performs examinations or tests at the workstation, authorized users undergo authentication. After successful authentication, a legitimate physician can access the reports based on the patient's unique identifier. Figure 3 As shown, it specifically includes:

[0060] First, a Bloom filter is used to determine whether there is an index to be retrieved in the blockchain network whose retrieval time is within a set threshold range (in this embodiment, a report within 30 days is taken as an example). If it does not exist, a message indicating that it does not exist is returned. If it exists, the local cache is searched again to see if there is an index to be retrieved.

[0061] If the data exists in the local cache, return the inspection report data.

[0062] If the checksum does not exist in the local cache, the corresponding checksum in the index chain and the corresponding checksum in the data chain are compared for consistency. If the consistency comparison passes, the corresponding inspection report data is retrieved from the data chain, the data summary is stored in the Bloom filter, the inspection report data is cached locally, and the retrieval record is stored on the blockchain node.

[0063] This embodiment builds a dual-chain parallel index chain and data chain based on the government network. Different medical institutions upload, review, and access examination and test reports through smart contracts, realizing mutual recognition of examination and test results within a unified region. Through the mutual recognition of examination and test results, the sharing of data among medical institutions is monitored in real time, solving problems such as the inability to unify the standards of examination and test items and the inability to mutually recognize and trace the quality of reports within the same region. Ultimately, it realizes the mutual recognition and sharing of reports, reduces the waste of medical resources, and lowers the cost of medical treatment for patients.

[0064] Example 2

[0065] This embodiment provides a blockchain smart contract inspection and verification result mutual recognition system, including a blockchain network, which includes an index chain and a data chain. The index chain consists of blockchain nodes deployed in various medical institutions within the region, and the data chain is deployed in an upper-level server.

[0066] The blockchain network performs the following operations:

[0067] Build standard smart contracts based on the established quality control and evaluation standards, and upload them to the blockchain node;

[0068] After the uploaded inspection and testing report is approved by a standard smart contract, an index and a verification code are generated based on the inspection and testing report. The index and verification code are then uploaded to the index chain, and the verification code and inspection and testing report data are uploaded to the data chain.

[0069] Upon receiving a request for access, the system checks the index chain to determine if the index to be accessed exists based on the retrieval time. If it does, the system compares the corresponding checksum in the index chain with the corresponding checksum in the data chain. If the comparison passes, the system retrieves the corresponding inspection report data from the data chain, caches the inspection report data locally, and stores the access record on the blockchain node.

[0070] It should be noted that the above modules correspond to the steps described in Embodiment 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the content disclosed in Embodiment 1. It should also be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer-executable instructions.

[0071] While the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, this is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A method for mutual recognition of smart contract inspection and verification results in a blockchain, characterized in that, It is applied to a blockchain network, which includes an index chain and a data chain. The index chain consists of blockchain nodes deployed in various medical institutions within the region, and the data chain is deployed in a higher-level server. include: Build standard smart contracts based on the established quality control and evaluation standards, and upload them to the blockchain node; After the uploaded inspection and testing report is approved by a standard smart contract, an index and a verification code are generated based on the inspection and testing report. The index and verification code are then uploaded to the index chain, and the verification code and inspection and testing report data are uploaded to the data chain. Upon receiving a request for access, the system checks the index chain to determine if the index to be accessed exists based on the retrieval time. If it does, the system compares the corresponding check code in the index chain with the corresponding check code in the data chain. If the comparison passes, the system retrieves the corresponding inspection report data from the data chain, caches the inspection report data locally, and stores the access record on the blockchain node. A caching mechanism and Bloom filter are introduced during the retrieval process to ensure high availability and stability of the retrieval service and prevent cache breakdown and cascading failure. The retrieval operation specifically includes: First, a Bloom filter is used to determine if there is an index to be retrieved in the blockchain network whose retrieval time is within a set threshold range. If it does not exist, a message indicating that it does not exist is returned. If it does exist, the local cache is searched again to see if there is an index to be retrieved. If the data exists in the local cache, return the inspection report data. If the checksum does not exist in the local cache, the corresponding checksum in the index chain and the corresponding checksum in the data chain are compared for consistency. If the consistency comparison passes, the corresponding inspection report data is retrieved from the data chain, the data summary is stored in the Bloom filter, the inspection report data is cached locally, and the retrieval record is stored on the blockchain node.

2. The method for mutual recognition of smart contract inspection results in a blockchain as described in claim 1, characterized in that, The quality control assessment criteria include the consistency of patient identification, examination type, and examination site between textual and image information in the examination and testing reports.

3. The method for mutual recognition of smart contract inspection results in a blockchain as described in claim 1, characterized in that, The quality control assessment criteria include complete quality control of the report number, patient identification, examination items, examination sites, examination conclusions, report time, reporting physician, reviewing physician, and examination status in the examination and testing report.

4. The method for mutual recognition of smart contract inspection results in a blockchain as described in claim 1, characterized in that, The quality control evaluation criteria include quality control of the accuracy of the content described in the inspection and testing report.

5. A method for mutual recognition of smart contract inspection and verification results in a blockchain as described in claim 1, characterized in that, The inspection and testing report is processed using an MD5 digest algorithm and Base64 encoding to generate a verification string. After the blockchain node provides the key, a verification code is generated. The index, verification code, and digest are stored in the index chain, while the verification code, digest, and inspection and testing report data are stored in the data chain.

6. The method for mutual recognition of smart contract inspection results in a blockchain as described in claim 1, characterized in that, The mutual recognition method also includes uploading the established inspection and testing standards to the blockchain node.

7. A system for mutual recognition of smart contract inspection and verification results in a blockchain, characterized in that, The method for mutual recognition of smart contract inspection results in a blockchain as described in any one of claims 1-6 includes a blockchain network, which includes an index chain and a data chain. The index chain is composed of blockchain nodes deployed in various medical institutions within the region, and the data chain is deployed in a higher-level server. The blockchain network performs the following operations: Build standard smart contracts based on the established quality control and evaluation standards, and upload them to the blockchain node; After the uploaded inspection and testing report is approved by a standard smart contract, an index and a verification code are generated based on the inspection and testing report. The index and verification code are then uploaded to the index chain, and the verification code and inspection and testing report data are uploaded to the data chain. Upon receiving a request for access, the system checks the index chain to determine if the index to be accessed exists based on the retrieval time. If it does, the system compares the corresponding checksum in the index chain with the corresponding checksum in the data chain. If the comparison passes, the system retrieves the corresponding inspection report data from the data chain, caches the inspection report data locally, and stores the access record on the blockchain node.

Citation Information

Patent Citations

  • Data credible interaction method and system based on alliance chain and electronic equipment

    CN114629631A

  • Block chain medical record secure storage and sharing method based on double-chain structure

    CN114818010A