Image reconstruction task scheduling method and device

By acquiring and utilizing the dependencies between image reconstruction tasks and performing task scheduling, the problem of waste of image reconstruction resources in the prior art is solved, and a more efficient image reconstruction process is achieved.

CN114610455BActive Publication Date: 2025-03-21SHANGHAI UNITED IMAGING HEALTHCARE
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210212303.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-04
Publication Date
2025-03-21
Estimated Expiration
2042-03-04

AI Technical Summary

Technical Problem

Existing medical image reconstruction methods have the problem of wasting reconstruction resources when performing image reconstruction tasks.

Method used

By obtaining the dependencies between multiple image reconstruction tasks of the target object, scheduling information for multiple tasks is determined, and based on the reconstruction data on which the scheduling task depends.

Benefits of technology

This improves the speed of image reconstruction, saves image reconstruction time, effectively saves computing resources, avoids resource waste, and improves resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610455B_ABST
    Figure CN114610455B_ABST
Patent Text Reader

Abstract

The present application relates to a method and device for scheduling image reconstruction tasks. The method is applied to a task management platform, and the method comprises: obtaining the dependency relationship between multiple first image reconstruction tasks of a target object. According to the dependency relationship, determining the scheduling information of the multiple first image reconstruction tasks. Based on the scheduling information, scheduling the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends. It can solve the problem of waste of reconstruction resources when executing image reconstruction tasks in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method and device for scheduling image reconstruction tasks. Background Art

[0002] For images obtained by technologies such as computed tomography (CT), magnetic resonance imaging (MRI), positron emission tomography (PET) or PET-CT, there are many tasks that need to be reconstructed during the image reconstruction process. However, the current mainstream medical image reconstruction methods have the problem of wasting reconstruction resources when performing image reconstruction tasks. Summary of the invention

[0003] Based on this, it is necessary to provide an image reconstruction task scheduling method and device for the above technical problems, so as to solve the problem of waste of reconstruction resources when performing image reconstruction tasks in the prior art.

[0004] In a first aspect, the present application provides an image reconstruction task scheduling method, which is applied to a task management platform, and the method comprises:

[0005] Obtain dependencies between multiple first image reconstruction tasks of the target object.

[0006] According to the dependency relationship, scheduling information of the plurality of first image reconstruction tasks is determined.

[0007] Based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends is scheduled.

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

[0009] Get the splitting instruction for the second image reconstruction task.

[0010] In response to the splitting instruction, the second image reconstruction task is split into a plurality of subtasks.

[0011] In one embodiment, after obtaining the dependency relationship between the plurality of first image reconstruction tasks of the target object, the method further comprises:

[0012] According to the dependency relationship, task information of the plurality of first image reconstruction tasks is displayed on a task management interface.

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

[0014] A scheduling instruction for at least one first task among the plurality of first image reconstruction tasks is obtained.

[0015] In response to the scheduling instruction, a schedule corresponding to the scheduling instruction is simultaneously executed on the plurality of first image reconstruction tasks based on the scheduling information.

[0016] In one embodiment, the obtaining of a scheduling instruction for at least one of the plurality of first image reconstruction tasks comprises:

[0017] An operation of selecting at least one of the plurality of first image reconstruction tasks is received.

[0018] In response to the selecting operation, the at least one first task is determined.

[0019] A trigger operation on a task scheduling control of the task management interface is received.

[0020] In response to the triggering operation, the scheduling instruction of the at least one first task among the plurality of first image reconstruction tasks is obtained.

[0021] In one embodiment, the task scheduling control is any one of a pause control, a resume control, an up control, a down control, and a highest priority control.

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

[0023] A shutdown operation of the task management platform is received.

[0024] In response to the closing operation, the to-be-restored information of at least one second task before the task management platform is closed is saved; the second task is an unfinished task among the multiple first image reconstruction tasks.

[0025] and / or,

[0026] After the task management platform is started, obtaining the to-be-recovered information of the second task;

[0027] When the information to be restored meets a preset condition, the second task is started based on the information to be restored.

[0028] In one embodiment, the information to be restored meets a preset condition, including:

[0029] The information to be restored contains raw data required by the second task and reconstruction data corresponding to the first image reconstruction task on which the second task depends; the raw data is scan data required by the second task.

[0030] In one embodiment, displaying the task information of the plurality of first image reconstruction tasks on the task management interface according to the dependency relationship includes:

[0031] At least one key-value pair corresponding to the plurality of first image reconstruction tasks is generated according to the dependency relationship.

[0032] Based on the at least one key-value pair, task information of the plurality of first image reconstruction tasks is displayed on the task management interface; and tasks included in the key-value pairs are all unfinished tasks.

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

[0034] After a third task of the plurality of first image reconstruction tasks is completed, a key-value pair including the third task is obtained.

