CN106874468B - Method and system for managing image files - Google Patents
Method and system for managing image files Download PDFInfo
- Publication number
- CN106874468B CN106874468B CN201710081994.8A CN201710081994A CN106874468B CN 106874468 B CN106874468 B CN 106874468B CN 201710081994 A CN201710081994 A CN 201710081994A CN 106874468 B CN106874468 B CN 106874468B
- Authority
- CN
- China
- Prior art keywords
- storage
- node
- image file
- management
- path
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/211—Schema design and management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method and a system for managing image files, relates to the technical field of communication networks, and aims to solve the problem of low efficiency of inquiring the required image files due to long time for inquiring the required image files in a step-by-step index directory inquiring manner. The method comprises the following steps: the storage main node calculates and stores a target storage path of the image file; storing the image file according to the target storage path by the storage child nodes corresponding to the target storage path; the storage main node generates metadata information according to the target storage path of the image file, wherein the metadata information comprises the corresponding relation between the storage main node and the index ID of the image file; the storage main node sends metadata information to the management node; the management node stores the metadata information in a management database; and the access node performs management operation on the image file according to the metadata information and the target storage path of the image file, wherein the management operation comprises query operation. The scheme provided by the invention is suitable for being adopted when the image file is managed.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for managing image files.
Background
Medical imaging technology can obtain images of internal tissues of a human body in a non-invasive manner, so that doctors can diagnose the state of illness of patients by using the obtained images to obtain a good medical diagnosis effect, and therefore, the medical imaging technology is widely applied to the field of medical diagnosis. With the development of medical diagnosis conditions, the number of medical image files used for diagnosis is increasing, and therefore, how to reasonably store and manage a large number of medical image files becomes an urgent problem to be solved.
At present, a Picture Archiving and Communication System (PACS) is mainly used to store and manage medical image files. In the PACS system, a plurality of host nodes are provided, each host node stores medical image files according to the sequence of the shooting dates of the medical image files, and establishes a multilevel index directory, for example, the established primary index directory is year, the established secondary index directory is month, and the established tertiary index directory is day.
However, when the image file is queried, the PACS system needs to query the corresponding index directory step by step in a multi-level index manner, for example, when the PACS system queries the first-level index directory, the index directories in 2016 and 2017 are queried, then the respective second-level index directories are queried under the index directories in 2016 and 2017, respectively, the index directory in 12 months is queried under the index directory in 2016, the index directory in 12 months is queried under the index directory in 2017, and so on until the index directory where the required medical image file is located is queried.
Therefore, when the method is adopted for query, the PACS system needs to query the corresponding index directories step by step, the time for querying the required image files is long, and the query efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a method and a system for managing image files, which are used for solving the problem of low efficiency of inquiring the required image files due to the fact that the time for inquiring the required image files in a step-by-step index directory inquiring mode is long.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for managing image files, the method being applied to a system for managing image files, the system comprising a management node, a storage master node, storage child nodes managed by the storage master node, a data source node and an access node, the method comprising:
the storage main node calculates and stores a target storage path of the image file;
the storage child nodes corresponding to the target storage path respectively store the image files according to the target storage path;
the storage main node generates metadata information according to a target storage path of the image file, wherein the metadata information comprises a corresponding relation between the storage main node and an index ID of the image file;
the storage main node sends the metadata information to the management node;
the management node stores the metadata information in a management database;
and the access node manages the image file according to the metadata information and the target storage path of the image file, wherein the management operation comprises query operation.
A system for image file management, the system comprising: the system comprises a management node, a storage main node, a storage sub-node managed by the storage main node, a data source node and an access node;
the storage main node is used for calculating and storing a target storage path of the image file;
the storage child nodes corresponding to the target storage path are used for storing the image files according to the target storage path respectively;
the storage main node is further configured to generate metadata information according to a target storage path of the image file, where the metadata information includes a correspondence between the storage main node and an index ID of the image file; sending the metadata information to the management node;
the management node is used for storing the metadata information in a management database;
and the access node is used for performing management operation on the image file according to the metadata information and the target storage path of the image file, wherein the management operation comprises query operation.
According to the method and the system for managing the image files, provided by the embodiment of the invention, firstly, the storage main node can calculate the target storage path of the image files based on the preset strategy and store the target storage path, and then the storage sub-node stores the image files according to the target storage path. Therefore, according to the target storage path stored in a certain storage master node, the user can inquire about the video file in the storage child node managed by the storage master node. Next, the management database in the management node stores a correspondence between the storage master node and the index ID of the image file, and therefore, the user can search for the storage master node corresponding to the image file according to the correspondence. Therefore, in the solution of the embodiment of the present invention, the general process of querying the image file is as follows, when a user needs to query the image file, first, the management node searches the target storage host node corresponding to the index ID of the image file in the management database, and then the target storage host node directly searches the storage path of the image file corresponding to the index ID in its own storage space, thereby implementing the query of the image file. Compared with the prior art in which multi-level directory indexing and step-by-step searching are adopted, in the scheme provided by the embodiment of the invention, the management node searches the storage master node corresponding to the index ID of the image file, and then the searched storage master node directly searches the storage path of the image file corresponding to the index ID.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a system for managing image files according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for managing image files according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for managing image files according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for managing image files according to an embodiment of the present invention;
fig. 5 is an exemplary schematic diagram of a front-end interface in a terminal according to an embodiment of the present invention;
FIG. 6 is a flowchart of another method for managing image files according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a logical structure of a system for managing image files according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for managing the image files provided by the embodiment of the invention is applied to a system for managing the image files, and the system comprises the following steps: the system comprises a management node, a storage main node, a storage sub-node managed by the storage main node, a data source node and an access node.
And the management node is positioned at the highest level of the system, has the highest-level management authority, and is used for storing the corresponding relation between the index ID of the image file in the system and the storage main node and inquiring the target storage main node. When a request for managing the image file exists, the management node firstly queries a target storage main node corresponding to the image file according to the index ID of the image file, then the management node sends the request for managing the image file to the target storage main node, and then the target storage main node continues to search the image file according to the request for managing the image file.
And the storage main node is used for calculating and storing a target storage path of the image file and inquiring the target storage path of the image file. It should be noted that in the system provided by the embodiment of the present invention, a plurality of storage host nodes can be disposed below one management node, and fig. 1 only exemplarily shows one storage host node 1. After the target storage main node receives the request for managing the image files sent by the management node, the storage main node can inquire the target storage path of the image files and further search the required image files.
The storage child nodes are managed by the corresponding storage master nodes, and as shown in fig. 1, the storage master node 1 manages a storage child node 1, a storage child node 2, and a storage child node 3. In a system for managing image files, a storage child node is used for storing image files. The method can also be used for sending information of the image files stored by the storage main node to the storage main node managing the storage main node according to a preset period, wherein the information comprises the storage path of the stored data block and the storage capacity occupied by the stored data block, then the storage main node calculates the residual storage space of the storage sub-nodes according to the information, and then the storage main node selects a target storage path of a new image file from the residual storage space according to a preset strategy.
And the data source node is used for acquiring the image file from the imaging equipment, for example, the CT image file can be acquired from a CT scanner. After the data source node acquires the image file from the image device, the index ID of the image file is generated according to the patient number corresponding to the image file or the time for acquiring the image file. For example, patient number 120310119, patient ID 1, patient number 120310120, index ID 2, and so on. In addition, the data source node can also acquire other attribute information of the image file, such as a photographer of the image file, corresponding diagnostic information, and the like. The data source node can send the acquired attribute information of the image file to the management node, and then the management node stores the attribute information of the image file to a corresponding position of the management database.
And the access node is used for managing the image file by the user. In the embodiment of the invention, the access node can be a terminal of a user, an application program for managing the image files provided by a medical institution is installed in the terminal, and the user manages the image files within the authority range of the user through the application program in the terminal. The access node can also be an access device which is provided by the medical institution and is specially used for managing the image file by the user.
In combination with the system for managing image files shown in fig. 1, in order to solve the problem of low efficiency of querying the required image files due to long time for querying the required image files by using a step-by-step index directory querying manner, an embodiment of the present invention provides a method for managing image files, as shown in fig. 2, the method includes:
step 201, the storage master node calculates and stores a target storage path of the image file.
It should be noted that the image file includes a plurality of data blocks, each data block corresponds to at least one storage child node, and the target storage path of the image file includes a storage path of each data block of the image file in the storage child node corresponding to each data block.
For example, there is one management node in the system, storage master nodes A, B and C, storage master node A for managing storage child nodes A1, A2, and storage master node B for managing storage child nodes B1, B2, B3. The index ID of the video file a is 1, the index ID of the video file b is 2, and the index ID of the video file c is 3. The video file a is composed of 3 data blocks, which are respectively represented as a data block a1, a data block a2 and a data block a 3; video file b is composed of 5 data blocks, which are respectively represented as data block b1, data block b2, data block b3, data block b4 and data block b 5; the video file c is composed of 2 data blocks, which are respectively indicated as data block c1 and data block c 2.
Now, an image file a needs to be stored, and after calculation, the storage master node a determines a target storage path of the image file a as follows: data chunk a1 and data chunk a2 are stored in storage child node A1, and data chunk A3 is stored in storage child node A2.
It is understood that after the storage master node calculates the target storage path of the image file, the target storage path needs to be stored. When the subsequent user manages the image file through the access node, the corresponding image file can be inquired according to the stored target storage path.
In order to more clearly illustrate the storage content of the storage master node, the embodiment of the present invention lists the structure shown in table 1, where table 1 shows the target storage path of the image file stored by the storage master node.
TABLE 1
It should be noted that, in order to prevent a storage path stored on a single storage master node from failing to query a required image file, in the embodiment of the present invention, a plurality of storage master nodes are provided, and when a certain storage master node fails to function, a management node in the system can control to start a standby storage master node.
In connection with the example in step 201, storage child node A1 stores data chunk a1 and data chunk a2, and storage child node A2 stores data chunk A3.
With reference to the example in step 201, the storage master node a generates the following metadata information according to the target storage path of the video file a: the video file a with index ID 1 corresponds to the storage master node a.
And step 204, the storage main node sends metadata information to the management node.
The management database can be an Oracle database or a mysql database. In order to operate the information in the management database more efficiently, the data items in the management database which are used more frequently can be stored in the memory, and the data items stored in the memory can be processed more quickly than the data items stored in the disk.
The management database also stores other attribute information of the video file, such as the shooting time of the video file, the photographer, and corresponding diagnostic information. It is understood that when the subsequent user manages the image file through the access node, other attribute information of the image file may also be used as the query condition. For example, the user may manage the image files by inputting the shooting time of the image files to search for the image files.
The metadata information stored in the management database is shown in table 2.
TABLE 2
And step 206, the access node performs management operation on the image file according to the metadata information and the target storage path of the image file, wherein the management operation comprises query operation.
It can be understood that, when a user needs to manage a target image file through an access node, the management node can query a target storage host node corresponding to the target image file according to metadata information stored in a management database, and then query a target storage path of the target image file by using the target host node, so as to find the target image file.
In the method for managing image files provided by the embodiment of the invention, the storage main node is used for managing the storage sub-nodes, firstly, the storage main node can calculate the target storage path of the image files based on a preset strategy and store the target storage path, and then the storage sub-nodes store the image files according to the target storage path. Therefore, according to the target storage path stored in a certain storage master node, the user can inquire about the video file in the storage child node managed by the storage master node. Next, the management database in the management node stores a correspondence between the storage master node and the index ID of the image file, and therefore, the user can search for the storage master node corresponding to the image file according to the correspondence. Therefore, in the solution of the embodiment of the present invention, the general process of querying the image file is as follows, when a user needs to query the image file, first, the management node searches the target storage host node corresponding to the index ID of the image file in the management database, and then the target storage host node directly searches the storage path of the image file corresponding to the index ID in its own storage space, thereby implementing the query of the image file. Compared with the prior art in which multi-level directory indexing and step-by-step searching are adopted, in the scheme provided by the embodiment of the invention, the management node searches the storage master node corresponding to the index ID of the image file, and then the searched storage master node directly searches the storage path of the image file corresponding to the index ID.
It should be noted that, the storage method of the image file may generate a larger image for the management efficiency of the image file, and in order to improve the management efficiency of the image file, the image file should be reasonably stored, based on which, in another implementation manner provided by the embodiment of the present invention, a method for storing the image file by a storage child node is described, as shown in fig. 3, where the step 202 and the storage child node corresponding to the target storage path respectively store the image file according to the target storage path include:
It should be noted that, after acquiring an image file from the imaging device, the data source node can send request information for storing the image file to the storage host node, and after receiving the request information, the storage host node sends a target storage path of the requested image file to the data source node. With reference to the example in step 201, the target storage path of the image file a sent by the storage master node a to the data source node is: data chunk a1 and data chunk a2 are stored in storage child node A1, and data chunk A3 is stored in storage child node A2.
As illustrated in step 301, after receiving the target storage path of the video file a sent by the data source node, the storage child nodes a1 and a2 respectively store the data blocks a1 and a2 by the storage child node a1, and the storage child node a2 stores the data block A3.
And the data source node sends the image file stored by the data source node to the storage sub-node corresponding to the target storage path, and then the storage sub-node corresponding to the target storage path stores the respective corresponding data block. Compared with the existing method for storing the whole image file, the method for managing the image file provided by the embodiment of the invention stores the image file in blocks, and further can perform parallel operation on the data blocks of the image file when the image file is subsequently inquired, namely, can simultaneously inquire a plurality of data blocks of the same image file, thereby shortening the inquiry time and improving the inquiry efficiency of the image file.
It can be understood that, after the storage child node has stored the image file, the user can manage the image file through the access node, and based on this, in another implementation manner provided by the embodiment of the present invention, a manner of managing the image file by the access node is described, as shown in fig. 4, in the step 206, the operation of managing the image file by the access node according to the metadata information and the target storage path of the image file includes:
Taking the access node as the user's terminal as an example, as an implementation manner of step 401, the user may input a query instruction of the image file on a front-end interface of the terminal. As shown in fig. 5, a front-end interface in a terminal is shown. In the embodiment of the present invention, the front-end interface is written by using codes such as HyperText Markup Language (HTML), HyperText Preprocessor (PHP), and the like, so that the terminal can perform data interaction with the management node of the background through the front-end interface.
The query instruction input by the user may be input by inputting an index ID of the image file in an input box of the front-end interface, and then clicking a query button, at this time, the operation of the user may trigger the terminal to send the query instruction to the management node.
It is understood that the user may also manage the image file by inputting other query conditions such as the patient number in fig. 5 to search the image file.
For example, the index ID included in the query instruction is 1.
After receiving the query instruction in step 402, the management node queries the management database shown in table 1 to find out the storage master node a corresponding to the video file a with index ID 1.
With reference to the example in step 201, the storage master node a can query the target storage path of the image file a according to the query instruction with the index ID of 1.
When a user needs to query an image file, the management node searches a target storage host node corresponding to an index ID of the image file in a management database, and then the target storage host node directly searches a storage path of the image file corresponding to the index ID in a storage space of the target storage host node, so that the image file is queried. Compared with the prior art in which multi-level directory indexing and step-by-step searching are adopted, in the scheme provided by the embodiment of the invention, the management node searches the storage master node corresponding to the index ID of the image file, and then the searched storage master node directly searches the storage path of the image file corresponding to the index ID.
In another implementation manner provided by the embodiment of the present invention, a method for calculating a target storage path is described, and as shown in fig. 6, the step 201 of calculating and storing the target storage path of the image file by the storage master node includes:
In order to ensure that the storage child node can send a message to the storage master node in real time, the preset period may be 2 seconds. The storage sub-nodes report the storage information per se to the storage main node every 2 seconds, and then the storage main node calculates and adjusts the storage path of a new image file according to the storage information reported by the storage sub-nodes in real time, so that the flexibility of the whole image file management system is improved.
And 603, selecting a target storage path in the residual storage space by the storage master node according to a preset strategy.
The data stored in the memory of the storage main node has a reading and writing speed far higher than that of the data stored in the disk, so that the image files with lower query frequency are preferentially stored in the disk of the storage main node and the image files with higher query frequency are preferentially stored in the memory in the preset strategy, and therefore, according to the query frequency of the image files, the speed of querying the image file data can be effectively improved by the scheme of the embodiment of the invention.
According to the method for managing the image files, provided by the embodiment of the invention, the storage main node can determine the residual storage space of the storage sub-node according to the storage information reported by the storage sub-node in real time, and adjust the storage path of the new image file in real time based on the preset strategy and the residual storage space of the storage sub-node, so that the flexibility of the whole image file storage system is improved.
Corresponding to the above-mentioned flow method, in order to solve the problem that the efficiency of querying the required image file is low due to the long time of querying the required image file by using the step-by-step index directory querying manner, an embodiment of the present invention provides a system for managing image files, as shown in fig. 7, the system includes: a management node 702, a storage master node 704, a storage child node 705 managed by the storage master node 704, a data source node 703, and an access node 701.
A storage master node 704, configured to calculate and store a target storage path of the image file;
the image file includes a plurality of data blocks, each data block corresponds to at least one storage child node 705, and the target storage path of the image file includes a storage path of each data block of the image file in the storage child node 705 corresponding to each data block.
The storage child nodes 705 corresponding to the target storage paths are used for storing the image files according to the target storage paths respectively;
the storage master node 704 is further configured to generate metadata information according to a target storage path of the image file, where the metadata information includes a correspondence between the storage master node 704 and an index ID of the image file; sending metadata information to management node 702;
a management node 702 for storing metadata information in a management database;
the access node 701 is configured to perform a management operation on the image file according to the metadata information and a target storage path of the image file, where the management operation includes a query operation.
In another implementation manner provided in the embodiment of the present invention, the storage master node 704 is further configured to send a target storage path of the image file to the data source node 703;
the data source node 703 is configured to send a storage instruction to the storage child nodes 705 corresponding to the target storage paths of the image files, where the storage instruction carries the image files and the target storage paths of the image files;
the storage child nodes 705 corresponding to the target storage path of the video file are further configured to store the corresponding data blocks respectively.
In another implementation manner provided by the embodiment of the present invention, the access node 701 is further configured to receive a query instruction input by a user, where the query instruction includes an index ID of the image file; sending a query instruction to the management node 702;
the management node 702 is further configured to query, according to the query instruction, a storage host node 704 in the management database corresponding to the index ID of the image file; sending a query instruction to the storage master node 704;
the storage host node 704 is further configured to search a target storage path of the image file according to the query instruction; sending a query request to a storage child node 705 corresponding to a target storage path of the image file, wherein the query request carries the target storage path of the image file;
the storage child node 705 corresponding to the target storage path of the video file is also configured to return the video file to the access node 701.
In another implementation manner provided in the embodiment of the present invention, the storage child node 705 managed by the storage master node 704 is configured to send storage information to the storage master node 704 according to a preset period, where the storage information includes a storage path of a stored data block and a storage capacity occupied by the stored data block;
the storage master node 704 is further configured to calculate a remaining storage space of each storage child node 705 according to the storage information; and selecting a target storage path in the residual storage space according to a preset strategy.
In the system for managing image files provided by the embodiment of the present invention, first, the storage master node calculates a target storage path of an image file based on a preset policy, stores the target storage path, and then stores the image file according to the target storage path by the storage child node. Therefore, according to the target storage path stored in a certain storage master node, the user can inquire about the video file in the storage child node managed by the storage master node. Next, the management database in the management node stores a correspondence between the storage master node and the index ID of the image file, and therefore, the user can search for the storage master node corresponding to the image file according to the correspondence. Therefore, in the solution of the embodiment of the present invention, the general process of querying the image file is as follows, when a user needs to query the image file, first, the management node searches the target storage host node corresponding to the index ID of the image file in the management database, and then the target storage host node directly searches the storage path of the image file corresponding to the index ID in its own storage space, thereby implementing the query of the image file. Compared with the prior art in which multi-level directory indexing and step-by-step searching are adopted, in the scheme provided by the embodiment of the invention, the management node searches the storage master node corresponding to the index ID of the image file, and then the searched storage master node directly searches the storage path of the image file corresponding to the index ID.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus necessary general hardware, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be substantially implemented or a part of the technical solutions contributing to the prior art may be embodied in the form of a software product, which is stored in a readable storage medium, such as a floppy disk, a hard disk, or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions within the technical scope of the present invention are intended to be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (8)
1. A method for managing image files, which is applied to a system for managing image files, the system comprising a management node, at least one storage master node, storage child nodes managed by the storage master node, a data source node and an access node, the method comprising:
the storage main node calculates and stores a target storage path of the image file;
the storage child nodes corresponding to the target storage path respectively store the image files according to the target storage path;
the storage main node generates metadata information according to a target storage path of the image file, wherein the metadata information comprises a corresponding relation between the storage main node and an index ID of the image file;
the storage main node sends the metadata information to the management node;
the management node stores the metadata information in a management database;
the access node receives a query instruction input by a user, wherein the query instruction comprises an index ID of the image file; the access node sends the query instruction to the management node; the management node queries the storage main node corresponding to the index ID of the image file in the management database according to the query instruction; the management node sends the query instruction to the storage main node; the storage main node searches a target storage path of the image file according to the query instruction; the storage main node sends a query request to a storage sub-node corresponding to a target storage path of the image file, wherein the query request carries the target storage path of the image file; and returning the image file to the access node by the storage child node corresponding to the target storage path of the image file.
2. The method of claim 1, wherein the image file management is executed,
the image file comprises a plurality of data blocks, each data block corresponds to at least one storage sub-node, and the target storage path of the image file comprises the storage path of each data block of the image file in the corresponding storage sub-node.
3. The method of claim 2, wherein the storing sub-nodes corresponding to target storage paths respectively store the image files according to the target storage paths comprises:
the storage main node sends a target storage path of the image file to the data source node;
the data source node respectively sends a storage instruction to storage sub-nodes corresponding to a target storage path of the image file, wherein the storage instruction carries the image file and the target storage path of the image file;
and the storage sub-nodes corresponding to the target storage path of the image file respectively store the corresponding data blocks.
4. The method of any of claims 1 to 3, wherein the calculating and storing a target storage path of a video file by the storage master node comprises:
respectively sending storage information to the storage main node by the storage sub-nodes managed by the storage main node according to a preset period, wherein the storage information comprises a storage path of a stored data block and storage capacity occupied by the stored data block;
the storage main node calculates the residual storage space of each storage sub-node according to the storage information;
and the storage main node selects the target storage path in the residual storage space according to a preset strategy.
5. A system for image file management, the system comprising: the system comprises a management node, at least one storage main node, storage sub-nodes managed by the storage main node, a data source node and an access node;
the storage main node is used for calculating and storing a target storage path of the image file;
the storage child nodes corresponding to the target storage path are used for storing the image files according to the target storage path respectively;
the storage main node is further configured to generate metadata information according to a target storage path of the image file, where the metadata information includes a correspondence between the storage main node and an index ID of the image file; sending the metadata information to the management node;
the management node is used for storing the metadata information in a management database;
the access node is used for performing management operation on the image file according to the metadata information and a target storage path of the image file, wherein the management operation comprises query operation;
the access node is also used for receiving a query instruction input by a user, wherein the query instruction comprises the index ID of the image file; sending the query instruction to the management node;
the management node is further configured to query the storage master node corresponding to the index ID of the image file in the management database according to the query instruction; sending the query instruction to the storage main node;
the storage main node is further used for searching a target storage path of the image file according to the query instruction; sending a query request to a storage child node corresponding to a target storage path of the image file, wherein the query request carries the target storage path of the image file;
and the storage child node corresponding to the target storage path of the image file is also used for returning the image file to the access node.
6. The system for image file management as claimed in claim 5,
the image file comprises a plurality of data blocks, each data block corresponds to at least one storage sub-node, and the target storage path of the image file comprises the storage path of each data block of the image file in the corresponding storage sub-node.
7. The system for image file management as claimed in claim 6,
the storage main node is further configured to send a target storage path of the image file to the data source node;
the data source node is used for respectively sending storage instructions to storage sub-nodes corresponding to target storage paths of the image files, and the storage instructions carry the image files and the target storage paths of the image files;
and the storage sub-nodes corresponding to the target storage path of the image file are also used for respectively storing the corresponding data blocks.
8. The system for image file management according to any one of claims 5 to 7,
the storage sub-nodes managed by the storage main node are used for respectively sending storage information to the storage main node according to a preset period, and the storage information comprises a storage path of a stored data block and storage capacity occupied by the stored data block;
the storage main node is further used for calculating the residual storage space of each storage sub-node according to the storage information; and selecting the target storage path in the residual storage space according to a preset strategy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710081994.8A CN106874468B (en) | 2017-02-15 | 2017-02-15 | Method and system for managing image files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710081994.8A CN106874468B (en) | 2017-02-15 | 2017-02-15 | Method and system for managing image files |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106874468A CN106874468A (en) | 2017-06-20 |
CN106874468B true CN106874468B (en) | 2021-02-19 |
Family
ID=59165993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710081994.8A Active CN106874468B (en) | 2017-02-15 | 2017-02-15 | Method and system for managing image files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106874468B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170416A (en) * | 2006-10-26 | 2008-04-30 | 阿里巴巴公司 | Network data storage system and data access method |
CN104735109A (en) * | 2013-12-23 | 2015-06-24 | 上海联影医疗科技有限公司 | Medical image data storing system |
-
2017
- 2017-02-15 CN CN201710081994.8A patent/CN106874468B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170416A (en) * | 2006-10-26 | 2008-04-30 | 阿里巴巴公司 | Network data storage system and data access method |
CN104735109A (en) * | 2013-12-23 | 2015-06-24 | 上海联影医疗科技有限公司 | Medical image data storing system |
Also Published As
Publication number | Publication date |
---|---|
CN106874468A (en) | 2017-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102640125B (en) | Distributed content storage and retrieval | |
US10824372B2 (en) | Data recovery method and device, and cloud storage system | |
US20230048443A1 (en) | Rule-based low-latency delivery of healthcare data | |
CN109298835B (en) | Data archiving processing method, device, equipment and storage medium of block chain | |
CA2798592A1 (en) | Visual indexing system for medical diagnostic data | |
US10650478B2 (en) | Real-time aggregation and processing of healthcare records | |
CA3160463A1 (en) | Method and apparatus for managing iot device, and server and storage medium thereof | |
US11416492B2 (en) | System and methods for caching and querying objects stored in multiple databases | |
US12020803B2 (en) | Intelligent meta PACS system and server | |
WO2018113211A1 (en) | Hash value-based medical documentation redundancy processing system and method | |
CN110399348A (en) | File deletes method, apparatus, system and computer readable storage medium again | |
US20160300016A1 (en) | Relocating medical data | |
CN111090385A (en) | Data management method and device based on block chain | |
CN109522043B (en) | Method and device for managing configuration data and storage medium | |
CN104423982A (en) | Request processing method and device | |
WO2022048359A1 (en) | Data archiving method and apparatus, and electronic device and storage medium | |
CN107249045B (en) | Portable endoscope multi-modal information synchronous storage method and system | |
WO2013186891A1 (en) | Progress status management system, and progress status management method | |
CN106874468B (en) | Method and system for managing image files | |
WO2016029272A1 (en) | Analysing medical data | |
CN112420172A (en) | Medical image information management system | |
US20080208797A1 (en) | Automated record attribute value merging from multiple directory servers | |
CN110678854B (en) | Data query method and device | |
KR101592860B1 (en) | Distributed storage system using Internet of Things Device and operating method thereof | |
CN109360611B (en) | Privacy protection data mining system and method based on medical big data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A method and system for image file management Effective date of registration: 20220428 Granted publication date: 20210219 Pledgee: Xiamen International Bank Co.,Ltd. Beijing Branch Pledgor: BEIJING ASIAINFO DATA CO.,LTD. Registration number: Y2022990000249 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |