Data export and data import method, medical system and storage medium

By generating marker files for classification marking during data export, and using marker files for multi-task parallel import during import, the efficiency and accuracy problems in the export and import of scanned image data are solved, and fast and effective data processing is achieved.

CN114860671BActive Publication Date: 2025-08-19SHANGHAI UNITED IMAGING HEALTHCARE
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210632159.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2025-08-19
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

In the prior art, the scanned image data generated by the medical scanning system lacks efficiency and accuracy when exporting and importing, especially the processing of non-DICOM standard data leads to storage confusion and failure of import tasks, affecting the user experience.

Method used

By generating a tag file, classifying the exported data, and using the tag file to import it in parallel multi-tasks to distinguish different data categories and create multiple import tasks to improve efficiency and accuracy.

Benefits of technology

It realizes the rapid and effective classification and import of scanned image data, improves the efficiency and accuracy of data export and import, and reduces the complexity and error rate of import tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114860671B_ABST
    Figure CN114860671B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for exporting and importing data, a medical system, and a storage medium. The data export method includes: obtaining data to be exported; generating corresponding tag files for different data categories to which the data to be exported belongs; and exporting the data to an external device based on the data to be exported and the corresponding tag files to obtain one or more first folder data. The present invention creates an identification file during data export, tags the data to be exported of different data categories, effectively classifies and differentiates the data to be exported, and then, during subsequent import, utilizes the identification file to quickly import the data by category, ensuring multi-task and multi-category parallelism. Furthermore, due to the differentiation of data features, the accuracy and reliability of the import are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data export and import method, a medical system, and a storage medium. Background Art

[0002] Different data often corresponds to different data characteristics. In many application scenarios, some data needs to be exported and imported. However, due to the large amount of data with different data characteristics, it is difficult to distinguish these data during data export. When importing data, it is necessary to create multiple import tasks and repeatedly traverse a large amount of data to distinguish different data characteristics, which makes the entire process inefficient.

[0003] Taking the scanned image data generated by medical scanning systems as an example, hospitals often need to store scanned image data from medical scanning systems (such as CT scanners) on external devices (such as USBs, hard drives, and public drives). The long import process, coupled with the different data types of scanned image data, results in a large amount of data in the external devices. This data may be scanned image data from the medical scanning system or unknown data generated by other devices. It may be data that complies with the DICOM (Digital Imaging and Communication of Medicine) standard, data that is not DICOM-compliant, or even data that cannot be imported and needs to be filtered. The large amount of data with different data characteristics in the external devices leads to storage chaos and makes it difficult to distinguish data types.

[0004] Furthermore, the storage data in the peripheral device, especially the scanned image data, is likely to need to be imported back into other medical scanning systems, especially non-DICOM standard data (such as raw data, application intermediate results, etc.), so as to be used for reconstruction or application of scientific research by the corresponding scanning equipment. Different types of storage data in the peripheral device need to create different import task types. In the prior art, when importing data into the peripheral device, there is no efficient classification. Furthermore, when importing the storage data in the peripheral device, one of the folders is selected, and the number and path of all importable file data in the folder and its subfolders need to be traversed. After traversing all the data, an import task is triggered, which is time-consuming and labor-intensive. When there are some untrusted data files (data files exported by non-medical scanning systems, data files that are judged to be importable but fail to be imported), the entire import task will be reported as an error. Since the entire import process needs to repeatedly traverse the relevant folders, and when a certain scanned image data fails to be imported, the entire import task needs to be restarted, the process is slow and lacks accuracy, which is extremely inconvenient for users. Therefore, how to quickly and efficiently import and export the required data is an urgent problem to be solved. Summary of the Invention

[0005] In view of this, it is necessary to provide a method for data export and data import, a medical system and a storage medium to overcome the problem of low efficiency of data export and import in the prior art.

[0006] The present invention provides a data export method, comprising:

[0007] Get the data to be exported;

[0008] Generate corresponding tag files for different data categories to which the data to be exported belongs;

[0009] According to the data to be exported and the corresponding markup file, the data is exported to an external device to obtain one or more first folder data.

[0010] Furthermore, generating corresponding tag files for different data categories to which the data to be exported belongs includes:

[0011] For any of the data to be exported, determining a corresponding data category;

[0012] Generate a corresponding tag file according to the data information of the data to be exported contained in the data category.

[0013] Furthermore, the data to be exported includes at least one type of scanned image data from a scanning device, the data categories include a first category that meets a preset medical imaging standard and a second category that does not meet the preset medical imaging standard, and the marking files include a first marking file and a second marking file; generating a corresponding marking file based on the data information of the data to be exported contained in each of the data categories includes:

[0014] generating the corresponding first marking file according to data information of all scanned image data belonging to the first category;

[0015] The corresponding second marking file is generated according to the data information of all scanned image data belonging to the second category.

[0016] The present invention also provides a data import method, comprising:

[0017] Acquire one or more first folder data to be imported from an external device, wherein the first folder data is obtained according to the data export method described above;

[0018] According to different tag files in the first folder data, the to-be-exported data belonging to different data categories are imported.

[0019] Furthermore, the importing of the to-be-exported data belonging to different data categories according to different tag files in the first folder data includes:

[0020] Traversing the first folder data to determine whether the marked file is found;

[0021] When the marked file is found, the data to be exported contained in the data category is imported according to the data category corresponding to the marked file;

[0022] When the marked file is not found, the first folder data is continued to be traversed.

[0023] Furthermore, when the marker file is found, the data to be exported contained in the data category is imported according to the data category corresponding to the marker file, including:

[0024] According to the data category corresponding to the marked file, a corresponding import task is created to import the corresponding data to be exported.

[0025] Furthermore, the data to be exported includes at least one type of scanned image data, the data category includes a first category that meets a preset medical imaging standard and a second category that does not meet the preset medical imaging standard, the marking file includes a first marking file and a second marking file, and the import task includes a first import task and a second import task; creating a corresponding import task based on the marking file and importing the data to be exported of the data category marked corresponding to the marking file includes:

[0026] Creating the first import task according to the first marking file to import scanned image data belonging to the first category;

[0027] The second import task is created according to the second marking file to import the scanned image data belonging to the second category.

[0028] Furthermore, the method further comprises:

[0029] Get other peripheral data from external devices;

[0030] During the traversal of the first folder data, determining unmarked data that can be imported from the other peripheral device data, wherein the unmarked data is not marked in the mark file;

[0031] After completing the traversal of the first folder data, create a third import task to import the unlabeled data

[0032] The present invention also provides a medical system comprising at least one scanning device, wherein a processor in the at least one scanning device is configured to implement the data export method and / or the data import method as described above.

[0033] The present invention also provides a computer-readable storage medium having an executable program stored thereon, wherein when the executable program is executed by a processor, the method for exporting data as described above and / or the method for importing data as described above are implemented.

[0034] Compared with the prior art, the beneficial effects of the present invention include: in the data export method, first, the data to be exported is effectively acquired; then, based on the different data categories to which the data to be exported belongs, a tag file corresponding to the data category is established to effectively tag the data category, and tag files corresponding to multiple data categories are generated to tag different data categories; finally, the data to be exported and the corresponding multiple tag files are used together to generate first folder data, and when the data to be exported is exported to an external device, the data to be exported is effectively classified and distinguished. Furthermore, in the data import method, first, the first folder data to be imported is effectively acquired; then, using the multiple different tag files in the first folder data, the data to be exported of different data categories marked by them are correspondingly imported. Based on the tagging function of the tag files, the data to be exported is imported by category, ensuring the rapidity and efficiency of the import. In summary, the present invention creates an identification file when exporting data, marks the data to be exported of different data categories, effectively classifies and distinguishes the data to be exported, and then uses the identification file to quickly import by category during subsequent import, ensuring multi-task and multi-category parallelism. At the same time, since it distinguishes data features, it enhances the accuracy and reliability of the import. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of a scenario of an embodiment of an application system of the method for exporting and / or importing data provided by the present invention;

[0036] Figure 2 A schematic diagram of a flow chart of an embodiment of a method for exporting data provided by the present invention;

[0037] Figure 3 The present invention provides Figure 2 Flowchart of step S202 in an embodiment

[0038] Figure 4 A schematic diagram of a flow chart of an embodiment of a method for data importing provided by the present invention;

[0039] Figure 5 The present invention provides Figure 4A flow chart of an embodiment of step S402;

[0040] Figure 6 A schematic diagram of another embodiment of step S402 provided by the present invention;

[0041] Figure 7 A schematic structural diagram of an embodiment of a data export device provided by the present invention;

[0042] Figure 8 A structural diagram of an embodiment of a data import device provided by the present invention. DETAILED DESCRIPTION

[0043] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, and are not used to limit the scope of the present invention.

[0044] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include at least one of such features. Furthermore, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.

[0045] In the description of the present invention, reference to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute a separate or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the described embodiment may be combined with other embodiments.

[0046] When data needs to be imported or exported, varying data characteristics can lead to inefficiencies. For example, when exporting image data from a medical scanning system to an external device, a large amount of data of varying data types is present. Importing this data from an external device to another requires repeated traversal of the folders, searching for matching data on each pass. This process is complex and time-consuming, and due to the data disorganization, the error rate is high.

[0047] The present invention provides a data export and import method, a medical system, and a storage medium. During data export, a tag file is created to mark data categories. During data import, the tag file is used to perform multi-task parallel import of data of different categories, providing a new approach to further improving the efficiency and accuracy of data export and import. Before describing specific embodiments, the following technical terms are explained:

[0048] Scanned image data: image data generated by medical scanning equipment (X-ray, CT, MRI, ultrasound equipment, etc.);

[0049] The DICOM standard, also known as the Digital Imaging and Communications in Medicine (DICOM), is an international standard (ISO 12052) for medical images and related information. It defines a medical image format that meets clinical quality requirements for data exchange. The DICOM standard is widely used in radiology, cardiovascular imaging, and radiological diagnostic equipment (X-ray, CT, MRI, ultrasound, etc.), and is increasingly being used in other medical fields such as ophthalmology and dentistry. Among the tens of thousands of medical imaging devices in use, the DICOM standard is one of the most widely deployed medical information standards. Currently, there are approximately tens of billions of DICOM-compliant medical images in clinical use.

[0050] The specific embodiments are described in detail below:

[0051] The embodiment of the present invention provides an application system of a method for exporting and / or importing data. Figure 1 A schematic diagram of a scenario of an embodiment of an application system of the method for exporting and / or importing data provided by the present invention. The system may include a server 100, in which a device for exporting and / or importing data is integrated, such as Figure 1 Server in.

[0052] In the embodiment of the present invention, the server 100 is mainly used for:

[0053] Get the data to be exported;

[0054] Generate corresponding tag files for different data categories to which the data to be exported belongs;

[0055] According to the data to be exported and the corresponding markup file, the data is exported to an external device to obtain one or more first folder data.

[0056] In the embodiment of the present invention, the server 100 is also mainly used for:

[0057] Acquire one or more first folder data to be imported from an external device, wherein the first folder data is obtained according to the data export method described above;

[0058] According to different tag files in the first folder data, data to be exported belonging to different data categories are imported.

[0059] In the embodiments of the present invention, the server 100 may be a standalone server, or a server network or server cluster composed of servers. For example, the server 100 described in the embodiments of the present invention includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud server composed of multiple servers. A cloud server is composed of a large number of computers or network servers based on cloud computing.

[0060] It is understood that the terminal 200 used in the embodiments of the present invention can be a device that includes both receiving and transmitting hardware, that is, a device that has receiving and transmitting hardware capable of performing two-way communication over a two-way communication link. Such devices may include: cellular or other communication devices that have a single-line display, a multi-line display, or a cellular or other communication device without a multi-line display. Specifically, the terminal 200 can be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, an embedded device, etc. This embodiment does not limit the type of terminal 200.

[0061] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present invention and does not constitute a limitation on the application scenario of the present invention. Other application environments may also include Figure 1 More or fewer terminals as shown in , e.g. Figure 1 Only two terminals are shown in the figure. It can be understood that the application system of the data export and / or data import method can also include one or more other terminals, which are not specifically limited here.