[0035] Based on the key-value pair of the third task, the determination of the plurality of first image reconstruction tasks is dependent on a fourth task of the third task.

[0036] If there are other tasks that are dependent on by the fourth task in the key-value pairs that do not include the third task, the key-value pair of the third task is deleted.

[0037] If there is no other task that the fourth task depends on in the key-value pair that does not include the third task, the fourth task is started.

[0038] In a second aspect, the present application further provides an image reconstruction task scheduling device, which is applied to a task management platform, and the device comprises:

[0039] The acquisition module is used to acquire the dependency relationship between multiple first image reconstruction tasks of the target object.

[0040] A processing module is used to determine the scheduling information of the multiple first image reconstruction tasks according to the dependency relationship.

[0041] The processing module is further used to schedule the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends based on the scheduling information.

[0042] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0043] Obtain dependencies between multiple first image reconstruction tasks of the target object.

[0044] According to the dependency relationship, scheduling information of the plurality of first image reconstruction tasks is determined.

[0045] Based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends is scheduled.

[0046] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0047] Obtain dependencies between multiple first image reconstruction tasks of the target object.

[0048] According to the dependency relationship, scheduling information of the plurality of first image reconstruction tasks is determined.

[0049] Based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends is scheduled.

[0050] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0051] Obtain dependencies between multiple first image reconstruction tasks of the target object.

[0052] According to the dependency relationship, scheduling information of the plurality of first image reconstruction tasks is determined.

[0053] Based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends is scheduled.

[0054] The above-mentioned image reconstruction task scheduling method and device determine the scheduling information of multiple first image reconstruction tasks by obtaining the dependency relationship between multiple first image reconstruction tasks of the target object; when reconstructing the target image reconstruction task among the multiple first image reconstruction tasks, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends can be scheduled based on the scheduling information. This can not only improve the speed of image reconstruction and save image reconstruction time; it can also effectively save the computing resources of image reconstruction, thereby avoiding the waste of reconstruction resources and improving the utilization rate of reconstruction resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 An architecture diagram of an image reconstruction task scheduling system in one embodiment;

[0056] Figure 2 One of the flowcharts of the method for scheduling image reconstruction tasks in one embodiment;

[0057] Figure 3 is a schematic diagram of the structure of a directed acyclic graph in one embodiment;

[0058] Figure 4 This is one of the effect diagrams of the task management platform interface display in one embodiment;

[0059] Figure 5 The second flowchart of the method for scheduling image reconstruction tasks in one embodiment is shown;

[0060] Figure 6 This is a second schematic diagram of the effect of displaying the task management platform interface in one embodiment;

[0061] Figure 7 The third flowchart of the method for scheduling image reconstruction tasks in one embodiment is shown;

[0062] Figure 8 FIG4 is a flowchart of an image reconstruction task scheduling method according to an embodiment;

[0063] Fig. 9 is a schematic diagram of the structure of an image reconstruction task scheduling device in one embodiment;

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

[0065] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in some embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments provided by the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present application.

[0066] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and other forms thereof, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open, inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" and the like are intended to indicate that specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present application. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics described may be included in any one or more embodiments or examples in any appropriate manner.

[0067] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0068] When describing some embodiments, the expressions "coupled" and "connected" and their derivatives may be used. For example, when describing some embodiments, the term "connected" may be used to indicate that two or more components are in direct physical or electrical contact with each other. For another example, when describing some embodiments, the term "coupled" may be used to indicate that two or more components are in direct physical or electrical contact. However, the term "coupled" or "communicatively coupled" may also refer to two or more components that are not in direct contact with each other, but still cooperate or interact with each other. The embodiments disclosed herein are not necessarily limited to the contents of this document.

[0069] “At least one of A, B, and C” has the same meaning as “at least one of A, B, or C” and both include the following combinations of A, B, and C: A only, B only, C only, the combination of A and B, the combination of A and C, the combination of B and C, and the combination of A, B, and C.

[0070] As used herein, the term "if" is optionally interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined that" or "if [a stated condition or event] is detected" are optionally interpreted to mean "upon determining that" or "in response to determining that" or "upon detecting [a stated condition or event]" or "in response to detecting [a stated condition or event]," depending on the context.

[0071] The use of "adapted to" or "configured to" herein is meant to be open and inclusive language that does not exclude devices adapted or configured to perform additional tasks or steps.

[0072] In addition, the use of “based on” or “according to” is meant to be open and inclusive, because the process, step, calculation or other action “based on” or “according to” one or more stated conditions or values ​​may in practice be based on additional conditions or values ​​beyond the stated ones.

