Instrument blockchain information encryption method and system, and device and storage medium

The information collection data is encrypted through blockchain technology, and hash values ​​and timestamps are used to form an immutable blockchain, which solves the problem of data forgery and tampering, realizes the authenticity and credibility of the data, and improves information collection. reliability and compliance.

WO2024174600A1PCT designated stage expired Publication Date: 2024-08-29XIAN THERMAL POWER RES INST CO LTD +1

Patent Information

Application Number
PCT/CN2023/131566
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-23
Filing Date
2023-11-14
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Information collection data is easily forged or tampered by malicious nodes during the transmission process, and lacks reliability and uniqueness verification, affecting the authenticity and credibility of the data.

Method used

Using blockchain technology, by obtaining the unique identification of the instrument, inputting the permission key, collecting data and images, and using hash encryption to form the data key and image key, combined with the instrument information, personnel information and object information, a zone is formed. Blocks form a blockchain to ensure that data cannot be tampered with and is traceable.

Benefits of technology

It achieves full-process encryption of the data collection process, improves the compliance, validity and reliability of information collection, ensures the authenticity and credibility of the data, and avoids data tampering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023131566_29082024_PF_FP_ABST
    Figure CN2023131566_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are an instrument blockchain information encryption method and system, and a device, a storage medium, a computer program product and a computer program. The method comprises: acquiring a unique identifier of an instrument; inputting a permission key, so as to acquire the permission to use the instrument; acquiring a hash value of the previous block and a timestamp, so as to form a block header; collecting original test data, packaging all the original test data, and performing hash encryption, so as to form a data key; collecting test process images, packaging all the test process images, and performing hash encryption, so as to form an image key; jointly forming a block body by means of the formed data key, the formed image key, and instrument information, test personnel information and test object information of a block under test; and combining the block header and the block body to form a new block, and linking the new block with the previous block, so as to form a blockchain, thereby completing the encryption of instrument blockchain information.
Need to check novelty before this filing date? Find Prior Art

Description

An instrument blockchain information encryption method, system, device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310157854.X filed in China on February 23, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to information data encryption technology, and specifically to an instrument blockchain information encryption method, system, device, storage medium, computer program product, and computer program. Background Art

[0004] Information collection and data are widely used in various aspects of production and daily life. Instruments and meters are often used to detect key characteristics or parameters of an object, often overlooking the reliability of the instrument itself, the qualifications of the operator, the uniqueness of the object being detected, and the operating process. Furthermore, the collected information can be forged or tampered with by malicious nodes. Blockchain technology provides a technical foundation for addressing these issues. Blockchain is a distributed ledger that uses cryptographic methods to ensure immutability and non-forgeability of data blocks in a chronologically linked chain. Therefore, how to use blockchain technology to encrypt collected information is a pressing issue.

[0005] Summary of the Invention

[0006] The purpose of this disclosure is to address the problem that the reliability of information collection data cannot be guaranteed, and to provide an instrument blockchain information encryption method, system, device and storage medium to ensure the authenticity, credibility and traceability of original detection data.

[0007] Embodiments of the present application provide an instrument blockchain information encryption method, system, device, storage medium, computer program product, and computer program.

[0008] The first embodiment of the present disclosure provides an instrument blockchain information encryption method, comprising the following steps:

[0009] Obtain the unique identification of the instrument;

[0010] Enter the permission key to obtain the permission to use the instrument;

[0011] Get the hash value and timestamp of the previous block to form the block header;

[0012] Collecting raw detection data, packaging all the raw detection data, and performing hash encryption to form a data key;

[0013] Collect detection process images, package all the detection process images, and perform hash encryption to form an image key;

[0014] The formed data key and image key, as well as the instrument information, detection personnel information, and detection object information of the detection block together form a block body; and

[0015] The block header and the block body are combined into a new block, which is linked to the previous block to form a blockchain, thereby completing the encryption of the instrument blockchain information.

[0016] In some embodiments, the unique identifier of the instrument is a QR code, and the step of obtaining the unique identifier of the instrument includes scanning the QR code using a camera.

[0017] In some embodiments, the authority key is obtained by applying for it from the instrument administrator.

[0018] In some embodiments, in the step of obtaining the hash value and timestamp of the previous block to form a block header, in response to the user entering a correct authority key, the hash value of the previous block and the timestamp are automatically filled in as components of the block header.

[0019] In some embodiments, the step of collecting the detection process image includes:

[0020] Collect the operator's facial image and confirm the operator's personnel information and qualifications in the background;

[0021] Collect images of the detected object and identify basic information of the detected object in the background;

[0022] Capture images of the instrument and confirm basic information of the instrument in the background; and