[0062] In addition, if Figure 1 As shown, the application system of the data export and / or data import method may further include a memory 300 for storing data, such as data to be exported, data categories, first folder data, tag files, different data categories, etc.

[0063] It should be noted that Figure 1The scenario diagram of the application system of the data export and / or data import method shown is only an example. The application system and scenario of the data export and / or data import method described in the embodiment of the present invention are intended to more clearly illustrate the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention. Ordinary technicians in this field can know that with the evolution of the application system of the data export and / or data import method and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.

[0064] The embodiment of the present invention provides a method for exporting data. Figure 2 Come and see, Figure 2 This is a flow chart of an embodiment of a data export method provided by the present invention, including steps S201 to S203, wherein:

[0065] In step S201, data to be exported is obtained;

[0066] In step S202, corresponding tag files are generated for different data categories to which the data to be exported belongs;

[0067] In step S203, a first folder is generated according to the data to be exported and the corresponding markup file to export the data to an external device.

[0068] In an embodiment of the present invention, first, the data to be exported is effectively acquired; then, based on the different data categories to which the data to be exported belongs, a marking file corresponding to the data category is established to effectively mark the data category, and marking files corresponding to multiple data categories are generated to mark different data categories; finally, the data to be exported and the corresponding multiple marking files are jointly generated into a first folder data, and when exporting, the corresponding data to be exported is effectively classified and distinguished.

[0069] As a preferred embodiment, Figure 3 Come and see, Figure 3 The present invention provides Figure 2 The flowchart of an embodiment of step S202 includes steps S301 to S302, wherein:

[0070] In step S301, for any data to be exported, the corresponding data category is determined;

[0071] In step S302 , a corresponding tag file is generated according to the data information of the data to be exported contained in each data category.

[0072] In an embodiment of the present invention, arbitrary data to be exported is used to determine the data category of each data to be exported, and for each data category of the data to be exported, its data information is recorded to generate a corresponding tag file. It is understood that the data category of each data to be exported can be identified using a variety of data identification methods. Generally, effective classification can be achieved by identifying the data information of the data to be exported. The data category identification method is not limited here, as long as it can effectively achieve the classification purpose.

[0073] As a specific embodiment, the tag file is used to record data information of the to-be-exported data belonging to a corresponding tagged data category, where the data information includes, but is not limited to, at least one of the data quantity, data path, and data type. In this embodiment of the present invention, the tag file is used to accurately identify a group of to-be-exported data belonging to the same data category, allowing for categorized storage and management.

[0074] As a preferred embodiment, the data to be exported includes scanned image data generated by at least one scanning device, the data categories include a first category that meets preset medical imaging standards and a second category that does not meet the preset medical imaging standards, and the marked files include a first marked file and a second marked file. The above step S302 specifically includes:

[0075] generating a corresponding first marking file according to data information of the scanned image data belonging to the first category, wherein the first marking file is used to mark data features of the scanned image data belonging to the first category;

[0076] A corresponding second marking file is generated according to the data information of the scanned image data belonging to the second category, wherein the second marking file is used to mark the data features of the scanned image data belonging to the second category.

[0077] In an embodiment of the present invention, taking scanned image data as an example, a first marking file is used to mark the corresponding first category of scanned image data that meets the preset medical imaging standards, and a second marking file is used to mark the corresponding second category of scanned image data that does not meet the preset medical imaging standards. When exporting, the scanned image data is effectively distinguished.

[0078] As a more specific embodiment, the preset medical imaging standard is the DICOM standard, the first category is the scanned image data that complies with the DICOM standard, and the second category is the scanned image data that does not comply with the DICOM standard, thereby effectively classifying the scanned image data.

[0079] As a preferred embodiment, Figure 4 Come and see, Figure 4 This is a flow chart of an embodiment of a data import method provided by the present invention, including steps S401 to S402, wherein:

[0080] In step S401, one or more first folder data to be imported from an external device is obtained, wherein the first folder data is obtained according to the data export method described above;

[0081] In step S402, the to-be-exported data belonging to different data categories are imported according to different tag files in the first folder.

