PET DICOM data encryption export method, storage medium and equipment
By anonymizing, encrypting, compressing and hash verification of PET DICOM data, the problems of a lot of data, large space, long export time and information leakage during the PET DICOM data export process are solved, and faster and safer data export is achieved.
Patent Information
- Application Number
- CN202411805179.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-11
AI Technical Summary
The existing PET DICOM data export has problems such as a lot of data, large space, long export time, and patient information leakage, and lacks file data verification and inspection.
Provide a PET DICOM data encryption and export method, which ensures the security and integrity of the data during the export process through anonymization processing, encryption processing, compression processing and data hash verification.
It realizes faster and safer PET DICOM data export, reduces data footprint, ensures data confidentiality and integrity, and prevents patient information leakage.
Smart Images

Figure CN119603408A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical technology, and in particular to a PET DICOM data encryption export method, storage medium and equipment. Background Art
[0002] PET (Positron Emission Tomography) stands for Positron Emission Tomography. It uses radionuclides that can emit positrons to label compounds that can participate in the blood flow or metabolic process of human tissues to obtain images of cross-sections, coronal sections, and sagittal sections of the human body.
[0003] CT (Computed Tomography) is a computer tomography scan that uses a precisely collimated X-ray beam and a highly sensitive detector to perform cross-sectional scans around a certain part of the human body one by one. It has the characteristics of fast scanning time and clear images, and can be used to detect a variety of diseases.
[0004] PET CT is an organic combination of PET and CT. PET CT uses the same examination bed and an image workstation. PET CT has the functions of PET, CT and fusion of PET and CT images. The PET CT software system is mainly divided into CT system and PET system.
[0005] PET CT has improved the inspection efficiency and the detection method has also been significantly improved. It scans in a spiral form, the inspection time is relatively short, and the impact on the human body is reduced. At the same time, PET CT can understand the size and shape distribution of the corresponding organs and pathological tissues in three dimensions, which can provide an important scientific basis for the next step of disease treatment.
[0006] The PET software system consists of multiple subsystem modules, including data acquisition system, reconstruction system, scanning control system, data management system, and imaging workstation system.
[0007] DICOM is Digital Imaging and Communications in Medicine, a standard for describing how medical images and their metadata are stored and transmitted between devices. The DICOM standard supports data storage for multiple medical imaging modalities, including CT, PET, MRI, X-ray, and ultrasound. Its advantage is that it is a common standard for storing images in the medical field, and it can acquire and store image volumes and patient data in a single data storage, and images saved in DICOM format have a high dynamic range.
[0008] PET DICOM data is data collected by the PET data reconstruction system. The reconstruction system processes the collected scan raw data and related information through a reconstruction algorithm to form DICOM data.
[0009] DICOM data export refers to the process of exporting DICOM data from the current PETCT system.
[0010] In summary, the current export of PET DICOM data has the following problems:
[0011] 1. The export contains a lot of data. When exporting DICOM data, you may need to export multiple series of DICOM data.
[0012] 2. It takes up a lot of space and takes a long time to export. Since there are many PET DICOM data files, exporting requires a lot of storage space and takes a long time to export data.
[0013] 3. Patient information can be easily leaked. The exported DICOM data is not desensitized and can easily leak patient privacy information.
[0014] 4. Lack of file data verification check. The exported DICOM data may cause file loss or file damage during the transmission process. The lack of a checking mechanism may cause import failure when importing DICOM data. Summary of the invention
[0015] Technical issues to be solved
[0016] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a PET DICOM data encryption export method, storage medium and device, which solve the technical problem of how to export PET DICOM data quickly and securely.
[0017] Technical Solution
[0018] In order to achieve the above object, the main technical solutions adopted by the present invention include:
[0019] In a first aspect, the present invention provides a method for encrypting and exporting PET DICOM data, comprising:
[0020] Determine the PET DICOM data to be exported;
[0021] Determine whether to anonymize and whether to encrypt;
[0022] If anonymization is determined, determine the anonymization option, and anonymize the PETDICOM data according to the anonymization option when exporting the data;
[0023] In the case of determining encryption, determining an encryption password, and encrypting the PET DICOM data according to the encryption password when exporting the data;
[0024] Determine the export path and create a temporary directory;
[0025] Export the anonymized PET DICOM data to a temporary directory;
[0026] The PET DICOM data in the temporary directory is compressed and encrypted to generate an Enc file, and the Enc file is exported to the target path.
[0027] Optionally, the PET DICOM data is compressed by a zip compression algorithm.
[0028] Optionally, the compressed data is encrypted using a Res encryption algorithm.
[0029] Optionally, an Enc file is generated according to the software information, the file version information, the data file after the PET DICOM data in the temporary directory is compressed and encrypted, and the file Hash value.
[0030] Optionally, a SHA256 algorithm is used to obtain a hash value of the data file.
[0031] Optionally, the method further comprises:
[0032] After exporting the Enc file to the target path, clean up the temporary directory and temporary files used in the export process.
[0033] In a second aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed, the method for encrypting and exporting PET DICOM data as described in any one of the first aspects above is implemented.
[0034] In a third aspect, the present invention provides a storage device, including a storage medium and a processor, wherein the storage medium stores a computer program, and when the program is executed by the processor, the method for encrypting and exporting PET DICOM data described in any one of the first aspects is implemented.
[0035] Beneficial Effects
[0036] The beneficial effects of the present invention are as follows: a PET DICOM data encryption export method of the present invention can export PET DICOM data more quickly and more safely. In the export process, the exported DICOM data is encrypted and compressed, so that the export is safer and more efficient, and the space occupied by the data is smaller. The export software version and the DICOM data file format version are recorded in the export file. By checking the DICOM data export software version and the DICOM data format version, incompatible data of the historical version is specially processed in the new software so that the data can be imported normally. The Hash value of the DICOM data is recorded in the export file. When importing, the Hash value of the DICOM data is checked to ensure that the DICOM data part is not damaged or the data is lost. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A flowchart of a PET DICOM data encryption export method provided by an embodiment of the present invention;
[0038] Figure 2 A schematic diagram of the Enc file storage format provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below in conjunction with the accompanying drawings through specific embodiments. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a clearer and more thorough understanding of the present invention and to be able to fully convey the scope of the present invention to those skilled in the art.
[0040] First, refer to Figure 1 This embodiment provides a PET DICOM data encryption export method, comprising:
[0041] S1, determine the PET DICOM data to be exported.
[0042] S2, determine whether to anonymize and encrypt.
[0043] S3, when anonymization is determined, determine an anonymization option, and anonymize the PET DICOM data according to the anonymization option when exporting the data.
[0044] S4, when encryption is determined, determining an encryption password, and encrypting the PETDICOM data according to the encryption password when exporting the data.
[0045] S5, determine the export path and create a temporary directory.
[0046] S6, exporting the anonymized PET DICOM data to a temporary directory.
[0047] S7, compressing and encrypting the PET DICOM data in the temporary directory to generate an Enc file, and exporting the Enc file to a target path.
[0048] The present embodiment provides a PET DICOM data encryption export method, which improves the export efficiency. The DICOM data files that occupy a large space are compressed, which not only reduces the occupied space, but also improves the export efficiency. Anonymization settings are provided. For patient data that needs to be desensitized, the exported data can be anonymized to prevent patient information from being leaked. Add data Hash verification. A Hash value is added to the exported DICOM data. When using the file for import, check whether the exported data Hash value matches the recorded Hash value to ensure that the DICOM data is not damaged or lost. Improved data security. During export, passwords are used to protect DICOM data files. When using the exported file, the correct password needs to be entered to decrypt the DICOM data file.
[0049] Optionally, the PET DICOM data is compressed by a zip compression algorithm.
[0050] Using the ZIP compression algorithm to compress PET DICOM data can help medical institutions save storage space, improve data transmission efficiency, and simplify data management. The compression process will not affect the quality of image data, ensuring the integrity and availability of the data.
[0051] Optionally, the compressed data is encrypted using the Res encryption algorithm. This can significantly improve data security and protect sensitive information from being leaked, tampered with, or stolen. At the same time, encryption also provides higher protection for data transmission and storage, ensuring the confidentiality, integrity, and reliability of data.
[0052] Optionally, an Enc file is generated according to the software information, the file version information, the data file after the PET DICOM data in the temporary directory is compressed and encrypted, and the file Hash value.
[0053] Optionally, the SHA256 algorithm is used to obtain the hash value of the data file. It can effectively detect whether the file has been tampered with. It has strong collision resistance and ensures the uniqueness and unforgeability of the file hash value. It has fast calculation speed and is suitable for large-scale data processing. It is easy to implement in different platforms and systems.
[0054] Optionally, the method further comprises:
[0055] After exporting the Enc file to the target path, clean up the temporary directory and temporary files used in the export process.
[0056] It helps to free up storage space and avoid the accumulation of useless temporary files that occupy too much disk space. The cleanup process can reduce security risks and prevent sensitive data leakage, because temporary files may contain unencrypted data or intermediate processing information. It also helps to improve system performance and ensure that too many useless files will not cause file system clutter or affect the efficiency of other operations.
[0057] like Figure 2 As shown, the Enc file storage formats include:
[0058] File format mark: mark the current file as Enc format file. Header information: record the export software and Enc file version information. DICOM data information: record DICOM data Hash value, etc. DICOM data content: DICOM data content after compression and encryption.
[0059] In a second aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed, the method for encrypting and exporting PET DICOM data as described in any one of the first aspects above is implemented.
[0060] In a third aspect, an embodiment of the present invention provides a storage device, including a storage medium and a processor, wherein the storage medium stores a computer program, and when the program is executed by the processor, the method for encrypting and exporting PETDICOM data described in any one of the first aspects is implemented.
[0061] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0062] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.
[0063] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may alter, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A PET DICOM data encryption export method, characterized in that: include: Determine the PET DICOM data to be exported; Determine whether to anonymize and whether to encrypt; If anonymization is determined, an anonymization option is determined, and the PET DICOM data is anonymized according to the anonymization option when exporting the data; In the case of determining encryption, determining an encryption password, and encrypting the PET DICOM data according to the encryption password when exporting the data; Determine the export path and create a temporary directory; Export the anonymized PET DICOM data to a temporary directory; The PET DICOM data in the temporary directory is compressed and encrypted to generate an Enc file, and the Enc file is exported to the target path.
2. A PET DICOM data encryption export method according to claim 1, characterized in that: PET DICOM data is compressed using the zip compression algorithm.
3. A PET DICOM data encryption export method according to claim 2, characterized in that: The Res encryption algorithm is used to encrypt the compressed data.
4. A PET DICOM data encryption export method according to claim 3, characterized in that: Generate an Enc file based on the software information, file version information, data files compressed and encrypted for the PET DICOM data in the temporary directory, and the file Hash value.
5. A PET DICOM data encryption export method according to claim 4, characterized in that: Use the SHA256 algorithm to obtain the hash value of the data file.
6. A PET DICOM data encryption export method according to claim 5, characterized in that: The method further comprises: After exporting the Enc file to the target path, clean up the temporary directory and temporary files used in the export process.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for encrypting and exporting PET DICOM data as claimed in any one of claims 1 to 6 is implemented.
8. A storage device comprising a storage medium and a processor, wherein the storage medium stores a computer program, wherein: When the processor executes the computer program, the method for encrypting and exporting PET DICOM data as claimed in any one of claims 1 to 6 is implemented.