[0073] The current mainstream medical image reconstruction methods all belong to a relatively independent task mode. One reconstruction parameter corresponds to one reconstruction task, and the reconstruction parameters of each reconstruction task are not related to each other. This leads to the inability to schedule reconstruction resources for some reconstruction tasks that can use each other's reconstruction resources, wasting a lot of reconstruction resources and equivalent user time.

[0074] In response to the above technical problems, an embodiment of the present application provides an image reconstruction task scheduling method, the principle of which is: to establish a dependency relationship between image reconstruction tasks, and to determine the scheduling information of multiple first image reconstruction tasks using the dependency relationship; so that when reconstructing a target image reconstruction task among multiple first image reconstruction tasks, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends can be scheduled based on the scheduling information. Moreover, according to the scheduling instructions of any one or more tasks among the multiple first image reconstruction tasks, the scheduling corresponding to the scheduling instructions can be simultaneously performed on the multiple first image reconstruction tasks based on the scheduling information.

[0075] To facilitate the use of this embodiment, see Figure 1 The architecture of the image reconstruction task scheduling system 10 shown in the figure includes an image reconstruction task scheduling device 11 and an imaging device 12 in the image reconstruction task scheduling system 10. The imaging device 12 can capture the region of interest of the target object and obtain an image of the region of interest of the target object so that the image reconstruction task scheduling device 11 performs a corresponding image reconstruction task on the image. In the embodiment of the present application, the image reconstruction task scheduling device 11 and the imaging device 12 can be configured in the same device or in different devices.

[0076] In an exemplary solution, usually, the image reconstruction task scheduling device 11 can be a terminal device; the terminal device can have a general or special computing device environment or configuration. For example: a personal computer, a server computer, a handheld device or a portable device, a tablet device, a multi-processor device, a distributed computing environment including any of the above devices or devices, etc. The terminal device can have different names, such as user equipment (UE), access equipment, terminal unit, terminal station, mobile station, mobile station, remote station, remote terminal, mobile device, wireless communication device, terminal agent or terminal device, etc. In the embodiment of the present application, the device for realizing the function of the image reconstruction task scheduling device 11 can be a terminal device, or it can be a device that can support the image reconstruction task scheduling device 11 to realize the function, such as a chip system, etc. In the present application, the chip system can be composed of a chip, or it can include chips and other discrete devices.

[0077] Combined with the above Figure 1 , the image reconstruction task scheduling method provided in the embodiment of the present application is described in detail, the method is applied to the task management platform, refer to Figure 2 , the method comprising:

[0078] S11. Obtain dependency relationships between multiple first image reconstruction tasks of the target object.

[0079] Optionally, the dependency relationship between the multiple first image reconstruction tasks can be manually set by an operator, or can be obtained by pre-setting the association relationship between various task types and the association relationship between each image reconstruction task under each task type through empirical values. This embodiment of the application is not limited to this.

[0080] It should be noted that the dependency relationship is used to characterize the operation sequence of multiple first image reconstruction tasks.

[0081] Exemplarily, it is assumed that there are two first image reconstruction tasks, Task A and Task B; when Task B can utilize the reconstruction result of Task A, the dependency relationship between Task A and Task B can be expressed as Task B depends on Task A.

[0082] S12. Determine scheduling information of multiple first image reconstruction tasks according to the dependency relationship.

[0083] Optionally, the scheduling information carries the task identifier of the first image reconstruction task on which the target image reconstruction task depends; the scheduling information is used to indicate the scheduling of reconstruction data of the first image reconstruction task on which the target image reconstruction task depends according to the task identifier of the first image reconstruction task on which the target image reconstruction task depends.

[0084] In a possible implementation, a directed acyclic graph of multiple first image reconstruction tasks may be generated according to the dependency relationship, and the directed acyclic graph may be stored in a database of the task management platform.

[0085] For example, see Figure 3 A directed acyclic graph is shown. Assume that there are 7 first image reconstruction tasks. For the convenience of description, the 7 first image reconstruction tasks are represented by node 1, node 2, node 3, node 4, node 5, node 6, and node 7. Node 0 represents the start node of the image reconstruction task, and node -1 represents the end node of the image reconstruction task. For each node, the directed acyclic graph is traversed to obtain multiple arrays including three elements. The arrays include dependent data, current node data, and post-data in sequence, and [0, 1, 2], [0, 1, 3], [1, 2, 5], [1, 3, 4], [2, 5, 6], [3, 4, 6], [5, 6, 7], [4, 6, 7], and [6, 7, -1] are obtained. If the post-data of the first node is the same as the dependent data of the second node, it is determined that the first node and the second node have a dependency relationship. It can be that if the third element of one array is equal to the first element of another array, the two jobs have a dependency relationship. See Figure 3 For node 5, the dependency information includes [2, 5, 6]; for node 7, the dependency includes [6, 7, -1]. The post-data of node 5 is the same as the dependency data of the node, so it can be determined that there is a dependency between node 5 and node 7. According to the dependency, it can be known that there is a dependency between node 5 and node 2, and there is a dependency between node 2 and node 1. Therefore, the directed acyclic graph can be determined based on the dependency of multiple nodes with dependencies.

[0086] Based on the above, a directed acyclic graph of the plurality of first image reconstruction tasks is obtained in a database of the task management platform according to the dependency relationship, and scheduling information of the plurality of first image reconstruction tasks is determined according to the directed acyclic graph.

[0087] S13. Based on the scheduling information, schedule the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends.

[0088] The target image reconstruction task may be at least one of the multiple first image reconstruction tasks.

[0089] Specifically, according to the scheduling information, the reconstruction data of the task required to be used by the target image reconstruction task is determined among the multiple first image reconstruction tasks, so as to schedule the reconstruction data of the task.

[0090] In a possible implementation scheme, after obtaining the dependency relationship between multiple first image reconstruction tasks of the target object, it includes: displaying the task information of the multiple first image reconstruction tasks on the task management interface according to the dependency relationship, so as to intuitively display the dependency information and other information in the task information of the multiple first image reconstruction tasks.

[0091] Optionally, the task information of the first image reconstruction task may include the sequence number, the sequence, the image description, the identifier of the target object, the dependency information, the reconstruction progress and the reconstruction machine used of the first image reconstruction task.

[0092] Exemplarily, the task management platform includes four task management modules, namely, the total task, the main reconstruction machine, the iterative reconstruction machine, and the post-processing reconstruction machine. Among them, the task management interface corresponding to the total task can display the task information of all image reconstruction tasks such as the main reconstruction machine, the iterative reconstruction machine, and the post-processing reconstruction machine, the task management interface corresponding to the main reconstruction machine can display the task information that the image reconstruction task is the main reconstruction task, the task management interface corresponding to the iterative reconstruction machine can display the task information that the image reconstruction task is the iterative reconstruction task, and the task management interface corresponding to the post-processing reconstruction machine can display the task information that the image reconstruction task is the post-processing reconstruction task. The user can display the task management interface corresponding to the total task, the main reconstruction machine, the iterative reconstruction machine, and the post-processing reconstruction machine by triggering the controls corresponding to the total task, the main reconstruction machine, the iterative reconstruction machine, and the post-processing reconstruction machine.

[0093] Reference Figure 4 , the task management interface 01 of the total task is displayed in the task management platform, in which the task information of 9 image reconstruction tasks is displayed in total, and the task information includes the sequence number, sequence, image description (referred to as description), target object identification (referred to as target object), dependency information (referred to as dependency), reconstruction progress (referred to as reconstruction) and the reconstruction machine used (referred to as reconstruction machine); among them, Figure 4 In the dependent column, a symbol 4 is displayed in the display box corresponding to the serial number 5, which indicates that the image reconstruction task with the serial number 5 depends on the image reconstruction task with the serial number 4; Figure 4 In the dependent column, the label 7 is displayed in the display box corresponding to the serial number 8, which indicates that the image reconstruction task with the serial number 8 depends on the image reconstruction task with the serial number 7.

[0094] Specifically, according to the dependency relationship, the task information of the multiple first image reconstruction tasks is displayed on the task management interface, including: generating at least one key-value pair corresponding to the multiple first image reconstruction tasks according to the dependency relationship. And based on the at least one key-value pair, the task information of the multiple first image reconstruction tasks is displayed on the task management interface; the tasks included in the key-value pair are all unfinished tasks.

[0095] Exemplarily, a map of the dependency relationship between the base job (BaseJob) and the dependent job (DependJob), namely, BaseJobDependJobMap, is constructed as a basis for restarting the second task. The details are as follows:

[0096] Assume that the task to be rebuilt first is BaseJob (whose ID is represented by BaseJobID), and the task that depends on BaseJob is DependJob (whose ID is represented by DependJobID). When BaseJob is rebuilt, DependJob needs to be started. Generate<BaseJobID,DependJobID> The key-value pair is stored in BaseJobDependJobMap. For example, after Task 1 is rebuilt, Task 2 is started. Then, BaseJob is Task 1, DependJob is Task 2, and the key-value pair for constructing Task 1 and Task 2 is <1, 2>.

[0097] For example, the first image reconstruction tasks are five reconstruction tasks (task 1, task 2, task 3, task 4, task 5). Task 2 needs to be started after task 1 is reconstructed, tasks 3 and 4 need to be started after task 2 is reconstructed, and task 5 needs to be started after tasks 3 and 4 are reconstructed. The whole process must be reconstructed in a certain order. Based on the above dependency relationship, BaseJobDependJobMap can be constructed as [<1,2>,<2,3>,<2,4>,<3,5>,<4,5>].

