Method of data storage for magnetic resonance scans, method and system of magnetic resonance scans
By grouping and storing raw data files according to data segmentation rules during magnetic resonance scanning, the problem of difficulty in acquiring large amounts of image data is solved, enabling fast and accurate image reconstruction and user-friendly operation control.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUHAN UNITED IMAGING LIFE SCIENCE INSTRUMENT CO LTD
- Filing Date
- 2021-12-16
- Publication Date
- 2026-04-21
AI Technical Summary
In magnetic resonance imaging (MRI) technology, the amount of raw medical image data generated is too large, making it impossible to quickly and accurately acquire relevant data for subsequent image reconstruction.
During the magnetic resonance scanning process, the raw data files are grouped and stored into target file groups according to preset data segmentation rules, including grouping according to rules such as the number of slices, scanning time, and data volume. When an instruction is received, the operation of the scanning equipment is controlled to complete or suspend the scan.
It enables the rapid and accurate acquisition of raw medical image data from different groups after MRI scans, improving the efficiency and accuracy of image reconstruction, and supports user-friendly suspension and resumption operations.
Smart Images

Figure CN116266097B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of magnetic resonance imaging technology, and in particular to a data storage method, magnetic resonance scanning method and system for magnetic resonance scanning. Background Technology
[0002] Magnetic resonance imaging (MRI) is an imaging technique that reconstructs images by utilizing signals generated when atomic nuclei resonate within a strong magnetic field. With advancements in medical technology, the use of MRI to assist in medical diagnosis is becoming increasingly common.
[0003] When using magnetic resonance imaging (MRI) to scan a human or animal, a certain amount of raw medical image data is generated. However, if the generated raw images are too large, there are problems such as the inability to quickly and accurately obtain the relevant raw medical image data for subsequent image reconstruction. Summary of the Invention
[0004] Therefore, it is necessary to provide a data storage method, magnetic resonance scanning method, and system for magnetic resonance scanning that can quickly and accurately acquire relevant raw medical image data, addressing the aforementioned technical problems.
[0005] In a first aspect, this application provides a data storage method for magnetic resonance imaging (MRI) scans, the method comprising:
[0006] During the scanning process of the target object by the magnetic resonance imaging equipment, the raw data file of the current scan layer is acquired;
[0007] Based on the preset data fragmentation rules, determine the target file group corresponding to the raw data file of the current scan layer;
[0008] Store the data from the raw data file of the current scan layer into the storage space corresponding to the target file group.
[0009] In one embodiment, the data sharding rules include at least one of the following:
[0010] The first rule for grouping raw data files according to the number of layers;
[0011] The second rule for grouping raw data files according to scan time;
[0012] The third rule is to group raw data files according to their data volume.
[0013] In one embodiment, the target file group corresponding to the raw data file of the current scan layer is determined according to a preset data fragmentation rule, including:
[0014] According to the first rule, the target file group corresponding to the raw data file of the current scan layer is determined based on the scan layer identifier of the current scan layer; the first rule includes the correspondence between the scan layer identifier and the file group.
[0015] In one embodiment, the target file group corresponding to the raw data file of the current scan layer is determined according to a preset data fragmentation rule, including:
[0016] The second rule determines whether the scan time of the current scan layer falls within the storage time period corresponding to the current file group; the second rule includes the storage time period corresponding to each file group.
[0017] If the scanning time of the current scan layer is within the storage time period corresponding to the current file group, then the current file group is determined as the target file group;
[0018] If the scanning time of the current scan layer exceeds the storage time period corresponding to the current file group, then the file group corresponding to the next storage time period will be determined as the target file group.
[0019] In one embodiment, the target file group corresponding to the raw data file of the current scan layer is determined according to a preset data fragmentation rule, including:
[0020] The third rule determines whether the amount of data in the storage space of the current file group is greater than or equal to the preset data amount threshold; the third rule includes the data amount threshold corresponding to the storage space of each file group.
[0021] If the amount of data in the storage space of the current file group is less than the preset data amount threshold, then the current file group will be used as the target file group.
[0022] If the amount of data in the storage space of the current file group is greater than or equal to the preset data amount threshold, then the next file group will be used as the target file group.
[0023] In one embodiment, the data storage method for magnetic resonance scanning further includes:
[0024] Determine whether a scan completion command or a suspend protocol sequence command has been received;
[0025] If a scan completion command or a suspension protocol sequence command is received, the storage task is terminated;
[0026] If no scan completion instruction or suspension protocol sequence instruction is received, the raw data file of the next scan layer is obtained as the new raw data file of the current scan layer, and the step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules is executed.
[0027] In one embodiment, the data storage method for magnetic resonance scanning further includes:
[0028] Upon receiving the suspension protocol sequence command, the system controls the magnetic resonance imaging equipment to stop scanning the target object, records the number of slices in the completed scan, and generates a task execution log file.
[0029] In one embodiment, the data storage method for magnetic resonance scanning further includes:
[0030] Upon receiving the activation suspend protocol sequence command, the task execution log file is searched to obtain the number of slices of scanned layers that have been completed, and the scanned layers that have not been completed are then scanned.
[0031] Secondly, this application provides a magnetic resonance scanning system, which includes: a protocol manager module, a checklist module, and a data storage module;
[0032] The protocol manager module is used to obtain the target scanning protocol selected by the user based on the protocol scanning interface and transmit it to the checklist module;
[0033] The checklist module is used to jump to the slice selection interface according to the target scanning protocol, obtain the preset slice rules selected by the user based on the slice selection interface, scan the target object, and generate the raw data file of the current scan layer.
[0034] The data storage module is used to store the raw data files of the current layer according to the preset data sharding rules.
[0035] In one embodiment, the magnetic resonance scanning system further includes: a suspension module and an activation module;
[0036] The suspension module is used to obtain the suspension protocol command from the user based on the protocol scanning interface, and when it receives the suspension protocol sequence command, it controls the magnetic resonance device to stop scanning the target object, records the number of scan layers that have been completed, generates a task execution log file, and transmits it to the data storage module for storage.
[0037] The activation module is used to obtain the user's activation and suspension protocol sequence instructions based on the protocol scanning interface, search the task execution log file in the data storage module, obtain the number of slices of the scanned layers that have been completed, and scan the scanned layers that have not been completed.
[0038] Thirdly, this application provides a magnetic resonance scanning method, the method comprising:
[0039] Obtain the target scanning protocol selected by the user based on the protocol scanning interface;
[0040] According to the target scanning protocol, the system jumps to the segmentation selection interface, obtains the preset segmentation rules selected by the user based on the segmentation selection interface, scans the target object, and generates the raw data file of the current scanning layer.
[0041] According to the preset data fragmentation rules, the raw data files of the current layer are stored, and the data in the raw data files of the current scanned layer are stored in the storage space corresponding to the target file group.
[0042] The aforementioned data storage method, magnetic resonance scanning method, and system for magnetic resonance scanning acquire the raw data file of the current scan layer during the scanning process of the target object by the magnetic resonance device. According to the preset data segmentation rules, the target file group corresponding to the raw data file of the current scan layer is determined, and the data in the raw data file of the current scan layer is stored in the storage space corresponding to the target file group. This allows the raw data files generated by scanning different scan layers to be stored in the corresponding target file groups, so that the corresponding original medical image data can be quickly and accurately obtained from different groups for image data reconstruction in the subsequent process. Attached Figure Description
[0043] Figure 1 This is an application environment diagram of a data storage method for magnetic resonance scanning in one embodiment;
[0044] Figure 2 This is a flowchart illustrating a data storage method for magnetic resonance scanning in one embodiment;
[0045] Figure 2-a This is a schematic diagram of the interface for selecting the local data fragmentation method in one embodiment;
[0046] Figure 3 This is a flowchart illustrating a data storage method for magnetic resonance scanning in another embodiment;
[0047] Figure 4 This is a flowchart illustrating a data storage method for magnetic resonance scanning in another embodiment;
[0048] Figure 5 This is a flowchart illustrating a data storage method for magnetic resonance scanning in another embodiment;
[0049] Figure 5-a This is a schematic diagram of the protocol scanning interface in one embodiment;
[0050] Figure 5-b This is a schematic diagram of the list recovery sequence protocol scanning interface in one embodiment;
[0051] Figure 5-c This is a schematic diagram of the check list interface in one embodiment;
[0052] Figure 6 This is a flowchart illustrating a data storage method for magnetic resonance scanning in another embodiment;
[0053] Figure 7 This is a structural block diagram of a magnetic resonance scanning system in one embodiment;
[0054] Figure 8 This is a flowchart illustrating a magnetic resonance scanning method in one embodiment;
[0055] Figure 9 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0057] The data storage method for magnetic resonance scanning provided in some embodiments of this application can be applied to, for example... Figure 1 The application environment shown. Figure 1 This is a schematic diagram illustrating the application environment of the data storage method for magnetic resonance scanning according to an embodiment of this application, such as... Figure 1 As shown. The application environment may include a magnetic resonance scanning system, which may include: a magnetic resonance scanning device 101, a scanning bed 102, a host 103, and a reconstruction machine 104. The operator can control the magnetic resonance device 101 through the host 103 to perform layered scanning of the target object on the scanning bed 102, obtaining a large number of raw data files. These large numbers of raw data files can be stored in corresponding storage spaces according to different data segmentation rules, so that the reconstruction machine 104 can subsequently retrieve the corresponding raw data from the corresponding storage space for image reconstruction. In some embodiments, the magnetic resonance scanning system is an animal magnetic resonance imaging system. The magnetic resonance scanning device can acquire massive amounts of raw data through magnetic resonance scanning of the scanned object, especially when scanning animals in preclinical life science research. This raw data is reconstructed and displayed as digital images. This acquired, unprocessed data can be defined as raw data, also called raw data. It is understood that during the magnetic resonance scanning process, while acquiring raw data, some noise data may also be acquired; raw data can include this noise data.
[0058] In one embodiment, such as Figure 2 As shown, a data storage method for magnetic resonance imaging (MRI) scans is provided, which can be applied to... Figure 1Taking the magnetic resonance system in China as an example, the following steps are included:
[0059] S202: During the scanning process of the target object by the magnetic resonance equipment, acquire the raw data file of the current scan layer.
[0060] Specifically, when an MRI scanner scans a target object, it typically divides the object into scanning layers and scans each layer. The scanning can proceed in the order of the divided layers or not; there is no restriction on this. During the scanning process, the raw data file of the current scanning layer is acquired.
[0061] S204, determine the target file group corresponding to the raw data file of the current scan layer according to the preset data segmentation rules.
[0062] The data sharding rules are used to group raw data files. Preset data sharding rules may include: a first rule grouping raw data files according to the number of shard layers; a second rule grouping raw data files according to scan time; a third rule grouping raw data files according to data volume; a fourth rule grouping raw data files according to the number of repeated scans when repeatedly scanning a certain scan sequence or scan layer; a fifth rule grouping raw data files generated by scanning in different scan directions within different sequences; and other grouping rules supported by sequence scanning.
[0063] Specifically, based on preset data fragmentation rules, determining the target file group corresponding to the raw data file of the current scan layer can be achieved by dividing all scan layers into groups, determining the target file group for the raw data file generated by the current scan layer when scanning layers in the preset first group according to the first rule, and determining the target file group for the raw data file generated by the current scan layer when scanning layers in other groups according to the second or third rule. Alternatively, the target file group for the raw data file generated by the current scan layer when scanning layers in the preset first group can be determined according to the second rule, and the target file group for the raw data file generated by the current scan layer when scanning layers in other groups can be determined according to the first or second rule. Another option is that when all scan layers are scanned, any one of the preset data fragmentation rules is used to determine the corresponding file group for the raw data file generated by each scan layer. Finally, all scan layers can be divided into three groups, and the target file group for the raw data file of the current scan layer can be determined according to different data fragmentation rules for each group. For example, the 12 scan layers are divided into 3 groups: 1-4 are the first group, 5-8 are the second group, and 9-12 are the third group. When the scan layers of the first group are scanned, the raw data files of the current scan layer are grouped into target files according to the first rule; when the scan layers of the second group are scanned, the raw data files of the current scan layer are grouped into target files according to the second rule; and when the scan layers of the third group are scanned, the raw data files of the current scan layer are grouped into target files according to the third rule.
[0064] Optionally, if repeated scanning of a certain scan sequence or scan layer is required, the raw data files generated from each scan can be grouped according to the fifth rule for grouping raw data files based on the number of repeated scans. For example, raw data files with an odd or even number of scans can be grouped together and stored in the corresponding storage space. Alternatively, the number of scans can be arbitrarily chosen to group the data files; there is no restriction on this.
[0065] Optionally, users can base their decisions on, for example... Figure 2-a The interface for selecting raw data sharding methods is shown. Select the corresponding sharding rule.
[0066] S206, store the data from the raw data file of the current scanned layer to the storage space corresponding to the target file group.
[0067] Specifically, the data from the raw data files of the current scan layer, for which the target file group has been determined, is stored in the storage space corresponding to the target file group. This can be done by storing the data from the raw data files of the current scan layer one by one, or by packaging the data from the raw data files of the current scan layer into the storage space corresponding to the target file group; there is no restriction on this.
[0068] In the above-mentioned data storage method for magnetic resonance imaging (MRI) scanning, during the scanning of the target object by the MRI device, the raw data file of the current scan layer is acquired. According to the preset data segmentation rules, the target file group corresponding to the raw data file of the current scan layer is determined. The data in the raw data file of the current scan layer is stored in the storage space corresponding to the target file group. This allows the raw data files generated by scanning different scan layers to be stored in the corresponding target file groups. In order to quickly and accurately obtain the corresponding original medical image data from different groups for image data in subsequent image reconstruction.
[0069] Further, in one embodiment, determining the target file group corresponding to the raw data file of the current scan layer according to a preset data fragmentation rule includes:
[0070] According to the first rule, the target file group corresponding to the current scan layer's raw data file is determined based on the scan layer identifier of the current scan layer's raw data file; the first rule includes the correspondence between the scan layer identifier and the file group.
[0071] Specifically, the correspondence between scan layer identifiers and file groups can include determining the corresponding target file group when the scan layer identifier is a preset layer number. The preset layer number can be a consecutive preset number of layers or a non-consecutive preset number of layers; there is no restriction on this. When the current scan layer is completed, a raw data file is generated. At this time, based on the identifier of the current scan layer, the layer number of the current scan layer can be determined. Based on the correspondence between the scan layer number and file groups, the target file group corresponding to the raw data file of the current scan layer is determined. For example, if there are 12 scan layers, and the scan layer identifier of the current scan layer is layer 1, layer 2, layer 3, and layer 4, the target file group corresponding to the raw data file of the current scan layer is determined to be group 1; if the scan layer identifier is layer 5, layer 6, layer 7, and layer 8, the target file group corresponding to the raw data file of the current scan layer is determined to be group 2; if the scan layer identifier is layer 9, layer 10, layer 11, and layer 12, the target file group corresponding to the raw data file of the current scan layer is determined to be group 3. For example, if there are 12 scanning layers, and the scanning layers are identified as the first, third, fifth, and seventh layers, the target file group corresponding to the raw data file of the current scanning layer is determined to be the first group; if the scanning layers are identified as the second, fourth, sixth, and eighth layers, the target file group corresponding to the raw data file of the current scanning layer is determined to be the second group; if the scanning layers are identified as the ninth, tenth, eleventh, and twelfth layers, the target file group corresponding to the raw data file of the current scanning layer is determined to be the third group.
[0072] Furthermore, in one embodiment, such as Figure 3 As shown, based on the preset data fragmentation rules, the target file group corresponding to the raw data file of the current scan layer is determined, including:
[0073] S302, determine whether the scanning time of the current scanning layer is within the storage time period corresponding to the current file group according to the second rule; the second rule includes the storage time period corresponding to each file group.
[0074] Specifically, since the target file grouping is determined based on the current scan layer's scan time distribution—for example, if the total scan time of an MRI machine is 30 minutes—the first 10 minutes of the scan can be the first storage time period, the middle 10 minutes can be the second storage time period, and the last 10 minutes can be the third storage time period. Each storage time period can correspond to a different target file group: the first storage time period can correspond to the first target file group, the second storage time period can correspond to the second target file group, and the third storage time period can correspond to the third target file group. First, the first target file group is used as the current file group. If the storage of the first target file group is completed, the second target file group is used as the current file group, and so on. The second rule determines whether the scan time of the current scan layer falls within the storage time period corresponding to the current file group. For example, if the scan time of the current scan layer is the 17th minute, it can be assumed that the first target file group has already stored the raw data files for the first 10 minutes. Then, it checks whether the scan time falls within the storage time period corresponding to the second target file group. If it does, the raw data files of the current scan layer are determined to correspond to the second target file group. If it does, it checks whether the scan time falls within the storage time period corresponding to the second target file group. If it does, the third target file group corresponds to the raw data files of the current scan layer; otherwise, the third target file group is determined as the target file group. Alternatively, if the scan time of the raw data files of the current scan layer falls within the storage time period corresponding to the current file group, the current file group is determined as the target file group. If the scan time of the raw data files of the current scan layer exceeds the storage time period corresponding to the current file group, the file group corresponding to the next storage time period is directly determined as the target file group.
[0075] S304, if the scanning time of the current scan layer is within the storage time period corresponding to the current file group, then the current file group is determined as the target file group.
[0076] Specifically, if the scanning time of the current scan layer falls within the storage time period corresponding to the current file group, then the current file group is determined as the target file group. For example, if the current scan layer generates raw data at the 9th minute, which falls within the first time period, then the raw data file of the current scan layer is determined to correspond to the first target file group.
[0077] S306, if the scanning time of the current scan layer exceeds the storage time period corresponding to the current file group, then the file group corresponding to the next storage time period is determined as the target file group.
[0078] Specifically, if the scanning time of the current scan layer exceeds the storage time period corresponding to the current file group, then the file group corresponding to the next storage time period is determined as the target file group. For example, if the current scan layer scan time is at the 11th minute, which exceeds the storage time period corresponding to the first target file group by 10 minutes, then the file group corresponding to the second storage time period is determined as the target file group.
[0079] Furthermore, in one embodiment, such as Figure 4 As shown, based on the preset data fragmentation rules, the target file group corresponding to the raw data file of the current scan layer is determined, including:
[0080] S402, determine whether the data volume of the storage space of the current file group is greater than or equal to the preset data volume threshold according to the third rule; the third rule includes the data volume threshold corresponding to the storage space of each file group;
[0081] S404, If the amount of data in the storage space of the current file group is less than the preset data amount threshold, then the current file group will be used as the target file group.
[0082] S406, if the amount of data in the storage space of the current file group is greater than or equal to the preset data amount threshold, then the next file group will be used as the target file group.
[0083] Specifically, after the current scan layer generates data, it is determined whether the current scan layer's data volume is greater than or equal to a preset data volume threshold. If the data volume of the current file group's storage space is less than the preset data volume threshold, then the current file group is designated as the target file group; if the data volume of the current file group's storage space is greater than or equal to the preset data volume threshold, then the next file group is designated as the target file group. The data volumes of different file groups can be the same or different. The third rule includes the data volume threshold corresponding to the storage space of each file group, which indicates whether the storage space of that file group can still be used for storage. For example, if the data volume of the current file group's storage space has reached 20GB and the preset data volume threshold is 25GB, then the current file group is designated as the target file group. If the data volume of the current file group's storage space has reached 20GB and the preset data volume threshold is 20GB, then obviously, the current file group cannot meet the storage requirements, and the next file group is designated as the target file group.
[0084] In this embodiment, three different rules can be used to determine the target file group for the raw data file of the current scan layer, so that it can be stored in the target file group, so that the corresponding raw data file can be found quickly and accurately in the subsequent reconstruction process.
[0085] The above embodiments illustrate how to determine the target file grouping for storing raw data. During the scanning process of the magnetic resonance imaging equipment, a suspend protocol sequence command may also be received. An embodiment will now be described, in which... Figure 5 As shown, the data storage method for magnetic resonance scanning also includes:
[0086] S502, determine whether a scan completion command or a suspend protocol sequence command has been received.
[0087] S504: If a scan completion command or a suspension protocol sequence command is received, the storage task is terminated.
[0088] S506, if no scan completion instruction or suspension protocol sequence instruction is received, the raw data file of the next scan layer is obtained as the new raw data file of the current scan layer, and the step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules is executed.
[0089] Specifically, when the scan is complete, a scan completion command is generated. If the scan completion command is received, the storage task ends. During the scan process at the MRI machine, the user can base their data on... Figure 5-a Clicking the "Suspend Check" button on the protocol scanning interface suspends the current scan sequence and generates a "Received Suspend Protocol Sequence Instruction." If this instruction is received, the data storage task ends. If no scan completion instruction or suspension protocol sequence instruction is received during the scanning of the current scan layer, the raw data file of the next scan layer is obtained as the new raw data file for the current scan layer. The process then proceeds to determine the target file group corresponding to the raw data file of the current scan layer based on preset data fragmentation rules.
[0090] Optionally, upon receiving a suspension protocol sequence instruction, the magnetic resonance imaging device is controlled to stop scanning the target object, and the number of scan layers that have been completed is recorded, and a task execution log file is generated and stored.
[0091] Among them, the suspension protocol sequence instruction is a user-sent instruction to pause the scan or a suspension instruction triggered by an abnormal system termination during the scan process.
[0092] Furthermore, users can base their decisions on, for example... Figure 5-b In the sequence recovery protocol scan interface shown, locate the suspended scan sequence that needs to be recovered and select the recovery option. The interface will then redirect to the check list interface, which floats above the suspended scan sequence that needs recovery, positioned above the row corresponding to the selected sequence item. Figure 5-cAs shown, the user can select the protocol to continue scanning option, triggering the activation of the suspended protocol sequence command. When the activation of the suspended protocol sequence command is received, the task execution log file is searched to obtain the number of slices of the scanned layers that have been completed, and the scanned layers that have not been completed are scanned.
[0093] Optionally, before the user clicks the "Suspend Check" button on the protocol scanning interface to trigger the suspension protocol sequence command, the user is prompted whether to abandon the data of the current scanning layer or wait for the current acquisition cycle to complete before suspending the check. If the user abandons the data of the current scanning layer, the raw data of the current scanning layer will not be stored and the suspension protocol sequence command will be triggered, and the current scanning layer will not be recorded.
[0094] In this embodiment, the system determines whether a scan completion command or a suspension protocol sequence command has been received. If either command is received, the storage task ends. If neither command is received, the raw data file of the next scan layer is obtained as the new raw data file for the current scan layer. The system then performs the step of determining the target file group corresponding to the raw data file of the current scan layer according to preset data fragmentation rules. This allows the system to end the storage task in real time based on a completion command or a user suspension command, and to restart the scan upon receiving an activation suspension protocol sequence command. This solves the problem of the inability to perform suspension operations in existing technologies, thus improving the user experience.
[0095] To facilitate understanding by those skilled in the art, the data storage method for magnetic resonance scanning is further described below with reference to an embodiment. In one embodiment, such as... Figure 6 As shown, the data storage method for magnetic resonance scanning includes:
[0096] S601: During the scanning process of the target object by the magnetic resonance imaging equipment, acquire the raw data file of the current scan layer.
[0097] S602, Obtain the preset data fragmentation rules, and determine the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules;
[0098] S603, if the first rule is followed, the target file group corresponding to the current scan layer's raw data file is determined based on the scan layer identifier of the current scan layer's raw data file; the first rule includes the correspondence between the scan layer identifier and the file group.
[0099] S604, if the scanning time of the current scan layer's raw data file is determined according to the second rule to be within the time period corresponding to the current file group; the second rule includes the storage time period corresponding to each file group; if the scanning time of the current scan layer is within the storage time period corresponding to the current file group, then the current file group is determined as the target file group.
[0100] S605, if the data volume of the storage space of the current file group is determined according to the third rule to be greater than or equal to the preset data volume threshold; the third rule includes the data volume threshold corresponding to the storage space of each file group;
[0101] S606, if the amount of data in the storage space of the current file group is less than the preset data amount threshold, then the current file group is used as the target file group; if the amount of data in the storage space of the current file group is greater than or equal to the preset data amount threshold, then the next file group is used as the target file group.
[0102] S607, store the data in the raw data file of the current scan layer to the storage space corresponding to the target file group.
[0103] S608 determines whether a scan completion command or a suspend protocol sequence command has been received.
[0104] S609: If a scan completion command or a suspension protocol sequence command is received, the magnetic resonance imaging device is controlled to stop scanning the target object, the number of scan layers that have been completed is recorded, a task execution log file is generated and stored, and the storage task is terminated.
[0105] S610, upon receiving the activation suspend protocol sequence instruction, searches the task execution log file, obtains the number of slices of the scanned layers that have been completed, and scans the scanned layers that have not been completed.
[0106] S611, if no scan completion instruction or suspension protocol sequence instruction is received, obtain the raw data file of the next scan layer as the new raw data file of the current scan layer, and execute the step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules.
[0107] In this embodiment, during the scanning of the target object by the magnetic resonance device, the raw data file of the current scan layer is obtained. According to the preset data segmentation rules, the target file group corresponding to the raw data file of the current scan layer is determined. The data in the raw data file of the current scan layer is stored in the storage space corresponding to the target file group. This allows the raw data files generated by scanning different scan layers to be stored in the corresponding target file groups. In order to quickly and accurately obtain the corresponding original medical image data from different groups for image data in subsequent image reconstruction.
[0108] It should be understood that, although Figure 2-6The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order in which these steps are executed, and they can be performed in other orders. Furthermore, Figure 2-6 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0109] The above embodiments have described the data storage method for magnetic resonance scanning. Now, an embodiment of a magnetic resonance scanning system applying the data storage method for magnetic resonance scanning will be described. In one embodiment, such as... Figure 7 As shown, the magnetic resonance scanning system includes: a protocol manager module 701, a checklist module 702, and a data storage module 703;
[0110] Protocol Manager Module 701 is used to obtain the target scanning protocol selected by the user based on the protocol scanning interface and transmit it to the checklist module;
[0111] The checklist module 702 is used to jump to the segmentation selection interface according to the target scanning protocol, obtain the preset segmentation rules selected by the user based on the segmentation selection interface, scan the target object, and generate the raw data file of the current scanning layer.
[0112] The data storage module 703 is used to store the raw data files of the current layer according to the preset data sharding rules.
[0113] Specifically, when a user needs to perform an MRI scan, they can select the desired target scanning protocol option based on the protocol scanning interface. The protocol manager module obtains the target scanning protocol and transmits the selected target scanning protocol to the checklist module. The user can open the target scanning protocol by clicking. The checklist module generates a protocol parameter card based on the target scanning protocol. The user can select the number of coils based on the protocol parameter card and jump to the segmentation selection interface based on the protocol parameter card. The module obtains the preset segmentation rules selected by the user based on the segmentation selection interface, scans the target object, and generates the raw data file of the current scan layer. The data storage module stores the raw data file of the current layer according to the preset data segmentation rules. The data segmentation rules are used to group the raw data files.
[0114] Optionally, the data fragmentation rules include at least one of the following: a first rule for grouping raw data files according to the number of fragment layers; a second rule for grouping raw data files according to the scan time; and a third rule for grouping raw data files according to the data volume.
[0115] For specific limitations regarding the data storage module, please refer to the limitations on data storage methods for magnetic resonance imaging (MRI) scans mentioned above, which will not be repeated here. The modules in the aforementioned MRI scan system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the electronic device, or stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each module.
[0116] In this embodiment, the magnetic resonance scanning system includes: a protocol manager module, a checklist module, and a data storage module. The protocol manager module acquires the target scanning protocol selected by the user based on the protocol scanning interface and transmits it to the checklist module. The checklist module navigates to the slice selection interface based on the target scanning protocol, acquires the preset slice rules selected by the user based on the slice selection interface, scans the target object, and generates the raw data file for the current scan layer. The data storage module stores the raw data file for the current layer according to the preset data slice rules. The data slice rules are used to group the raw data files. Different data grouping rules can be provided to the user to group the raw data files of the scan layer, enabling the corresponding data content to be quickly and accurately located during subsequent data reconstruction.
[0117] Furthermore, in one embodiment, the magnetic resonance scanning system further includes:
[0118] Suspend module and activate module;
[0119] The suspension module is used to obtain the suspension protocol command from the user based on the protocol scanning interface, and when it receives the suspension protocol sequence command, it controls the magnetic resonance device to stop scanning the target object, records the number of scan layers that have been completed, generates a task execution log file, and transmits it to the data storage module for storage.
[0120] The activation module is used to obtain the user's activation and suspension protocol sequence instructions based on the protocol scanning interface, search the task execution log file in the data storage module, obtain the number of slices of the scanned layers that have been completed, and scan the scanned layers that have not been completed.
[0121] Specifically, the specific limitations of the aforementioned suspension module and activation module can be found in the specific limitations of the aforementioned magnetic resonance scanning data storage method, and will not be repeated here.
[0122] In this embodiment, the suspend module receives the user's suspend protocol command based on the protocol scanning interface. Upon receiving the suspend protocol sequence command, it controls the magnetic resonance imaging (MRI) device to stop scanning the target object, records the number of completed scan layers, generates a task execution log file, and transmits it to the data storage module for storage. The activation module receives the user's activation suspend protocol sequence command based on the protocol scanning interface, searches the task execution log file in the data storage module, obtains the number of completed scan layers, and scans the incomplete scan layers. This allows the storage task to end in real time based on the completion command or the user's suspend command, and it can restart the scan upon receiving the activation suspend protocol sequence command, solving the problem of the inability to perform suspend operations in the prior art and improving the user experience.
[0123] In one embodiment, the data storage module is specifically used to determine the target file group corresponding to the live data file of the current scan layer according to the scan layer identifier of the live data file of the current scan layer, based on a first rule; the first rule includes the correspondence between the scan layer identifier and the file group.
[0124] In one embodiment, the data storage module is specifically used to determine whether the scanning time of the current scanning layer is within the storage time period corresponding to the current file group according to a second rule; the second rule includes the storage time period corresponding to each file group; if the scanning time of the current scanning layer is within the storage time period corresponding to the current file group, then the current file group is determined as the target file group; if the scanning time of the current scanning layer exceeds the storage time period corresponding to the current file group, then the file group corresponding to the next storage time period is determined as the target file group.
[0125] In one embodiment, the data storage module is specifically used to determine whether the data volume of the storage space of the current file group is greater than or equal to a preset data volume threshold according to a third rule; the third rule includes the data volume threshold corresponding to the storage space of each file group; if the data volume of the storage space of the current file group is less than the preset data volume threshold, then the current file group is used as the target file group; if the data volume of the storage space of the current file group is greater than or equal to the preset data volume threshold, then the next file group is used as the target file group.
[0126] In one embodiment, the data storage module is specifically used to determine whether a scan completion instruction or a suspension protocol sequence instruction has been received; if a scan completion instruction or a suspension protocol sequence instruction has been received, the storage task is terminated; if no scan completion instruction or suspension protocol sequence instruction has been received, the raw data file of the next scan layer is obtained as the new raw data file of the current scan layer, and the step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules is executed.
[0127] In one embodiment, the data storage module is specifically used to control the magnetic resonance device to stop scanning the target object when it receives a suspend protocol sequence instruction, record the number of slices of the scanned layer that has been completed, and generate a task execution log file.
[0128] In one embodiment, the data storage module is specifically used to, upon receiving an activation suspend protocol sequence instruction, search the task execution log file, obtain the number of slices of the scanned layers that have been completed, and scan the scanned layers that have not been completed.
[0129] For specific limitations on the data storage module, please refer to the limitations on data storage methods for magnetic resonance imaging scans mentioned above, which will not be repeated here.
[0130] The above embodiments describe a method for storing raw data generated after scanning with a magnetic resonance imaging (MRI) device. Now, an embodiment of the MRI scanning method will be described. In one embodiment, such as... Figure 8 As shown, the magnetic resonance scanning method includes:
[0131] S802, Obtain the target scanning protocol selected by the user based on the protocol scanning interface;
[0132] S804, jumps to the segmentation selection interface according to the target scanning protocol, obtains the preset segmentation rules selected by the user based on the segmentation selection interface, scans the target object, and generates the raw data file of the current scanning layer;
[0133] S806 stores the raw data file of the current layer according to the preset data fragmentation rules, and stores the data in the raw data file of the current scanned layer into the storage space corresponding to the target file group.
[0134] For specific limitations regarding magnetic resonance scanning, please refer to the above section on the specific limitations of magnetic resonance scanning systems, which will not be repeated here.
[0135] Furthermore, the data fragmentation rules include at least one of the following: a first rule for grouping raw data files according to the number of fragment layers; and a second rule for grouping raw data files according to the scan time.
[0136] The third rule is to group raw data files according to their data volume.
[0137] For specific limitations on step S806, please refer to the limitations on data storage methods for magnetic resonance scanning mentioned above, which will not be repeated here.
[0138] In this embodiment, the system obtains the target scanning protocol selected by the user based on the protocol scanning interface, navigates to the segmentation selection interface according to the target scanning protocol, obtains the preset segmentation rules selected by the user based on the segmentation selection interface, and scans the target object to generate the raw data file of the current scanning layer. The raw data file of the current layer is then stored according to the preset data segmentation rules. The data segmentation rules are used to group the raw data files. Different data grouping rules can be provided to the user to group the raw data files of the scanning layer, enabling the corresponding data content to be quickly and accurately located during subsequent data reconstruction.
[0139] In one embodiment, determining the target file group corresponding to the raw data file of the current scan layer according to a preset data fragmentation rule includes:
[0140] According to the first rule, the target file group corresponding to the raw data file of the current scan layer is determined based on the scan layer identifier of the current scan layer; the first rule includes the correspondence between the scan layer identifier and the file group.
[0141] In one embodiment, determining the target file group corresponding to the raw data file of the current scan layer according to a preset data fragmentation rule includes:
[0142] The second rule determines whether the scan time of the raw data file of the current scan layer is within the storage time period corresponding to the current file group; the second rule includes the storage time period corresponding to each file group.
[0143] If the scanning time of the current scan layer is within the storage time period corresponding to the current file group, then the current file group will be determined as the target file group.
[0144] If the scanning time of the current scan layer exceeds the time period corresponding to the current file group, then the file group corresponding to the next storage time period will be determined as the target file group.
[0145] In one embodiment, determining the target file group corresponding to the raw data file of the current scan layer according to a preset data fragmentation rule includes:
[0146] The third rule determines whether the amount of data in the storage space of the current file group is greater than or equal to the preset data amount threshold; the third rule includes the data amount threshold corresponding to the storage space of each file group.
[0147] If the amount of data in the storage space of the current file group is less than the preset data amount threshold, then the current file group will be used as the target file group.
[0148] If the amount of data in the storage space of the current file group is greater than or equal to the preset data amount threshold, then the next file group will be used as the target file group.
[0149] In one embodiment, the magnetic resonance scanning method further includes:
[0150] Determine whether a scan completion command or a suspend protocol sequence command has been received;
[0151] If a scan completion command or a suspension protocol sequence command is received, the storage task is terminated;
[0152] If no scan completion instruction or suspension protocol sequence instruction is received, the raw data file of the next scan layer is obtained as the new raw data file of the current scan layer, and the step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules is executed.
[0153] In one embodiment, the magnetic resonance scanning method further includes:
[0154] Upon receiving the suspend protocol sequence command, the system controls the magnetic resonance imaging equipment to stop scanning the target object, records the number of slices in the completed scan, and generates a task execution log file.
[0155] In one embodiment, the magnetic resonance scanning method further includes:
[0156] Upon receiving the activation suspend protocol sequence command, the task execution log file is searched to obtain the number of slices of scanned layers that have been completed, and the scanned layers that have not been completed are then scanned.
[0157] For specific limitations on some steps of the magnetic resonance scanning method in the above embodiments, please refer to the specific limitations on the data storage method for magnetic resonance scanning described above, which will not be repeated here.
[0158] In one embodiment, an electronic device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 9 As shown, the electronic device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores raw data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a data storage method or a magnetic resonance scanning method for magnetic resonance imaging (MRI).
[0159] Those skilled in the art will understand that Figure 9The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0160] In one embodiment, an electronic device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the magnetic resonance scanning method or the data storage method for magnetic resonance scanning in any of the above embodiments.
[0161] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the magnetic resonance scanning method or the data storage method for magnetic resonance scanning in any of the above embodiments.
[0162] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this 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, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0163] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.
[0164] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for storing data from magnetic resonance imaging (MRI) scans, characterized in that, The method includes: During the scanning process of a target object by a magnetic resonance imaging (MRI) device, the raw data file of the current scan layer is acquired. The raw data includes the unprocessed raw data generated during the scanning process. Based on the preset data fragmentation rules, the target file group corresponding to the raw data file of the current scan layer is determined; The data in the raw data file of the current scan layer is stored in the storage space corresponding to the target file group. The data sharding rules include at least one of the following: The first rule for grouping the raw data files according to the number of layers; A second rule for grouping the raw data files according to scan time; The third rule for grouping the raw data files according to their data volume.
2. The method according to claim 1, characterized in that, The step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules includes: According to the first rule, the target file group corresponding to the raw data file of the current scan layer is determined based on the scan layer identifier of the current scan layer; the first rule includes the correspondence between the scan layer identifier and the file group.
3. The method according to claim 1, characterized in that, The step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules includes: The second rule determines whether the scanning time of the current scanning layer is within the storage time period corresponding to the current file group; the second rule includes the storage time period corresponding to each file group. If the scanning time of the current scanning layer is within the storage time period corresponding to the current file group, then the current file group is determined as the target file group; If the scanning time of the current scanning layer exceeds the storage time period corresponding to the current file group, then the file group corresponding to the next storage time period will be determined as the target file group.
4. The method according to claim 1, characterized in that, The step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules includes: The third rule determines whether the data volume of the storage space of the current file group is greater than or equal to a preset data volume threshold; the third rule includes the data volume threshold corresponding to the storage space of each file group. If the amount of data in the storage space of the current file group is less than the preset data amount threshold, then the current file group is taken as the target file group; If the amount of data in the storage space of the current file group is greater than or equal to the preset data amount threshold, then the next file group will be used as the target file group.
5. The method according to claim 1, characterized in that, The method further includes: Determine whether a scan completion command or a suspend protocol sequence command has been received; If the scan completion instruction or the suspension protocol sequence instruction is received, the storage task is terminated; If the scan completion instruction or the suspension protocol sequence instruction is not received, the raw data file of the next scan layer is obtained as the new raw data file of the current scan layer, and the step of determining the target file group corresponding to the raw data file of the current scan layer according to the preset data fragmentation rules is executed.
6. The method according to claim 5, characterized in that, The method further includes: Upon receiving the suspension protocol sequence instruction, the system controls the magnetic resonance imaging device to stop scanning the target object, records the number of scan layers that have been completed, and generates a task execution log file.
7. The method according to claim 6, characterized in that, The method further includes: Upon receiving the activation suspension protocol sequence instruction, the task execution log file is searched to obtain the number of slices of the scanned layers that have been completed, and the scanned layers that have not been completed are scanned.
8. A magnetic resonance scanning system, characterized in that, The system includes: a protocol manager module, a checklist module, and a data storage module; The protocol manager module is used to obtain the target scanning protocol selected by the user based on the protocol scanning interface and transmit it to the checklist module; The checklist module is used to jump to the segmentation selection interface according to the target scanning protocol, obtain the preset segmentation rules selected by the user based on the segmentation selection interface, scan the target object, and generate the raw data file of the current scanning layer. The raw data includes the raw data generated during the scanning process without any processing. The data storage module is used to store the raw data file of the current scan layer according to a preset data fragmentation rule. The data sharding rules include at least one of the following: The first rule for grouping the raw data files according to the number of layers; A second rule for grouping the raw data files according to scan time; The third rule for grouping the raw data files according to their data volume.
9. The system according to claim 8, characterized in that, The system also includes: a suspension module and an activation module; The suspension module is used to acquire the suspension protocol sequence command from the user based on the protocol scanning interface, and upon receiving the suspension protocol sequence command, control the magnetic resonance device to stop scanning the target object, record the number of scan layers that have been completed, generate a task execution record file, and transmit it to the data storage module for storage. The activation module is used to obtain the user's activation and suspension protocol sequence command based on the protocol scanning interface, search the task execution record file in the data storage module, obtain the number of slices of the scanned layers that have been completed, and scan the scanned layers that have not been completed.
10. A magnetic resonance scanning method, characterized in that, The method includes: Obtain the target scanning protocol selected by the user based on the protocol scanning interface; According to the target scanning protocol, the system jumps to the segmentation selection interface, obtains the preset segmentation rules selected by the user based on the segmentation selection interface, scans the target object, and generates the raw data file of the current scanning layer. The raw data includes the raw data generated during the scanning process without any processing. According to preset data fragmentation rules, the raw data file of the current scan layer is stored, and the data in the raw data file of the current scan layer is stored in the storage space corresponding to the target file group. The data sharding rules include at least one of the following: The first rule for grouping the raw data files according to the number of layers; A second rule for grouping the raw data files according to scan time; The third rule for grouping the raw data files according to their data volume.
Citation Information
Patent Citations
Magnetic resonance scanning protocol interaction system and method
CN103919551A
File storage method, file conversion method, device, equipment and storage medium
CN108846022A
Interventional computed tomography imaging method and device, storage medium and system
CN111227860A