Two-level fault-tolerant multimedia distributed task processing method
A technology of distributed tasks and processing methods, applied in the field of multimedia distributed task processing, can solve the problems of full computing resources and difficult to take over tasks of other nodes.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Please refer to figure 2 , figure 2 The processing of continuing the task after the computing node restarts within a predetermined time after power failure is given, and the task processing includes task recovery and task synchronization. This process ensures the consistency of task information between computing nodes and scheduling nodes when realizing automatic recovery of unfinished tasks.
[0042] S21. The video processing algorithm module of the computing node loads unfinished tasks of the node from the database, and resumes execution of the tasks; and sends a notification to the cluster middleware module after all tasks resume execution.
[0043] S22. After receiving the notification, the cluster middleware module acquires currently executed task information from the video processing algorithm module, and the task information includes a task ID.
[0044] S23. The video processing algorithm module returns task information of all currently executed tasks.
[00...
Embodiment 2
[0054] Please refer to image 3 , image 3 The process of task recovery and task synchronization in which the video processing algorithm module process of the computing node crashes and resumes within a predetermined time is given.
[0055] S31. The video processing algorithm module of the computing node loads unfinished tasks of the node from the database, and resumes task execution; and sends a notification to the cluster middleware module after all tasks resume execution.
[0056] S32. After receiving the notification, the cluster middleware module acquires currently executed task information (including task ID, task handle, etc.) from the video processing algorithm module.
[0057] S33. The video processing algorithm module returns task information of all currently executed tasks.
[0058] S34. The cluster middleware module judges whether each task ID in all returned tasks can match the task ID recorded in its own task control block, if yes, then go to step S35, otherwis...
Embodiment 3
[0063] Embodiment 3 provides the situation that after the network between the computing node and the scheduling node is disconnected, it recovers within a predetermined time. After the network is restored, for the processing flow of computing nodes, please refer to Figure 4 .
[0064] S41. The cluster middleware module of the computing node sets an out-of-sync flag on all task control blocks of itself.
[0065] S42. The cluster middleware module initiates registration to the scheduling node.
[0066] S43. After the registration is successful, the scheduling node sends a task synchronization message to it, and the message carries task information of all unfinished tasks of the computing node recorded by the scheduling node.
[0067] S44. The computing node judges whether the task ID recorded in each task control block of the computing node can match the task ID in the synchronization message. If yes, execute step S45, otherwise execute step S46.
[0068] S45. Clear the out-...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 