[0098] After the third task of the plurality of first image reconstruction tasks is completed, a key-value pair including the third task is obtained. Based on the key-value pair of the third task, a fourth task that depends on the third task is determined among the plurality of first image reconstruction tasks. If there are other tasks that are dependent on the fourth task in the key-value pair that does not include the third task, the key-value pair of the third task is deleted. If there are no other tasks that are dependent on the fourth task in the key-value pair that does not include the third task, the fourth task is started.

[0099] Exemplarily, after receiving the reconstruction completion message of the third task, the next reconstruction task is scheduled according to the mapping relationship in BaseJobDependJobMap and the scheduling rules. The scheduling rules are as follows:

[0100] Rule 1: Assuming that the currently rebuilt task is BaseJob1, search for a key-value pair whose BaseJobID is BaseJob1 in BaseJobDependJobMap; if found, record the key-value pair as map1, its DependJobID as DependJob1, and delete map1 from BaseJobDependJobMap; if not found, end.

[0101] Rule 2: Search for the key-value pair whose DependJobID is DependJob1 in BaseJobDependJobMap; if found, it indicates that DependJob1 also depends on other tasks, and the task ends; if not found, it indicates that all dependent tasks of DependJob1 have been rebuilt, and the DependJob1 task is started.

[0102] The above-mentioned image reconstruction task scheduling method determines the scheduling information of multiple first image reconstruction tasks by obtaining the dependency relationship between multiple first image reconstruction tasks of the target object; when reconstructing the target image reconstruction task among the multiple first image reconstruction tasks, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends can be scheduled based on the scheduling information. This can not only improve the speed of image reconstruction and save image reconstruction time; it can also effectively save the computing resources for image reconstruction, thereby avoiding the waste of reconstruction resources and improving the utilization rate of reconstruction resources.

[0103] In one embodiment, considering the situation where there are too many calculations in an image reconstruction task, in order to shorten the image reconstruction time, an image reconstruction task can be split into multiple subtasks. Figure 5 , the image reconstruction task scheduling method provided in the embodiment of the present application also includes:

[0104] S21. Obtain a splitting instruction for a second image reconstruction task.

[0105] In this embodiment, the splitting instruction of the second image reconstruction task can be generated according to the preset operation of the operator. For example, the preset operation can be to trigger the split control after the second image reconstruction task is selected; or it can be to double-click the left mouse button after the second image reconstruction task is selected. The embodiment of the present application does not impose any limitation on the method of the preset operation.

[0106] S22. In response to the splitting instruction, split the second image reconstruction task into a plurality of subtasks.

[0107] In this embodiment, there are multiple ways to split the second image reconstruction task into multiple subtasks, specifically including but not limited to at least one of the following ways:

[0108] Method 1: Use an average division method to divide the second image reconstruction task into N parts on average, thereby splitting the second image reconstruction task into N subtasks.

[0109] Method 2: Determine the size of resources that can be allocated according to the resource utilization rate of the current image reconstruction task, and determine the number of subtasks that can be split into the second image reconstruction task according to the allocated resource size.

[0110] Furthermore, task information corresponding to the plurality of subtasks is displayed in the task management interface, wherein the operator controls whether the task information of the plurality of subtasks is hidden or displayed by triggering the folding and unfolding controls corresponding to the plurality of subtasks.

[0111] Exemplarily, the sequence displayed in the task management interface 01 can be used to determine which image reconstruction tasks corresponding to which serial numbers are subtasks obtained by splitting the same image reconstruction task; specifically, subtasks belonging to the same sequence are obtained by splitting the same image reconstruction task. Figure 4 The sequences corresponding to the numbers 1, 2, and 3 shown in the figure are all 101, which can be determined as the three subtasks obtained by splitting the same image reconstruction task. By triggering the folding and unfolding control 011 in the area where the number 1 is located, the task information corresponding to the numbers 2 and 3 can be hidden or displayed. The effect diagram after folding can be referred to Figure 6 .

[0112] In this embodiment, the image reconstruction task is split into multiple subtasks through a splitting instruction for the image reconstruction task, thereby shortening the image reconstruction time of the image reconstruction task and improving the reconstruction efficiency of the image reconstruction task.

[0113] In one embodiment, referring to Figure 7 In order to realize the control operation of multiple first image reconstruction tasks at the same time, the image reconstruction task scheduling method provided in the embodiment of the present application further includes:

[0114] S31. Obtain a scheduling instruction for at least one first task among a plurality of first image reconstruction tasks.