[0023] Collect images of the operation process.

[0024] In some embodiments, the new block formed by combining the block header and the block body is linked to the previous block through the hash value of the previous block.

[0025] A second embodiment of the present disclosure provides an instrument blockchain information encryption system, including:

[0026] An instrument identification module, used to assign a unique identification to the instrument;

[0027] An identification acquisition module, used to obtain a unique identification of the instrument;

[0028] Key module, used to input the permission key and obtain the instrument use permission;

[0029] A signal acquisition module is used to collect raw detection data and package all the raw detection data;

[0030] An image acquisition module is used to acquire detection process images and package all the detection process images;

[0031] The encryption module is used to download the packaged original detection data and the detection process image respectively, and perform hash encryption to form a data key and an image key;

[0032] A block combination module is used to obtain the hash value and timestamp of the previous block to form a block header; and to combine the formed data key and image key and the instrument information, detection personnel information, and detection object information of the detection block to form a block body; and to combine the block header and the block body to form a new block; and

[0033] The link module is used to connect the new block with the previous block to form a blockchain and complete the encryption of the instrument blockchain information.

[0034] In some embodiments, a wireless transmission module and a display module are also included;

[0035] The wireless transmission module is used to realize wireless transmission of data including the authority key, the data key and the image key; and

[0036] The display module is used to provide a human-machine interface display for operators, managers, instrument operations, and blockchain operations.

[0037] A third aspect of the present disclosure provides an electronic device, including:

[0038] a memory storing at least one instruction; and

[0039] The processor executes the instructions stored in the memory to implement the instrument blockchain information encryption method described in the embodiment of the first aspect.

[0040] An embodiment of the fourth aspect of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the instrument blockchain information encryption method of the above-mentioned embodiment of the first aspect.

[0041] The fifth aspect embodiment of the present disclosure provides a computer program product. When the instructions in the computer program product are executed by a processor, the instrument blockchain information encryption method of the first aspect embodiment is executed.

[0042] A sixth aspect embodiment of the present disclosure provides a computer program, which includes computer program code. When the computer program code is run on a computer, the computer executes the instrument blockchain information encryption method of the first aspect embodiment.

[0043] Compared with the existing technology, the instrument blockchain information encryption method provided by the embodiment of the present disclosure has at least the following beneficial effects:

[0044] By obtaining the hash value and timestamp of the previous block to form a block header, the data key and image key, as well as the instrument information, detection personnel information, and detection object information of the detection block are combined to form a block body; the block header and block body are combined into a new block, which is linked to the previous block to form a blockchain, completing the blockchain information encryption of the instrument. The present disclosure is based on blockchain technology and will affect all aspects of instrument information collection, including the reliability of the instrument itself, the qualifications of the operator, the uniqueness of the detected object, and the operation process. Blockchain technology is used for encryption, thereby realizing full-process information encryption during the data collection process, which facilitates supervision by other nodes, realizes the authenticity and traceability of the original detection data, and avoids data tampering. The instrument information encryption method disclosed in the present disclosure improves the compliance, effectiveness, and reliability of the information collection process. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show some embodiments of the present disclosure. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without any creative work.

[0046] FIG1 is a flow chart of a method for encrypting information on a blockchain instrument according to an embodiment of the present disclosure;

[0047] Figure 2 is a structural block diagram of the blockchain information encryption system of the instrument in the embodiment of the present disclosure. DETAILED DESCRIPTION

[0048] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments of the present disclosure, ordinary technicians in this field can also derive other embodiments without making any creative work.

[0049] Information collection and data collection are widely used in various production and daily life applications. Instruments are often used to detect key characteristics or parameters of an object. This often overlooks the reliability of the instrument itself, the qualifications of the operator, the uniqueness of the object being detected, and the operation process. Furthermore, if there are malicious nodes, the collected information may be forged or tampered with by the malicious node.

[0050] Therefore, the embodiments of the present disclosure propose an instrument blockchain information encryption method, system, device, storage medium, computer program product and computer program, which will affect each link of information collection and use blockchain technology for encryption, which can solve the above problems to a certain extent.

[0051] Please refer to Figure 1. An instrument blockchain information encryption method according to an embodiment of the present disclosure includes the following steps S1 to S7.

[0052] S1. Obtain a unique identifier of an instrument and start creating a new block. In the embodiment of the present disclosure, the unique identifier of the instrument uses a QR code, and the step of obtaining the unique identifier of the instrument includes scanning the QR code using a camera.

[0053] S2. Enter the authority key to obtain the instrument use permission; the authority key can be obtained by applying for it from the instrument administrator.

