Medical image data storage method, device, computer equipment and storage medium

By receiving write requests in the multi-hospital PACS system and determining the target server to store medical imaging files based on label information and routing rules, the problem of low cross-hospital retrieval efficiency is solved and efficient medical imaging file storage and retrieval is achieved.

CN115019939BActive Publication Date: 2025-01-24SHANGHAI UNITED IMAGING METAHEALTHCARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210590669.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2025-01-24
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

In the PACS system of multi-campus, the efficiency of cross-campus review of medical imaging files is low, which leads to the need for doctors to frequently send review requests during follow-up visits, which takes a long time.

Method used

Through the writing request of the target medical imaging file sent by the computer equipment, determine the target server from the candidate server according to the target label information and routing rules table, and store the target medical image file to the target server. The routing rules in the routing rules table are set in accordance with the requirements of medical imaging files.

Benefits of technology

The medical imaging files are realized in the target server according to the requirements of the viewing needs, reducing the request of cross -hospital viewing, and improving the efficiency of medical imaging documents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115019939B_ABST
    Figure CN115019939B_ABST
Patent Text Reader

Abstract

The present application relates to a medical image data storage method, device, computer equipment and storage medium. The method comprises: receiving a write request including a target tag information of a target medical image file sent by a computer device, and determining a target server from each candidate server according to the target tag information and a routing rule table, and then storing the target medical image file to the target server, wherein the routing rules in the routing rule table are rules set according to the medical image file access requirements. After storing medical image files using this storage method, the access efficiency of medical image files can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, computer equipment and storage medium for storing medical image data. Background Art

[0002] Picture Archiving and Communication System (PACS) is a system used in hospital imaging departments. PACS system plays an important role in transmitting data between various imaging devices and organizing and storing data.

[0003] At present, a hospital may have many branches, and the PACS server of each branch is often independent. If a patient goes to different branches for examination, the medical image files of the examination will be stored in the PACS server of the corresponding branch. In the case of adopting the above-mentioned image file storage method, if a patient goes to one of the branches for a follow-up visit again, if the doctor in the branch needs to access all the image files of the patient, he needs to send a access request to other branches.

[0004] However, sending retrieval requests across campuses is time-consuming, resulting in low efficiency in retrieval of medical imaging files. Summary of the invention

[0005] Based on this, it is necessary to provide a medical image data storage method, device, computer equipment and storage medium that can improve the efficiency of medical image file retrieval in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for storing medical image data. The method comprises:

[0007] Receiving a write request for a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file;

[0008] Determine the target server from the candidate servers according to the target tag information and the routing rule table; wherein the routing rule table includes the tag information of the medical image file and the routing rules between the candidate servers, and the routing rules are set according to the medical image file access requirements;

[0009] The target medical image file is stored in the target server.

[0010] In one of the embodiments, the target tag information includes level information corresponding to the target medical image file and / or identification information of a medical institution.

[0011] In one embodiment, if the hierarchical information includes a first identifier of a target subject corresponding to the target medical image file, determining a target server from candidate servers according to the target tag information and the routing rule table includes:

[0012] Performing a modulo operation on the first identifier and the total number of the candidate servers to obtain a modulo operation result;

[0013] The target server is determined from the candidate servers according to the modulo operation result and the corresponding relationship between the modulo operation result included in the routing rule table and the candidate servers.

[0014] In one embodiment, if the hierarchical information includes target examination part information of a target subject corresponding to the target medical image file, determining a target server from each candidate server according to the target tag information and the routing rule table includes:

[0015] The target server is determined from the candidate servers according to the target inspection part information and the corresponding relationship between the different inspection part information included in the routing rule table and the candidate servers.

[0016] In one embodiment, if the hierarchical information includes the target data type of the target medical image file, determining the target server from the candidate servers according to the target tag information and the routing rule table includes:

[0017] The target server is determined from the candidate servers according to the target data type and the corresponding relationship between the different data types included in the routing rule table and the candidate servers.

[0018] In one embodiment, determining the target server from the candidate servers according to the target tag information and the routing rule table includes:

[0019] If the identification information includes a target institution identification of the medical institution corresponding to the target medical image file, the target server is determined from the candidate servers according to the target institution identification and the corresponding relationship between the institution identifications of different medical institutions included in the routing rule table and the candidate servers;

[0020] If the identification information includes the target geographical location information of the medical institution corresponding to the target medical image file, the target server is determined from the candidate servers according to the target geographical location information and the correspondence between different geographical location information and the candidate servers in the routing rule table.

[0021] In one embodiment, the method further comprises:

[0022] Receiving a read request for a target medical image file sent by the computer device; wherein the read request includes target tag information of the target medical image file;

[0023] Determine the target server from the candidate servers according to the target tag information included in the read request and the routing rule table;

[0024] The target medical image file is read from the target server.

[0025] In a second aspect, the present application also provides a medical image data storage device. The device comprises:

[0026] A receiving module, configured to receive a write request for a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file;

[0027] A determination module, used to determine a target server from each candidate server according to the target tag information and a routing rule table; wherein the routing rule table includes the tag information of the medical image file and the routing rules between each candidate server, and the routing rules are set according to the medical image file access requirements;

