发明名称 |
Computer Device, Method, and Apparatus for Scheduling Business Flow |
摘要 |
A computer device, a method, and an apparatus for business flow scheduling. The method for business flow scheduling includes determining that a transaction savepoint is configured on a to-be-scheduled node, creating an asynchronous task according to the transaction savepoint, where the asynchronous task includes a to-be-scheduled task that is on the to-be-scheduled node and that is after the transaction savepoint, using a first thread to execute a transaction that includes a task in the flow other than the asynchronous task, and submitting the transaction executed by the first thread in order to ensure data consistency, and using a second thread to execute the asynchronous task in order to implement transaction splitting between task nodes. |
申请公布号 |
US2016260040(A1) |
申请公布日期 |
2016.09.08 |
申请号 |
US201615153204 |
申请日期 |
2016.05.12 |
申请人 |
Huawei Technologies Co., Ltd. |
发明人 |
Zhou Junjie;Murthy Vemana Narasimha;Haveri Upasana |
分类号 |
G06Q10/06 |
主分类号 |
G06Q10/06 |
代理机构 |
|
代理人 |
|
主权项 |
1. A flow scheduling apparatus configured to execute a flow, wherein the flow comprises at least one node, and wherein the flow scheduling apparatus comprises:
a processor configured to:
determine that a transaction savepoint is configured on a to-be-scheduled node;create an asynchronous task according to the transaction savepoint, wherein the asynchronous task comprises a to-be-scheduled task configured on the to-be-scheduled node, and wherein the to-be-scheduled task is scheduled after the transaction savepoint;execute, by a first thread, a transaction comprising a first task in the flow, wherein the first task and the asynchronous task are different;submit the transaction executed by the first thread; andexecute, by a second thread, the asynchronous task. |
地址 |
Shenzhen CN |