A task state updating method, device, apparatus and storage medium

By introducing a target queue in front of the database to handle task status updates from multiple data centers, the problem of excessive database pressure was solved, and efficient task status updates were achieved.

CN115328925BActive Publication Date: 2026-07-17GUANGZHOU WERIDE TECH LTD CO

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU WERIDE TECH LTD CO
Filing Date
2022-08-10
Publication Date
2026-07-17

Smart Images

  • Figure CN115328925B_ABST
    Figure CN115328925B_ABST
Patent Text Reader

Abstract

The application discloses a task state updating method and device, equipment and a storage medium. All state messages in a target queue are acquired, each state message is generated by a work unit, and each state message is sequentially inserted into the target queue according to a time of generation. Based on each state message in the target queue, each terminated task is determined, and at least one state message is included in the terminated task. The final state of each terminated task is determined, and the final state of each terminated task is updated to a database to complete updating of a task state of a task executed by the work unit. In the scheme, the state messages of each task are inserted into the queue in the form of the queue, the updating of the task state is realized through the queue, the database directly updates the task state, and the burden of the database is reduced.
Need to check novelty before this filing date? Find Prior Art