[0028] A storage module is used to store the target medical image file in the target server.

[0029] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above-mentioned medical image storage method are implemented.

[0030] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned medical image storage method are implemented.

[0031] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned medical image storage method are implemented.

[0032] The above-mentioned medical image data storage method, device, computer equipment and storage medium receive a write request including a target tag information of a target medical image file sent by a computer device, and determine the target server from each candidate server according to the target tag information and the routing rule table, and then store the target medical image file to the target server, wherein the routing rules in the routing rule table are rules set according to the medical image file access requirements. Since the embodiment of the present application does not store the examined medical image files in the PACS server corresponding to the branch hospital, but can determine the target server according to the target tag information and the routing rule table, the medical image files are stored in the target server according to the medical image file access requirements. After the medical image files are stored using this storage method, if the medical image files need to be read, the medical image files can be read from the target server without sending access requests to other hospital areas, thereby improving the access efficiency of medical image files. For example, if a doctor wants to access all medical imaging files of the same patient, and the patient has been examined in multiple hospitals of a certain medical institution, the routing rules can be set according to the patient's case number. For example, the medical imaging files of patients with odd case numbers examined in multiple hospitals are stored in server A, and the medical imaging files of patients with even case numbers examined in multiple hospitals are stored in server B. If there is a need for a doctor to access all medical imaging files of the same patient, if the patient's case number is an odd number, all medical imaging files of the patient can be obtained from server A, and there is no need to access medical imaging files from PACS servers in multiple hospitals. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is an application environment diagram of a medical image data storage method provided by an embodiment of the present application;

[0034] Figure 2 It is a flowchart of a medical image data storage method provided by an embodiment of the present application;

[0035] Figure 3 It is a structural block diagram of a proxy server provided in an embodiment of the present application;

[0036] Figure 4 It is a flowchart of a method for determining a target server provided in an embodiment of the present application;

[0037] Figure 5 is a process schematic diagram of a medical image storage method provided by an embodiment of the present application;

[0038] Figure 6 is a process schematic diagram of another medical image storage method provided by an embodiment of the present application;

[0039] Figure 7This is a process diagram of another medical image data storage method provided by an embodiment of the present application;

[0040] Figure 8 is a schematic diagram of a process of reading a target medical image file provided by an embodiment of the present application;

[0041] Fig. 9 It is a structural block diagram of another proxy server provided in an embodiment of the present application;

[0042] Fig.10 It is a structural schematic diagram of a medical image data storage device provided in an embodiment of the present application;

[0043] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] The medical image data storage method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, Figure 1 1 is an application environment diagram of a medical image data storage method provided by an embodiment of the present application. Among them, the proxy server 102 communicates with the computer device 101 and the server 103 through the network. The server 103 is a PACS server. The proxy server 102 receives a write request for a target medical image file sent by the computer device 101, and determines the target server from each server 103 according to the target tag information and the routing rule table, and then stores the target medical image file to the target server. Among them, the computer device 101 can be, but is not limited to, various personal computers, laptops, tablet computers, etc. The number of servers 103 is multiple.

[0046] In one embodiment, Figure 2 As shown, Figure 2 This is a schematic diagram of a medical image data storage method provided in an embodiment of the present application. Figure 1 Taking the proxy server 102 in the example as an example, the following steps are included:

[0047] S201. Receive a write request for a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file.

[0048] In an embodiment of the present application, the target medical image file may be Digital Imaging and Communications in Medicine (DICOM) data. DICOM is an international standard for medical images and related information. It defines a medical image format that can be used for data exchange and can meet clinical needs. DICOM data may include hierarchical information corresponding to the medical image file and / or identification information of the medical institution. The hierarchical information may include the case number of the subject corresponding to the medical image file, the examination site, and the data type of the medical image file. Among them, the data type includes, for example, CT data type, MR data type, US data type, etc. CT (Computed Tomography) is electronic computed tomography. MR (Magnetic Resonance) is magnetic resonance. US examination is to observe the reflection of ultrasound waves by the human body, generally referred to as US ultrasonic examination, and the data type obtained using US examination technology is called US data type. The identification information of the medical institution may be the name of the medical institution, the geographical location information of the institution, etc.

[0049] The target label information may include the level information corresponding to the target medical image file and / or the identification information of the medical institution.

[0050] In an embodiment of the present application, if a target medical image file needs to be written to a PACS server, the computer device may send a write request for the target medical image file to the proxy server, and correspondingly, the proxy server receives the write request for the target medical image file sent by the computer device.

[0051] S202. Determine a target server from candidate servers according to target tag information and a routing rule table; wherein the routing rule table includes tag information of medical imaging files and routing rules between candidate servers, and the routing rules are set according to the medical imaging file access requirements.

