WO2012088766A1 - Method and device for dynamically scheduling batch processing tasks - Google Patents

Method and device for dynamically scheduling batch processing tasks Download PDF

Info

Publication number
WO2012088766A1
WO2012088766A1 PCT/CN2011/002208 CN2011002208W WO2012088766A1 WO 2012088766 A1 WO2012088766 A1 WO 2012088766A1 CN 2011002208 W CN2011002208 W CN 2011002208W WO 2012088766 A1 WO2012088766 A1 WO 2012088766A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
execution
node
nodes
information
Prior art date
Application number
PCT/CN2011/002208
Other languages
French (fr)
Chinese (zh)
Inventor
何凯
何发亮
刘健
Original Assignee
中国银联股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国银联股份有限公司 filed Critical 中国银联股份有限公司
Publication of WO2012088766A1 publication Critical patent/WO2012088766A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5066Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs

Definitions

  • the present invention relates to the field of computer technology, and in particular to dynamic scheduling of batch tasks. Background technique
  • a batch task is an operation that performs a series of programs in a computer system without human intervention.
  • the existing batch task scheduling system pays attention to the scheduled scheduling of tasks, but when the execution time of some tasks exceeds the expected time, multiple tasks will be executed in parallel. If the task consumes too much system resources, it may lead to deadlock or even system crash. .
  • the traditional sequential scheduling on time can guarantee the abundance of available resources for lightweight batch tasks, but it may cause waste of system resources and inefficient work.
  • the scheduling of large tasks lacks controllability, and it is difficult to suspend in time. Schedule operations such as restart and sequel.
  • the present invention provides a method for dynamically scheduling a batch task, the task comprising a first task and a second task, wherein the method comprises the following steps: first step, first task and second task Decomposing a task into a plurality of task nodes, and grouping the plurality of task nodes into a first process corresponding to the first task and a second process corresponding to the second task;
  • the execution of the first process and the second process, the execution state of the information task node, and the execution component are controlled in units of task nodes according to the information of each task node.
  • the method further comprises the step of acquiring system resource information; the second step further comprising controlling the execution of each task node based on the system resource information.
  • the first step further comprises setting priorities of the first process and the second process; the second step further comprises controlling execution of the first process and the second process according to the priority.
  • a device for dynamically scheduling a batch task comprising a first task and a second task, the device comprising a setting module and a control module, wherein
  • the setting module is configured to decompose the first task and the second task into a plurality of task nodes, and to form the plurality of task nodes into a first process corresponding to the first task and a second process corresponding to the second task;
  • the control module is configured to control execution of the first process and the second process in units of task nodes according to information of each task node, where the information includes an execution state and an execution condition of each of the plurality of task nodes.
  • the apparatus further comprises a resource monitoring module for acquiring system resource information; and the control module is further configured to control the execution of each task node according to the system resource letter.
  • the setting module is further configured to set a priority of the first process and the second process; the control module is further configured to control the execution of the first process and the second process according to the priority.
  • the task node is the smallest program unit with data integrity.
  • the invention provides the resource utilization rate of the system through the above technical solution. By analyzing the dependency relationship, when a task node fails, the corresponding processing will be performed in time, thereby improving the fault tolerance capability of the system.
  • the scheduling of the batch processing task of the invention is based on the dynamic change of the system resources and the static resource characteristics of the task nodes, and has strong flexibility. In addition, because the task is serialized into task nodes, the scheduling and tasks are separated from each other, and the tasks are scheduled in the form of a process, which can be well adapted to business changes.
  • FIG. 1 is a flow chart of a method of dynamically scheduling a batch task according to an embodiment of the present invention
  • FIG. 2 is a diagram of a method of dynamically scheduling a batch task according to an embodiment of the present invention
  • FIG. 3 is a dynamic diagram according to an embodiment of the present invention. Schematic diagram of a device that schedules batch tasks. detailed description
  • FIG. 1 it is a flowchart of a method of dynamically scheduling a batch task according to an embodiment of the present invention, wherein:
  • step S1 the batch task is serialized into a process consisting of task nodes.
  • the task can be disassembled into multiple node units with data integrity, and then these node units are spliced into a process that can be scheduled by the configuration, and the generated process corresponds to the original task.
  • step S2 the flow is dynamically scheduled according to the information of the task node.
  • the information of the task node may include an execution state and an execution condition of the task node.
  • the execution status of each independently executable task node may include preparation for execution, execution, and execution completion.
  • Execution conditions may include performing corresponding resource consumption data for the task node to describe its resource demand status or may also include execution time of the task node and dependencies of the task node with other task nodes in the process.
  • Fig. 2 is an illustration of a method of dynamically scheduling a batch task, in accordance with an embodiment of the present invention.
  • the first process and the second process may be composed of a plurality of such task nodes A, B, C, D, E, F in a serial-parallel manner.
  • the start, pause and sequel of the process are implemented by the task node, and the data integrity of the node ensures that the process scheduling can be freely performed among multiple tasks, which greatly increases the flexibility of the call.
  • example PT/CN2011/002208 For example, in FIG.
  • the dependency relationship between the task node D and other nodes, such as nodes B and C can be known that the execution condition of the task node D in the first process is that the task nodes B and C are executed, then
  • the execution condition of the task node D can be set accordingly, for example, the execution time of the task node D can be set after the execution time of the task nodes B and C.
  • the execution of the task node D can also be triggered by judging the execution states of the task node task nodes B and C.
  • the task node to be released may be determined according to resource consumption data of the task node, and thus the task node information also provides a prerequisite for resource release of operations such as suspension.
  • the device comprises a setting module, a control module and a resource monitoring module, wherein the setting module is used for decomposing tasks into a plurality of task nodes, and the plurality of task nodes are grouped into a process 1-4.
  • the control module is configured to control the process 1-4 in units of task nodes according to the information of each task node.
  • the information of the task node may include an execution state and an execution condition of the task node.
  • the resource monitoring module is configured to acquire system resource information, and then the control module controls execution of each task node according to system resource information.
  • system resource information can be obtained through the API of the operating system and provided as a reference condition for process scheduling. For example, priority can be set for the process. When the available resources of the system exceed the warning line, the process with low priority is suspended. When the system resources are sufficient, the suspended process is resumed in time.
  • the resource information can be used as a scheduling decision for the process, and a pre-judgment can be made for the real-time scheduling of the process. Resolve resource conflicts between tasks while ensuring efficient operation of the program.
  • the resource consumption data for a task node is described in Table 1 below:
  • control module will make a scheduling decision based on the process priority, and the suboptimal process will be suspended.

Abstract

A method and device used for dynamically scheduling batch processing tasks, wherein the tasks include a first task and a second task. The method includes the following steps: dividing the first task and the second task into a plurality of task nodes, and grouping the plurality of task nodes into a first flow corresponding to the first task and a second flow corresponding to the second task; and controlling the execution of the first flow and the second flow by taking one task node as one unit according to the information about each task node, wherein the information includes the execution state and execution condition of each task node in the plurality of task nodes.

Description

一种用于动态调度批处理任务的方法和装置 优先权要求  Method and apparatus for dynamically scheduling batch tasks
本申请要求了 2010年 12月 29日提交的、 申请号为 201010619141.3、 发明名称为 "一种用于动态调度批处理任务的方法和装置" 的中国专利申 请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 The present application claims priority to Chinese Patent Application No. 201010619141.3, entitled "A Method and Apparatus for Dynamically Distributing Batch Processing Tasks", filed on Dec. 29, 2010, the entire contents of In this application. Technical field
本发明涉及计算机技术领域, 并且尤其涉及批处理任务的动态调度。 背景技术  The present invention relates to the field of computer technology, and in particular to dynamic scheduling of batch tasks. Background technique
批处理任务是指在计算机系统中无须人工干预而执行系列程序的 作业。 现有的批处理任务调度系统关注对任务的定时调度, 但是当某 些任务的执行时间超出预期时, 会导致多个任务并行执行, 如果任务 消耗系统资源过多还可能导致死锁甚至系统崩溃。 传统的顺序按时调 度对于轻量级的批量任务可保障可用资源的充裕, 却有可能会造成系 统资源的浪费和工作效率低下; 对于大型任务的调度缺乏可控性, 难 以做到及时的暂停、 重启和续作等调度操作。  A batch task is an operation that performs a series of programs in a computer system without human intervention. The existing batch task scheduling system pays attention to the scheduled scheduling of tasks, but when the execution time of some tasks exceeds the expected time, multiple tasks will be executed in parallel. If the task consumes too much system resources, it may lead to deadlock or even system crash. . The traditional sequential scheduling on time can guarantee the abundance of available resources for lightweight batch tasks, but it may cause waste of system resources and inefficient work. The scheduling of large tasks lacks controllability, and it is difficult to suspend in time. Schedule operations such as restart and sequel.
因此, 需要一种可以动态调度批处理任务的方法和装置。 发明内容  Therefore, there is a need for a method and apparatus that can dynamically schedule batch tasks. Summary of the invention
为解决上述问题, 本发明提供一种用于动态调度批处理任务的方 法, 任务包括第一任务和第二任务, 其特征在于, 该方法包括以下步 第一步骤, 将第一任务和第二任务分解成多个任务节点, 以及将 多个任务节点组成对应于第一任务的第一流程和对应于第二任务的第 二流程;  In order to solve the above problems, the present invention provides a method for dynamically scheduling a batch task, the task comprising a first task and a second task, wherein the method comprises the following steps: first step, first task and second task Decomposing a task into a plurality of task nodes, and grouping the plurality of task nodes into a first process corresponding to the first task and a second process corresponding to the second task;
第二步骤, 根据每个任务节点的信息以任务节点为单位控制第一 流程和第二流程的执行, 信息任务节点的执行状态和执行奈件。  In the second step, the execution of the first process and the second process, the execution state of the information task node, and the execution component are controlled in units of task nodes according to the information of each task node.
- 1 - 确认本 优选地, 该方法还包括获取系统资源信息的步骤; 第二步骤进一 步包括根据系统资源信息控制每个任务节点的执行。 - 1 - Confirmation Preferably, the method further comprises the step of acquiring system resource information; the second step further comprising controlling the execution of each task node based on the system resource information.
优选地, 第一步骤进一步包括设置第一流程和第二流程的优先级; 第二步骤进一步包括根据优先级控制第一流程和第二流程的执行。  Preferably, the first step further comprises setting priorities of the first process and the second process; the second step further comprises controlling execution of the first process and the second process according to the priority.
根据本发明的另一个目的, 提供了用于动态调度批处理任务的装 置, 任务包括第一任务和第二任务, 其特征在于, 该装置包括设置模 块和控制模块, 其中,  According to another aspect of the present invention, there is provided a device for dynamically scheduling a batch task, the task comprising a first task and a second task, the device comprising a setting module and a control module, wherein
设置模块用于将第一任务和第二任务分解成多个任务节点, 以及 将多个任务节点组成对应于第一任务的第一流程和对应于第二任务的 第二流程;  The setting module is configured to decompose the first task and the second task into a plurality of task nodes, and to form the plurality of task nodes into a first process corresponding to the first task and a second process corresponding to the second task;
控制模块用于根据每个任务节点的信息以任务节点为单位控制第 一流程和第二流程的执行, 信息包括多个任务节点中每个任务节点的 执行状态和执行条件。  The control module is configured to control execution of the first process and the second process in units of task nodes according to information of each task node, where the information includes an execution state and an execution condition of each of the plurality of task nodes.
优选地, 该装置还包括资源监控模块, 用于获取系统资源信息; 控制模块进一步被配置成根据系统资源信 , IT控制每个任务节点的执 行。  Preferably, the apparatus further comprises a resource monitoring module for acquiring system resource information; and the control module is further configured to control the execution of each task node according to the system resource letter.
优选地, 设置模块进一步被配置成设置第一流程和第二流程的优 先级; 控制模块进一步被配置成根据优先级控制第一流程和第二流程 的执行。  Preferably, the setting module is further configured to set a priority of the first process and the second process; the control module is further configured to control the execution of the first process and the second process according to the priority.
优逸地, 任务节点是具备数据完整性的最小程序单元。  Advantageously, the task node is the smallest program unit with data integrity.
本发明通过上述技术方案提供了系统的资源利用率, 通过对依赖 关系的分析可以在某任务节点出现故障时, 及时地将进行相应处理, 提高了系统的容错能力。 本发明对批处理任务的调度基于系统资源的 动态变化和任务节点的静态资源特征, 具有很强的灵活性。 此外, 由 于将任务序列化为任务节点, 使得调度和任务互相分离, 以流程的形 式调度任务, 可以很好地适应业务的变化。 附图说明  The invention provides the resource utilization rate of the system through the above technical solution. By analyzing the dependency relationship, when a task node fails, the corresponding processing will be performed in time, thereby improving the fault tolerance capability of the system. The scheduling of the batch processing task of the invention is based on the dynamic change of the system resources and the static resource characteristics of the task nodes, and has strong flexibility. In addition, because the task is serialized into task nodes, the scheduling and tasks are separated from each other, and the tasks are scheduled in the form of a process, which can be well adapted to business changes. DRAWINGS
在参照附图阅读了本发明的具体实施方式以后, 本领域技术人员 将会更清楚地了解本发明的各个方面。 本领域技术人员应当理解的是, 这些附图仅仅用于配合具体实施方式说明本发明的技术方案, 而并非 意在对本发明的保护范围构成限制。 其中, After reading the specific embodiments of the present invention with reference to the accompanying drawings, those skilled in the art Various aspects of the invention will be more clearly understood. It should be understood by those skilled in the art that these drawings are only intended to illustrate the technical solutions of the present invention, and are not intended to limit the scope of the present invention. among them,
图 1是根据本发明实施例的动态调度批处理任务的方法的流程图; 图 2是根据本发明实施例的动态调度批处理任务的方法的图示; 图 3是根据本发明实施例的动态调度批处理任务的装置的示意图。 具体实施方式  1 is a flow chart of a method of dynamically scheduling a batch task according to an embodiment of the present invention; FIG. 2 is a diagram of a method of dynamically scheduling a batch task according to an embodiment of the present invention; FIG. 3 is a dynamic diagram according to an embodiment of the present invention. Schematic diagram of a device that schedules batch tasks. detailed description
下面参照附图, 详细描述本发明的具体实施方式。 为了清楚和简 明, 这里省略了关于本领域公知的功能和结构的描述, 否则它们将使 本发明的主题不清楚。  Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Descriptions of well-known functions and structures are omitted herein for clarity and conciseness, otherwise they will obscure the subject matter of the present invention.
如图 1 所示, 其是根据本发明实施例的动态调度批处理任务的方 法的流程图, 其中:  As shown in FIG. 1, it is a flowchart of a method of dynamically scheduling a batch task according to an embodiment of the present invention, wherein:
在步骤 S1中, 将批处理任务序列化为由任务节点组成的流程。 作 为示例, 可以将任务拆解成多个具备数据完整性的节点单元, 然后通 过配置将这些节点单元拼接成可供调度的流程, 所产生的流程对应于 原始任务。 任务节点可以是的最小程序单元, 这种单元是可以独立执 行的逻辑单元。  In step S1, the batch task is serialized into a process consisting of task nodes. As an example, the task can be disassembled into multiple node units with data integrity, and then these node units are spliced into a process that can be scheduled by the configuration, and the generated process corresponds to the original task. The smallest program unit that a task node can be. This unit is a logical unit that can be executed independently.
在步骤 S2中, 根据任务节点的信息动态调度流程。 任务节点的信 息可以包括该任务节点的执行状态和执行条件。 每个可独立执行的任 务节点的执行状态可以包括准备执行、 正在执行和执行完成。 执行条 件可以包括执行该任务节点的相应的资源消耗数据, 用于描述其资源 需求状况或者还可以包括该任务节点的执行时间和在流程中该任务节 点与其它任务节点的依赖关系。  In step S2, the flow is dynamically scheduled according to the information of the task node. The information of the task node may include an execution state and an execution condition of the task node. The execution status of each independently executable task node may include preparation for execution, execution, and execution completion. Execution conditions may include performing corresponding resource consumption data for the task node to describe its resource demand status or may also include execution time of the task node and dependencies of the task node with other task nodes in the process.
现在参考图 2,其是根据本发明实施例的动态调度批处理任务的方 法的图示。如图所示,第一流程和第二流程可以由多个这样任务节点 A、 B、 C, D、 E、 F以串并行方式组成。 根据本发明的思想, 流程的启动、 暂停及续作均以任务节点为单元实施, 节点的数据完整性保证了流程 调度可以在多个任务之间自由地进行, 大大增加了调用的灵活度。 例 P T/CN2011/002208 如, 在图 2中, 根椐任务节点 D与其它节点例如节点 B和 C的依赖关 系可知第一流程中的任务节点 D的执行条件是任务节点 B和 C执行完 成, 那么可以据此设置任务节点 D的执行条件, 例如可以将任务节点 D的执行时间设置在任务节点 B和 C的执行时间之后。 可替代地, 也 可以通过判断任务节点任务节点 B和 C的执行状态来触发任务节点 D 的执行。 当需要进行暂停操作时, 可以根据任务节点的资源消耗数据 确定要释放的任务节点, 由此任务节点信息还为暂停等操作的资源释 放提供了前提条件。 Reference is now made to Fig. 2, which is an illustration of a method of dynamically scheduling a batch task, in accordance with an embodiment of the present invention. As shown, the first process and the second process may be composed of a plurality of such task nodes A, B, C, D, E, F in a serial-parallel manner. According to the idea of the present invention, the start, pause and sequel of the process are implemented by the task node, and the data integrity of the node ensures that the process scheduling can be freely performed among multiple tasks, which greatly increases the flexibility of the call. example PT/CN2011/002208 For example, in FIG. 2, the dependency relationship between the task node D and other nodes, such as nodes B and C, can be known that the execution condition of the task node D in the first process is that the task nodes B and C are executed, then The execution condition of the task node D can be set accordingly, for example, the execution time of the task node D can be set after the execution time of the task nodes B and C. Alternatively, the execution of the task node D can also be triggered by judging the execution states of the task node task nodes B and C. When a pause operation is required, the task node to be released may be determined according to resource consumption data of the task node, and thus the task node information also provides a prerequisite for resource release of operations such as suspension.
图 3是根据本发明实施例的动态调度批处理任务的装置的示意图。 如图所示, 该装置包括设置模块、 控制模块和资源监控模块, 其中, 设置模块用于任务分解成多个任务节点, 以及将所述多个任务节点组 成流程 1—4。 控制模块用于根据所述每个任务节点的信息以任务节点 为单位控制流程 1—4。 任务节点的信息可以包括任务节点的执行状态 和执行条件。 资源监控模块用于获取系统资源信息, 然后控制模块根 据系统资源信息控制所述每个任务节点的执行。 例如, 可以通过操作 系统的 API获取系统资源信息并将这些资源信息提供作为流程调度的 参考条件。 例如, 可以为流程设置优先级, 当系统可用资源超出警戒 线的时候, 暂停优先级别低的流程; 当系统资源充裕的时候, 及时将 已暂停的流程续作。 由此, 可以根据资源信息为流程的调度决策, 以 及为流程的实时调度做出预判。 在保障程序高效运行的同时解决了任 务间的资源沖突。 作为示例, 任务节点的资源消耗数据描述如下表 1 所示:  3 is a schematic diagram of an apparatus for dynamically scheduling a batch task in accordance with an embodiment of the present invention. As shown in the figure, the device comprises a setting module, a control module and a resource monitoring module, wherein the setting module is used for decomposing tasks into a plurality of task nodes, and the plurality of task nodes are grouped into a process 1-4. The control module is configured to control the process 1-4 in units of task nodes according to the information of each task node. The information of the task node may include an execution state and an execution condition of the task node. The resource monitoring module is configured to acquire system resource information, and then the control module controls execution of each task node according to system resource information. For example, system resource information can be obtained through the API of the operating system and provided as a reference condition for process scheduling. For example, priority can be set for the process. When the available resources of the system exceed the warning line, the process with low priority is suspended. When the system resources are sufficient, the suspended process is resumed in time. Thus, the resource information can be used as a scheduling decision for the process, and a pre-judgment can be made for the real-time scheduling of the process. Resolve resource conflicts between tasks while ensuring efficient operation of the program. As an example, the resource consumption data for a task node is described in Table 1 below:
Figure imgf000006_0001
Figure imgf000006_0001
(表 1 )  (Table 1 )
假设, 当前各项资源警戒值均为 10, 那么产生以下调度决策: 1) A与 C不能并存 CPU需求超过警戒值 2) A与 B不能并存 内存指标超过警戒值 Assume that the current resource alert value is 10, then the following scheduling decisions are generated: 1) A and C cannot coexist CPU demand exceeds warning value 2) A and B cannot coexist memory index exceeds warning value
3) B与 C可共存 各项指标总和低于 10  3) B and C can coexist. The sum of the indicators is lower than 10
例如, 两个运行中的流程将要同时启动不能并存的任务节点, 那 么控制模块会根据流程优先级做出调度决策, 次优的流程将会被暂停。  For example, if two running processes are to start a task node that cannot coexist, the control module will make a scheduling decision based on the process priority, and the suboptimal process will be suspended.
通过以上实施方式的描述, 本领域的技术人员可以清楚地了解到 本发明可借助软件结合硬件平台的方式来实现, 当然也可以全部通过 硬件来实施。 本领域中的普通技术人员能够理解, 在不偏离本发明的 精神和范围的情况下, 还可以对本发明的具体实施方式作各种变更和 替换。 这些变更和替换都落在本发明权利要求书所限定的范围内。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software in combination with a hardware platform, and of course, all can be implemented by hardware. It will be apparent to those skilled in the art that various changes and substitutions may be made in the particular embodiments of the invention without departing from the spirit and scope of the invention. Such changes and substitutions are intended to fall within the scope of the appended claims.

Claims

权 利 要 求 Rights request
1、 一种用于动态调度批处理任务的方法, 所述任务包括笫一任务 和第二任务, 其特征在于, 该方法包括以下步骤: A method for dynamically scheduling a batch task, the task comprising a first task and a second task, the method comprising the steps of:
第一步骤, 将所述第一任务和第二任务分解成多个任务节点, 以 及将所述多个任务节点组成对应于所述第一任务的第一流程和对应于 所述第二任务的笫二流程;  a first step of decomposing the first task and the second task into a plurality of task nodes, and grouping the plurality of task nodes into a first process corresponding to the first task and corresponding to the second task Second process;
第二步骤, 根据所述每个任务节点的信息以任务节点为单位控制 所述第一流程和第二流程的执行, 所述信息包括任务节点的执行状态 和执行条件。  In a second step, the execution of the first process and the second process is controlled in units of task nodes according to the information of each task node, where the information includes an execution state and an execution condition of the task node.
2、 如权利要求 1所述的方法, 其特征在于,  2. The method of claim 1 wherein:
该方法还包括获取系统资源信息的步骤;  The method also includes the step of obtaining system resource information;
所述第二步骤进一步包括根据系统资源信息控制所述每个任务节 点的执行。  The second step further includes controlling execution of each of the task nodes based on system resource information.
3、 如权利要求 1或 2所述的方法, 其特征在于,  3. The method of claim 1 or 2, wherein
所述第一步骤进一步包括设置所述第一流程和第二流程的优先 级;  The first step further includes setting priorities of the first process and the second process;
所述第二步骤进一步包括根据所述优先级控制所述第一流程和第 二流程的执行。  The second step further includes controlling execution of the first and second flows in accordance with the priority.
4、 一种用于动态调度批处理任务的装置, 所述任务包括第一任务 和第二任务, 其特征在于, 该装置包括设置模块和控制模块, 其中, 所述设置模块用于将所述第一任务和第二任务分解成多个任务节 点, 以及将所述多个任务节点组成对应于所述第一任务的第一流程和 对应于所述第二任务的第二流程;  A device for dynamically scheduling a batch task, the task comprising a first task and a second task, the device comprising a setting module and a control module, wherein the setting module is configured to: Decomposing the first task and the second task into a plurality of task nodes, and composing the plurality of task nodes into a first process corresponding to the first task and a second process corresponding to the second task;
所述控制模块用于根据所述每个任务节点的信息以任务节点为单 位控制所述第一流程和第二流程的执行, 所述信息包括任务节点的执 行状态和执行条件。  The control module is configured to control execution of the first process and the second process by using a task node according to the information of each task node, where the information includes an execution state and an execution condition of the task node.
5、 如权利要求 4所述的装置, 其特征在于,  5. Apparatus according to claim 4 wherein:
该装置还包括资源监控模块, 用于获取系统资源信息; 所迷控制模块进一步被配置成根据系统资源信息控制所述每个任 务节点的执行。 The device further includes a resource monitoring module, configured to acquire system resource information; The control module is further configured to control execution of the each task node based on system resource information.
6、 如权利要求 4或 5所述的装置, 其特征在于,  6. Apparatus according to claim 4 or claim 5 wherein:
所述设置模块进一步被配置成设置所述第一流程和第二流程的优 先级;  The setting module is further configured to set a priority of the first process and the second process;
所述控制模块进一步被配置成根据所述优先级控制所述第一流程 和第二流程的执行。  The control module is further configured to control execution of the first and second flows in accordance with the priority.
7、 如权利要求 5所述的装置, 其特征在于, 所述任务节点是具备 数据完整性的最小程序单元。  7. Apparatus according to claim 5 wherein said task node is a minimum program unit having data integrity.
PCT/CN2011/002208 2010-12-29 2011-12-29 Method and device for dynamically scheduling batch processing tasks WO2012088766A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010106191413A CN102541648A (en) 2010-12-29 2010-12-29 Method and device for dynamically scheduling batch processing task
CN201010619141.3 2010-12-29

Publications (1)

Publication Number Publication Date
WO2012088766A1 true WO2012088766A1 (en) 2012-07-05

Family

ID=46348604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/002208 WO2012088766A1 (en) 2010-12-29 2011-12-29 Method and device for dynamically scheduling batch processing tasks

Country Status (2)

Country Link
CN (1) CN102541648A (en)
WO (1) WO2012088766A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117359A (en) * 2017-06-22 2019-01-01 深圳市中兴微电子技术有限公司 Serialize test method and device
CN112230572B (en) * 2019-06-30 2021-09-03 比亚迪股份有限公司 Integrated control chip, control method thereof, storage medium, and vehicle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0613085A2 (en) * 1993-02-26 1994-08-31 Nippondenso Co., Ltd. Multitask processing unit
CN101566957A (en) * 2008-04-25 2009-10-28 恩益禧电子股份有限公司 Information processing system and task execution control method
CN101593088A (en) * 2008-05-28 2009-12-02 鸿富锦精密工业(深圳)有限公司 Concentrating type print system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0613085A2 (en) * 1993-02-26 1994-08-31 Nippondenso Co., Ltd. Multitask processing unit
CN101566957A (en) * 2008-04-25 2009-10-28 恩益禧电子股份有限公司 Information processing system and task execution control method
CN101593088A (en) * 2008-05-28 2009-12-02 鸿富锦精密工业(深圳)有限公司 Concentrating type print system and method

