Summary of the invention
Technical matters to be solved by this invention is, a kind of image data method for visualizing and device thereof and system are provided, data transmission efficiency is high, be convenient to data management, and image data can present in mode intuitively by it, reduce the intractability of data, the data processing time of saving, improves work efficiency.
In order to solve the problems of the technologies described above, the invention provides a kind of image data method for visualizing, comprising:
By the image data that Network Capture image documentation equipment generates;
Described image data is carried out format conversion, and is stored in memory device;
The data access that receiving terminal is sent by network/management request, and with data access described in web mode response/management request.
Further, the image data after conversion is stored and the step in memory device, specifically comprises:
Judge that whether the data structure of the image data after changing is consistent with the visual data arrangement that image documentation equipment generates, if so, then the image data after conversion is named according to predetermined form, and be stored in memory device.
Further, described memory device comprises raw data district and public data area, then described by conversion after the step of image store in memory device specifically comprise:
According to predetermined classifying rules, the image data after conversion is stored and described public data area, and backed up in synchronization is to described raw data district.
Further, before responding described request of access, authentication is carried out to the user sending request of access, and after by authentication, according to the user management Permission Levels database pre-established, judge the administration authority grade of described user, when the administration authority grade of the current access request and described user that determine described user matches, then respond described request of access.
Further, described memory device also comprises personal data district, and described request of access comprises data and downloads, then respond described request of access and be specially:
Data in described public data area are downloaded to described personal data district, and by the image data backed up in synchronization that is downloaded in described common data to raw data district, automatically delete the image data be downloaded in described public data area simultaneously.
Correspondingly, the embodiment of the present invention additionally provides a kind of image data processing device, comprising:
Memory device, for stored images data;
Data processing module, for obtaining the image data that image documentation equipment generates, and carries out format conversion by obtained image data, and is stored in described memory device by the image data after format conversion;
Web module, for data access/management request that receiving terminal sends, and responds described data access/management request.
Further, described memory device comprises raw data district and public data area, then described data processing module comprises:
Format conversion unit, for obtaining the image data that image documentation equipment generates, and carries out format conversion by obtained image data;
Data synchronisation unit, is connected with described format conversion unit, and for the image data after format conversion is stored to described public data area, and backed up in synchronization is to described raw data district.
Further, described format conversion unit is also for before being stored in memory device by the image data after conversion, judge the integrality of the data structure of the image data after conversion, and when judging that the data structure of the image data after changing is consistent with the visual data arrangement that image documentation equipment generates, then the image data after conversion is named according to predetermined form; Then
Described data synchronisation unit is used for according to predetermined classifying rules, the image data named classification is stored in described public data area, and backed up in synchronization is to described raw data district according to predetermined format.
Further, described web module comprises:
Identity authenticating unit, for carrying out authentication to the user sending described access/management request;
Permission Levels identifying unit, be connected with described identity authenticating unit, for when described user is by after authentication, according to the user management Permission Levels database pre-established, judge whether the administration authority grade of described user and the current request of access of described user match;
Response unit, be connected with described identity authenticating unit with institute Permission Levels identifying unit, when matching for the request of access that the administration authority grade and described user of judging described user when described Permission Levels identifying unit are current, respond described access/management request.
Further, described memory device also comprises personal data district, described request of access comprises data and downloads, then the response unit of described web module is used for the data in described public data area to be downloaded to described personal data district, and by the image data backed up in synchronization that is downloaded in described common data to raw data district, delete the image data be downloaded in described public data area simultaneously.
Correspondingly, present invention also offers a kind of image data visualization system, it comprises:
Image documentation equipment, for scanning by scanning person, and generates image data;
Image data processing device described above, is connected with described image documentation equipment by network, for obtaining the image data that described image documentation equipment generates, and after being carried out format conversion, and storage of then classifying; And data access/management request that reception processing terminal sends, and respond described data access/management request;
Terminal, be connected with described image data processing device by network, ask for sending data access/management by browser to described image data processing device, and ask the response made to present with visual means to described data access/management described image data processing device.
Implement the embodiment of the present invention, there is following beneficial effect:
The image data that image data method for visualizing of the present invention generates by obtaining image documentation equipment, and store after being carried out format conversion, then with the data access of web mode response terminal/management request, namely the present invention is by storing with the memory device of rear end by image data, user is then made directly can directly to access/manage image data by the mode of browser access, so that scientific research personnel analyzes image data, the operations such as process and management, thus improve data transmission rate, also improve work efficiency, simultaneously by being stored in memory device by unified for image data, be convenient to the unified management of data, it also avoid the situations such as the loss of data by causing in the copy mode processes such as hard disk, meanwhile, in the present invention, in advance image data is carried out format conversion, made it be converted to the data that can directly understand, thus reduce the intractability of data, and then improve work efficiency.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
See Fig. 1, it is the process flow diagram of an embodiment of a kind of image data method for visualizing of the present invention.Particularly, in the present embodiment, this image data method for visualizing specifically comprises step:
S11, obtains the image data that image documentation equipment generates.
In the present embodiment, this image documentation equipment can be the image scanners such as MRI, CT, PET, particularly, refer in the present embodiment that image data processing device directly obtains the image data of generation from the server of image documentation equipment by network, thus avoid carrying out by USB flash disk or the mode such as hard disk or CD the loss of data that causes in copy procedure.
S13, carries out format conversion by the image data in the step S11 of acquisition, and is stored in memory device.
Because the scan data file title that obtains from the server of image documentation equipment normally shows with the form of ID, common IT personnel can not understand data intuitively, therefore first format conversion is carried out in the present embodiment, be processed into understandable file name to show by image data file name, common IT personnel also can directly be gone to process these data hard to understand.Particularly, the Header part scanning the Dicom data obtained due to image scanner have recorded by information such as the name of scanning person, research topic, scanning positions, therefore, only need just can directly read Header information by the Dicom DLL (dynamic link library) (Dicom DLL (dynamic link library) as corresponding in Java) of correspondence, and carry out naming rear storage according to predetermined format, as by its file name called after " name+scanning position+research topic ".
Further, in the present embodiment, before storing, the integrality of the data structure of the image data after to conversion is needed to judge, namely judge that whether the data structure of the image data after changing is consistent with the data structure of the image data that image documentation equipment generates, if so, then the image data after conversion is carried out classification and store, otherwise, then change again after again changing or again obtaining.In one embodiment, first need the quantity defining image data file, when image data file does not receive, the state value of mark reception condition can not change, and receives rear just change; After receiving, then by the image data of image documentation equipment and synchronous after the header file of image data and data file corresponding contrast respectively, thus ensure the consistance through synchronous translated data structure.
In the present embodiment, the memory device of image data processing device adopts NAS extending transversely to store, and be divided into raw data district, public data area and three pieces, personal data district, wherein, protection level in raw data district is set to the highest, for storing significant data, and in user management Permission Levels database, the user of setting general management Permission Levels only has read-only authority to the image data in raw data district; The protection level of public data area is set to minimum, makes the operations such as all use can read and write the image data in this public domain per family, execution; And the protection level in personal data district is set to higher, and the image data in this personal data district carries out classification storage, particularly, the principle that classification stores can be: first classify by individual, seminar, unit, then classify by research topic or disease, then classify by scanning position; Certainly it is also understandable for carrying out classification storage according to other classifying ruless as required, correspondingly, user also divides in strict accordance with individual, seminar, unit the operating right in this personal data district, namely general personal user can only conduct interviews to being divided into a human data, seminar then can conduct interviews to the data of individual and/or seminar's class and manage, unit then can conduct interviews to the data of individual, seminar and unit class and manage, in addition, also the image data of terminal or alternative document can be uploaded to this personal data district; During concrete enforcement, in the present embodiment, after image data is carried out format conversion, then the image data after conversion is directly stored in public data area by image data processing device, and backs up to raw data district simultaneously.
In the present embodiment, when data in this raw data district, public data area and personal data district store, all can adopt the mode that classification stores, namely all can according to first classifying by individual, seminar, unit, then classify by research topic or disease, the mode stored of classifying is carried out again by scanning position, certainly also can as required, each district carries out classification according to different mode classifications respectively and stores.
S15, the data access that receiving terminal sends/management request, and with this data access of web mode response/management request.
During concrete enforcement, scientific research personnel can carry out logon operation by the browser of terminal, and sends data access/management request to image data processing device end, and image data processing device then receives this request of access, and makes corresponding response.In the present embodiment, this request of access can comprise: download image data from public data area to personal data district, or upload image data to this public data area, online preview carried out to the image data in personal data district, checks, inquire about, delete, share, or uploading data file is to operations such as personal data districts.Wherein, when request of access for downloading image data in public data area, with this data access request of web mode response, namely (this image data be downloaded may be that the image data generated by image documentation equipment obtains after conversion to download corresponding image data according to the information in this request of access, also this public data area may be uploaded to by user by alternate manner), while downloading by the image data backed up in synchronization that is downloaded to raw data district, and delete the image data be downloaded in public data area.In the present embodiment, user terminal does not need the software of professional or specialty to carry out data, but directly can carry out direct control by browser to the data in personal data district, thus improves work efficiency; And by being stored in unified for image data in personal data district, thus be convenient to unified centralized management.
In the present embodiment, owing to asking with the data in access or managing memory apparatus by data access/management, directly can access the image data in individual memory block, or directly upload file is to this personal data district, carry out calculating as the data that can directly access in storage, process, analyze and the operation such as 3D demonstration, thus be convenient to the research work in scientific research personnel's later stage, also improve work efficiency.
Affect destructuring that equipment not very increases and affect data in order to satisfied will adapt to ever-increasing demand on storage space and I/O performance, the memory device being easy to expand adopted in the present embodiment, IO performance of its storage is expanded along with the expansion of memory node.
On the other hand, in order to data security, in the present embodiment, before response request of access, also comprise step:
Authentication is carried out to the user sending request of access; When by after authentication, according to the user management Permission Levels database pre-established, judge the administration authority grade of this user, namely judge whether its administration authority grade matches with its request of access, if coupling, then respond this request of access, if do not mate, refuse response.
In the present embodiment, this authentication can be the Security Authentication Service such as SNMP or LDAP or ADS.Define the administration authority grade of user in this user management Permission Levels database, this administration authority grade comprises the level of security of this user, the access level to file, and user uses the quota etc. of disk.Such as, for the raw data district that protection level is the highest, general user only has read-only authority, and keeper then has access limit; For the public data area that protection level is minimum, all use has access limit per family; And for the higher personal data district of protection level; user is divided into individual, seminar and unit Three Estate again; correspondingly; data in this personal data district are also carry out classification according to individual, seminar and unit to store; if that namely log in is individual; then it can only conduct interviews to the data of the individual mankind or manage; if and the seminar of the user logged in; then it can conduct interviews to the data of the individual mankind and seminar's class or manage; in like manner, unit can conduct interviews to these three classes data or manage.Therefore, judge in the present embodiment whether its administration authority grade matches with its request of access, namely judge the request of access that this user sends or whether corresponding with it authority of management request corresponding, such as, if general user, if what it sent is the request of access of checking the data in raw data district, then its request of access and its Permission Levels match, if what it sent is modify to the data in raw data district or the management such as deletion request, then its management request is not mated with its Permission Levels, then refusal responds or directly feeds back lack of competence.
In the present embodiment, user is visited or management data by terminal browser, namely the automatic load balancing of accessing is realized by the mode of domain name access, with the access limit ensureing that data can be read fast by computing node and process, bound data uses user.
Be described in detail below in conjunction with specific embodiment this image data method for visualizing to the present embodiment:
1) image data named with ID form of the scanning generation that the server of magnetic resonance equipment stores is obtained.
2) obtained image data is converted to " name+scanning position+research topic " name can the image data of intuitivism apprehension.
3) by the mode of network, the image data after conversion is stored to the public data area of memory device, backs up to raw data district simultaneously.
4) user is logged in by the browser of terminal, and sends the request of access from public data area download image data to personal data district.
5) authentication is carried out to this user, by performing step 6 after authentication), otherwise perform step 8).
6) according to the user management Permission Levels database prestored, judge whether this user has corresponding access rights, namely judge whether its request of access proposed matches with its management claim grade, if coupling, perform step 7), otherwise perform step 9).
7) according to request of access is in public data area, download the image data needed, and presented with visual means by the browser of terminal.
8) image data be downloaded is backed up to raw data district, and in public data area, delete the image data be downloaded, process ends.
9) refusal response or feedback lack of competence, and re-execute step 4).
Embodiment two
Corresponding to the image data method for visualizing in above-described embodiment one, present invention also offers a kind of image data processing device, below in conjunction with specific embodiments and the drawings, it is described in detail.
See Fig. 2, be the functional block diagram of an embodiment of a kind of image data processing device of the present invention, particularly, in the present embodiment, this image data processing device specifically comprises:
Memory device 12, for stored images data, in one embodiment, NAS extending transversely is adopted to store, and be divided into three pieces of regions in advance, namely raw data district, public data area and personal data district is respectively, wherein, the protection level in raw data district is set to the highest, for storing significant data, and in user management Permission Levels database, the user of setting general management Permission Levels only has read-only authority to the image data in raw data district, the protection level of public data area is set to minimum, makes the operations such as all use can read and write the image data in this public domain per family, execution, and the protection level in personal data district is set to higher, and image data is carried out classification storage according to predetermined classifying rules by the image data in this personal data district, such as, first by individual, seminar, unit classifies, then classify by research topic or disease, undertaken classify (namely achieving the visual of storage file name catalogue level name) by scanning position again, correspondingly, operating right is also in strict accordance with individual, seminar, unit divides, namely general personal user can only conduct interviews to being divided into a human data, seminar then can conduct interviews to the data of individual and/or seminar's class and manage, unit then can to individual, the data of seminar and unit class conduct interviews and manage, in addition, also the image data of terminal or alternative document can be uploaded to this personal data district, certainly also can carry out classification according to the mode classification identical with the image data in this personal data district to raw data district with the image data in public data area to store, each district also can arrange different mode classification as required respectively and carries out classification storage and be also appreciated that certainly,
Data processing module 11, for obtaining the image data that image documentation equipment generates, and carries out format conversion by obtained image data, and is stored in described memory device by the image data after format conversion, particularly, in the present embodiment, this data processing module 11 comprises format conversion unit, be connected with image documentation equipment, for obtaining the image data that image documentation equipment generates, and obtained image data is carried out format conversion, form due to the file name ID of the image data of acquisition shows, personnel that must be professional can understand, therefore, in order to understand or obtain some brief information of this image data intuitively, by format conversion unit, image data is carried out format conversion in the present embodiment, namely the Dicom DLL (dynamic link library) (Dicom DLL (dynamic link library) as corresponding in Java) directly passing through correspondence just directly can read the Header information of Dicom data, and (the Header part that image scanner scans the Dicom data obtained records by the name of scanning person, research topic, the information such as scanning position), and carry out naming rear storage according to predetermined format, as by its file name called after " name+scanning position+research topic ", data synchronisation unit, is connected with this format conversion unit, and for the image data after format conversion is stored to above-mentioned public data area, and backed up in synchronization is to raw data district, further, due in the present embodiment, when carrying out format conversion, just the title of image data file is changed, therefore after completing format conversion, before storage, the format conversion unit of this data processing module 11 also needs first to judge the data structure integrality of the image data after conversion, and after judging that the data structure of the image data after changing is consistent with the data structure of the image data that image documentation equipment generates, stored by data synchronisation unit again, otherwise repeating data is changed, judge the step of integrality until judge that both data structures are consistent, just store,
Web module 13, for data access/management request that receiving terminal is sent by network, and responds this data access/management request; Particularly, in the present embodiment, this web module 13 comprises identity authenticating unit, for carrying out authentication to the user sending access/management request; Permission Levels identifying unit, is connected with identity authenticating unit, for when user is by after authentication, according to the user management Permission Levels database pre-established, judges whether the request of access of the administration authority grade transmission current with it of this user matches; Response unit, is connected with identity authenticating unit with Permission Levels identifying unit, when the current request of access of administration authority grade and this user for judging this user when this Permission Levels identifying unit matches, responds this access/management request; In the present embodiment, the requests such as the request of this data access/management specifically can comprise the online preview request of image data in the personal data district to memory device, data sharing request, removal request, searching request, data are downloaded or uploaded, and to the download of image data in public data area or to requests such as public data area uploading datas; Wherein, when this response unit has responded after the request of access of public data area downloading data, downloaded image data is backed up to raw data district by it simultaneously, and also will delete the image data be downloaded in public data area; That is to say, in the present embodiment, this web module 13 has been responsible for image data web visualization processing, the i.e. response terminal request of access of sending, on the other hand, also be responsible for user authority management, namely before the request of access of response terminal transmission, need first to verify the identity of the user logged in, after passing through authentication, again its administration authority grade is judged, when its administration authority grade and request of access match, just respond this request of access, otherwise refusal response, or feedback lack of competence.
Embodiment three
See Fig. 3, be the structural representation of an embodiment of a kind of image data visualization processing system of the present invention, particularly, in the present embodiment, this image data visualization processing system specifically comprises:
Image documentation equipment 1, for scanning by scanning person, and generates image data; In the present embodiment, this image documentation equipment can be the equipment such as MRI, CT, PET, and its Header part scanning the Dicom data obtained have recorded by information such as the name of scanning person, research topic, scanning positions;
Image data processing device 2, it is connected with image documentation equipment by network, for obtaining the image data that this image documentation equipment generates, and after being carried out format conversion, carrying out classification and storing; And the request of access that reception processing terminal sends, and respond this request of access; In the present embodiment, what this image data processing device adopted is image data processing device in above-described embodiment two, and its working method is also identical with the image data processing device in above-described embodiment two, therefore repeats no more here;
Terminal 3, is connected with this image data processing device by network, for sending request of access to this image data processing device, and is presented with visual means the response that described request of access is made by this image data processing device.
This image data visualization system of this enforcement obtains the image data of image documentation equipment generation by image data processing device, and store after being carried out format conversion, then with the data access of web mode response terminal/management request, namely by image data being stored with the memory device of rear end, user is then made directly can directly to access/manage image data by the mode of browser access, so that scientific research personnel analyzes image data, the operations such as process and management, thus improve data transmission rate, also improve work efficiency, simultaneously by being stored in memory device by unified for image data, be convenient to concentrating of data, unified management, it also avoid the situations such as the loss of data by causing in the copy mode processes such as hard disk, meanwhile, in advance image data is carried out format conversion, made it be converted to the data that can directly understand, thus reduce the intractability of data, and then improve work efficiency.
Above disclosedly be only present pre-ferred embodiments, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.