[0052] In this step, the proxy server determines the target server from each candidate server based on the target tag information and the routing rule table. Figure 3 As shown, Figure 3It is a structural block diagram of a proxy server provided in an embodiment of the present application. The proxy server may be deployed with APISIX, APISIX Java / Go Plugin Runner, DICOM plugin module (DICOM pluginmodule) and DICOM protocol module. The routing rule table may be deployed in the database of the proxy server or in other database servers. The routing rule table may be configured in the proxy server, the routing rules in the routing rule table configured in the proxy server may be read, or the routing rules may be written to the proxy server.

[0053] Among them, APISIX is a high-performance, scalable microservice API gateway that provides a wealth of traffic management functions such as load balancing, dynamic upstream, grayscale release, service circuit breaking, identity authentication, observability, etc. Based on nginx (openresty) and Lua, it uses Kong's ideas to replace Kong's underlying relational database (Postgres) with the NoSQL etcd, which greatly improves APISIX's performance compared to Kong. When various plug-ins are enabled, Apache APISIX has a higher performance.

[0054] In the case where the tag information is the data type corresponding to the target medical image file, the routing rules between the tag information of the medical image file included in the routing rule table and each candidate server are the corresponding relationship between the data type of the medical image file and each candidate server. For example, each candidate server includes candidate server A, candidate server B, and candidate server C. If candidate server A corresponds to the CT data type, candidate server B corresponds to the MR data type, and candidate server C corresponds to the US data type. If the data type included in the target tag information is the MR data type, candidate server B is used as the target server. If the data type included in the target tag information is the US data type, candidate server C is used as the target server.

[0055] Optionally, if the target tag information includes hierarchical information corresponding to the target medical image file and identification information of the medical institution, the target server can be determined from the candidate servers according to the hierarchical information, identification information of the medical institution and the routing rule table.

[0056] For example, the hierarchical information includes the data type of the medical imaging file, and the identification information of the medical institution is the name of the medical institution. If the candidate servers corresponding to the institution name A include candidate server A and candidate server B, and the candidate servers corresponding to the CT data type are candidate server B and candidate server C, then candidate server B is used as the target server, that is, the intersection of the candidate server corresponding to the identification information of the medical institution and the candidate server corresponding to the hierarchical information can be used as the target server.

[0057] The demand for accessing medical image files refers to the demand for doctors or other personnel to access medical image files. For example, if a doctor wants to access all medical image files of the same patient, the routing rules can be set according to the patient's case number, for example, the medical image files of patients with odd case numbers examined in multiple hospital districts are stored in server A, and the medical image files of patients with even case numbers examined in multiple hospital districts are stored in server B.

[0058] For another example, if a doctor needs to access all medical image files of a patient in a certain city, the routing rules can be set to store the medical image files according to the geographical location information of the hospital. For example, all medical image files of the patient in city A are stored in server A, and all medical image files of the patient in city B are stored in server B. If the doctor needs to access all medical image files of the patient in city A, the required medical image files can be read from server A.

[0059] S203: Store the target medical image file in the target server.

[0060] In combination with the above example, if the data type included in the target tag information is the MR data type and candidate server B is used as the target server, the target medical image file is stored in candidate server B.

[0061] The medical image data storage method provided in the embodiment of the present application receives a write request including a target tag information of a target medical image file sent by a computer device, and determines the target server from each candidate server according to the target tag information and the routing rule table, and then stores the target medical image file to the target server, wherein the routing rules in the routing rule table are rules set according to the medical image file access requirements. Since the embodiment of the present application does not store the examined medical image files in the PACS server corresponding to the branch hospital, but can determine the target server according to the target tag information and the routing rule table, the medical image files are stored in the target server according to the medical image file access requirements. After the medical image files are stored using this storage method, if the medical image files need to be read, the medical image files can be read from the target server without sending access requests to other hospital areas, thereby improving the access efficiency of medical image files. For example, if a doctor wants to access all medical imaging files of the same patient, and the patient has been examined in multiple hospitals of a certain medical institution, the routing rules can be set according to the patient's case number. For example, the medical imaging files of patients with odd case numbers examined in multiple hospitals are stored in server A, and the medical imaging files of patients with even case numbers examined in multiple hospitals are stored in server B. If there is a need for a doctor to access all medical imaging files of the same patient, if the patient's case number is an odd number, all medical imaging files of the patient can be obtained from server A, and there is no need to access medical imaging files from PACS servers in multiple hospitals.

[0062] Reference Figure 4 , Figure 4 It is a flow chart of a method for determining a target server provided in an embodiment of the present application. The embodiment of the present application relates to a possible implementation method of how to determine the target server from each candidate server based on the target tag information and the routing rule table when the hierarchical information includes the first identifier of the target subject corresponding to the target medical image file. The routing rules in this embodiment are rules set according to the medical image file retrieval requirements. For example, the medical image file retrieval requirements are that the doctor wants to review all medical image files of the same patient (subject). On the basis of the above embodiment, the above S202 includes the following steps:

[0063] S401. Perform a modulo operation on the first identifier and the total number of candidate servers to obtain a modulo operation result.