[0082] In an embodiment of the present invention, first, the first folder data to be imported is effectively acquired; then, a variety of different marking files in the first folder data are used to import the data to be exported of different data categories marked therein accordingly. Based on the marking function of the marking files, the data to be exported is imported by category, thereby ensuring the speed and efficiency of the import.

[0083] As a preferred embodiment, Figure 5 Come and see, Figure 5 The present invention provides Figure 4 The flowchart of an embodiment of step S402 includes steps S501 to S503, wherein:

[0084] In step S501, the first folder data is traversed to determine whether a marked file is found;

[0085] In step S502, when the marking file is found, the data to be exported corresponding to the marked data category is imported according to the marking file;

[0086] In step S503, when no marked file is found, the first folder data is continued to be traversed.

[0087] In an embodiment of the present invention, the data in the first folder is traversed, and the mark file therein is used to import the data to be exported in the data category marked by the mark file, and the import is performed in a targeted manner to ensure the accuracy of the import.

[0088] As a preferred embodiment, the above step S502 specifically includes:

[0089] Create a corresponding import task based on the tag file, and import the data to be exported that corresponds to the data category marked in the tag file.

[0090] In an embodiment of the present invention, based on the marker file, an import task corresponding to each marker file is created, that is, multiple import tasks are created for different marker files, so that data to be exported of different data categories are imported, thereby ensuring the independence and parallelism of multiple import tasks.

[0091] As a preferred embodiment, the data to be exported includes scanned image data generated by at least one scanning device, the data category includes a first category that meets the preset medical imaging standard and a second category that does not meet the preset medical imaging standard, the marked file includes a first marked file and a second marked file, and the import task includes a first import task and a second import task. In a more specific embodiment, step S502 specifically includes:

[0092] Creating a first import task according to the first marking file to import scanned image data belonging to the first category;

[0093] A second import task is created according to the second marking file to import scanned image data belonging to the second category.

[0094] In an embodiment of the present invention, tasks are created for importing scan image data belonging to the first category and scan image data belonging to the second category, respectively, to ensure the parallelism and speed of the import tasks, and to ensure that users can accurately distinguish between scan image data that meets the preset medical imaging standards and scan image data that does not meet the preset medical imaging standards.

[0095] As a preferred embodiment, the above-mentioned import task also includes a third import task, combined with Figure 6 Come and see, Figure 6 The flowchart of another embodiment of step S402 provided by the present invention includes steps S601 to S603, wherein:

[0096] In step S601, other peripheral device data in the external device is obtained;

[0097] In step S602, during the traversal of the first folder data, unmarked data that can be imported from other peripheral device data is determined, wherein the unmarked data is not marked in the mark file;

[0098] In step S603, after completing the traversal of the data in the first folder, a third import task is created to import unlabeled data.

[0099] In an embodiment of the present invention, when the traversal is completed and there is unlabeled data that is not labeled by the labeled file, a corresponding third import task is created to effectively import the remaining unlabeled data to ensure the integrity of the data import.

[0100] The technical solution of the present invention is better illustrated by a specific application example below:

[0101] Taking scanned image data as an example, users need to distinguish between scanned image data that meets the DICOM standard and scanned image data that does not meet the DICOM standard. When the scanned image data in the scanning device needs to be exported to an external device, the corresponding export process is as follows:

[0102] Step 1: When exporting, define the scanned image data to be exported as the data to be exported, define the scanned image data that meets the DICOM standard as the first category, and create a first tag file for the scanned image data that meets the DICOM standard; define the scanned image data that does not meet the DICOM standard as the second category, and create a second tag file for the scanned image data that meets the DICOM standard;

[0103] Step 2: The data to be exported, the first marked file and the second marked file form the first folder data;

[0104] Furthermore, when the data in the first folder needs to be imported, the first folder in the peripheral device is imported into the corresponding scanning device, and the corresponding import process is as follows:

[0105] Step 1: Use breadth-wise traversal on the data in the first folder;

[0106] Step 2: When the first tag file is found, a first import task is created, and the data information (data quantity, data path, and data type) recorded in the first tag file is used to import the corresponding scan image data that meets the DICOM standard; when the second tag file is found, a second import task is created, and the data information (data quantity, data path, and data type) recorded in the second tag file is used to import the corresponding scan image data that does not meet the DICOM standard; the first import task and the second import task are processed in parallel, which is more efficient;

