Magnetic resonance imaging reconstruction task management method and device, computer device

CN117667368BActive Publication Date: 2026-09-25WUHAN UNITED IMAGING LIFE SCIENCE INSTRUMENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211030219.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-26
Publication Date
2026-09-25
Estimated Expiration
2042-08-26

AI Technical Summary

Technical Problem

现有的磁共振系统只是提供了回顾重建功能,未考虑在线重建和回顾重建同时进行存在资源竞争问题导致的在线重建性能受影响,往往需要进行人工分配和任务调整,导致对大量重建任务的管理效率低下

Benefits of technology

[0056]上述磁共振成像重建任务管理方法、装置、计算机设备、存储介质和计算机程序产品,获取磁共振成像设备对应的目标重建任务,并识别目标重建任务的任务类型;任务类型分为在线重建任务和回顾重建任务;若目标重建任务为回顾重建任务,检测磁共振成像设备的任务运行状态;若任务运行状态为存在正在运行的在线重建任务,将目标重建任务作为待处理重建任务添加到第一任务队列;当正在运行的在线重建任务运行结束时,按照第一任务队列中各待处理重建任务的排列顺序,依次运行各待处理重建任务。能够在磁共振设备接收到新的目标重建任务之后,根据设备当前的运行状态,自动运行目标重建任务或将目标重建任务添加到任务队列,任务队列中的任务,会在设备运行状态满足条件时按顺序自动运行,解决了因在线重建任务和回顾重建任务资源竞争导致的性能问题,可以提高磁共振设备对成像重建任务的管理效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117667368B_ABST
    Figure CN117667368B_ABST
Patent Text Reader

Abstract

The application relates to a magnetic resonance imaging reconstruction task management method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: obtaining a target reconstruction task corresponding to a magnetic resonance imaging device, and identifying the task type of the target reconstruction task; the task type is divided into an online reconstruction task and a review reconstruction task; if the target reconstruction task is the review reconstruction task, the task running state of the magnetic resonance imaging device is detected; if the task running state is that there is an online reconstruction task being run, the target reconstruction task is added to a first task queue as a to-be-processed reconstruction task; and when the online reconstruction task being run ends, the to-be-processed reconstruction tasks in the first task queue are sequentially run according to the arrangement order of the to-be-processed reconstruction tasks. The method can improve the management efficiency of the magnetic resonance imaging reconstruction task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of magnetic resonance technology, and in particular to a magnetic resonance imaging reconstruction task management method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] In some scenarios, the raw data acquired by an MRI system requires retrospective reconstruction. Retrospective reconstruction, like online scanning reconstruction, demands significant computing resources. When online and retrospective reconstruction occur simultaneously, they compete for resources. This necessitates the management of computing resources, prioritizing allocation to online scanning reconstruction to ensure its speed. Existing MRI systems only provide retrospective reconstruction functionality and do not consider the impact on online reconstruction performance caused by resource contention between online and retrospective reconstruction. This often necessitates manual allocation and task adjustment, leading to inefficient management of a large number of reconstruction tasks.

[0003] Current magnetic resonance imaging equipment suffers from low efficiency in managing different types of imaging tasks. Summary of the Invention

[0004] Therefore, it is necessary to provide a magnetic resonance imaging reconstruction task management method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve task management efficiency in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a method for managing magnetic resonance imaging reconstruction tasks. The method includes:

[0006] The system acquires the target reconstruction task corresponding to the magnetic resonance imaging equipment and identifies the task type of the target reconstruction task; the task type is divided into online reconstruction task and retrospective reconstruction task.

[0007] If the target reconstruction task is a retrospective reconstruction task, detect the task operation status of the magnetic resonance imaging equipment;

[0008] If the task running status is that there is an online reconstruction task in progress, add the target reconstruction task as a pending reconstruction task to the first task queue.

[0009] When the running online reconstruction task finishes running, each pending reconstruction task is run sequentially according to the order in which they are arranged in the first task queue.

[0010] In one embodiment, the method further includes:

[0011] If the task running status is that there are no running online reconstruction tasks, obtain the resource usage information of the magnetic resonance imaging equipment;

[0012] If the resource usage information meets the operating conditions, obtain the load information of the magnetic resonance imaging equipment;

[0013] If the load information meets the load conditions, run the target reconstruction task.

[0014] In one embodiment, the method further includes:

[0015] If the resource usage information does not meet the operating conditions, the target reconstruction task is added as a pending reconstruction task to the first task queue, and the order of the pending reconstruction tasks in the first task queue is determined.

[0016] In one embodiment, the method further includes:

[0017] If the load information does not meet the load conditions, the target reconstruction task is added as a pending reconstruction task to the first task queue, and the order of the pending reconstruction tasks in the first task queue is determined.

[0018] In one embodiment, the method further includes:

[0019] If the target reconstruction task is an online reconstruction task, detect the task operation status of the magnetic resonance imaging equipment;

[0020] If the task running status is that a retrospective reconstruction task is running, obtain the resource usage information of the magnetic resonance imaging equipment;

[0021] If the resource usage information meets the operating conditions, pause the ongoing review and reconstruction task, treat the ongoing review and reconstruction task as a paused reconstruction task, and record the task progress corresponding to the paused reconstruction task.

[0022] Add the paused rebuild task and its progress to the second task queue, and determine the order in which the paused rebuild tasks are placed in the second task queue;

[0023] Run the target reconstruction task.

[0024] In one embodiment, the method further includes:

[0025] If the resource usage information does not meet the operating conditions, cancel the running review and reconstruction task and treat the running review and reconstruction task as a pending reconstruction task.

[0026] Add the pending reconstruction tasks to the first task queue and determine the order in which the pending reconstruction tasks are arranged in the first task queue;

[0027] Run the target reconstruction task.

[0028] In one embodiment, the method further includes:

[0029] When the target reconstruction task finishes running, if there are paused reconstruction tasks in the second task queue, the paused reconstruction tasks will be run in sequence according to the order of their arrangement in the second task queue.