[0064] In this step, the first identification of the subject is, for example, the patient ID of the subject. The case number performs a modulo operation on the total number of candidate servers. For example, the case number of patient A is 1, the case number of patient B is 2, the case number of patient C is 3, the case number of patient D is 4, and the case number of patient E is 5. There are three candidate servers, namely candidate server A, candidate server B, and candidate server C. According to the modulo operation calculation formula used by a to perform a modulo operation on b, it can be obtained that the modulo operation result obtained by performing a modulo operation on the total number 3 of case number 1 is 1, the modulo operation result obtained by performing a modulo operation on 3 of case number 2 is 2, the modulo operation result obtained by performing a modulo operation on 3 of case number 3 is 0, the modulo operation result obtained by performing a modulo operation on the total number 3 of case number 4 is 1, and the modulo operation result obtained by performing a modulo operation on the total number 3 of case number 5 is 2.

[0065] The modulo calculation formula is: r=ac×b, where a represents the dividend, b represents the divisor, and c represents the integer quotient obtained by dividing a by b.

[0066] S402: Determine a target server from the candidate servers according to the modulo operation result and the corresponding relationship between the modulo operation result and the candidate servers included in the routing rule table.

[0067] If the correspondence between the modulo operation results and the candidate servers included in the routing rule table is as shown in Table 1 below, taking the first identifier of the target subject being equal to 7 as an example, after the above-mentioned S401 determines that the modulo operation result obtained after the modulo operation of 7 on the total number 3 is equal to 1, then the candidate server B can be selected as the target server based on the modulo operation result and Table 1.

[0068] If the first identifier of the target subject is equal to 8, after determining in the above S401 that the modulo operation result obtained by performing a modulo operation on the total number 3 by 8 is equal to 2, the candidate server C is used as the target server.

[0069] If the first identifier of the target subject is equal to 9, after determining in the above S401 that the modulo operation result obtained by performing a modulo operation on the total number 3 is equal to 0, the candidate server A is used as the target server.

[0070] Modulo operation result Candidate Servers 0 Candidate Server A 1 Candidate Server B 2 Candidate Server C

[0071] Table 1

[0072] In the above example, the candidate servers include 3 as an example. In order to explain the embodiment of the present application more clearly, Figure 5 Give an exemplary introduction. Figure 5 It is a process diagram of a medical image storage method provided in an embodiment of the present application. Figure 5 The two candidate servers shown in the figure include PACS-S1 and PACS-S2. If the proxy server receives three write requests, namely ①, ②, and ③, the write request ① includes the target medical image file A, the write request ② includes the target medical image file B, and the write request ③ includes the target medical image file C. The first identifier of the examinee A corresponding to the target medical image file A is equal to 11, the first identifier of the examinee B corresponding to the target medical image file B is equal to 12, and the first identifier of the examinee C corresponding to the target medical image file C is equal to 13. The corresponding relationship between the modulo operation results included in the routing rule table and the candidate servers is shown in Table 2 below:

[0073] Modulo operation result Candidate Servers 1 PACS-S1 0 PACS-S2

[0074] Table 2

[0075] According to the modulo operation result and the correspondence between the modulo operation result and the candidate server included in the routing rule table shown in Table 2, the target medical image file A can be stored in PACS-S1, the target medical image file B can be stored in PACS-S2, and the target medical image file C can be stored in PACS-S1.

[0076] In this embodiment, according to the modulo operation result and the corresponding relationship between the modulo operation result and the candidate server included in the routing rule table, the target server is determined from each candidate server, so that multiple target medical image files of multiple target subjects can be stored according to the medical image file access requirements. After the medical image file is stored using this storage method, if the medical image file needs to be read, the medical image file can be read from the target server without sending a access request to other hospital areas, thereby improving the access efficiency of medical image files.

[0077] In some of the embodiments, when the hierarchical information includes target examination part information of a target subject corresponding to a target medical image file, the above S202, determining a target server from each candidate server according to the target tag information and the routing rule table, can be implemented in the following manner:

[0078] According to the target inspection part information and the corresponding relationship between different inspection part information included in the routing rule table and the candidate servers, the target server is determined from the candidate servers.

[0079] The routing rules in this embodiment are rules set according to the medical image file access requirements. The medical image file access requirements are, for example, that a doctor wants to access all medical image files of a certain examination part of a patient.

[0080] Among them, the examination parts are, for example, the heart, lungs, liver, kidneys, head and other areas, and each examination part corresponds to a candidate server, so that the target server can be determined from the candidate servers according to the correspondence between the target examination part information and the different examination part information included in the routing rule table and the candidate servers, and then the medical image files corresponding to the same examination part can be stored in the same candidate server. The storage method using traditional technology may cause the medical image files of the same examination part to be stored in multiple PACS servers.

[0081] In some embodiments, when the hierarchical information includes the target data type of the target medical image file, the above S202, determining the target server from the candidate servers according to the target tag information and the routing rule table, can be implemented in the following manner:

[0082] According to the target data type and the corresponding relationship between different data types included in the routing rule table and the candidate servers, the target server is determined from the candidate servers.

[0083] It should be noted that the routing rules in this embodiment are rules set according to the medical image file retrieval requirements. For example, the medical image file retrieval requirements are that doctors want to retrieve medical image files of the same data type. The data types include, for example, the data types shown in Table 3 below.