[0107] Step 3: If, during the traversal process, unlabeled data exists in the data to be exported in the first folder that is not labeled by the first or second identification files, the unlabeled data may be data exported from other scanning devices or stored in external devices, which are importable data files that are not included in the labeled files. After the traversal is completed, a third import task will be generated to import the unlabeled data.

[0108] Among them, it can be understood that when importing the first folder data, it may be split into N import tasks, of which N-1 tasks are created through the mark file during export. These import tasks (such as the first and second import tasks mentioned above) do not need to traverse the entire folder before being triggered. They are independent and parallel. The Nth task (such as the third import task mentioned above) is not created by the mark file and is triggered after the traversal is completed, thereby improving the import efficiency and reliability.

[0109] The embodiment of the present invention also provides a data export device, combined with Figure 7 Come and see, Figure 7This is a schematic structural diagram of an embodiment of a data export apparatus provided by the present invention. The data export apparatus 700 includes:

[0110] A first acquiring unit 701 is configured to acquire data to be exported;

[0111] The first processing unit 702 is configured to generate corresponding marker files for the data to be exported belonging to different data categories;

[0112] The first generating unit 703 is configured to generate first folder data according to the data to be exported and the corresponding markup file, and export the data to an external device.

[0113] The more specific implementation of each unit of the data export device can be found in the description of the above-mentioned data export method, and has similar beneficial effects, so it will not be repeated here.

[0114] An embodiment of the present invention further provides a data export device, including a memory and a processor, wherein the memory stores an executable program, and the processor implements the data export method described above when executing the executable program.

[0115] The more specific implementation methods of each unit of the data export device can be found in the description of the above-mentioned data export method, and have similar beneficial effects, so they will not be repeated here.

[0116] The embodiment of the present invention also provides a device for data import, Figure 8 Come and see, Figure 8 This is a schematic structural diagram of an embodiment of a data import apparatus provided by the present invention. The data import apparatus 800 includes:

[0117] The second acquiring unit 801 is configured to acquire first folder data to be imported, wherein the first folder data is generated according to the data export method described above;

[0118] The second processing unit 802 is configured to import the to-be-exported data belonging to different data categories according to different tag files in the first folder data.

[0119] The more specific implementation methods of each unit of the data import device can be found in the description of the above-mentioned data import method, and have similar beneficial effects, so they will not be repeated here.

[0120] An embodiment of the present invention further provides a data import device, comprising a memory and a processor, wherein the memory stores an executable program, and the processor implements the data import method described above when executing the executable program.

[0121] The more specific implementation methods of each unit of the data import device can be found in the description of the above-mentioned data import method, and have similar beneficial effects, so they will not be repeated here.

[0122] An embodiment of the present invention further provides a medical system comprising at least one scanning device, wherein a processor in the at least one scanning device executes the data export method described above and / or the data import method described above.

[0123] The more specific implementation of each unit in the medical system can be found in the description of the above-mentioned data export method, and has similar beneficial effects, so it will not be repeated here.

[0124] The more specific implementation methods of each unit in the medical system can be found in the description of the above-mentioned data import method, and have similar beneficial effects, so they will not be repeated here.

[0125] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for exporting data as described above and / or the method for importing data as described above are implemented.

[0126] Generally speaking, computer instructions for implementing the method of the present invention may be carried by any combination of one or more computer-readable storage media. Non-transitory computer-readable storage media may include any computer-readable media except for signals that are temporarily propagating.

[0127] A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0128] Computer program code for performing the operations of the present invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages, in particular, Python suitable for neural network computing and platform frameworks based on TensorFlow, PyTorch, etc. can be used. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, through the Internet using an Internet service provider).

[0129] An embodiment of the present invention also provides a computing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the data export method and / or the data import method described above are implemented.

[0130] The computer-readable storage medium and computing device provided according to the above embodiments of the present invention can be implemented with reference to the specific description of the method for exporting data and / or the method for importing data as described above according to the present invention, and have similar beneficial effects as the method for exporting data and / or the method for importing data as described above, which will not be repeated here.