[0030] In one embodiment, the method further includes:

[0031] If there are no paused reconstruction tasks in the second task queue, the pending reconstruction tasks will be run sequentially according to the order of the pending reconstruction tasks in the first task queue.

[0032] In one embodiment, the method further includes:

[0033] The mission operation status of the magnetic resonance imaging equipment is periodically checked at preset time intervals;

[0034] If the task running status is that there are no running online reconstruction tasks, then obtain the resource usage information of the magnetic resonance imaging equipment and the load information of the magnetic resonance imaging equipment.

[0035] If the resource usage information meets the operating conditions and the load information meets the load conditions, then each pending reconstruction task will be run sequentially according to the order of the pending reconstruction tasks in the first task queue.

[0036] Secondly, this application also provides a magnetic resonance imaging reconstruction task management device. The device includes:

[0037] The acquisition module is used to acquire the target reconstruction task corresponding to the magnetic resonance imaging equipment and identify the task type of the target reconstruction task; the task type is divided into online reconstruction task and retrospective reconstruction task.

[0038] The judgment module is used to detect the task operation status of the magnetic resonance imaging equipment if the target reconstruction task is a retrospective reconstruction task.

[0039] The queue module is used to add the target reconstruction task as a pending reconstruction task to the first task queue if the task running status is that there is an online reconstruction task in progress.

[0040] The running module is used to run each pending reconstruction task in the order of its arrangement in the first task queue when the running online reconstruction task finishes.

[0041] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0042] The system acquires the target reconstruction task corresponding to the magnetic resonance imaging equipment and identifies the task type of the target reconstruction task; the task type is divided into online reconstruction task and retrospective reconstruction task.

[0043] If the target reconstruction task is a retrospective reconstruction task, detect the task operation status of the magnetic resonance imaging equipment;

[0044] If the task running status is that there is an online reconstruction task in progress, add the target reconstruction task as a pending reconstruction task to the first task queue.

[0045] When the running online reconstruction task finishes running, each pending reconstruction task is run sequentially according to the order in which they are arranged in the first task queue.

[0046] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0047] The system acquires the target reconstruction task corresponding to the magnetic resonance imaging equipment and identifies the task type of the target reconstruction task; the task type is divided into online reconstruction task and retrospective reconstruction task.

[0048] If the target reconstruction task is a retrospective reconstruction task, detect the task operation status of the magnetic resonance imaging equipment;

[0049] If the task running status is that there is an online reconstruction task in progress, add the target reconstruction task as a pending reconstruction task to the first task queue.

[0050] When the running online reconstruction task finishes running, each pending reconstruction task is run sequentially according to the order in which they are arranged in the first task queue.

[0051] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0052] The system acquires the target reconstruction task corresponding to the magnetic resonance imaging equipment and identifies the task type of the target reconstruction task; the task type is divided into online reconstruction task and retrospective reconstruction task.

[0053] If the target reconstruction task is a retrospective reconstruction task, detect the task operation status of the magnetic resonance imaging equipment;

[0054] If the task running status is that there is an online reconstruction task in progress, add the target reconstruction task as a pending reconstruction task to the first task queue.

[0055] When the running online reconstruction task finishes running, each pending reconstruction task is run sequentially according to the order in which they are arranged in the first task queue.

[0056] The aforementioned magnetic resonance imaging (MRI) reconstruction task management method, apparatus, computer equipment, storage medium, and computer program product acquire the target reconstruction task corresponding to the MRI equipment and identify the task type of the target reconstruction task. The task type is divided into online reconstruction tasks and retrospective reconstruction tasks. If the target reconstruction task is a retrospective reconstruction task, the task running status of the MRI equipment is detected. If the task running status indicates the existence of an ongoing online reconstruction task, the target reconstruction task is added as a pending reconstruction task to the first task queue. When the ongoing online reconstruction task finishes running, each pending reconstruction task is run sequentially according to the order of its arrangement in the first task queue. This allows the MRI equipment to automatically run the target reconstruction task or add it to the task queue based on its current running status after receiving a new target reconstruction task. Tasks in the task queue will run automatically in sequence when the equipment's running status meets the conditions. This solves the performance problem caused by resource competition between online and retrospective reconstruction tasks and improves the management efficiency of the MRI equipment for imaging reconstruction tasks. Attached Figure Description

[0057] Figure 1 This is a flowchart illustrating a magnetic resonance imaging reconstruction task management method in one embodiment;

[0058] Figure 2 This is a flowchart illustrating the process of a retrospective reconstruction task as the target reconstruction task in one embodiment.

[0059] Figure 3 This is a flowchart illustrating a scenario where the target reconstruction task is an online reconstruction task.

[0060] Figure 4 This is a schematic diagram illustrating the effect of the task queue display interface in one embodiment;

[0061] Figure 5 This is a structural block diagram of a magnetic resonance imaging reconstruction task management device in one embodiment;

[0062] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0063] 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.

[0064] In one embodiment, such as Figure 1 As shown, a magnetic resonance imaging reconstruction task management method is provided. This embodiment illustrates the application of this method to a magnetic resonance imaging device. It is understood that this method can also be applied to computer devices capable of communicating with the magnetic resonance imaging device. The computing device can be a terminal or a server. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart medical devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. The server can be a standalone server or a server cluster composed of multiple servers. In this embodiment, the method includes the following steps:

[0065] Step 102: Obtain the target reconstruction task corresponding to the magnetic resonance imaging equipment and identify the task type of the target reconstruction task; the task type is divided into online reconstruction task and retrospective reconstruction task.

[0066] In this context, the target reconstruction task refers to a newly created imaging reconstruction task received by the magnetic resonance imaging (MRI) device. This task can be either an online reconstruction task or a retrospective reconstruction task. An online reconstruction task is an imaging reconstruction task performed by the MRI device based on real-time acquired data; a retrospective reconstruction task, also known as an offline imaging task, is an imaging reconstruction task performed by the MRI device based on stored raw data or raw data imported from an MRI device of the same model. Both online and retrospective reconstruction tasks fall under the category of MRI reconstruction tasks.