[0084] In this embodiment, the corresponding relationship between different data types included in the routing rule table and the candidate servers is shown in the following Table 3, for example.

[0085] Data Types Candidate Servers CT data type PACS-S1 MR data type PACS-S2 US Data Type PACS-S3

[0086] Table 3

[0087] like Figure 6 As shown, Figure 6 This is a process diagram of another medical image storage method provided by an embodiment of the present application. If the target data type is CT, PACS-S1 is used as the target server; if the target data type is MR, PACS-S2 is used as the target server; if the target data type is US, PACS-S3 is used as the target server.

[0088] The method provided in this embodiment can archive medical image files of the same data type into the same server, and archive medical image files of different data types into different servers according to the data types of the medical image files, thereby realizing the storage of medical image files in the target server according to the data types of the medical image files. After the medical image files are stored using this storage method, if a medical image file of a certain data type needs to be read, the medical image file can be read from the target server without sending a retrieval request to other hospital areas, thereby improving the retrieval efficiency of medical image files.

[0089] In some embodiments, when the identification information includes a target institution identification of a medical institution corresponding to the target medical image file, the above S202, determining the target server from the candidate servers according to the target tag information and the routing rule table, can be implemented in the following manner:

[0090] The target server is determined from the candidate servers according to the target institution identifier and the corresponding relationship between the institution identifiers of different medical institutions included in the routing rule table and the candidate servers.

[0091] The institution identification of the medical institution is, for example, the institution name of the medical institution.

[0092] It should be noted that the routing rules in the routing rule table in this embodiment are rules set according to the medical image file access requirement. The medical image file access requirement is, for example, to access the medical image files of a certain medical institution.

[0093] In this embodiment, the corresponding relationship between the institution identifiers of different medical institutions and the candidate servers included in the routing rule table is shown in Table 4 below, for example.

[0094] Institutional Logo Candidate Servers Hospital A PACS-S1 Hospital B PACS-S2

[0095] Table 4

[0096] Combination Figure 7 , Figure 7 This is a process diagram of another medical image data storage method provided by an embodiment of the present application. In a city, there are Hospital A and Hospital B. Hospital A has three campuses, A1, A2 and A3, and Hospital B has three campuses, B1, B2 and B3. The image data generated by all campuses of Hospital A can be archived to PACS-S1, and the image data generated by all campuses of Hospital B can be archived to PACS-S2.

[0097] The method provided in the embodiment of the present application can classify and archive the medical image files corresponding to the DICOM write requests of each campus of the same hospital by the institution name (InsitutionName) of each campus through a proxy server.

[0098] It should be noted that the medical institution in this embodiment can be the name of the superior medical institution to which the hospital area belongs. For example, Hospital A includes Hospital A1, Hospital A2 and Hospital A3. A patient gets medical image file A1 after undergoing a certain examination in Hospital A1 of the hospital, gets medical image file A2 after undergoing a certain examination in Hospital A2, gets medical image file A3 after undergoing a certain examination in Hospital A3, and the name of the superior medical institution to which Hospital A1, Hospital A2 and Hospital A3 belong is Hospital A. Based on the method provided in this embodiment, it can be realized that Medical image file A1, Medical image file A2 and Medical image file A3 are all stored in PACS-S1.

[0099] Similarly, Hospital B includes campus B1, campus B2, and campus B3. A patient undergoes an examination in campus B1 of the hospital and obtains medical image file B1, undergoes an examination in campus B2 and obtains medical image file B2, and undergoes an examination in campus B3 and obtains medical image file B3. The name of the superior medical institution to which campuses B1, B2, and B3 belong is Hospital B. Based on the method provided in this embodiment, medical image file B1, medical image file B2, and medical image file B3 can all be stored in PACS-S2.

[0100] The method provided in this embodiment can store the medical imaging files of all campuses of the same hospital in the same server.

[0101] In some embodiments, when the identification information includes the target geographical location information of the medical institution corresponding to the target medical image file, the above S202, determining the target server from the candidate servers according to the target tag information and the routing rule table, can be implemented in the following manner:

[0102] According to the target geographical location information and the corresponding relationship between different geographical location information and candidate servers in the routing rule table, the target server is determined from the candidate servers.

[0103] It should be noted that the routing rules in the routing rule table in this embodiment are rules set according to the medical image file retrieval requirements. For example, if the medical image file retrieval requirement is to retrieve the medical image files of a certain urban area, the target server can be determined from the candidate servers based on the target geographic location information and the correspondence between the different geographic location information and the candidate servers in the routing rule table, so as to store the medical image files in the target server.

[0104] The geographical location information of the medical institution can be the location information determined according to the county-level administrative region, or it can be the location information determined according to the city-level administrative region. For example, when the geographical location information of the medical institution is the location information determined according to the county-level administrative region, if County A includes A1 medical institutions, A2 medical institutions and A3 medical institutions, and County B includes B1 medical institutions, B2 medical institutions and B3 medical institutions, the geographical location information of County A corresponds to PACS-S1, and the geographical location information of County B corresponds to PACS-S2. Then, according to the method provided in the embodiment of the present application, it is possible to store the medical image files corresponding to the A1 medical institution, the A2 medical institution and the A3 medical institution in PACS-S1, and store the medical image files corresponding to the B1 medical institution, the B2 medical institution and the B3 medical institution in PACS-S2.