[0131] The present invention discloses a method for exporting and importing data, a medical system, and a storage medium. In the data export method, first, the data to be exported is effectively acquired; then, based on the different data categories to which the data to be exported belongs, a tag file corresponding to the data category is established to effectively tag the data category, and tag files corresponding to multiple data categories are generated to tag different data categories; finally, the data to be exported and the corresponding multiple tag files are used together to generate a first folder of data, so that the data to be exported can be effectively classified and distinguished when exported. Furthermore, in the data import method, first, the data to be imported in the first folder is effectively acquired; then, using the multiple different tag files in the first folder, the data to be exported of the different data categories marked by them are correspondingly imported. Based on the tagging function of the tag files, the data to be exported is imported by category, ensuring the rapidity and efficiency of the import.

[0132] The technical solution of the present invention creates an identification file when exporting data, marks the data to be exported of different data categories, effectively classifies and distinguishes the data to be exported, and then uses the identification file to quickly import the data by category during subsequent import, ensuring multi-task and multi-category parallelism. At the same time, since it distinguishes data features, the accuracy of the import is enhanced.

[0133] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed by the present invention should be covered by the scope of protection of the present invention.

Claims

1. A method for data import, characterized in that: include: Acquiring data to be exported, wherein the data to be exported is scanned image data; Generate corresponding tag files for different data categories to which the data to be exported belongs, wherein scan image data that meets the DICOM standard is defined as a first category, and a first tag file is established for the scan image data that meets the DICOM standard; scan image data that does not meet the DICOM standard is defined as a second category, and a second tag file is established for the scan image data that does not meet the DICOM standard; Exporting the data to be exported and the corresponding markup file to an external device to obtain one or more first folder data; Acquire one or more first folder data to be imported from an external device; According to different tag files in the first folder data, the to-be-exported data belonging to different data categories are imported.

2. The data import method according to claim 1, characterized in that: The step of generating corresponding tag files for different data categories to which the data to be exported belongs includes: For any of the data to be exported, determining a corresponding data category; Generate a corresponding tag file according to the data information of the data to be exported contained in the data category.

3. The data import method according to claim 2, characterized in that: The step of generating a corresponding tag file according to the data information of the data to be exported contained in the data category includes: generating the corresponding first marking file according to data information of all scanned image data belonging to the first category; The corresponding second marking file is generated according to the data information of all scanned image data belonging to the second category.

4. The data import method according to claim 1, characterized in that: The step of importing the to-be-exported data belonging to different data categories according to different tag files in the first folder data includes: Traversing the first folder data to determine whether the marked file is found; When the marker file is found, the data to be exported contained in the data category is imported according to the data category corresponding to the marker file; When the marked file is not found, the first folder data is continued to be traversed.

5. The data import method according to claim 4, characterized in that: When the marker file is found, importing the to-be-exported data contained in the data category according to the data category corresponding to the marker file includes: According to the data category corresponding to the marked file, a corresponding import task is created to import the corresponding data to be exported.

6. The data import method according to claim 5, characterized in that: The import task includes a first import task and a second import task; The step of creating a corresponding import task according to the marking file and importing the data to be exported of the data category marked corresponding to the marking file includes: Creating the first import task according to the first marking file to import scanned image data belonging to the first category; The second import task is created according to the second marking file to import the scanned image data belonging to the second category.

7. The data import method according to claim 1, characterized in that: The method further comprises: Get other peripheral data from external devices; During the traversal of the first folder data, determining unmarked data that can be imported from the other peripheral device data, wherein the unmarked data is not marked in the mark file; After completing the traversal of the first folder data, a third import task is created to import the unlabeled data.

8. A medical system, characterized in that: The method comprises at least one scanning device, wherein a processor in the at least one scanning device is used to implement the method for importing data according to any one of claims 1 to 7.

9. A computer-readable storage medium having an executable program stored thereon, characterized in that: When the executable program is executed by a processor, the method for importing data according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Automatic identifying and importing method and system of multimedia file type

    CN106127045A