[0115] It should be noted that if it is necessary to perform operations corresponding to related scheduling instructions on multiple first image reconstruction tasks, it is preferred to trigger one of the first tasks to obtain the scheduling instruction, and implement joint scheduling of the multiple first image reconstruction tasks according to the scheduling instruction. It can be understood that obtaining the scheduling instruction for at least one of the multiple first image reconstruction tasks may also be obtaining the scheduling instruction for multiple first image reconstruction tasks.

[0116] Specifically, a selection operation of at least one of the plurality of first image reconstruction tasks is received. In response to the selection operation, at least one first task is determined. A trigger operation of a task scheduling control of a task management interface is received. In response to the trigger operation, a scheduling instruction of at least one of the plurality of first image reconstruction tasks is obtained.

[0117] Optionally, the task scheduling control is any one of a pause control, a continue control, an up control, a down control, and a highest priority control. The corresponding scheduling instruction may include any one of a pause instruction, a continue instruction, an up instruction, a down instruction, and a highest priority instruction. Among them, the up instruction refers to adjusting the priority upward, and the down instruction refers to adjusting the priority downward.

[0118] For example, refer to Figure 4 When it is necessary to stop tasks No. 7 and No. 8, at least one first task can be determined by selecting area 701 where the task information of No. 7 is located, or selecting area 801 where the task information of No. 8 is located, or selecting area 701 where the task information of No. 7 is located and area 801 where the task information of No. 8 is located at the same time. After that, the scheduling instruction can be generated by triggering the pause control.

[0119] S32. In response to the scheduling instruction, simultaneously execute scheduling corresponding to the scheduling instruction on multiple first image reconstruction tasks based on the scheduling information.

[0120] Optionally, after obtaining the scheduling instruction, the task management platform determines other image reconstruction tasks that are dependent on the first task through the scheduling new area, and then performs scheduling corresponding to the scheduling instruction on the first task and other image reconstruction tasks that are dependent on the first task at the same time.

[0121] Based on the above example, assuming that the area 701 where the task information of sequence number 7 is located is selected, after the pause control is triggered, a pause instruction is generated; according to the scheduling information, it can be determined that there is a dependency relationship between the image reconstruction task of sequence number 8 and the image reconstruction task of sequence number 7, then the image reconstruction task of sequence number 7 and the image reconstruction task of sequence number 8 are paused at the same time.

[0122] In this embodiment, by determining the scheduling instructions of at least one first task among the multiple first image reconstruction tasks based on the scheduling information related to the first task, the multiple first image reconstruction tasks can be simultaneously executed in accordance with the scheduling instructions, thereby saving user operations.

[0123] In one embodiment, during the operation of the task management platform, some image reconstruction tasks can only be interrupted due to various reasons such as shutdown, power off, restart, etc., and simple reconstruction tasks (such as axial, helical, etc.) can be restored through persistent reconstruction. However, as business needs increase, an image reconstruction task (such as automatic optimal heartbeat reconstruction, automatic lung nodule post-processing, etc.) may require multiple image reconstruction tasks to be completed in collaboration, and the existing image reconstruction task recovery method is no longer applicable to the current complex image reconstruction task recovery. The only way is to manually find the image reconstruction tasks that have not been completed before shutdown and then perform offline reconstruction, which is not convenient enough. Therefore, referring to Figure 8 , the image reconstruction task scheduling method provided in the embodiment of the present application also includes:

[0124] S41. Receive a closing operation on the task management platform.

[0125] It can be understood that operations such as closing, powering off, and restarting the task management platform all include the operation of closing the task management platform.

[0126] S42. In response to the closing operation, save the to-be-recovered information of at least one second task before the task management platform is closed; the second task is an unfinished task among the multiple first image reconstruction tasks.

[0127] Optionally, when the task management platform is closed, a reconstruction task set of at least one second task is constructed; the information to be restored of the unfinished task (i.e., the second task) is saved in the reconstruction task set in the form of a database, a file, etc. The content of the information to be restored includes but is not limited to: the raw data required by the second task and the reconstruction data corresponding to the first image reconstruction task on which the second task depends. Of course, the identification information and scheduling information of the second task also need to be saved in the reconstruction task set, and the identification information may be a sequence number and / or a serial number.

[0128] Among them, the unfinished tasks include two types: unreconstructed image reconstruction tasks and image reconstruction tasks in reconstruction.

[0129] In one implementation, for image reconstruction tasks that do not have dependencies, when the task management platform is closed, the information to be restored that needs to be saved may only include the raw data required for the image reconstruction task.

[0130] Furthermore, after the task management platform is closed, there is a corresponding opening operation. Therefore, after the task management platform is opened, the information to be restored of the second task is obtained. If the information to be restored meets the preset conditions, the second task is started based on the information to be restored.

[0131] The information to be restored satisfies the preset conditions, including: the information to be restored contains raw data required by the second task and reconstruction data corresponding to the first image reconstruction task on which the second task depends; and the raw data is scan data required by the second task.