[0067] Optionally, when the magnetic resonance imaging device receives a new target reconstruction task, it determines the task type of the target reconstruction task.

[0068] In one feasible implementation, the magnetic resonance imaging device determines the task type of the target reconstruction task based on the source of the imaging reconstruction data. If the imaging reconstruction data is data acquired in real time during online scanning, the target reconstruction task is an online reconstruction task; if the imaging reconstruction data is data stored offline, the target reconstruction task is a retrospective reconstruction task.

[0069] In one feasible implementation, the data acquired in real time by online scanning is the scanning data obtained by the magnetic resonance imaging device in real time.

[0070] In one feasible implementation, the offline storage data can be historical scan data stored in the local storage device of the magnetic resonance imaging device. The local storage device can be a memory.

[0071] In one feasible implementation, the offline stored data can be scan data stored on an external device, which can be imported into the local storage device of the MRI machine via data import. The scan data can be raw data. The external device can be, but is not limited to, other MRI machines, computer devices, and external storage devices. For example, it can be copied to the local storage device of the MRI machine via a USB flash drive. The MRI machine can provide data import and / or export modules.

[0072] In one feasible implementation, the offline storage data can be scan data stored on a server. The magnetic resonance imaging (MRI) device obtains the download path of the offline storage data from the server via a network, downloads the offline storage data using the download path, and saves it to a local storage device. The local storage device can be integrated into the MRI device or a computer device.

[0073] Step 104: If the target reconstruction task is a retrospective reconstruction task, check the task operation status of the magnetic resonance imaging equipment.

[0074] The task operation status refers to the task operation status of the magnetic resonance imaging equipment, including but not limited to whether there is an ongoing magnetic resonance imaging reconstruction task and the type of the ongoing magnetic resonance imaging reconstruction task.

[0075] Optionally, if the target reconstruction task is a retrospective reconstruction task, the MRI scanner checks whether there is already a running online reconstruction task.

[0076] Step 106: If the task running status is that there is an online reconstruction task in progress, add the target reconstruction task as a pending reconstruction task to the first task queue.

[0077] The first task queue contains 0 or more review and reconstruction tasks. Only review and reconstruction tasks will be added to the first task queue as pending reconstruction tasks.

[0078] Optionally, if the magnetic resonance imaging device detects that there is currently an online reconstruction task in progress, based on the task priority, the low-priority target reconstruction task (retrospective reconstruction task) is added as a pending reconstruction task to the first task queue, and the high-priority online reconstruction task continues to run.

[0079] In one feasible implementation, the magnetic resonance imaging device pre-configures the priorities of online reconstruction tasks and retrospective reconstruction tasks, setting online reconstruction tasks as high-priority tasks and retrospective reconstruction tasks as low-priority tasks. When the processing of the two task types in the magnetic resonance imaging device conflicts, the high-priority task is run first.

[0080] Step 108: When the running online reconstruction task finishes running, each pending reconstruction task is run sequentially according to the order of the pending reconstruction tasks in the first task queue.

[0081] The order of the reconstruction tasks to be processed in the first task queue can be determined, but is not limited to, based on the addition time of the reconstruction tasks. In other words, the order of the reconstruction tasks to be processed in the first task queue can be determined based on the order in which the reconstruction tasks enter the first task queue.

[0082] Optionally, the magnetic resonance imaging (MRI) device monitors the progress of ongoing online reconstruction tasks in real time. When an ongoing online reconstruction task finishes and no new online reconstruction tasks are received, it extracts one or more of the top-ranked reconstruction tasks from the first task queue and automatically runs them. The number of tasks extracted from the first task queue each time is customizable based on the hardware capabilities and data processing power of the MRI device. For example, it can be determined by the CPU (Central Processing Unit) load capacity, GPU (Graphics Processing Unit) load capacity, memory, and video memory of the MRI device.

[0083] In the aforementioned magnetic resonance imaging (MRI) reconstruction task management method, the target reconstruction task corresponding to the MRI equipment is obtained, and the task type of the target reconstruction task is identified. The task type is divided into online reconstruction tasks and retrospective reconstruction tasks. If the target reconstruction task is a retrospective reconstruction task, the task running status of the MRI equipment is detected. If the task running status indicates that there is an online reconstruction task in progress, the target reconstruction task is added as a pending reconstruction task to the first task queue. When the online reconstruction task in progress finishes running, each pending reconstruction task is run sequentially according to the order of the pending reconstruction tasks in the first task queue. This method can automatically run the target reconstruction task or add it to the task queue based on the current running status of the MRI equipment after receiving a new target reconstruction task. The tasks in the task queue will run automatically in sequence when the equipment running status meets the conditions, solving the performance problem caused by resource competition between online reconstruction tasks and retrospective reconstruction tasks, and improving the management efficiency of the MRI equipment for imaging reconstruction tasks.

[0084] In one embodiment, the method further includes: if the task running status is that there are no running online reconstruction tasks, obtaining resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, obtaining load information of the magnetic resonance imaging device; if the load information meets the load conditions, running the target reconstruction task. If the resource usage information does not meet the running conditions, adding the target reconstruction task as a pending reconstruction task to a first task queue, and determining the order of the pending reconstruction tasks in the first task queue. If the load information does not meet the load conditions, adding the target reconstruction task as a pending reconstruction task to the first task queue, and determining the order of the pending reconstruction tasks in the first task queue.

[0085] Meeting the operating conditions means that resource usage is below the resource usage threshold, which is determined based on the real-time memory and video memory of the MRI machine. When the operating conditions are met, the MRI machine has sufficient memory and video memory to meet the requirements for running the target reconstruction task. Meeting the load conditions means that the load information is below the load threshold, which is determined based on the real-time CPU and GPU load of the MRI machine. If the load conditions are not met, continuing to add target reconstruction tasks will affect the overall operating speed of the MRI machine.