[0105] In combination with the above example, if the target geographical location information of the medical institution corresponding to the target medical image file is the geographical location information of County A, the target medical image file is stored in PACS-S1. If the target geographical location information of the medical institution corresponding to the target medical image file is the geographical location information of County B, the target medical image file is stored in PACS-S2.

[0106] It is understandable that the proxy server is capable of receiving a read request for a target medical image file sent by a computer device; wherein the read request includes target tag information of the target medical image file;

[0107] Determine the target server from each candidate server according to the target tag information and the routing rule table included in the read request; wherein the routing rule table includes the tag information of the medical image file and the routing rules between each candidate server;

[0108] Read the target medical image file from the target server.

[0109] In this embodiment, the method for the proxy server to determine the target server is the same as the method provided in the above embodiment, which will not be repeated here.

[0110] The process of reading the target medical image file from the target server can be referred to Figure 8 As shown, Figure 8 3 DICOM reading applications include, for example, reading application 1 deployed on computer device 1, reading application 2 deployed on computer device 2, and reading application 3 deployed on computer device 3. Reading application 1 is to read medical image files with patient IDs ① and ④, reading application 2 is to read medical image files with patient ID ②, and reading application 3 is to read medical image files with patient ID ③. If the storage method of medical image files ①, ②, ③, and ④ is as follows: Figure 5 The storage method corresponding to the embodiment, that is, the medical image files corresponding to the odd-numbered Patient ID are stored in PACS-S1, and the medical image files corresponding to the even-numbered Patient ID are stored in PACS-S2. The proxy server will obtain the medical image files with odd-numbered Patient IDs from PACS-S1, and obtain the medical image files with even-numbered Patient IDs from PACS-S2.

[0111] It should be noted that the storage method of medical image files in traditional technology will lead to the problem of excessive server load and low efficiency of reading medical image files when reading medical image files. For example, there are 100 patients who have undergone examinations in branches A, B and C of hospital A. The medical image files related to the examinations done in branch A are stored in the PACS server A corresponding to branch A, the medical image files related to the examinations done in branch B are stored in the PACS server B corresponding to branch B, and the medical image files related to the examinations done in branch C are stored in the PACS server C corresponding to branch C. If the 100 patients go to the main hospital of hospital A for medical treatment, if the doctor needs to access all the medical image files of the patient, it is necessary to send a total of 300 access requests to PACS server A, PACS server B and PACS server C, so as to read the medical image files of the 100 patients.

[0112] By adopting the method of this embodiment, if the case numbers of the 100 patients are all odd numbers, the medical image files of the 100 patients are all stored in one PACS server, and then only 100 access requests need to be sent to the PACS server to read the medical image files of the 100 patients. Obviously, the method provided by this embodiment can reduce the number of access requests sent, and the more patients there are, the more obviously the number of access requests sent is reduced, thereby saving the resources required by the server to send access requests.

[0113] Finally, it should be noted that you can also use Fig. 9 The proxy server shown, Fig. 9 This is a structural block diagram of another proxy server provided in the embodiment of the present application. The core of APISIX is based on Nginx. You can replace APISIX with other means to implement the above method, such as replacing APISIX with OpenResty or native Nginx, and using their plug-in mechanism to implement the DICOM plug-in module and the corresponding protocol. Among them, OpenResty is an "enhanced package" based on Nginx, which not only supports HTTP / HTTPS, but also can easily and quickly build a dynamic gateway, and can also be used as an application container to write business logic.

[0114] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0115] Based on the same inventive concept, the embodiment of the present application also provides a medical image data storage device for implementing the medical image data storage method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more medical image data storage device embodiments provided below can refer to the limitations of the medical image data storage method above, and will not be repeated here.

[0116] In one embodiment, Fig.10 As shown, Fig.10 1 is a schematic diagram of the structure of a medical image data storage device provided in an embodiment of the present application. The device 1000 includes: a receiving module 1001, a determining module 1002 and a storage module 1003, wherein:

[0117] The receiving module 1001 is used to receive a write request of a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file;

[0118] The determination module 1002 is used to determine the target server from the candidate servers according to the target tag information and the routing rule table; wherein the routing rule table includes the tag information of the medical image file and the routing rules between the candidate servers, and the routing rules are set according to the medical image file access requirements;

[0119] The storage module 1003 is used to store the target medical image file in the target server.

[0120] In one embodiment, the target tag information includes level information corresponding to the target medical image file and / or identification information of the medical institution.

[0121] In one of the embodiments, if the hierarchical information includes a first identifier of a target subject corresponding to the target medical image file, the determination module 1002 is specifically used to perform a modulo operation on the first identifier with respect to the total number of candidate servers to obtain a modulo operation result; and determine the target server from the candidate servers based on the modulo operation result and the correspondence between the modulo operation result and the candidate servers included in the routing rule table.