[0132] In this embodiment, for image reconstruction tasks without dependencies, the information to be restored only needs to include the required raw data; therefore, when determining whether the information to be restored meets the preset conditions, it is only necessary to determine whether the information to be restored contains the raw data required for the second task.

[0133] It should be noted that, for image reconstruction tasks that do not have any dependencies, when the preset conditions are not met, the image reconstruction task is directly removed from the reconstruction task set; for image creation tasks that have dependencies, when the preset conditions are not met, the image reconstruction task and the tasks that have dependencies on it are removed from the reconstruction task set.

[0134] Specifically, at least one key-value pair corresponding to the multiple first image reconstruction tasks is generated according to the dependency relationship, and based on the at least one key-value pair, the first image reconstruction task on which the second task depends is determined among the multiple first image reconstruction tasks.

[0135] In this embodiment, in response to the shutdown operation of the task management platform, the recovery information of the unfinished tasks among the multiple first image reconstruction tasks before the task management platform is closed is saved, so as to provide convenient conditions for the unfinished reconstruction tasks after the task management platform is reopened.

[0136] It should be understood that although Figure 2 , 5 The steps in the flowcharts of , 7, and 8 are shown in sequence 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 restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 , 5 At least part of the steps in , 7, and 8 may include multiple steps or multiple stages. These steps or stages do not necessarily have to be executed at the same time, but can be executed at different times. The execution order of these steps or stages does not necessarily have to be sequential, but can be executed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0137] In one embodiment, referring to Fig. 9 , an image reconstruction task scheduling device 11 is provided, which is applied to a task management platform, and the device 11 includes:

[0138] The acquisition module 111 is used to acquire the dependency relationship between multiple first image reconstruction tasks of the target object.

[0139] The processing module 112 is used to determine the scheduling information of the plurality of first image reconstruction tasks according to the dependency relationship.

[0140] The processing module 112 is further configured to schedule, based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends.

[0141] In one embodiment, the acquisition module 111 is further used to acquire a splitting instruction for a second image reconstruction task.

[0142] The processing module 112 is configured to split the second image reconstruction task into a plurality of subtasks in response to the splitting instruction.

[0143] In one embodiment, the display module 113 is used to display the task information of multiple first image reconstruction tasks on the task management interface according to the dependency relationship.

[0144] In one embodiment, the acquisition module 111 is further configured to acquire a scheduling instruction for at least one first task among the plurality of first image reconstruction tasks.

[0145] The processing module 112 is used to respond to the scheduling instruction and simultaneously execute the scheduling corresponding to the scheduling instruction on the plurality of first image reconstruction tasks based on the scheduling information.

[0146] In one embodiment, the acquisition module 111 is specifically configured to receive a selection operation of at least one of the plurality of first image reconstruction tasks. In response to the selection operation, determine at least one first task. Receive a trigger operation of a task scheduling control of a task management interface. In response to the trigger operation, obtain a scheduling instruction of at least one of the plurality of first image reconstruction tasks.

[0147] In one embodiment, the task scheduling control is any one of a pause control, a resume control, an up control, a down control, and a highest priority control.

[0148] In one embodiment, the acquisition module 111 is further used to receive a closing operation on the task management platform.

[0149] The processing module 112 is used to save the to-be-restored information of at least one second task before the task management platform is closed in response to the closing operation; the second task is an unfinished task among the multiple first image reconstruction tasks.

[0150] and / or,

[0151] The acquisition module 111 is further used to acquire the to-be-recovered information of the second task after the task management platform is started.

[0152] The processing module 112 is configured to start the second task based on the information to be restored when the information to be restored meets a preset condition.

[0153] In one embodiment, the information to be restored meets preset conditions, including: the information to be restored contains raw data required for the second task and reconstructed data corresponding to the first image reconstruction task on which the second task depends; the raw data is scanned data required for the second task.

[0154] In one embodiment, the display module 113 is specifically used to generate at least one key-value pair corresponding to multiple first image reconstruction tasks according to the dependency relationship. Based on the at least one key-value pair, the task information of the multiple first image reconstruction tasks is displayed in the task management interface; the tasks included in the key-value pair are all unfinished tasks.

[0155] In one embodiment, the processing module 112 is further used to obtain a key-value pair including the third task after the third task of the plurality of first image reconstruction tasks is completed. Based on the key-value pair of the third task, a fourth task that depends on the third task is determined among the plurality of first image reconstruction tasks. If there are other tasks that are dependent on the fourth task in the key-value pair that does not include the third task, the key-value pair of the third task is deleted. If there are no other tasks that are dependent on the fourth task in the key-value pair that does not include the third task, the fourth task is started.

