CN112530551A - Image processing system and method - Google Patents
Image processing system and method Download PDFInfo
- Publication number
- CN112530551A CN112530551A CN202011435223.2A CN202011435223A CN112530551A CN 112530551 A CN112530551 A CN 112530551A CN 202011435223 A CN202011435223 A CN 202011435223A CN 112530551 A CN112530551 A CN 112530551A
- Authority
- CN
- China
- Prior art keywords
- image data
- file
- module
- target image
- image file
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H30/00—ICT specially adapted for the handling or processing of medical images
- G16H30/20—ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Bioethics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Medical Informatics (AREA)
- Radiology & Medical Imaging (AREA)
- Epidemiology (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application relates to a system and a method for processing images, which comprises the following steps: the device comprises a file receiving module, a metadata module, a data segmentation module and at least one file storage module. The file receiving module is used for decomposing the received image file to obtain meta information and image data of the image file, sending the meta information to the meta data module and sending the image data to the data segmentation module; the data cutting module is used for carrying out blocking processing on the image data to obtain at least two image data blocks, and respectively sending the at least two image data blocks to different file storage modules so as to enable each file storage module to store the received image data blocks; and the metadata module is used for encrypting and storing the metadata, and associating and storing the metadata with the received address information of each file storage module and the identifier of each image data block. The system and the method realize the high-efficiency storage of the image file.
Description
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a system and a method for processing an image.
Background
With the continuous development of cloud computing and the deep application of various industries, more and more industries store own data in a cloud. The medical industry is a mastery force among them, and with the storage of massive medical images in the cloud, how to efficiently and safely store and retrieve becomes a critical affair.
At present, a client uploads a checked DICOM medical image file to a cloud server for storage, and when the client needs to read the DICOM medical image file, the DICOM medical image file is directly downloaded from the cloud server for display. In this process, in order to improve the security of medical image file storage, the cloud server generally encrypts and stores the received DICOM medical image file. However, when dealing with a large amount of DICOM medical images, the above method of storing the DICOM medical image file has a problem of low storage efficiency.
Disclosure of Invention
In view of the above, it is desirable to provide an image processing system and method capable of improving storage efficiency.
In a first aspect, a system for processing an image, the system comprising:
the file receiving module is used for decomposing the received image file to obtain meta information and image data of the image file, sending the meta information to the meta data module and sending the image data to the data segmentation module;
the data segmentation module is used for carrying out block processing on the image data to obtain at least two image data blocks and respectively sending the at least two image data blocks to different file storage modules;
each file storage module is used for storing the received image data block and sending the address information of the file storage module to the metadata module;
and the metadata module is used for encrypting and storing the metadata, and associating and storing the metadata and the received address information of each file storage module.
In one embodiment, the system further comprises:
and the compression module is used for compressing the received image data to obtain compressed image data and sending the compressed image data to the data segmentation module so as to indicate the data segmentation module to perform block processing on the compressed image data to obtain at least two image data blocks.
In one embodiment, the data segmentation module is specifically configured to perform block fault-tolerant encoding on the image data to obtain the at least two image data blocks.
In one embodiment, the system further comprises:
and the backup module is used for backing up the at least two image data blocks according to a preset backup quantity and respectively sending the backed-up at least two image data blocks to different file storage modules.
In one embodiment, the metadata module is further configured to send a message of successful storage to the user side after associating and storing the metadata with the address information of each file storage module.
In one embodiment, the system further comprises:
the file acquisition module is used for receiving a reading request of a target image file, acquiring meta information of the target image file from the meta data module according to the reading request, acquiring image data of the target image file from each file storage module according to the meta information of the target image file, and acquiring the target image file according to the meta information of the target image file and the image data of the target image file;
or, the file obtaining module is configured to receive a modification request of a target image file, obtain meta information of the target image file from the meta data module according to the modification request, obtain image data of the target image file from each file storage module according to the meta information of the target image file, obtain the target image file according to the meta information of the target image file and the image data of the target image file, and modify the target image file according to the modification request.
In one embodiment, the file obtaining module includes:
an obtaining unit, configured to obtain, according to the received read request, meta information of the target image file from the meta data module, and obtain, according to address information of each of the file storage modules associated with the meta information, an image data block of the target image file from each of the file storage modules;
the merging unit is used for merging each image data block to obtain merged image data;
and the integration unit is used for integrating the meta information of the target file and the merged image data to obtain the target file.
In one embodiment, the file obtaining module further includes:
and the modifying unit is used for modifying the target image file according to the modifying request.
In one embodiment, if the merged image data is compressed image data, the file obtaining module further includes:
and the decompression unit is used for decompressing the merged image data to obtain decompressed image data and sending the decompressed image data to the integration unit so as to instruct the integration unit to integrate the meta information of the target file and the decompressed image data to obtain the target image file.
In one embodiment, the file acquiring module is further configured to send the target image file to a user side.
In a second aspect, a method for processing an image, the method comprising:
decomposing the received image file to obtain the meta information and the image data of the image file, and encrypting and storing the meta information;
the image data is processed in a blocking mode, and at least two image data blocks are obtained and stored;
and associating and storing the meta information with address information for storing each image data block and an identifier of each image data block.
In one embodiment, the system further includes a file acquisition module, and the method further includes:
acquiring meta information of a target image file according to a received reading request, acquiring image data of the target image file according to the meta information of the target image file, and merging the meta information of the target image file and the image data of the target image file to obtain the target image file;
or acquiring meta information of a target image file according to a received modification request, acquiring image data of the target image file according to the meta information of the target image file, merging the meta information of the target image file and the image data of the target image file to obtain the target image file, and modifying the target image file.
The image processing system and the image processing method realize efficient storage of the image files, wherein the file receiving module does not immediately encrypt and store the whole image file after receiving the image file uploaded by the client, but decomposes the image file and only encrypts the meta information obtained after decomposition. Because the meta-information usually represents the private information of the patient and the occupied data volume is very small, the encryption of the meta-information can prevent the leakage of the private information of the patient, and the private information of the patient represented by the image data is less, so that the influence of the leakage of the private information on the patient can not be caused even if the image data is leaked, and the occupied data volume of the image data is very large, and if the image data is encrypted, the storage efficiency of the whole image file is extremely low, therefore, the processing system of the image improves the storage efficiency of the whole image file by only encrypting the meta-information. In addition, the image data is divided into a plurality of image data blocks and distributed to different file storage modules for storage, so that the possibility of image file leakage is reduced, and the safety of image file storage is improved.
Drawings
FIG. 1 is a schematic diagram of an image processing system according to an embodiment;
FIG. 2 is a schematic diagram of an image processing system according to an embodiment;
FIG. 3 is a schematic diagram of an image processing system according to an embodiment;
FIG. 4 is a schematic diagram of an image processing system according to an embodiment;
FIG. 5 is a schematic diagram of an image processing system according to an embodiment;
FIG. 6 is a block diagram of an image processing system in one embodiment;
FIG. 7 is a flow diagram illustrating a method for processing an image, under an embodiment;
FIG. 8 is a flow diagram illustrating a method for processing an image, under an embodiment;
FIG. 9 is a schematic diagram showing an internal configuration of a computer device in one embodiment;
the client 10 comprises a file receiving module 11;
the metadata module 12 and the data segmentation module 13;
the file storage module 14 compresses the module 15;
the backup module 16 is a file acquisition module 17;
the acquisition unit 171 merges the unit 172;
the integration unit 173 decompresses the unit 174;
the unit 175 is modified.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, the present application provides an image processing system, comprising: the file receiving module 11, the metadata module 12, the data segmentation module 13, and at least one file storage module 14. The file receiving module 11 is configured to decompose the received image file to obtain meta information and image data of the image file, send the meta information to the meta data module 12, and send the image data to the data segmentation module 13; the data segmentation module 13 is configured to perform block processing on the image data to obtain at least two image data blocks, and send the at least two image data blocks to different file storage modules 14 respectively; each file storage module 14 is configured to store the received image data block, and send address information of the file storage module and an identifier of the image data block to the metadata module 12; the metadata module 12 is used for encrypting and storing the metadata, and associating and storing the metadata with the received address information of each file storage module and the identifier of each image data block.
In this embodiment, the image is a medical image obtained by a medical Imaging device, and the medical Imaging device includes a Computed Tomography (CT) device, a Magnetic Resonance Imaging (MRI) device, an X-Ray Imaging (XR) device, a Molecular Imaging device, an ultrasound device, and a multi-modality medical Imaging device combined with the above devices.
The image file is a Digital Imaging and Communications in Medicine (DICOM) file. The meta information (i.e. Tag information of the DICOM file) includes: image information, such as image width, height and data transmission format, and patient information, such as patient name, patient birthday, case hospital, case department, and description of illness state; the image data is image data of a patient in the meta information.
The file receiving module 11, the metadata module 12, and the data splitting module 13 may be respectively disposed on different servers to form a server cluster, or may be disposed on a single server; the file storage modules 14 may be respectively disposed on different servers to form a server cluster, or may be disposed on a single server.
Optionally, the data segmentation module 13 may be specifically configured to perform block fault-tolerant coding on the received image data to obtain at least two image data blocks.
In this embodiment, the client 10 may be any type of imaging device, and may also be any type of user terminal capable of acquiring an image file. When the client 10 acquires an image file, the image file may be uploaded to a file receiving module 11 in the image processing system, the file receiving module 11 may decompose or split the image file by analyzing the image file when receiving the image file, specifically, may analyze the meta information and the image data from the image file, then send the meta information and the image data to a meta data module 12 and a data segmentation module 13, respectively, the meta data module 12 may encrypt the meta information by using a preset encryption algorithm after receiving the meta information, and the data segmentation module 13 may perform block segmentation on the image data after receiving the image data to obtain a plurality of image data blocks, and perform coding operation (e.g., fault-tolerant coding) on each image data block to identify each image data block. Then, the data segmentation module 13 sends the plurality of image data blocks to the plurality of file storage modules 14, each file storage module 14 stores one image data block correspondingly, optionally, each file storage module 14 may also store a plurality of image data blocks correspondingly, and this is not limited here, as long as part or all of the plurality of image data blocks are stored separately, rather than all of them are stored in one file storage module 14 in a centralized manner. After each file storage module 14 stores the corresponding image data block, it may obtain its own address information, such as an IP address, and then feed back its own address information and the identifier of the image data block stored therein to the metadata module 12, so that after receiving the address information and the identifier fed back by each file storage module 14, the metadata module 12 may further determine the corresponding metadata according to the identifier of the image data block, and associate and store the metadata with the address information of each file storage module 14 and the identifier of the image data block, so that the client 10 may call when reading the image file composed of each image data block.
The image processing system provided by the above embodiment realizes efficient storage of image files, wherein the file receiving module does not immediately encrypt and store the entire image file after receiving the image file uploaded by the client, but decomposes the image file and encrypts only the meta information obtained after decomposition. Because the meta-information usually represents the private information of the patient and the occupied data volume is very small, the encryption of the meta-information can prevent the leakage of the private information of the patient, and the private information of the patient represented by the image data is less, so that the influence of the leakage of the private information on the patient can not be caused even if the image data is leaked, and the occupied data volume of the image data is very large, and if the image data is encrypted, the storage efficiency of the whole image file is extremely low, therefore, the processing system of the image improves the storage efficiency of the whole image file by only encrypting the meta-information. In addition, because the image data is split into a plurality of image data blocks and distributed to different file storage modules for storage, even if part of the image data blocks are leaked, the whole image file is not leaked, the possibility of leakage of the whole image file is reduced, and the safety of image file storage is improved.
Moreover, after the image file is stored, if the image file needs to be subjected to information preview or information modification, only the meta information of the meta data module needs to be read, modified and stored, so that the efficiency and the resource occupation are improved.
In an application environment, the metadata module 12 is further configured to send a message of successful storage to the client 10 after associating and storing the metadata with the address information of each file storage module 14 and the identifier of each image data block. After the metadata module 12 associates and stores the metadata with the address information of each file storage module and the identifier of each image data block, it indicates that the image file uploaded to the file receiving module 14 by the client 10 has been safely stored, at this time, the metadata module 12 may feed back a message of successful storage to the client 10 to inform the user of the client 10 that the safe storage has been completed, and the user may retrieve the metadata at any time.
Referring to fig. 2, the present application provides an image processing system, which further includes, on the basis of the system shown in fig. 1: the compression module 15 and the compression module 14 are configured to compress the received image data to obtain compressed image data, and send the compressed image data to the data segmentation module 13, so as to instruct the data segmentation module 13 to perform block processing on the compressed image data to obtain at least two image data blocks.
The compression module 15 may be disposed on a server, and is dedicated to compressing image data. Optionally, the compression module 15 may also be disposed on the same server as the data segmentation module 13, and configured to segment the compressed image data after compressing the image data.
In this embodiment, when the client 10 obtains an image file, the image file may be uploaded to the file receiving module 11, the file receiving module 11 decomposes the image file to obtain meta information and image data, then the meta information is sent to the metadata module 12, the image data is sent to the compression module 15, after receiving the image data, may compress the image file by using a professional compression algorithm with a high compression ratio to obtain compressed image data, and then send the compressed image data to the data splitting module 13, so that the data splitting module 13 splits the compressed image data, and performs coding operation on all split blocks to obtain a plurality of split image data blocks. Then, the data segmentation module 13 sends the plurality of image data blocks to the plurality of file storage modules 14 for storage. Because the image file can be compressed and stored by adopting a compression mode with high compression ratio in the implementation, the storage space can be effectively saved, and the method is particularly suitable for application scenes for storing massive images. And the data segmentation module can perform fault-tolerant coding operation on the compressed image data to obtain a plurality of segmented image data blocks, so that the disaster tolerance of file storage can be improved.
Referring to fig. 3, the present application provides an image processing system, which further includes, on the basis of the system shown in fig. 1 or fig. 2: and the backup module 16 is configured to backup at least two image data blocks according to a preset backup number, and send the at least two backed-up image data blocks to different file storage modules 14 respectively.
The backup module 16 may be disposed on a server, and is dedicated for backing up image data. Optionally, the backup module 16 may also be disposed on the same server as the data segmentation module 13, and configured to segment the image data and then backup each segmented image data block. The preset number of backups may be determined by backup module 16 in advance according to actual application requirements.
In this embodiment, when the client 10 obtains an image file, the image file may be uploaded to the file receiving module 11, the file receiving module 11 decomposes the image file to obtain meta information and image data, then sends the meta information to the meta data module 12, and sends the image data to the data dividing module 13, so that the data dividing module 13 divides the image data to obtain a plurality of image data blocks, and performs encoding operation on all the image data blocks to obtain a plurality of divided image data blocks. Then, the data segmentation module 13 sends the plurality of image data blocks to the backup module 16, so that the backup module 16 can backup each image data block according to a preset backup number of the split image data blocks, and then send each backed-up image data block to the plurality of file storage modules 14 for storage, thereby completing efficient storage of the image data. The processing system improves the safety of image data storage through a backup mode, and avoids the problem that the client cannot normally read the image file due to the fact that part of the image data is lost due to inevitable factors.
The processing system for images described in the embodiments of fig. 1 to fig. 3 realizes efficient storage of image files, and based on the processing system, the present application also provides a processing system capable of realizing efficient reading of images of image files, and the following embodiments will describe the processing system.
Referring to fig. 4, the present application provides an image processing system, which further includes, on the basis of the system shown in fig. 1: the file obtaining module 17, the file obtaining module 17 is configured to receive a reading request of a target image file, obtain meta information of the target image file from the meta data module 12 according to the reading request, obtain image data of the target image file from each file storage module 14 according to the meta information of the target image file, and obtain the target image file according to the meta information of the target image file and the image data of the target image file.
The file obtaining module 17 may specifically include: an acquisition unit 171, a merging unit 172, and an integration unit 173. The obtaining unit 171 is configured to obtain meta information of the target image file from the meta data module 12 according to the received read request, and obtain an image data block of the target image file from each file storage module 14 according to address information of each file storage module and an identifier of each image data block associated with the meta information of the target image file; the merging unit 172 is configured to merge the image data blocks to obtain merged image data; the integrating unit 173 is configured to integrate the meta information of the target image file and the merged video data to obtain the target image file.
Wherein, the target image file is an image file to be read.
In this embodiment, the client 10 initiates a read request of a target image file for some inspection to the file obtaining module 17, after receiving the read request, the obtaining unit 171 in the file obtaining module 17 may further analyze the read request to obtain an identifier of meta information of the target image file, obtain meta information corresponding to the identifier of the meta information from the meta data module 12 according to the identifier of the meta information, determine a storage address (address information of each file storage module 14) and an identifier (identifier of each image data block) of the target image file according to the meta information according to an association relationship between the previously stored meta information and the address information of each file storage module and the identifier of each image data block, correspondingly read the image data block corresponding to the identifier of each image data block from each file storage module 14 based on the address information of each file storage module 14, then, the read image data blocks are sent to the merging unit 172, so that the merging unit 172 merges all the image data blocks to obtain merged image data, that is, the entire image data, the merging unit 172 sends the merged image data to the integrating unit 173, and the obtaining unit 171 sends the previously determined meta information of the target image file to the integrating unit 173, so that the integrating unit 173 integrates the merged image data and the meta information of the target image file, and the integrated image file is the target image file. It should be noted that, if the meta information acquired by the file acquiring module 17 from the meta data module 12 is encrypted meta information, before the later-stage integrating unit 173 integrates the combined image data and the meta information, the file acquiring module 17 needs to decrypt the encrypted meta information, so that the later-stage integrating unit 173 integrates the combined image data and the decrypted meta information to completely read the target image file.
Optionally, referring to fig. 5, the present application further provides an image processing system, where on the basis of the system shown in fig. 4, the file obtaining module 17 may be further configured to receive a modification request of the target image file, obtain meta information of the target image file from the meta data module 12 according to the modification request, obtain image data of the target image file from each file storage module 14 according to the meta information of the target image file, obtain the target image file according to the meta information of the target image file and the image data of the target image file, and modify the target image file according to the modification request.
Optionally, the file obtaining module 17 may further include: a modifying unit 175 for modifying the target image file according to the modification request.
The target image file is an image file to be modified, and specifically, when the target image file is modified, meta information of the target image file can be modified or image data of the target image file can be replaced.
In this embodiment, the client 10 initiates a modification request of a target image file to be checked to the file obtaining module 17, after receiving the modification request, the obtaining unit 171 in the file obtaining module 17 may further analyze the modification request, obtain an identifier of meta information of the target image file, obtain meta information corresponding to the identifier of the meta information from the meta data module 12 according to the identifier of the meta information, determine a storage address and an identifier of the target image file according to an association relationship between the previously stored meta information and address information of each file storage module and an identifier of each image data block, correspondingly read an image data block corresponding to the identifier of each image data block from each file storage module 14 based on the address information of each file storage module 14, and then send each read image data block to the merging unit 172, so that the merging unit 172 merges all the image data blocks to obtain merged image data, i.e., the entire image data, the merging unit 172 sends the merged image data to the integrating unit 173, and the obtaining unit 171 sends the metadata of the previously determined target image file to the integrating unit 173, so that the integrating unit 173 integrates the merged image data and the metadata of the target image file, and the integrated image file is the target image file. Then, the integrating unit 713 sends the integrated target image file to the modifying unit 175, and the modifying unit 175 modifies the target image file according to the modification content included in the modification request, for example, modifies the meta information of the target image file (for example, the age of the patient, the examination time, etc.), and may also update the image data of the originally stored target image file.
Optionally, if the merged image data is compressed image data, the file obtaining module 17, as shown in fig. 6, further includes: and a decompressing unit 174 configured to decompress the merged video data to obtain decompressed video data, and send the decompressed video data to the integrating unit 173, so as to instruct the integrating unit 173 to integrate the meta information of the target image file with the decompressed video data to obtain the target image file. It is understood that, when decompressing the merged image data, the decompressing unit 174 may specifically use a preset decompressing algorithm to parse the merged image data, and the decompressing algorithm used is matched with the compression algorithm used when compressing the image data.
The medical image processing system provided by the embodiment realizes efficient reading of the image file, and as long as the client initiates a reading request or a modification request to the file acquisition module, the file acquisition module can quickly decrypt the previously split meta information, integrate the image data acquired from the file storage module, and then directly return the image data to the client. Because the meta-information occupies a small amount of data, the meta-information can be quickly decrypted, and the efficiency of reading or modifying the target image file by the client is greatly improved.
In an application environment, after the merging unit 172 in the file obtaining module 17 merges the image data blocks to obtain merged image data, the merging unit 172 may further obtain the meta information of the target image file from the obtaining unit 171, and send the meta information of the target image file and the image data to the client 10 simultaneously or sequentially, so that the client 10 may display the target image file on the display screen. Specifically, since the amount of the meta-information is small, the client 10 may display the meta-information first, so that the user of the client 10 knows the related information first, and after the image data is received, the received image data may be further interpreted according to the meta-information.
In another application environment, after the integration unit 173 in the file acquiring module 17 integrates the meta information and the merged image data to obtain the target image file, the target image file may be sent to the client 10 for the user to view.
All the embodiments described above relate to the description of the structure and function of the image processing system, and the following embodiments will describe a method of processing an image, and the method can be applied to the image processing system described in any of the embodiments described above.
In one application, the present application further provides an image processing method, as shown in fig. 7, the method includes:
s101, decomposing the received image file to obtain the meta information and the image data of the image file, and encrypting and storing the meta information.
S102, the image data is subjected to blocking processing to obtain at least two image data blocks and stored.
And S103, associating and storing the meta information with the address information for storing each image data block and the identifier of each image data block.
The image processing method described in this embodiment may be applied to the image processing system described in any one of the foregoing embodiments of fig. 1 to fig. 3, and for a specific implementation method, please refer to the description in any one of the foregoing embodiments of fig. 1 to fig. 3, which is not described herein again.
In another application, as shown in fig. 8, the method for processing a medical image further includes:
s104, acquiring the meta information of the target image file according to the received reading request, acquiring the image data of the target image file according to the meta information of the target image file, and carrying out merging processing according to the meta information of the target image file and the image data of the target image file to obtain the target image file.
Or S105, obtaining the meta information of the target image file according to the received modification request, obtaining the image data of the target image file according to the meta information of the target image file, merging the meta information of the target image file and the image data of the target image file to obtain the target image file, and modifying the target image file.
The method for processing a medical image according to this embodiment may be applied to the system for processing a medical image according to any one of the embodiments of fig. 4 to 6, and for a specific implementation, reference is made to the description in any one of the embodiments of fig. 4 to 6, which is not repeated herein.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing image data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of processing an image.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
decomposing the received image file to obtain the meta information and the image data of the image file, and encrypting and storing the meta information;
the image data is processed in a blocking mode, and at least two image data blocks are obtained and stored;
and associating and storing the meta information with address information for storing each image data block and an identifier of each image data block.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
decomposing the received image file to obtain the meta information and the image data of the image file, and encrypting and storing the meta information;
the image data is processed in a blocking mode, and at least two image data blocks are obtained and stored;
and associating and storing the meta information with address information for storing each image data block and an identifier of each image data block.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A system for processing an image, the system comprising:
the file receiving module is used for decomposing the received image file to obtain meta information and image data of the image file, sending the meta information to the meta data module and sending the image data to the data segmentation module;
the data segmentation module is used for carrying out block processing on the image data to obtain at least two image data blocks and respectively sending the at least two image data blocks to different file storage modules;
each file storage module is used for storing the received image data block and sending the address information of the file storage module and the identifier of the image data block to the metadata module;
and the metadata module is used for encrypting and storing the metadata, and associating and storing the metadata with the received address information of each file storage module and the identifier of each image data block.
2. The system of claim 1, further comprising:
and the compression module is used for compressing the received image data to obtain compressed image data and sending the compressed image data to the data segmentation module so as to indicate the data segmentation module to perform block processing on the compressed image data to obtain at least two image data blocks.
3. The system of claim 1, wherein the data slicing module is configured to perform block-error-tolerant encoding on the image data to obtain the at least two image data blocks.
4. The system according to any one of claims 1-3, further comprising:
and the backup module is used for backing up the at least two image data blocks according to a preset backup quantity and respectively sending the backed-up at least two image data blocks to different file storage modules.
5. The system of claim 1, further comprising:
the file acquisition module is used for receiving a reading request of a target image file, acquiring meta information of the target image file from the meta data module according to the reading request, acquiring image data of the target image file from each file storage module according to the meta information of the target image file, and acquiring the target image file according to the meta information of the target image file and the image data of the target image file;
or, the file obtaining module is configured to receive a modification request of a target image file, obtain meta information of the target image file from the meta data module according to the modification request, obtain image data of the target image file from each file storage module according to the meta information of the target image file, obtain the target image file according to the meta information of the target image file and the image data of the target image file, and modify the target image file according to the modification request.
6. The system of claim 5, wherein the file acquisition module comprises:
an obtaining unit, configured to obtain, according to the received read request or modification request, meta information of the target image file from the metadata module, and obtain, according to address information of each file storage module associated with the meta information of the target image file and an identifier of each image data block, an image data block of the target image file from each file storage module;
the merging unit is used for merging each image data block to obtain merged image data;
and the integration unit is used for integrating the meta information of the target image file and the merged image data to obtain the target image file.
7. The system of claim 6, wherein the file acquisition module further comprises:
and the modifying unit is used for modifying the target image file according to the modifying request.
8. The system according to claim 6 or 7, wherein if the merged image data is compressed image data, the file obtaining module further comprises:
and the decompression unit is used for decompressing the merged image data to obtain decompressed image data and sending the decompressed image data to the integration unit so as to instruct the integration unit to integrate the meta information of the target image file and the decompressed image data to obtain the target image file.
9. A method of processing an image, the method comprising:
decomposing the received image file to obtain the meta information and the image data of the image file, and encrypting and storing the meta information;
the image data is processed in a blocking mode, and at least two image data blocks are obtained and stored;
and associating and storing the meta information with address information for storing each image data block and an identifier of each image data block.
10. The method of claim 9, further comprising:
acquiring meta information of a target image file according to a received reading request, acquiring image data of the target image file according to the meta information of the target image file, and merging the meta information of the target image file and the image data of the target image file to obtain the target image file;
or acquiring meta information of a target image file according to a received modification request, acquiring image data of the target image file according to the meta information of the target image file, merging the meta information of the target image file and the image data of the target image file to obtain the target image file, and modifying the target image file.
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011435223.2A CN112530551A (en) | 2020-12-10 | 2020-12-10 | Image processing system and method |
EP21205635.2A EP3992979A1 (en) | 2020-10-29 | 2021-10-29 | Systems and methods for file archiving |
EP21205586.7A EP3992807A1 (en) | 2020-10-29 | 2021-10-29 | Systems and methods for data storage |
US17/452,783 US11829407B2 (en) | 2020-10-29 | 2021-10-29 | Systems and methods for file archiving |
US17/452,778 US12191891B2 (en) | 2020-10-29 | 2021-10-29 | Systems and methods for data storage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011435223.2A CN112530551A (en) | 2020-12-10 | 2020-12-10 | Image processing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112530551A true CN112530551A (en) | 2021-03-19 |
Family
ID=74998909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011435223.2A Pending CN112530551A (en) | 2020-10-29 | 2020-12-10 | Image processing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112530551A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113448978A (en) * | 2021-07-14 | 2021-09-28 | 中国银行股份有限公司 | Method and device for guaranteeing data consistency in same-name image file replacement operation |
CN113852823A (en) * | 2021-11-30 | 2021-12-28 | 深圳市通恒伟创科技有限公司 | Image data uploading method, system and device based on Internet of things |
CN114500498A (en) * | 2021-12-28 | 2022-05-13 | 武汉联影医疗科技有限公司 | DICOM file transmission and storage method, system, equipment and storage medium |
WO2023142440A1 (en) * | 2022-01-28 | 2023-08-03 | 中国银联股份有限公司 | Image encryption method and apparatus, image processing method and apparatus, and device and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107180199A (en) * | 2016-03-11 | 2017-09-19 | 杭州与云网络有限公司 | A kind of internet encrypted storage method of medical imaging |
CN109411056A (en) * | 2018-08-31 | 2019-03-01 | 透彻影像(北京)科技有限公司 | Image storage method and system |
CN110570928A (en) * | 2019-09-11 | 2019-12-13 | 浪潮软件股份有限公司 | A medical image file access method based on HBase and ozone |
CN110825698A (en) * | 2019-11-07 | 2020-02-21 | 重庆紫光华山智安科技有限公司 | Metadata management method and related device |
CN110990877A (en) * | 2019-12-13 | 2020-04-10 | 中电健康云科技有限公司 | Medical image file segmentation encryption and decryption system and method based on greenplus |
-
2020
- 2020-12-10 CN CN202011435223.2A patent/CN112530551A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107180199A (en) * | 2016-03-11 | 2017-09-19 | 杭州与云网络有限公司 | A kind of internet encrypted storage method of medical imaging |
CN109411056A (en) * | 2018-08-31 | 2019-03-01 | 透彻影像(北京)科技有限公司 | Image storage method and system |
CN110570928A (en) * | 2019-09-11 | 2019-12-13 | 浪潮软件股份有限公司 | A medical image file access method based on HBase and ozone |
CN110825698A (en) * | 2019-11-07 | 2020-02-21 | 重庆紫光华山智安科技有限公司 | Metadata management method and related device |
CN110990877A (en) * | 2019-12-13 | 2020-04-10 | 中电健康云科技有限公司 | Medical image file segmentation encryption and decryption system and method based on greenplus |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113448978A (en) * | 2021-07-14 | 2021-09-28 | 中国银行股份有限公司 | Method and device for guaranteeing data consistency in same-name image file replacement operation |
CN113448978B (en) * | 2021-07-14 | 2024-04-16 | 中国银行股份有限公司 | Method and device for guaranteeing data consistency in same-name image file replacement operation |
CN113852823A (en) * | 2021-11-30 | 2021-12-28 | 深圳市通恒伟创科技有限公司 | Image data uploading method, system and device based on Internet of things |
CN113852823B (en) * | 2021-11-30 | 2022-03-01 | 深圳市通恒伟创科技有限公司 | Image data uploading method, system and device based on Internet of things |
CN114500498A (en) * | 2021-12-28 | 2022-05-13 | 武汉联影医疗科技有限公司 | DICOM file transmission and storage method, system, equipment and storage medium |
CN114500498B (en) * | 2021-12-28 | 2023-12-08 | 武汉联影医疗科技有限公司 | DICOM file transmission and storage method, system, equipment and storage medium |
WO2023142440A1 (en) * | 2022-01-28 | 2023-08-03 | 中国银联股份有限公司 | Image encryption method and apparatus, image processing method and apparatus, and device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112530551A (en) | Image processing system and method | |
CN113946851B (en) | Medical image management method, device, electronic equipment and storage medium | |
Qian et al. | New framework of reversible data hiding in encrypted JPEG bitstreams | |
JP4169797B2 (en) | Digital authentication center for medical image authentication | |
CN107302706B (en) | Image anti-hotlinking method and device and electronic equipment | |
CN112073453B (en) | Medical image cloud processing method, system and medium | |
US10409777B2 (en) | Storing data in a file system | |
US11463417B2 (en) | Encryption processing method and apparatus | |
US20130006867A1 (en) | Secure patient information handling | |
KR102475392B1 (en) | System and method for restoring and transmitting medical images | |
Unterweger et al. | Building a post-compression region-of-interest encryption framework for existing video surveillance systems: Challenges, obstacles and practical concerns | |
US11720270B2 (en) | Client-side compression | |
US8340443B2 (en) | System and method for compressing compressed data | |
CN106897260B (en) | System and method for restoring historical version of compound document, storage medium and processor | |
CN109886047B (en) | File encryption processing method and device | |
CN107832021B (en) | Electronic evidence fixing method, terminal equipment and storage medium | |
JP7184159B2 (en) | SYSTEM, CLIENT DEVICE, DATA PROCESSING METHOD, COMPUTER PROGRAM AND RECORDING MEDIUM | |
Marwan et al. | A secure framework for medical image storage based on multi-cloud | |
Xu et al. | Data hiding with thumbnail-preserving encryption for cloud medical images | |
Rashid et al. | Deduplication practices for multimedia data in the cloud | |
JP2017192080A (en) | Image compression apparatus, image decoding apparatus, image compression method, and image compression program | |
CN111694809B (en) | Blockchain-based file filtering method, device and computer equipment | |
CN115567212A (en) | File processing method and device, computer equipment and computer readable storage medium | |
CN110718285B (en) | Data archiving method, system, device and storage medium | |
CN115687279A (en) | Medical image information sharing method and device and computer equipment |
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 |