Also Published As

Publication number Publication date
CN102541648A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
US7441240B2 (en) Process scheduling apparatus, process scheduling method, program for process scheduling, and storage medium recording a program for process scheduling
US8739171B2 (en) High-throughput-computing in a hybrid computing environment
US8141079B2 (en) Dynamic application scheduler in a polling system
WO2009147802A1 (en) Priority controller and priority control method
US20120054771A1 (en) Rescheduling workload in a hybrid computing environment
KR101686010B1 (en) Apparatus for fair scheduling of synchronization in realtime multi-core systems and method of the same
WO2017080273A1 (en) Task management methods and system, and computer storage medium
CN107491346B (en) Application task processing method, device and system
CN111367679A (en) Artificial intelligence computing power resource multiplexing method and device
CN112087503A (en) Cluster task scheduling method, system, computer and computer readable storage medium
CN106776395B (en) A kind of method for scheduling task and device of shared cluster
CN111026519A (en) Distributed task priority scheduling method and system and storage medium
US8132171B2 (en) Method of controlling thread access to a synchronization object
US9128754B2 (en) Resource starvation management in a computer system
US8977752B2 (en) Event-based dynamic resource provisioning
US9229716B2 (en) Time-based task priority boost management using boost register values
CN109766168B (en) Task scheduling method and device, storage medium and computing equipment
WO2012088766A1 (en) Method and device for dynamically scheduling batch processing tasks
US9766940B2 (en) Enabling dynamic job configuration in mapreduce
CN111989651A (en) Method and device for managing kernel service in multi-core system
JP2015121963A (en) Information processing system, monitoring method, and program
JPWO2018211865A1 (en) Vehicle control device
JP2010186347A (en) System, method and program for scheduling job
Belagali et al. Implementation and validation of dynamic scheduler based on LST on FreeRTOS
Shao et al. Chord: Checkpoint-based scheduling using hybrid waiting list in shared clusters

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11853809

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 04/09/2013)

122 Ep: pct application non-entry in european phase

Ref document number: 11853809

Country of ref document: EP

Kind code of ref document: A1