CN106874468A - A kind of method and system of image file management - Google Patents

A kind of method and system of image file management Download PDF

Info

Publication number
CN106874468A
CN106874468A CN201710081994.8A CN201710081994A CN106874468A CN 106874468 A CN106874468 A CN 106874468A CN 201710081994 A CN201710081994 A CN 201710081994A CN 106874468 A CN106874468 A CN 106874468A
Authority
CN
China
Prior art keywords
image file
node
storage
store path
target store
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.)
Granted
Application number
CN201710081994.8A
Other languages
Chinese (zh)
Other versions
CN106874468B (en
Inventor
张彬斌
孙洁菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Data Co Ltd Of Beijing Asiainfo
Original Assignee
Data Co Ltd Of Beijing Asiainfo
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Data Co Ltd Of Beijing Asiainfo filed Critical Data Co Ltd Of Beijing Asiainfo
Priority to CN201710081994.8A priority Critical patent/CN106874468B/en
Publication of CN106874468A publication Critical patent/CN106874468A/en
Application granted granted Critical
Publication of CN106874468B publication Critical patent/CN106874468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The present invention discloses a kind of method and system of image file management, is related to technical field of communication network, to solve, because long using the image file time needed for the inquiry of search index list mode step by step, to cause to inquire the low problem of required image file efficiency.Methods described includes:Storage host node calculates the target store path of simultaneously storing image files;The corresponding storage child node of target store path is respectively according to target store path storing image files;Storage host node generates metadata information according to the target store path of image file, and metadata information includes the corresponding relation of storage host node and the index ID of image file;Storage host node sends metadata information to management node;Management node stores in database is managed metadata information;Accessed node is managed operation to image file according to the target store path of metadata information and image file, and management operation includes inquiry operation.The scheme that the present invention is provided is used when being suitable to be managed image file.

Description

A kind of method and system of image file management
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and system of image file management.
Background technology
Medical Imaging Technology, can obtain inside of human body tissue image with non-intruding mode, so that doctor can be using acquisition Image the state of an illness of patient is diagnosed, obtain preferable medical diagnosis effect, therefore, Medical Imaging Technology extensively should In using medical diagnostic field.And with the development of medical diagnosis condition, diagnose used medical image quantity of documents It is more and more, therefore, substantial amounts of medical image file how is reasonably stored and managed as problem demanding prompt solution.
At present, it is main to use image archiving and communication system (Picture Archiving and Communication Systems, hereinafter referred to as PACS) store and ADM image file.In PACS system, equipped with multiple main frames section Point, each host node is stored according to the sequencing of the shooting date of medical image file to medical image file, and Multiple index catalogue is set up, for example, the one-level index list set up is year, secondary index catalogue is the moon, and three level list catalogue is Day.
However, when image file is inquired about, PACS system needs to inquire about corresponding step by step by way of multiple index Index list, for example, during PACS system inquiry first order index list, inquiring the index list of 2016 and 2017, so Respective secondary index catalogue is being inquired about under the index list of 2016 and 2017 respectively afterwards, in the index mesh of 2016 The index list in 12 month is inquired under record, the index list in 12 month is inquired under the index list of 2017, By that analogy, until index list where inquiring required medical image file.
Therefore, when being inquired about using aforesaid way, PACS system needs to inquire about corresponding index list step by step, inquires The time of required image file is long, causes the efficiency of inquiry low.
The content of the invention
The embodiment of the present invention provides a kind of method and system of image file management, for solving to inquire about rope step by step because of use The image file time needed for drawing list mode inquiry is long, causes to inquire the low problem of required image file efficiency.
To reach above-mentioned purpose, the present invention is adopted the following technical scheme that:
A kind of method of image file management, methods described is applied in the system of image file management, the system bag Storage child node, data source nodes and the access section for include management node, storage host node, being managed by the storage host node Point, methods described includes:
The storage host node calculates the target store path of simultaneously storing image files;
The corresponding child node that stores of the target store path stores the image according to the target store path respectively File;
The storage host node generates metadata information, the metadata according to the target store path of the image file Information includes the corresponding relation of the storage host node and the index ID of the image file;
The storage host node sends the metadata information to the management node;
The management node stores in database is managed the metadata information;
The accessed node is according to the target store path of the metadata information and the image file to the shadow As file is managed operation, the management operation includes inquiry operation.
A kind of system of image file management, the system includes:Management node, storage host node, by it is described storage lead Storage child node, data source nodes and accessed node that node is managed;
The storage host node, the target store path for calculating simultaneously storing image files;
The corresponding storage child node of the target store path, for respectively according to target store path storage Image file;
The storage host node, is additionally operable to generate metadata information, institute according to the target store path of the image file Stating metadata information includes the corresponding relation of the storage host node and the index ID of the image file;To the management node Send the metadata information;
The management node, for the metadata information to be stored in database is managed;
The accessed node, for according to the target store path of the metadata information and the image file to institute State image file and be managed operation, the management operation includes inquiry operation.
The method and system of image file management provided in an embodiment of the present invention, first, storage host node can be based on default Policy calculation goes out the target store path of image file, and target store path is stored, then by storage child node according to Target store path is stored to image file.Therefore, according to the target store path stored in a certain storage host node, use Family can inquire the image file in the storage child node managed by the storage host node.Secondly, the pipe in management node Reason database purchase has the corresponding relation of the index ID of storage host node and image file, therefore, according to the corresponding relation, user The corresponding storage host node of image file can be inquired.So, in the scheme of the embodiment of the present invention, total inquiry image file Flow it is as follows, when user need inquiry image file when, first, management node can manage database in search image file Index ID corresponding to target storage host node, then, target storage host node then directly looked into the memory space of itself The store path of the corresponding image files of index ID is looked for, the inquiry of image file is realized.With in the prior art using multistage catalogue Index and step by step lookup are compared, and in scheme provided in an embodiment of the present invention, management node searches the index ID correspondences of image file Storage host node, afterwards the storage host node by finding directly search the store path of the index corresponding image files of ID, It can be seen that, required image file can be just inquired by one-level index list, it is not necessary to search index list step by step, shorten Query time, therefore improve search efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of system of image file management provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the method for image file management provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the method for another image file management provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the method for another image file management provided in an embodiment of the present invention;
Fig. 5 is the illustrative diagram of the front-end interface in a kind of terminal provided in an embodiment of the present invention;
Fig. 6 is the flow chart of the method for another image file management provided in an embodiment of the present invention;
Fig. 7 is a kind of logical construction schematic diagram of the system of image file management provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The method of image file management provided in an embodiment of the present invention, is applied in the system of image file management, and this is System includes:Management node, storage host node, the storage child node, data source nodes and the access that are managed by storage host node Node.
Management node, the highest level in system, the administration authority with highest level, for image in storage system The index ID of file stores host node with the corresponding relation and inquiry target of storage host node.Asking for image file is managed when having When asking, the target that management node can be according to corresponding to the index ID of image file inquires about image file first stores host node, so Afterwards, the request for managing image file is sent to target and stores host node by management node, then continues root by target storage host node Image file is searched according to the request of management image file.
Storage host node, for calculating, the target store path of storing image files and inquiry image file target Store path.It should be noted that in system provided in an embodiment of the present invention, multiple can be provided with a management node Storage host node, such as Fig. 1 has been merely illustrative one of storage host node 1.When target storage host node is received After the request of the management image file that management node sends, storage host node can inquire about the target store path of image file, And then find required image file.
Storage child node, is managed by corresponding storage host node, as shown in figure 1, the storage management storage child node of host node 1 1st, storage child node 2 and storage child node 3.In the system of image file management, storage child node is used to store image text Part.The information of itself institute's storing image files can also be sent to the storage host node of itself is managed according to predetermined period, including The store path of data storage block, the memory capacity that data storage block takes, are then believed by storage host node according to these Breath calculates the residual memory space of storage child node, and storage host node is selected further according to preset strategy in residual memory space The target store path of new image file.
Data source nodes, for obtaining image file from image documentation equipment, for example, CT shadows can be obtained from CT scanner As file.After data source nodes obtain image file from image documentation equipment, can according to the corresponding sufferer number of image file or Person obtains the time of image file, generates the index ID of image file.For example, sufferer number is 120310119, the index ID of generation It is 1, sufferer number 120310120, the index ID of generation is 2, and the rest may be inferred.Additionally, data source nodes can also obtain image text Other attribute informations of part, the photographer of such as image file, corresponding diagnostic message etc..Data source nodes can be by acquisition The attribute information of image file is sent to management node, then is stored to management number the attribute information of image file by management node According to the correspondence position in storehouse.
Accessed node, for supplying user management image file.In embodiments of the present invention, accessed node can be user's Terminal, is provided with the application program of the management image file of medical institutions' offer in terminal, user is by the application in terminal Program manages the image file within the scope of its own right.Accessed node can also specialize in user's pipe for what medical institutions were provided with Manage the access equipment of image file.
The system of the image file management with reference to shown in Fig. 1, in order to solve because being looked into using search index list mode step by step The image file time needed for asking is long, causes to inquire the low problem of required image file efficiency, the embodiment of the invention provides one The method for planting image file management, as shown in Fig. 2 the method includes:
Step 201, storage host node calculate the target store path of simultaneously storing image files.
It should be noted that image file includes several data blocks, each data block correspondence at least one stores child node, The target store path of image file includes storage of each data block of image file in each self-corresponding storage child node Path.
For example, there is a management node in the system, host node A, B and C are stored, storage host node A is used to manage storage Child node A1, A2, storage host node B is used to manage storage child node B1, B2, B3.Existing image file a, image file b and shadow As file c, the index ID of image file a is 1, and the index ID of image file b is 2, and the index ID of image file c is 3.Wherein, Image file a is made up of 3 data blocks, is expressed as data block a1, data block a2, data block a3;Image file b is by 5 Data block is constituted, and is expressed as data block b1, data block b2, data block b3, data block b4, data block b5;Image file c by 2 data blocks are constituted, and are expressed as data block c1, data block c2.
Storing image files a is needed now, is computed, storage host node A determines the target store path of image file a such as Under:In storage child node A1, data block a3 storages are in storage child node A2 for data block a1 and data block a2 storages.
It is understood that after storage host node calculates the target store path of image file, target need to be stored and deposited Storage path.When subsequent user is managed by accessed node to image file, road can be stored according to the target of the storage Footpath inquires corresponding image file.
In order to more clearly from illustrate the storage content of storage host node, listed in the embodiment of the present invention as shown in table 1 Structure, table 1 shows the target store path of image file that storage host node is stored.
Table 1
It is worth noting that, in order to prevent store path of the storage on single storage host node from failing, leading to not look into Required image file is ask, in embodiments of the present invention, multiple storage host nodes is provided with, when a certain main section of storage therein During point disabler, the management node in system can control to open standby storage host node, therefore, the embodiment of the present invention is carried The scheme of confession, ensure that whole system continuous service, not influenceed by a certain storage master node functionality failure.
The corresponding storage child node of step 202, target store path is respectively according to target store path storing image files.
With reference to the citing in step 201, child node A1 data storage block a1 and data block a2 are stored, storage child node A2 is deposited Storage data block a3.
Step 203, storage host node generate metadata information, metadata information according to the target store path of image file Corresponding relation including storage host node with the index ID of image file.
With reference to the citing in step 201, storage host node A generates as follows according to the target store path of image file a Metadata information:Index ID is 1 image file a correspondence storage host nodes A.
Step 204, storage host node send metadata information to management node.
Step 205, management node store in database is managed metadata information.
Wherein, management database can be oracle database or mysql databases.In order to the letter in management database Breath carries out highly efficient operation, and frequency of usage data item higher is stored in internal memory in can managing database, is compared In storage in disk, the data item for being stored in internal memory can obtain faster processing speed.
It should be noted that other attribute informations for the image file that is also stored with management database, such as image file Shooting time, photographer, corresponding diagnostic message etc..It is understood that when subsequent user by accessed node to image When file is managed, can also be using other attribute informations of image file as querying condition.For example, user can be by defeated Enter the shooting time of image file to search image file, so as to be managed image file.
As table 2 shows the metadata information stored in management database.
Table 2
Step 206, accessed node are entered according to the target store path of metadata information and image file to image file Row management operation, management operation includes inquiry operation.
It is understood that when user need to by accessed node management objectives image file when, management node being capable of basis The metadata information stored in management database, inquires the corresponding target storage host node of target image file, then by target Host node inquires about the target store path of target image file, so as to find target image file.
The method of image file management provided in an embodiment of the present invention, storage host node is used to manage storage child node, first First, storage host node can calculate the target store path of image file based on preset strategy, and target store path is carried out Storage, then image file is stored according to target store path by storage child node.Therefore, according to a certain storage host node The target store path of middle storage, user can inquire the image text in the storage child node managed by the storage host node Part.Secondly, the management database purchase in management node has the corresponding relation of the index ID of storage host node and image file, Therefore, according to the corresponding relation, user can inquire the corresponding storage host node of image file.So, the embodiment of the present invention Scheme in, the flow of total inquiry image file is as follows, when user needs to inquire about image file, first, management node meeting The target corresponding to the index ID of image file is searched in database is managed and stores host node, then, target storage host node The store path of the corresponding image files of index ID is then directly searched in the memory space of itself, looking into for image file is realized Ask.Compared with using multistage directory index in the prior art and searching step by step, in scheme provided in an embodiment of the present invention, management section Point searches the corresponding storage host nodes of index ID of image file, and the storage host node by finding directly searches index ID afterwards The store path of corresponding image file, it is seen then that required image file can be just inquired by one-level index list, is not required to Index list is searched step by step, shorten query time, therefore improve search efficiency.
It should be noted that the storage mode of image file can produce larger image to the efficiency of management of image file, In order to improve the efficiency of image file management, image file should reasonably be stored, based on this, be carried in the embodiment of the present invention In another implementation for supplying, the method to storing child node storing image files is illustrated, as shown in figure 3, above-mentioned The corresponding storage child node of step 202, target store path includes according to target store path storing image files respectively:
Step 301, storage host node send the target store path of image file to data source nodes.
It should be noted that after data source nodes obtain image file from image documentation equipment, can be to storage host node The solicited message of storing image files is sent, storage host node is received after the solicited message, and institute is sent to data source nodes Ask the target store path of image file.With reference to the citing in step 201, storage host node A sends to data source nodes The target store path of image file a is:In storage child node A1, data block a3 is stored for data block a1 and data block a2 storages In storage child node A2.
Step 302, data source nodes send to the corresponding storage child node of target store path of image file deposit respectively Storage instruction, store instruction carries the target store path of image file and image file.
Step 303, the corresponding storage child node of target store path of image file store each self-corresponding data respectively Block.
As illustrated in step 301, storage child node A1 and A2 is being respectively received the image file a of data source nodes transmission Target store path after, store child node A1 data storage block a1, a2, storage child node A2 data storage blocks a3.
The image file that itself is stored is sent data source nodes the storage child node corresponding to target store path, then Each self-corresponding data block is stored by the corresponding storage child node of target store path.Compared to existing to whole image file Stored, the method for image file management provided in an embodiment of the present invention carries out piecemeal storage to image file, and then rear During continuous inquiry image file, parallel work-flow can be carried out to the data block of image file, i.e., can simultaneously inquire about same image Multiple data blocks of file, shorten query time, improve the efficiency of image file inquiry.
It is understood that after storage child node has stored image file, user can just be saved by accessing Point management image file, based on this, in another implementation provided in an embodiment of the present invention, image is managed to accessed node The mode of file is illustrated, as shown in figure 4, above-mentioned steps 206, accessed node are according to metadata information and image file Target store path operation be managed to image file include:
Step 401, accessed node receive the query statement of user input, index ID of the query statement comprising image file.
As a example by terminal with accessed node as user, used as a kind of achievable mode of step 401, user can be in terminal Front-end interface input image file query statement.As shown in figure 5, a kind of front-end interface in showing terminal.In this hair In bright embodiment, front-end interface using HTML (HyperText Markup Language, hereinafter referred to as HTML), the code such as HyperText Preprocessor (Hypertext Preprocessor, hereinafter referred to as PHP) is write, and can make Terminal carries out data interaction by the management node on front-end interface and backstage.
Wherein, the mode of user input query instruction can be the rope of the input image file in the input frame of front-end interface Draw ID, then click on inquiry button, now, the operation meeting triggering terminal of user sends query statement to management node.
It is understood that user can also be searched by the sufferer number others querying condition being input into such as Fig. 5 Image file, so as to be managed to image file.
Step 402, accessed node send query statement to management node.
For example, the index ID included in query statement is 1.
Step 403, management node are corresponding according to the index ID in query statement searching and managing database with image file Storage host node.
Management node is received after the query statement in step 402, by the management database shown in inquiry table 1, is looked into Ask the image file a correspondence storage host nodes A that index ID is 1.
Step 404, management node send query statement to storage host node.
Step 405, storage host node search the target store path of image file according to query statement.
With reference to the citing in step 201, storage host node A can inquire image according to the query statement that index ID is 1 The target store path of file a.
Step 406, storage host node send inquiry to the corresponding storage child node of target store path of image file please Ask, inquiry request carries the target store path of image file.
Step 407, the corresponding storage child node of target store path of image file return to image file to accessed node.
The method of image file management provided in an embodiment of the present invention, when user needs inquiry image file, first, pipe The target that reason node can search corresponding to the index ID of image file in database is managed stores host node, and then, target is deposited Storage host node then directly searches the store path of the corresponding image files of index ID in the memory space of itself, realizes image text The inquiry of part.Compared with using multistage directory index in the prior art and searching step by step, in scheme provided in an embodiment of the present invention, Management node searches the corresponding storage host nodes of index ID of image file, and the storage host node by finding directly is searched afterwards The store path of the corresponding image files of index ID, it is seen then that the image text needed for can just being inquired by one-level index list Part, it is not necessary to search index list step by step, shortens query time, therefore improve search efficiency.
In another implementation provided in an embodiment of the present invention, the computational methods to target store path are said It is bright, as shown in fig. 6, step 201, storage host node are calculated and the target store path of storing image files includes:
Step 601, the storage child node managed from storage host node send to storage host node respectively according to predetermined period Storage information, storage information includes the store path of data storage block, the memory capacity that data storage block takes.
Wherein, message can be sent to storage host node in real time to ensure storage child node, predetermined period can take 2 Second.Storage child node reported the storage information of itself every 2 seconds to storage host node, then by storage host node in real time according to storage The storage information that child node is reported is calculated and adjusts the store path of new image file, improves whole image file management system The flexibility of system.
Step 602, storage host node calculate the residual memory space of each storage child node according to storage information.
Step 603, storage host node the selection target store path in residual memory space according to preset strategy.
The data in host node internal memory is stored are stored, read or write speed will be far above the speed of storage data in disk, Therefore, in preset strategy, the relatively low image file of the frequency will be inquired about and is preferably stored in the disk of storage host node, will inquired about Frequency image file higher is preferably stored in internal memory, therefore, the inquiry frequency according to image file, the embodiment of the present invention Scheme can effectively improve the speed of image file data query.
The method of image file management provided in an embodiment of the present invention, storage host node can be real-time according to storage child node The storage information for reporting determines to store the residual memory space of child node, and surplus based on preset strategy and storage child node The store path of the new image file of remaining memory space real-time adjustment, improves the flexibility of whole image file storage system.
Corresponding to above-mentioned flow and method, in order to solve because using image text needed for the inquiry of search index list mode step by step The part time is long, causes to inquire the low problem of required image file efficiency, and the embodiment of the present invention provides a kind of image file management System, as shown in fig. 7, the system includes:Management node 702, storage host node 704, managed by storage host node 704 Storage child node 705, data source nodes 703 and accessed node 701.
Storage host node 704, the target store path for calculating simultaneously storing image files;
Wherein, image file includes several data blocks, and each data block correspondence at least one stores child node 705, image The target store path of file includes storage road of each data block of image file in each self-corresponding storage child node 705 Footpath.
The corresponding storage child node 705 of target store path, for respectively according to target store path storing image files;
Storage host node 704, is additionally operable to generate metadata information, metadata letter according to the target store path of image file Breath includes storing the corresponding relation of host node 704 and the index ID of image file;Metadata information is sent to management node 702;
Management node 702, for metadata information to be stored in database is managed;
Accessed node 701, for being entered to image file according to the target store path of metadata information and image file Row management operation, management operation includes inquiry operation.
In another implementation provided in an embodiment of the present invention, host node 704 is stored, be additionally operable to data source nodes The 703 target store paths for sending image file;
Data source nodes 703, for being sent to the corresponding storage child node 705 of target store path of image file respectively Store instruction, store instruction carries the target store path of image file and image file;
The corresponding storage child node 705 of target store path of image file, is additionally operable to store each self-corresponding number respectively According to block.
In another implementation provided in an embodiment of the present invention, accessed node 701 is additionally operable to receive user input Query statement, index ID of the query statement comprising image file;Query statement is sent to management node 702;
Management node 702, is additionally operable to corresponding according to the index ID in query statement searching and managing database with image file Storage host node 704;Query statement is sent to storage host node 704;
Storage host node 704, is additionally operable to be searched according to query statement the target store path of image file;To image file The corresponding storage child node 705 of target store path send inquiry request, the target that inquiry request carries image file deposits Storage path;
The corresponding storage child node 705 of target store path of image file, is additionally operable to return to image to accessed node 701 File.
In another implementation provided in an embodiment of the present invention, the storage child node of the storage management of host node 704 705, for sending storage information to storage host node 704 respectively according to predetermined period, storage information includes data storage block Store path, data storage block take memory capacity;
Storage host node 704, is additionally operable to be calculated according to storage information the residual memory space of each storage child node 705; According to preset strategy in residual memory space selection target store path.
The system of image file management provided in an embodiment of the present invention, first, storage host node can be based on preset strategy meter The target store path of image file is calculated, and target store path is stored, then deposited according to target by storage child node Storage path stores to image file.Therefore, according to the target store path stored in a certain storage host node, user can Inquire the image file in the storage child node managed by the storage host node.Secondly, the management data in management node Stock contains the corresponding relation of the index ID of storage host node and image file, therefore, according to the corresponding relation, user can look into Ask the corresponding storage host node of image file.So, in the scheme of the embodiment of the present invention, total flow for inquiring about image file As follows, when user needs inquiry image file, first, management node can search the index of image file in database is managed Target storage host node corresponding to ID, then, target storage host node then directly searches index in the memory space of itself The store path of the corresponding image files of ID, realizes the inquiry of image file.With in the prior art using multistage directory index and Search step by step and compare, in scheme provided in an embodiment of the present invention, management node searches the corresponding storages of index ID of image file Host node, afterwards the storage host node by finding directly search the store path of the index corresponding image files of ID, it is seen then that warp Crossing one-level index list can just inquire required image file, it is not necessary to index list be searched step by step, when shortening inquiry Between, therefore improve search efficiency.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be borrowed Software is helped to add the mode of required common hardware to realize, naturally it is also possible to which by hardware, but the former is more preferably in many cases Implementation method.Based on such understanding, the portion that technical scheme substantially contributes to prior art in other words Dividing can be embodied in the form of software product, and the computer software product is stored in the storage medium that can read, and such as be counted The floppy disk of calculation machine, hard disk or CD etc., including some instructions are used to so that computer equipment (can be personal computer, Server, or the network equipment etc.) perform method described in each embodiment of the invention.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any The invention discloses technical scope in change or replacement, should all be included within the scope of the present invention.Therefore, this hair Bright protection domain should be based on the protection scope of the described claims.

Claims (10)

1. a kind of method of image file management, it is characterised in that methods described is applied in the system of image file management, institute State system including management node, storage host node, by it is described storage host node managed storage child node, data source nodes with And accessed node, methods described includes:
The storage host node calculates the target store path of simultaneously storing image files;
The corresponding child node that stores of the target store path stores the image file according to the target store path respectively;
The storage host node generates metadata information, the metadata information according to the target store path of the image file Corresponding relation including the storage host node with the index ID of the image file;
The storage host node sends the metadata information to the management node;
The management node stores in database is managed the metadata information;
The accessed node is literary to the image according to the target store path of the metadata information and the image file Part is managed operation, and the management operation includes inquiry operation.
2. the method for image file management according to claim 1, it is characterised in that
The image file includes several data blocks, and each data block correspondence at least one stores child node, the image file Target store path including the image file store path of each data block in each self-corresponding storage child node.
3. the method for the image file management according to claim 2, it is characterised in that target store path is corresponding to be deposited Storage child node stores the image file according to the target store path respectively to be included:
The storage host node sends the target store path of the image file to the data source nodes;
The data source nodes send storage and refer to the corresponding storage child node of target store path of the image file respectively Order, the store instruction carries the target store path of the image file and the image file;
The corresponding storage child node of target store path of the image file stores each self-corresponding data block respectively.
4. the method for image file management according to claim 1, it is characterised in that the accessed node is according to the unit The target store path of data message and the image file is managed operation to the image file to be included:
The accessed node receives the query statement of user input, index ID of the query statement comprising the image file;
The accessed node sends the query statement to the management node;
The management node is according to index ID pairs in the query statement inquiry management database with the image file The storage host node answered;
The management node sends the query statement to the storage host node;
The storage host node searches the target store path of the image file according to the query statement;
The storage host node sends inquiry request, institute to the corresponding storage child node of target store path of the image file State the target store path that inquiry request carries the image file;
The corresponding storage child node of target store path of the image file returns to the image file to the accessed node.
5. the method for image file management according to any one of claim 1 to 4, it is characterised in that the storage master Node is calculated and the target store path of storing image files includes:
From the storage child node of the storage host node management storage is sent according to predetermined period to the storage host node respectively Information, the storage information includes the store path of data storage block, the memory capacity that data storage block takes;
The storage host node calculates the residual memory space of each storage child node according to the storage information;
The storage host node selects the target store path according to preset strategy in residual memory space.
6. a kind of system of image file management, it is characterised in that the system includes:Management node, storage host node, by institute State storage child node, data source nodes and accessed node that storage host node is managed;
The storage host node, the target store path for calculating simultaneously storing image files;
The corresponding storage child node of the target store path, for storing the image according to the target store path respectively File;
The storage host node, is additionally operable to generate metadata information, the unit according to the target store path of the image file Data message includes the corresponding relation of the storage host node and the index ID of the image file;Sent to the management node The metadata information;
The management node, for the metadata information to be stored in database is managed;
The accessed node, for according to the target store path of the metadata information and the image file to the shadow As file is managed operation, the management operation includes inquiry operation.
7. the system of image file management according to claim 6, it is characterised in that
The image file includes several data blocks, and each data block correspondence at least one stores child node, the image file Target store path including the image file store path of each data block in each self-corresponding storage child node.
8. the system of the image file management according to claim 7, it is characterised in that
The storage host node, is additionally operable to be sent to the data source nodes target store path of the image file;
The data source nodes, deposit for being sent to the corresponding storage child node of target store path of the image file respectively Storage instruction, the store instruction carries the target store path of the image file and the image file;
The corresponding storage child node of target store path of the image file, is additionally operable to store each self-corresponding data respectively Block.
9. the system of image file management according to claim 6, it is characterised in that
The accessed node, is additionally operable to receive the query statement of user input, and the query statement includes the image file Index ID;The query statement is sent to the management node;
The management node, is additionally operable to according to the rope in the query statement inquiry management database with the image file Draw the corresponding storage host nodes of ID;The query statement is sent to the storage host node;
The storage host node, is additionally operable to be searched according to the query statement target store path of the image file;To institute The corresponding storage child node of target store path for stating image file sends inquiry request, and the inquiry request carries the shadow As the target store path of file;
The corresponding storage child node of target store path of the image file, is additionally operable to return to the shadow to the accessed node As file.
10. the system of the image file management according to any one of claim 6 to 9, it is characterised in that
The storage child node of the storage host node management, deposits for being sent to the storage host node respectively according to predetermined period Storage information, the storage information includes the store path of data storage block, the memory capacity that data storage block takes;
The storage host node, is additionally operable to be calculated according to the storage information residual memory space of each storage child node;Root The target store path is selected in residual memory space according to preset strategy.
CN201710081994.8A 2017-02-15 2017-02-15 Method and system for managing image files Active CN106874468B (en)

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 true CN106874468A (en) 2017-06-20
CN106874468B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
CN106874468B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN104486445B (en) Distributed extendable resource monitoring system based on cloud platform
JP3984659B2 (en) Overview catalog
CN104704773B (en) Cloud storage method and system
US20130110873A1 (en) Method and system for data storage and management
CN106034160B (en) Distributed computing system and method
CN106775959A (en) Distributed transaction processing method and system
CN102640125A (en) Distributed content storage and retrieval
CN104917843B (en) Cloud storage and medical image seamless interfacing system
CA3160463A1 (en) Method and apparatus for managing iot device, and server and storage medium thereof
CN111460031B (en) Data synchronization method, device, equipment and medium
CN108512908A (en) A kind of cloud storage fault tolerant mechanism based on Ceph and the web-based management platform based on Ceph
US9268965B2 (en) Gathering, storing and using reputation information
CN108845877A (en) The methods, devices and systems of managing internal memory
CN109408689A (en) Data capture method, device, system and electronic equipment
KR20220146310A (en) Intelligent meta PACS system and server
Ribeiro et al. Clustering of distinct PACS archives using a cooperative peer-to-peer network
US20220078829A1 (en) Scheduling database system
CN109117086A (en) Processing method, device, equipment and the storage medium of storage device data position
CN105512246A (en) DICOM file access method and device
CN106874468A (en) A kind of method and system of image file management
CN110457307A (en) Metadata management system, user's cluster creation method, device, equipment and medium
US20070233972A1 (en) Methods and apparatus for transferring content to multiple destinations
US20080208797A1 (en) Automated record attribute value merging from multiple directory servers
Sudakov et al. User clients for working with medical images in Ukrainian Grid infrastructure
Nordin et al. Goal-based request cloud resource broker in medical application

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
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