[0054] S3. Obtain the hash value and timestamp of the previous block to form a block header. In response to the user entering the correct authority key, the hash value and timestamp of the previous block are automatically filled in as components of the block header.

[0055] S4. Collect the original detection data, package all the original detection data, and perform hash encryption to form a data key.

[0056] S5. Collect detection process images, package all detection process images, and perform hash encryption to form an image key.

[0057] The steps of collecting images of the detection process described in the embodiment of the present disclosure include: collecting a facial image of the operator and confirming the operator's personnel information and qualifications in the background; collecting an image of the object to be detected and identifying the basic information of the object to be detected in the background; collecting an image of the instrument and confirming the basic information of the instrument in the background; and collecting an image of the operation process.

[0058] S6. The generated data key and image key are used as components of the block body. The block body includes many contents, including, in addition to the data key and image key, the instrument information of the detection block, the detection personnel information, the detection object information, etc.

[0059] S7. The block header and block body are combined into a new block, which is linked to the previous block through the hash value of the previous block to form a blockchain, completing the encryption of the instrument blockchain information.

[0060] Referring to FIG. 2 , a second embodiment of the present disclosure provides an instrument blockchain information encryption system, including:

[0061] Instrument identification module, used to give a unique identification to the instrument;

[0062] An identification acquisition module is used to obtain the unique identification of the instrument;

[0063] Key module, used to input the permission key and obtain the instrument use permission;

[0064] Signal acquisition module, used to collect raw detection data and package all raw detection data;

[0065] Image acquisition module, used to collect detection process images and package all detection process images;

[0066] The encryption module is used to download the packaged original detection data and the detection process image respectively, and perform hash encryption to form a data key and an image key;

[0067] The block combination module is used to obtain the hash value and timestamp of the previous block to form a block header; and to combine the formed data key and image key as well as the instrument information, detection personnel information, and detection object information of the detection block to form a block body; and to combine the block header and block body into a new block; and

[0068] The link module is used to connect the new block with the previous block to form a blockchain and complete the encryption of the instrument blockchain information.

[0069] In some embodiments, the encryption module is a data operation processor with a built-in encryption algorithm to perform hash encryption on input data. The key module is used to provide passwords between operators and administrators.

[0070] In some embodiments, the instrument identification module assigns a unique identifier to the instrument using a QR code, or an instrument image, which is then recognized and confirmed by the backend. When the unique identifier is a QR code, the identifier acquisition module can use a camera to scan the QR code when acquiring the unique identifier of the instrument.

[0071] In one possible implementation, the blockchain information encryption system for the instrument of the disclosed embodiment further includes a wireless transmission module and a display module;

[0072] The wireless transmission module is used to realize wireless transmission of data including authority keys, data keys and image keys, which can solve the layout inconvenience caused by wired connections.

[0073] The display module is used to provide a human-machine interface display for operators, managers, instrument operations, and blockchain operations.

[0074] A third embodiment of the present disclosure provides an electronic device, including:

[0075] a memory storing at least one instruction; and

[0076] The processor executes the instructions stored in the memory to implement the instrument blockchain information encryption method.

[0077] The fourth aspect embodiment of the present disclosure proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the instrument blockchain information encryption method of the first aspect embodiment.

[0078] The fifth aspect embodiment of the present disclosure provides a computer program product. When the instructions in the computer program product are executed by a processor, the instrument blockchain information encryption method of the first aspect embodiment is executed.

[0079] A sixth aspect embodiment of the present disclosure provides a computer program, which includes computer program code. When the computer program code is run on a computer, the computer executes the instrument blockchain information encryption method of the first aspect embodiment.

[0080] Exemplarily, the instructions stored in the memory may be divided into one or more modules / units, which are stored in a computer-readable storage medium and executed by the processor to implement the instrument blockchain information encryption method described in this disclosure. The one or more modules / units may be a series of computer-readable instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the server.

[0081] The electronic device may be a computing device such as a smartphone, laptop, PDA, or cloud server. The electronic device may include, but is not limited to, a processor and memory. Those skilled in the art will appreciate that the electronic device may include more or fewer components, or a combination of certain components, or different components. For example, the electronic device may also include input / output devices, network access devices, buses, and the like.

[0082] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0083] The memory may be an internal storage unit of the server, such as a hard disk or memory of the server. The memory may also be an external storage device of the server, such as a plug-in hard disk equipped on the server, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Furthermore, the memory may include both an internal storage unit of the server and an external storage device. The memory is used to store the computer-readable instructions and other programs and data required by the server. The memory may also be used to temporarily store data that has been output or is about to be output.

[0084] It should be noted that the information interaction, execution process, etc. between the above-mentioned module units are based on the same concept as the method embodiment. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0085] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this disclosure. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0086] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present disclosure implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.

[0087] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0088] It should be noted that the explanations of the instrument blockchain information encryption method and system in the aforementioned embodiments are also applicable to the devices, computer-readable storage media, computer program products and computer programs of the embodiments of the present disclosure and will not be repeated here.

[0089] All embodiments of the present disclosure may be implemented individually or in combination with other embodiments, and are all considered to be within the scope of protection claimed by the present disclosure.

[0090] The embodiments described above are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present disclosure, and should all be included in the scope of protection of the present disclosure.

Claims

1. A method for encrypting information on an instrument blockchain, characterized in that: The following steps are involved: Get the unique identification of the instrument; Enter the permission key to obtain the permission to use the instrument; Get the hash value and timestamp of the previous block to form the block header; Collecting original detection data, packaging all the original detection data, and performing hash encryption to form a data key; Collect detection process images, package all the detection process images, and perform hash encryption to form an image key; The formed data key and the image key as well as the instrument information, the detection personnel information and the detection object information of the detection block together form a block body; and The block header and the block body are combined into a new block, which is linked to the previous block to form a blockchain, thereby completing the encryption of the instrument blockchain information.

2. The instrument blockchain information encryption method according to claim 1, characterized in that: The unique identification of the instrument is a QR code, and the step of obtaining the unique identification of the instrument includes scanning the QR code using a camera.

3. The instrument blockchain information encryption method according to claim 1 or 2, characterized in that: The authority key is obtained by applying for it from the instrument administrator.

4. The instrument blockchain information encryption method according to any one of claims 1 to 3, characterized in that: In the step of obtaining the hash value and timestamp of the previous block to form a block header, in response to the user inputting a correct authority key, the hash value of the previous block and the timestamp are automatically filled in as components of the block header.

5. The instrument blockchain information encryption method according to any one of claims 1 to 4, characterized in that: The step of collecting the detection process image comprises: Collect the operator's facial image and confirm the operator's personnel information and qualifications in the background; Collect images of detected objects and identify basic information of the detected objects in the background; Capturing an image of the instrument and confirming basic information of the instrument in the background; and Collect images of the operation process.

6. The instrument blockchain information encryption method according to any one of claims 1 to 5, characterized in that: The new block composed of the block header and the block body is linked to the previous block through the hash value of the previous block.

7. An instrument blockchain information encryption system, characterized in that: include: An instrument identification module, used to assign a unique identification to the instrument; An identification acquisition module, used to obtain a unique identification of the instrument; Key module, used to input the permission key and obtain the instrument use permission; A signal acquisition module, used to collect raw detection data and package all the raw detection data; An image acquisition module is used to acquire detection process images and package all the detection process images; The encryption module is used to download the packaged original detection data and the detection process image respectively, and perform hash encryption to form a data key and an image key; The block combination module is used to obtain the hash value and timestamp of the previous block to form the block header; The formed data key and image key as well as the instrument information, detection personnel information and detection object information of the detection block are combined into a block body; the block header and the block body are combined into a new block; and The link module is used to link the new block with the previous block to form a blockchain and complete the encryption of the instrument blockchain information.

8. The instrument blockchain information encryption system according to claim 7 is characterized in that: It also includes a wireless transmission module and a display module; The wireless transmission module is used to realize wireless transmission of data including the authority key, the data key and the image key; and The display module is used to provide a human-machine interface display for operators, managers, instrument operations, and blockchain operations.

9. An electronic device, characterized in that: include: A memory storing at least one instruction; and A processor executes instructions stored in the memory to implement the instrument blockchain information encryption method as described in any one of claims 1 to 6.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the instrument blockchain information encryption method as described in any one of claims 1 to 6 is implemented.

11. A computer program product, when the instructions in the computer program product are executed by a processor, performs the instrument blockchain information encryption method as described in any one of claims 1 to 6.

12. A computer program, comprising a computer program code, which, when executed on a computer, enables the computer to execute the instrument blockchain information encryption method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Air monitoring data storage system and storage method based on block chain

    CN109033876A

  • A water quality monitoring data storage system and a storage method based on a block chain

    CN109145648A

  • Environmental protection monitoring data monitoring system, processing method, computer device and storage medium

    CN110278090A

  • Block chain system for tracing special equipment in constructional engineering

    CN111681016A

  • Large agricultural product traceability management system based on block chain technology

    CN112464253A

Cited By

  • Instrument block chain information encryption method, system and device and storage medium

    CN116388993A

  • Intelligent monitoring system and method for anesthesia state

    CN119302615A