[0122] In one of the embodiments, if the hierarchical information includes target examination part information of a target subject corresponding to a target medical image file, the determination module 1002 is specifically used to determine the target server from among the candidate servers based on the target examination part information and the correspondence between different examination part information included in the routing rule table and the candidate servers.

[0123] In one embodiment, if the hierarchical information includes a target data type of a target medical image file, the determination module 1002 is specifically configured to determine a target server from among the candidate servers based on the target data type and a correspondence between different data types included in the routing rule table and the candidate servers.

[0124] In one embodiment, the determination module 1002 is specifically configured to determine the target server from the candidate servers according to the target institution identifier and the corresponding relationship between the institution identifiers of different medical institutions and the candidate servers included in the routing rule table if the identification information includes the target institution identifier of the medical institution corresponding to the target medical image file;

[0125] If the identification information includes the target geographical location information of the medical institution corresponding to the target medical image file, the target server is determined from the candidate servers according to the target geographical location information and the correspondence between different geographical location information and the candidate servers in the routing rule table.

[0126] In one embodiment, it may also include:

[0127] The reading module is used to receive a read request for a target medical image file sent by a computer device; wherein the read request includes target tag information of the target medical image file; determine a target server from each candidate server according to the target tag information and a routing rule table included in the read request; and read the target medical image file from the target server.

[0128] Each module in the above-mentioned medical image data storage device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0129] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.11 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data in a routing rule table. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a medical image data storage method is implemented.

[0130] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0131] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0132] Receiving a write request for a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file;

[0133] Determine the target server from each candidate server according to the target tag information and the routing rule table; wherein the routing rule table includes the tag information of the medical image file and the routing rules between each candidate server, and the routing rules are set according to the medical image file access requirements;

[0134] The target medical image files are stored in the target server.

[0135] In one embodiment, the target tag information includes level information corresponding to the target medical image file and / or identification information of a medical institution.

[0136] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0137] Perform a modulo operation on the first identifier and the total number of candidate servers to obtain a modulo operation result; determine a target server from the candidate servers according to the modulo operation result and a corresponding relationship between the modulo operation result and the candidate servers included in the routing rule table.

[0138] In one embodiment, if the hierarchical information includes target examination site information of a target subject corresponding to the target medical image file, the processor further implements the following steps when executing the computer program:

[0139] According to the target inspection part information and the corresponding relationship between different inspection part information included in the routing rule table and the candidate servers, the target server is determined from the candidate servers.

[0140] In one embodiment, if the hierarchical information includes the target data type of the target medical image file, the processor further implements the following steps when executing the computer program:

[0141] According to the target data type and the corresponding relationship between different data types included in the routing rule table and the candidate servers, the target server is determined from the candidate servers.

[0142] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0143] If the identification information includes a target institution identification of the medical institution corresponding to the target medical image file, then determining the target server from the candidate servers according to the target institution identification and the corresponding relationship between the institution identifications of different medical institutions included in the routing rule table and the candidate servers;

[0144] If the identification information includes the target geographical location information of the medical institution corresponding to the target medical image file, the target server is determined from the candidate servers according to the target geographical location information and the correspondence between different geographical location information and the candidate servers in the routing rule table.

[0145] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0146] Receiving a read request for a target medical image file sent by a computer device; wherein the read request includes target tag information of the target medical image file;

[0147] Determine the target server from the candidate servers according to the target tag information and the routing rule table included in the read request;

[0148] Read the target medical image file from the target server.

[0149] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0150] Receiving a write request for a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file;

[0151] Determine the target server from each candidate server according to the target tag information and the routing rule table; wherein the routing rule table includes the tag information of the medical image file and the routing rules between each candidate server, and the routing rules are set according to the medical image file access requirements;

[0152] The target medical image files are stored in the target server.

[0153] In one embodiment, in one of the embodiments, the target tag information includes level information corresponding to the target medical image file and / or identification information of the medical institution.

[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0155] Perform a modulo operation on the first identifier and the total number of candidate servers to obtain a modulo operation result; determine a target server from the candidate servers according to the modulo operation result and a corresponding relationship between the modulo operation result and the candidate servers included in the routing rule table.

[0156] In one embodiment, if the hierarchical information includes the target data type of the target medical image file, the computer program further implements the following steps when executed by the processor:

[0157] According to the target data type and the corresponding relationship between different data types included in the routing rule table and the candidate servers, the target server is determined from the candidate servers.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0159] If the identification information includes a target institution identification of the medical institution corresponding to the target medical image file, then determining the target server from the candidate servers according to the target institution identification and the corresponding relationship between the institution identifications of different medical institutions included in the routing rule table and the candidate servers;

[0160] If the identification information includes the target geographical location information of the medical institution corresponding to the target medical image file, the target server is determined from the candidate servers according to the target geographical location information and the correspondence between different geographical location information and the candidate servers in the routing rule table.

[0161] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0162] Receiving a read request for a target medical image file sent by a computer device; wherein the read request includes target tag information of the target medical image file;