[0086] Optional, such as Figure 2 As shown, when the target reconstruction task is a retrospective reconstruction task, if the magnetic resonance imaging device detects that there is no currently running online reconstruction task (whether there is a currently running retrospective reconstruction task can be disregarded), the magnetic resonance imaging device checks its own resource usage information. If the resource usage information meets the operating conditions, it continues to check its own load information. If the load information also meets the load conditions, the target reconstruction task is run.

[0087] In another scenario, when the magnetic resonance imaging device detects its own resource occupancy information, if the resource occupancy information does not meet the operating conditions, there is no need to continue detecting the load information. Instead, the target reconstruction task is directly added as a pending reconstruction task to the first task queue, and the time when the pending reconstruction task is added to the first task queue is recorded, thereby determining the order of the pending reconstruction tasks in the first task queue.

[0088] In another scenario, when the magnetic resonance imaging equipment detects its own load information, if the load information does not meet the load conditions, it will also add the target reconstruction task as a pending reconstruction task to the first task queue and record the time when the pending reconstruction task is added to the first task queue, thereby determining the order of the pending reconstruction tasks in the first task queue.

[0089] In one feasible implementation, the magnetic resonance imaging device can edit the first task queue, including but not limited to adjusting the queue position of one or more pending reconstruction tasks in the first task queue, and deleting one or more pending reconstruction tasks in the first task queue.

[0090] In this embodiment, if the target reconstruction task is a retrospective reconstruction task, the task operation status of the magnetic resonance imaging (MRI) device is detected. Based on the task operation status, the target reconstruction task is processed in different ways. If the task operation status indicates that there are no running online reconstruction tasks, the resource usage information of the MRI device is obtained. If the resource usage information meets the operating conditions, the load information of the MRI device is obtained. If the load information meets the load conditions, the target reconstruction task is run. If either the resource usage information or the load information meets a preset condition, the target reconstruction task is added as a pending reconstruction task to the first task queue. This improves the efficiency of imaging reconstruction task management for the MRI device.

[0091] In one embodiment, the method further includes: if the target reconstruction task is an online reconstruction task, detecting the task running status of the magnetic resonance imaging device; if the task running status is that there is a running review reconstruction task, obtaining the resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, pausing the running review reconstruction task, treating the running review reconstruction task as a paused reconstruction task, and recording the task progress corresponding to the paused reconstruction task; adding the paused reconstruction task and task progress to a second task queue, and determining the order of the paused reconstruction tasks in the second task queue; and running the target reconstruction task. If the resource usage information does not meet the running conditions, canceling the running review reconstruction task, treating the running review reconstruction task as a pending reconstruction task; adding the pending reconstruction tasks to a first task queue, and determining the order of the pending reconstruction tasks in the first task queue; and running the target reconstruction task. When the target reconstruction task finishes running, if there are paused reconstruction tasks in the second task queue, running each paused reconstruction task sequentially according to the order of the paused reconstruction tasks in the second task queue. If there are no paused reconstruction tasks in the second task queue, running each pending reconstruction task sequentially according to the order of the pending reconstruction tasks in the first task queue.

[0092] The order of the paused reconstruction tasks in the second task queue is determined by the order in which they entered the queue. Meeting the operational conditions means that resource usage is below a certain threshold, determined based on the real-time memory and video memory usage of the MRI machine. Meeting the load conditions means that the load is below a certain threshold, determined based on the real-time CPU and GPU load of the MRI machine.

[0093] Optional, such as Figure 3 As shown, when the target reconstruction task is an online reconstruction task, if the MRI machine detects an existing running review reconstruction task, the review reconstruction task needs to be stopped and the online reconstruction task should be started immediately because the online reconstruction task has a higher priority than the review reconstruction task. The MRI machine checks its own resource usage information. If the resource usage information meets the operating conditions, it pauses the running review reconstruction task, treats the running review reconstruction task as a paused reconstruction task, caches the task progress corresponding to the paused reconstruction task, adds the paused reconstruction task and its progress to a second task queue, and records the time when the paused reconstruction task was added to the second task queue, thereby determining the order of the paused reconstruction tasks in the second task queue, and then directly runs the target reconstruction task.

[0094] In another scenario, if the resource usage information does not meet the operating conditions, the MRI equipment cannot cache the paused reconstruction task and task progress. It stops the running review reconstruction task, deletes the task progress of the running review reconstruction task, thereby freeing up the MRI equipment's resource space (e.g., freeing up memory and video memory). The stopped review reconstruction task is added to the first task queue as a pending reconstruction task, and the time when the pending reconstruction task is added to the first task queue is recorded to determine the order of the pending reconstruction tasks in the first task queue. Then, the target reconstruction task is run directly.

[0095] In one feasible implementation, the magnetic resonance imaging device can edit the second task queue, including but not limited to adjusting the queue position of one or more paused reconstruction tasks in the second task queue, and deleting one or more paused reconstruction tasks in the second task queue.

[0096] During the above process, the magnetic resonance imaging (MRI) device monitors the progress of the ongoing target reconstruction task in real time. When the target reconstruction task finishes, it checks if there are any paused reconstruction tasks cached in the second task queue. If there are, one or more paused reconstruction tasks from the top of the queue are extracted and automatically executed. Each paused reconstruction task continues processing according to its cached progress. The number of tasks extracted from the second task queue each time is customizable based on the MRI device's hardware capabilities and data processing capacity. If there are no paused reconstruction tasks in the second task queue, one or more pending reconstruction tasks from the top of the queue are extracted and automatically executed. The number of tasks extracted from the first task queue each time is customizable based on the MRI device's hardware capabilities and data processing capacity.

[0097] In this embodiment, if the target reconstruction task is an online reconstruction task, the task operation status of the magnetic resonance imaging (MRI) device is detected and adjusted to ensure that the target reconstruction task is prioritized. Simultaneously, if device conditions permit, paused review reconstruction tasks are cached and processed again after the target reconstruction task is completed. This improves the efficiency of imaging reconstruction task management for the MRI device.

[0098] In one embodiment, the method further includes: periodically detecting the task operation status of the magnetic resonance imaging device at a preset time interval; if the task operation status is that there is no running online reconstruction task, then obtaining the resource occupancy information of the magnetic resonance imaging device and the load information of the magnetic resonance imaging device; if the resource occupancy information meets the operation conditions and the load information meets the load conditions, then sequentially running each reconstruction task to be processed according to the arrangement order of each reconstruction task to be processed in the first task queue.

[0099] Optionally, when the duration of the failure to acquire a target reconstruction task exceeds a preset duration, the MRI machine can automatically periodically check its task operation status at preset time intervals. If no online reconstruction task is running, it checks its own resource usage and load information. If both resource usage and load information meet the operating conditions, it extracts one or more top-ranked reconstruction tasks from the first task queue and automatically runs them. The number of tasks extracted from the first task queue each time can be customized based on the MRI machine's hardware conditions and data processing capabilities. For example, if the preset duration is 5 minutes and the preset time interval is 60 seconds, when the MRI machine has not received a target reconstruction task for more than 5 minutes, it periodically checks its task operation status at 60-second intervals. If no online reconstruction task is running, it checks its own resource usage and load information and automatically runs the reconstruction tasks in the first task queue based on the resource usage and load information.

[0100] In this embodiment, the task operation status of the magnetic resonance imaging (MRI) device is periodically detected at preset time intervals. If there are no running online reconstruction tasks, the resource usage information and load information of the MRI device are obtained. If both the resource usage information and load information meet the operating conditions, the reconstruction tasks are run sequentially according to the order of the pending reconstruction tasks in the first task queue. This allows the MRI device to automatically monitor its own resource usage and load information when idle, and automatically extract tasks from the first task queue to run when the conditions are met, thus improving the efficiency of imaging reconstruction task management for the MRI device.

[0101] In one embodiment, the magnetic resonance imaging device sequentially runs each reconstruction task in a first task queue according to their order of arrangement. The method further includes: generating a task display interface corresponding to the first task queue, and displaying each reconstruction task in the order of arrangement on the task display interface. After each reconstruction task is completed, the task status of each reconstruction task is determined, and a status icon corresponding to the task status is added to each reconstruction task. Task statuses include, but are not limited to, completed (image reconstruction successful), interrupted (image reconstruction failed), running (image reconstruction in progress), and waiting to run (waiting for image reconstruction). For example, such as... Figure 4 As shown in the figure, the icon to the right of item 1 indicates that the review and reconstruction task has been completed, the icon to the right of item 2 indicates that the review and reconstruction task is in progress, and the icons to the right of items 3 and 4 indicate that these two review and reconstruction tasks are in a queue.

[0102] In one embodiment, the magnetic resonance imaging device sequentially runs each paused reconstruction task according to the order in which they are arranged in the second task queue. The method further includes: generating a task display interface corresponding to the second task queue, where each paused reconstruction task and its corresponding progress are displayed in the order they are arranged. After each paused reconstruction task is completed, its task status is determined, and a status icon corresponding to that status is added to each task. Task statuses include, but are not limited to, completed (image reconstruction successful), interrupted (image reconstruction failed), running (image reconstruction in progress), and paused (waiting for image reconstruction to continue).

[0103] In one feasible implementation, the task display interface has human-computer interaction capabilities. Users of the magnetic resonance imaging device can edit the first task queue on the task display interface through operations such as clicking, dragging, and pressing. The editing includes, but is not limited to, adjusting the queue position of one or more paused reconstruction tasks in the second task queue, and deleting one or more paused reconstruction tasks in the second task queue. For example, a user can drag item 4 in the task display interface and place item 4 between item 2 and item 3. In this way, after item 2 has finished running, item 4 will start running, and after item 4 has finished running, item 3 will start running, thereby achieving the purpose of manually configuring and adjusting the task queue.

[0104] In one embodiment, a magnetic resonance imaging reconstruction task management method includes:

[0105] The target reconstruction task corresponding to the magnetic resonance imaging equipment is obtained, and the task type of the target reconstruction task is identified; the task type is divided into online reconstruction task and retrospective reconstruction task.

[0106] If the target reconstruction task is a retrospective reconstruction task, the task operation status of the MRI equipment is detected. If the task operation status indicates that an online reconstruction task is currently running, the target reconstruction task is added as a pending reconstruction task to the first task queue. If the task operation status indicates that no online reconstruction task is currently running, the resource usage information of the MRI equipment is obtained; if the resource usage information meets the operating conditions, the load information of the MRI equipment is obtained; if the load information meets the load conditions, the target reconstruction task is run. If the resource usage information does not meet the operating conditions, the target reconstruction task is added as a pending reconstruction task to the first task queue, and the order of pending reconstruction tasks in the first task queue is determined. If the load information does not meet the load conditions, the target reconstruction task is added as a pending reconstruction task to the first task queue, and the order of pending reconstruction tasks in the first task queue is determined. When the running online reconstruction task finishes running, each pending reconstruction task in the first task queue is run sequentially according to its order; the order of pending reconstruction tasks in the first task queue is determined based on the addition time of the pending reconstruction task.

[0107] If the target reconstruction task is an online reconstruction task, the task running status of the MRI equipment is detected. If a review reconstruction task is currently running, the resource usage information of the MRI equipment is obtained. If the resource usage information meets the running conditions, the currently running review reconstruction task is paused, and it is designated as a paused reconstruction task, with its progress recorded. The paused reconstruction task and its progress are added to the second task queue, and the order of these paused reconstruction tasks within the second task queue is determined. The target reconstruction task is then run. If the resource usage information does not meet the running conditions, the currently running review reconstruction task is canceled, and it is designated as a pending reconstruction task. The pending reconstruction tasks are added to the first task queue, and their order of execution within the first task queue is determined. The target reconstruction task is then run. When the target reconstruction task finishes running, if a paused reconstruction task exists in the second task queue, it is run sequentially according to the order of these paused reconstruction tasks in the second task queue. If no paused reconstruction task exists in the second task queue, it is run sequentially according to the order of these pending reconstruction tasks in the first task queue.

