A task scheduling method for a computer network without a central node
A computer network and central node technology, applied in the direction of data exchange network, digital transmission system, electrical components, etc., can solve the problem that the task scheduling method is not applicable and the consideration of the task scheduling method is single and not comprehensive enough
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] A task scheduling method for a computer network without a central node provided by the present invention includes the following steps:
[0036] Step 1. Establish a computer network without a central node. There are k nodes in the established network, and the k nodes are numbered from 1 to k, denoted as N 1 ~N k .
[0037] Each node stores a node load table, which records the real-time load status corresponding to all nodes in the network, where the load status includes the number of tasks that have been started, the remaining amount of CPU available, the remaining amount of memory available, and the hard disk Availability remaining.
[0038] In this embodiment, each node communicates regularly to obtain the real-time load status of all nodes and update the node load table. In this embodiment, in order to enable the node load table to identify the nodes, the node load table also includes node number, IP address, power on / off status and started task information.
[00...
Embodiment 2
[0053] According to the solution provided in Example 1, although steps 1 to 10 have achieved the purpose of selecting the optimal node and using the optimal node to start task t, if task t fails and is interrupted during the running process, it needs to be run by The optimal node for the task detects the failure of the task and runs the task again. The specific process is as follows:
[0054] In step 10, after the optimal node starts task t, the following steps are also included:
[0055] The optimal node monitors the running status of the task t in real time. When the task t runs abnormally, it saves the task running breakpoint, and the optimal node restarts the task t, and makes the task t run from the breakpoint.
Embodiment 3
[0057] According to the solution provided in Embodiment 1, if during the running of task t, when the optimal node running the task t fails and shuts down abnormally, it is necessary to reselect the optimal node before executing the task. Therefore, it is necessary to use the monitoring node to monitor the optimal node. If the optimal node is abnormally shut down, the monitoring node is used to broadcast and update the status. Other nodes in the network obtain the tasks running on the faulty node according to the node load table. According to the recorded The task configuration information and the load information of all nodes in the network at the current moment are used to determine whether it is the optimal node for the current task operation, and the optimal node restarts the task operation. Therefore, in step 10, after the optimal node starts task t, the following steps are also included:
[0058] Set the monitoring node to monitor the state of the optimal node in real tim...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com