[0163] Determine the target server from the candidate servers according to the target tag information and the routing rule table included in the read request;

[0164] Read the target medical image file from the target server.

[0165] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0166] Receiving a write request for a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file;

[0167] Determine the target server from each candidate server according to the target tag information and the routing rule table; wherein the routing rule table includes the tag information of the medical image file and the routing rules between each candidate server, and the routing rules are set according to the medical image file access requirements;

[0168] The target medical image files are stored in the target server.

[0169] In one embodiment, in one of the embodiments, the target tag information includes level information corresponding to the target medical image file and / or identification information of the medical institution.

[0170] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0171] Perform a modulo operation on the first identifier and the total number of candidate servers to obtain a modulo operation result; determine a target server from the candidate servers according to the modulo operation result and a corresponding relationship between the modulo operation result and the candidate servers included in the routing rule table.

[0172] In one embodiment, if the hierarchical information includes the target data type of the target medical image file, the computer program further implements the following steps when executed by the processor:

[0173] According to the target data type and the corresponding relationship between different data types included in the routing rule table and the candidate servers, the target server is determined from the candidate servers.

[0174] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0175] If the identification information includes a target institution identification of the medical institution corresponding to the target medical image file, then determining the target server from the candidate servers according to the target institution identification and the corresponding relationship between the institution identifications of different medical institutions included in the routing rule table and the candidate servers;

[0176] If the identification information includes the target geographical location information of the medical institution corresponding to the target medical image file, the target server is determined from the candidate servers according to the target geographical location information and the correspondence between different geographical location information and the candidate servers in the routing rule table.

[0177] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0178] Receiving a read request for a target medical image file sent by a computer device; wherein the read request includes target tag information of the target medical image file;

[0179] Determine the target server from the candidate servers according to the target tag information and the routing rule table included in the read request;

[0180] Read the target medical image file from the target server.

[0181] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0182] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0183] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0184] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for storing medical image data, characterized in that: The method comprises: Receiving a write request for a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file; the target tag information includes level information corresponding to the target medical image file and / or identification information of a medical institution; Determine the target server from the candidate servers according to the target tag information and the routing rule table; wherein the routing rule table includes the tag information of the medical image file and the routing rules between the candidate servers, and the routing rules are set according to the medical image file access requirements; The target medical image file is stored in the target server.

2. The method according to claim 1, characterized in that If the hierarchical information includes a first identifier of a target subject corresponding to the target medical image file, determining a target server from each candidate server according to the target tag information and the routing rule table includes: Performing a modulo operation on the first identifier and the total number of the candidate servers to obtain a modulo operation result; The target server is determined from the candidate servers according to the modulo operation result and the corresponding relationship between the modulo operation result included in the routing rule table and the candidate servers.

3. The method according to claim 1, characterized in that: If the hierarchical information includes target examination part information of a target subject corresponding to the target medical image file, determining a target server from each candidate server according to the target tag information and the routing rule table includes: The target server is determined from the candidate servers according to the target inspection part information and the corresponding relationship between the different inspection part information included in the routing rule table and the candidate servers.

4. The method according to claim 1, characterized in that If the hierarchical information includes the target data type of the target medical image file, determining the target server from the candidate servers according to the target tag information and the routing rule table includes: The target server is determined from the candidate servers according to the target data type and the corresponding relationship between the different data types included in the routing rule table and the candidate servers.

5. The method according to claim 1, characterized in that Determining the target server from the candidate servers according to the target label information and the routing rule table includes: If the identification information includes a target institution identification of the medical institution corresponding to the target medical image file, the target server is determined from the candidate servers according to the target institution identification and the corresponding relationship between the institution identifications of different medical institutions included in the routing rule table and the candidate servers; If the identification information includes the target geographical location information of the medical institution corresponding to the target medical image file, the target server is determined from the candidate servers according to the target geographical location information and the correspondence between different geographical location information and the candidate servers in the routing rule table.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Receiving a read request for a target medical image file sent by the computer device; wherein the read request includes target tag information of the target medical image file; Determine the target server from the candidate servers according to the target tag information included in the read request and the routing rule table; The target medical image file is read from the target server.

7. A medical image storage device, characterized in that: The device comprises: A receiving module, configured to receive a write request for a target medical image file sent by a computer device; wherein the write request includes target tag information of the target medical image file; A determination module, configured to determine a target server from each candidate server according to the target tag information and a routing rule table; wherein the routing rule table includes the tag information of the medical image file and the routing rules between the candidate servers, and the routing rules are set according to the medical image file access requirements; the target tag information includes the hierarchical information corresponding to the target medical image file and / or the identification information of the medical institution; A storage module is used to store the target medical image file in the target server.

8. The device according to claim 7, characterized in that If the hierarchical information includes a first identifier of the target subject corresponding to the target medical image file, the determination module is used to perform a modulo operation on the first identifier with the total number of the candidate servers to obtain a modulo operation result; and determine the target server from the candidate servers based on the modulo operation result and the correspondence between the modulo operation result included in the routing rule table and the candidate servers.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Routing method

    CN106487672A

  • Medical image information processing method and device

    CN106909780A