[0108] The task operation status of the magnetic resonance imaging device is periodically checked at preset time intervals. If there is no running online reconstruction task, the resource usage information and load information of the magnetic resonance imaging device are obtained. If the resource usage information meets the operation conditions and the load information meets the load conditions, the reconstruction tasks to be processed are run in sequence according to the order of the reconstruction tasks to be processed in the first task queue.

[0109] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0110] Based on the same inventive concept, this application also provides a magnetic resonance imaging reconstruction task management device for implementing the magnetic resonance imaging reconstruction task management method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the magnetic resonance imaging reconstruction task management device provided below can be found in the limitations of the magnetic resonance imaging reconstruction task management method described above, and will not be repeated here.

[0111] In one embodiment, such as Figure 5 As shown, a magnetic resonance imaging reconstruction task management device 500 is provided, including: an acquisition module 501, a judgment module 502, a queue module 503, and a running module 504, wherein:

[0112] The acquisition module 501 is used to acquire the target reconstruction task corresponding to the magnetic resonance imaging equipment and identify the task type of the target reconstruction task; the task type is divided into online reconstruction task and retrospective reconstruction task.

[0113] The judgment module 502 is used to detect the task operation status of the magnetic resonance imaging equipment if the target reconstruction task is a retrospective reconstruction task.

[0114] The queue module 503 is used to add the target reconstruction task as a pending reconstruction task to the first task queue if the task running status is that there is an online reconstruction task in progress.

[0115] The running module 504 is used to run each pending reconstruction task in the order of the pending reconstruction tasks in the first task queue when the running online reconstruction task finishes running.

[0116] In one embodiment, the determination module 502 is further configured to obtain the resource usage information of the magnetic resonance imaging device if the task running status is that there is no running online reconstruction task; and to obtain the load information of the magnetic resonance imaging device if the resource usage information meets the running conditions.

[0117] The running module 504 is also used to run the target reconstruction task if the load information meets the load conditions.

[0118] In one embodiment, the queue module 503 is further configured to add the target reconstruction task as a pending reconstruction task to the first task queue if the resource occupancy information does not meet the operating conditions, and determine the order of the pending reconstruction tasks in the first task queue.

[0119] In one embodiment, the queue module 503 is further configured to add the target reconstruction task as a pending reconstruction task to the first task queue if the load information does not meet the load conditions, and determine the order of the pending reconstruction tasks in the first task queue.

[0120] In one embodiment, the determination module 502 is further configured to detect the task running status of the magnetic resonance imaging device if the target reconstruction task is an online reconstruction task; if the task running status is that there is a running retrospective reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, pause the running retrospective reconstruction task, treat the running retrospective reconstruction task as a paused reconstruction task, and record the task progress corresponding to the paused reconstruction task.

[0121] The queue module 503 is also used to add paused rebuild tasks and task progress to the second task queue, and to determine the order in which paused rebuild tasks are arranged in the second task queue.

[0122] Module 504 is also used to run the target reconstruction task.

[0123] In one embodiment, the determination module 502 is further configured to cancel the running review and reconstruction task and treat the running review and reconstruction task as a pending reconstruction task if the resource occupancy information does not meet the operating conditions.

[0124] The queue module 503 is also used to add pending reconstruction tasks to the first task queue and determine the order in which the pending reconstruction tasks are arranged in the first task queue.

[0125] Module 504 is also used to run the target reconstruction task.

[0126] In one embodiment, the running module 504 is further configured to, when the target reconstruction task finishes running, if there are paused reconstruction tasks in the second task queue, run each paused reconstruction task in sequence according to the order of the paused reconstruction tasks in the second task queue.

[0127] In one embodiment, the running module 504 is further configured to, if there are no paused reconstruction tasks in the second task queue, sequentially run each pending reconstruction task in the order of arrangement of each pending reconstruction task in the first task queue.

[0128] In one embodiment, the determination module 502 is further configured to periodically detect the task operation status of the magnetic resonance imaging device at a preset time interval; if the task operation status is that there is no running online reconstruction task, then the resource usage information of the magnetic resonance imaging device and the load information of the magnetic resonance imaging device are obtained.

[0129] The running module 504 is also used to run each pending reconstruction task in the order of the pending reconstruction tasks in the first task queue if the resource occupancy information meets the running conditions and the load information meets the load conditions.

[0130] Each module in the aforementioned magnetic resonance imaging reconstruction task management device 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 a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0131] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a magnetic resonance imaging reconstruction task management method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0132] Those skilled in the art will understand that Figure 6 The 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.

[0133] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: acquiring a target reconstruction task corresponding to a magnetic resonance imaging device and identifying the task type of the target reconstruction task; the task type is divided into online reconstruction tasks and retrospective reconstruction tasks; if the target reconstruction task is a retrospective reconstruction task, detecting the task running status of the magnetic resonance imaging device; if the task running status is that there is an online reconstruction task in progress, adding the target reconstruction task as a pending reconstruction task to a first task queue; when the online reconstruction task in progress finishes running, running each pending reconstruction task in the first task queue in sequence.

[0134] In one embodiment, when the processor executes the computer program, it further performs the following steps: if the task running status is that there is no running online reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, obtain the load information of the magnetic resonance imaging device; if the load information meets the load conditions, run the target reconstruction task.

[0135] In one embodiment, when the processor executes the computer program, it further performs the following steps: if the resource occupancy information does not meet the operating conditions, the target reconstruction task is added as a reconstruction task to be processed to the first task queue, and the order of the reconstruction tasks to be processed in the first task queue is determined.

[0136] In one embodiment, when the processor executes the computer program, it further performs the following steps: if the load information does not meet the load conditions, the target reconstruction task is added as a reconstruction task to be processed to the first task queue, and the order of the reconstruction tasks to be processed in the first task queue is determined.