[0156] For the specific definition of the image reconstruction task scheduling device, please refer to the definition of the image reconstruction task scheduling method mentioned above, which will not be repeated here. Each module in the above-mentioned image reconstruction task scheduling device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0157] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store initial data, and the network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an image reconstruction task scheduling method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

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

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

[0160] Obtain dependencies between multiple first image reconstruction tasks of the target object.

[0161] According to the dependency relationship, scheduling information of the plurality of first image reconstruction tasks is determined.

[0162] Based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends is scheduled.

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

[0164] Obtain dependencies between multiple first image reconstruction tasks of the target object.

[0165] According to the dependency relationship, scheduling information of the plurality of first image reconstruction tasks is determined.

[0166] Based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends is scheduled.

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

[0168] Obtain dependencies between multiple first image reconstruction tasks of the target object.

[0169] According to the dependency relationship, scheduling information of the plurality of first image reconstruction tasks is determined.

[0170] Based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends is scheduled.

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

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

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

Claims

1. A method for scheduling image reconstruction tasks, characterized in that: Applied to a task management platform, the method comprises: Acquire a dependency relationship between a plurality of first image reconstruction tasks of a target object; generating, according to the dependency relationship, at least one key-value pair corresponding to the plurality of first image reconstruction tasks; Based on the at least one key-value pair, displaying task information of the plurality of first image reconstruction tasks on a task management interface; the tasks included in the key-value pair are all unfinished tasks; Determining scheduling information of the plurality of first image reconstruction tasks according to the dependency relationship; Based on the scheduling information, the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends is scheduled.

2. The image reconstruction task scheduling method according to claim 1, characterized in that: The method further comprises: Obtaining a splitting instruction for a second image reconstruction task; In response to the splitting instruction, the second image reconstruction task is split into a plurality of subtasks.

3. The image reconstruction task scheduling method according to claim 1, characterized in that: The method further comprises: Obtaining a scheduling instruction for at least one first task among the plurality of first image reconstruction tasks; In response to the scheduling instruction, a schedule corresponding to the scheduling instruction is simultaneously executed on the plurality of first image reconstruction tasks based on the scheduling information.

4. The image reconstruction task scheduling method according to claim 3, characterized in that: The obtaining of a scheduling instruction for at least one of the plurality of first image reconstruction tasks comprises: receiving a selection operation of at least one task among the plurality of first image reconstruction tasks; In response to the selection operation, determining the at least one first task; Receiving a trigger operation on a task scheduling control of the task management interface; In response to the triggering operation, the scheduling instruction of the at least one first task among the plurality of first image reconstruction tasks is obtained.

5. The image reconstruction task scheduling method according to claim 1, characterized in that: The method further comprises: Receiving a shutdown operation on the task management platform; In response to the closing operation, saving to-be-restored information of at least one second task before the task management platform is closed; the second task is an unfinished task among the plurality of first image reconstruction tasks; and / or, After the task management platform is started, obtaining the to-be-recovered information of the second task; When the information to be restored meets a preset condition, the second task is started based on the information to be restored.

6. The method for scheduling image reconstruction tasks according to claim 5, characterized in that: The information to be restored meets the preset conditions, including: The information to be restored contains raw data required by the second task and reconstruction data corresponding to the first image reconstruction task on which the second task depends; the raw data is scan data required by the second task.

7. The image reconstruction task scheduling method according to claim 1, characterized in that: The method further comprises: After a third task of the plurality of first image reconstruction tasks is completed, obtaining a key-value pair including the third task; Based on the key-value pair of the third task, determining the plurality of first image reconstruction tasks depends on a fourth task of the third task; If there are other tasks that are dependent on by the fourth task in the key-value pairs that do not include the third task, then the key-value pair of the third task is deleted; If there is no other task that the fourth task depends on in the key-value pair that does not include the third task, the fourth task is started.

8. An image reconstruction task scheduling device, characterized in that: Applied to a task management platform, the device comprises: An acquisition module, used for acquiring a dependency relationship between a plurality of first image reconstruction tasks of a target object; A display module, used to generate at least one key-value pair corresponding to the plurality of first image reconstruction tasks according to the dependency relationship; based on the at least one key-value pair, display the task information of the plurality of first image reconstruction tasks on the task management interface; the tasks included in the key-value pair are all unfinished tasks; A processing module, configured to determine scheduling information of the plurality of first image reconstruction tasks according to the dependency relationship; The processing module is further used to schedule the reconstruction data corresponding to the first image reconstruction task on which the target image reconstruction task depends based on the scheduling information.

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

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

Citation Information

Patent Citations

  • Image offline reconstruction method, related device and system

    CN107564076A

  • Task scheduling method and device, computer equipment and storage medium

    CN109743390A

  • Task processing method and processing device and computer system

    CN110489213A

  • Task processing system and computing resource allocation method thereof

    CN113656166A