[0137] In one embodiment, when the processor executes the computer program, it further implements the following steps: if the target reconstruction task is an online reconstruction task, detect the task running status of the magnetic resonance imaging device; if the task running status is that there is a running review reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, pause the running review reconstruction task, treat the running review reconstruction task as a paused reconstruction task, and record the task progress corresponding to the paused reconstruction task; add the paused reconstruction task and task progress to a second task queue, and determine the order of the paused reconstruction tasks in the second task queue; run the target reconstruction task.

[0138] In one embodiment, when the processor executes the computer program, it further performs the following steps: if the resource occupancy information does not meet the running conditions, cancel the running review and reconstruction task, and set the running review and reconstruction task as a pending reconstruction task; add the pending reconstruction task to a first task queue, and determine the order of the pending reconstruction tasks in the first task queue; and run the target reconstruction task.

[0139] In one embodiment, when the processor executes the computer program, it further implements the following steps: when the target reconstruction task finishes running, if there are paused reconstruction tasks in the second task queue, each paused reconstruction task is executed sequentially according to the order in which the paused reconstruction tasks are arranged in the second task queue.

[0140] In one embodiment, when the processor executes the computer program, it further performs the following steps: if there are no paused reconstruction tasks in the second task queue, each pending reconstruction task is executed sequentially according to the order of the pending reconstruction tasks in the first task queue.

[0141] In one embodiment, when the processor executes the computer program, it further performs the following steps: periodically detecting the task running status of the magnetic resonance imaging device at preset time intervals; if the task running status is that there are no running online reconstruction tasks, then obtaining the resource occupancy information of the magnetic resonance imaging device and the load information of the magnetic resonance imaging device; if the resource occupancy information meets the running conditions and the load information meets the load conditions, then sequentially running each reconstruction task to be processed according to the arrangement order of each reconstruction task to be processed in the first task queue.

[0142] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it performs the following steps: acquiring a target reconstruction task corresponding to a magnetic resonance imaging device and identifying the task type of the target reconstruction task; the task type is divided into online reconstruction tasks and retrospective reconstruction tasks; if the target reconstruction task is a retrospective reconstruction task, detecting the task running status of the magnetic resonance imaging device; if the task running status is that there is an online reconstruction task in progress, adding the target reconstruction task as a pending reconstruction task to a first task queue; when the online reconstruction task in progress finishes running, running each pending reconstruction task in the order of arrangement of the pending reconstruction tasks in the first task queue.

[0143] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the task running state is that there is no running online reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, obtain the load information of the magnetic resonance imaging device; if the load information meets the load conditions, run the target reconstruction task.

[0144] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the resource occupancy information does not meet the running conditions, the target reconstruction task is added as a reconstruction task to be processed to the first task queue, and the order of the reconstruction tasks to be processed in the first task queue is determined.

[0145] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the load information does not meet the load conditions, the target reconstruction task is added as a reconstruction task to be processed to the first task queue, and the order of the reconstruction tasks to be processed in the first task queue is determined.

[0146] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the target reconstruction task is an online reconstruction task, detect the task running status of the magnetic resonance imaging device; if the task running status is that there is a running review reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, pause the running review reconstruction task, treat the running review reconstruction task as a paused reconstruction task, and record the task progress corresponding to the paused reconstruction task; add the paused reconstruction task and task progress to a second task queue, and determine the order of the paused reconstruction tasks in the second task queue; run the target reconstruction task.

[0147] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the resource occupancy information does not meet the running conditions, cancel the running review and reconstruction task, and set the running review and reconstruction task as a pending reconstruction task; add the pending reconstruction task to the first task queue, and determine the order of the pending reconstruction tasks in the first task queue; and run the target reconstruction task.

[0148] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: when the target reconstruction task finishes running, if there are paused reconstruction tasks in the second task queue, each paused reconstruction task is executed sequentially according to the order of the paused reconstruction tasks in the second task queue.

[0149] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if there are no paused reconstruction tasks in the second task queue, each pending reconstruction task is executed sequentially according to the order of the pending reconstruction tasks in the first task queue.

[0150] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: periodically detecting the task running status of the magnetic resonance imaging device at preset time intervals; if the task running status is that there are no running online reconstruction tasks, then obtaining the resource occupancy information of the magnetic resonance imaging device and the load information of the magnetic resonance imaging device; if the resource occupancy information meets the running conditions and the load information meets the load conditions, then sequentially running each reconstruction task to be processed according to the arrangement order of each reconstruction task to be processed in the first task queue.

[0151] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: acquiring a target reconstruction task corresponding to a magnetic resonance imaging device and identifying the task type of the target reconstruction task; the task type is divided into online reconstruction tasks and retrospective reconstruction tasks; if the target reconstruction task is a retrospective reconstruction task, detecting the task running status of the magnetic resonance imaging device; if the task running status is that there is an online reconstruction task in progress, adding the target reconstruction task as a pending reconstruction task to a first task queue; when the online reconstruction task in progress finishes running, running each pending reconstruction task in the first task queue in sequence.

[0152] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the task running state is that there is no running online reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, obtain the load information of the magnetic resonance imaging device; if the load information meets the load conditions, run the target reconstruction task.

[0153] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the resource occupancy information does not meet the running conditions, the target reconstruction task is added as a reconstruction task to be processed to the first task queue, and the order of the reconstruction tasks to be processed in the first task queue is determined.

[0154] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the load information does not meet the load conditions, the target reconstruction task is added as a reconstruction task to be processed to the first task queue, and the order of the reconstruction tasks to be processed in the first task queue is determined.

[0155] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the target reconstruction task is an online reconstruction task, detect the task running status of the magnetic resonance imaging device; if the task running status is that there is a running review reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; if the resource usage information meets the running conditions, pause the running review reconstruction task, treat the running review reconstruction task as a paused reconstruction task, and record the task progress corresponding to the paused reconstruction task; add the paused reconstruction task and task progress to a second task queue, and determine the order of the paused reconstruction tasks in the second task queue; run the target reconstruction task.

[0156] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if the resource occupancy information does not meet the running conditions, cancel the running review and reconstruction task, and set the running review and reconstruction task as a pending reconstruction task; add the pending reconstruction task to the first task queue, and determine the order of the pending reconstruction tasks in the first task queue; and run the target reconstruction task.

[0157] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: when the target reconstruction task finishes running, if there are paused reconstruction tasks in the second task queue, each paused reconstruction task is executed sequentially according to the order of the paused reconstruction tasks in the second task queue.

[0158] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: if there are no paused reconstruction tasks in the second task queue, each pending reconstruction task is executed sequentially according to the order of the pending reconstruction tasks in the first task queue.

[0159] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: periodically detecting the task running status of the magnetic resonance imaging device at preset time intervals; if the task running status is that there are no running online reconstruction tasks, then obtaining the resource occupancy information of the magnetic resonance imaging device and the load information of the magnetic resonance imaging device; if the resource occupancy information meets the running conditions and the load information meets the load conditions, then sequentially running each reconstruction task to be processed according to the arrangement order of each reconstruction task to be processed in the first task queue.

[0160] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0161] 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 above methods. Any references to memory, 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, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0162] 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.

[0163] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. 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 application should be determined by the appended claims.

Claims

1. A magnetic resonance imaging reconstruction task management method, applied to magnetic resonance imaging equipment, characterized in that, The method includes: The target reconstruction task corresponding to the magnetic resonance imaging device is obtained, and the task type of the target reconstruction task is identified; the task type is divided into online reconstruction task and retrospective reconstruction task. If the target reconstruction task is a retrospective reconstruction task, the task operation status of the magnetic resonance imaging device is detected; If the task running status is that there is an online reconstruction task in progress, the target reconstruction task is added as a reconstruction task to be processed to the first task queue. If the target reconstruction task is an online reconstruction task and there is a running retrospective reconstruction task, the running retrospective reconstruction task is added to the second task queue as a paused reconstruction task; wherein, the first task queue is used to store reconstruction tasks to be processed, the second task queue is used to store paused reconstruction tasks, and the first task queue and the second task queue are maintained independently. When the running online reconstruction task finishes running, the second task queue is retrieved. If there are paused reconstruction tasks in the second task queue, the paused reconstruction tasks are run sequentially according to the order of the second task queue. If there are no paused reconstruction tasks in the second task queue, each pending reconstruction task will be run sequentially according to the order in which the pending reconstruction tasks are arranged in the first task queue.

2. The method according to claim 1, characterized in that, The method further includes: If the task running status is that there is no running online reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; If the resource usage information meets the operating conditions, obtain the load information of the magnetic resonance imaging device; If the load information meets the load conditions, the target reconstruction task is executed.

3. The method according to claim 2, characterized in that, The method further includes: If the resource occupancy information does not meet the operating conditions, the target reconstruction task is added as a pending reconstruction task to the first task queue, and the order of the pending reconstruction tasks in the first task queue is determined.

4. The method according to claim 2, characterized in that, The method further includes: If the load information does not meet the load conditions, the target reconstruction task is added as a pending reconstruction task to the first task queue, and the order of the pending reconstruction tasks in the first task queue is determined.

5. The method according to claim 1, characterized in that, The method further includes: If the target reconstruction task is an online reconstruction task, detect the task operation status of the magnetic resonance imaging device; If the task running status is that there is a running retrospective reconstruction task, obtain the resource usage information of the magnetic resonance imaging device; If the resource usage information meets the operating conditions, the running review and reconstruction task is paused, the running review and reconstruction task is treated as a paused reconstruction task, and the task progress corresponding to the paused reconstruction task is recorded. Add the paused reconstruction task and the task progress to the second task queue, and determine the order in which the paused reconstruction task is arranged in the second task queue; Run the target reconstruction task.

6. The method according to claim 5, characterized in that, The method further includes: If the resource usage information does not meet the operating conditions, cancel the running review and reconstruction task and treat the running review and reconstruction task as a pending reconstruction task. Add the reconstruction tasks to be processed to the first task queue and determine the order in which the reconstruction tasks to be processed are arranged in the first task queue; Run the target reconstruction task.

7. The method according to claim 1, characterized in that, The method further includes: The task operation status of the magnetic resonance imaging device is periodically detected at preset time intervals. If the task running status is that there is no running online reconstruction task, then obtain the resource usage information of the magnetic resonance imaging device and the load information of the magnetic resonance imaging device; If the resource occupancy information meets the operating conditions and the load information meets the load conditions, then each pending reconstruction task is executed sequentially according to the order of the pending reconstruction tasks in the first task queue.

8. A magnetic resonance imaging reconstruction task management device, characterized in that, The device includes: The acquisition module is used to acquire the target reconstruction task corresponding to the magnetic resonance imaging device and identify the task type of the target reconstruction task; the task type is divided into online reconstruction task and retrospective reconstruction task. The judgment module is used to detect the task operation status of the magnetic resonance imaging device if the target reconstruction task is a retrospective reconstruction task. The queue module is used to add the target reconstruction task as a pending reconstruction task to the first task queue if the task running status is that there is an online reconstruction task in progress. The pause module is used to add the running review reconstruction task as a paused reconstruction task to the second task queue if the target reconstruction task is an online reconstruction task and there is a running review reconstruction task; wherein, the first task queue is used to store reconstruction tasks to be processed, the second task queue is used to store paused reconstruction tasks, and the first task queue and the second task queue are maintained independently. The running module is used to retrieve the second task queue when the running online reconstruction task ends. If there are paused reconstruction tasks in the second task queue, the paused reconstruction tasks are run sequentially according to the order of the second task queue. If there are no paused reconstruction tasks in the second task queue, the pending reconstruction tasks are run sequentially according to the order of the pending reconstruction tasks in the first task queue.

9. A magnetic resonance imaging device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

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

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Diagnostic task execution method and device, equipment and medium

    CN111353719A

  • Task scheduling for distributed data processing

    WO2021212967A1