Method and device for task scheduling
A task scheduling and task technology, applied in the computer field, can solve problems such as long time required for task execution and poor overall system performance, and achieve the effect of improving overall performance and reducing time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] The embodiment of the present invention provides a method for task scheduling, see figure 1 , the method flow includes:
[0060] 101: Obtain multiple tasks after the job to be processed is decomposed, and the task type of each task is a Map task or a Reduce task.
[0061] 102: Select a task to be scheduled from multiple tasks, and after receiving the task request sent by the working node, select and execute it from the working node that sent the task request according to the task type of the task to be scheduled and the network available bandwidth information obtained in advance node.
[0062] Further, before selecting the execution node from the working nodes sending the task request according to the task type of the task to be scheduled and the network available bandwidth information obtained in advance, it also includes:
[0063] Obtain network topology information in advance, and the network topology information includes at least the connection relationship betwee...
Embodiment 2
[0080] In order to reduce the time required for executing tasks in the MapReduce system, an embodiment of the present invention provides a task scheduling method, which is applied to the MapReduce system, and the MapReduce system includes a terminal, a scheduling node, and multiple working nodes. Wherein, the scheduling node can be a server, which is used to manage the task scheduling of the entire MapReduce system; the working node is a server or other equipment, and is used to execute the tasks sent by the scheduling node. In combination with the content of the first embodiment above, see figure 2 , the method flow includes:
[0081] 201: The scheduling node obtains multiple tasks after the job to be processed is decomposed, and the task type of each task is a Map task or a Reduce task.
[0082] Wherein, the jobs to be processed may be jobs processed in parallel. The scheduling node can directly obtain multiple tasks after the pending job is decomposed; it can also obtain...
Embodiment 3
[0119] An embodiment of the present invention provides a task scheduling device, and the device is used to execute the task scheduling method provided in the first or second embodiment above. see Figure 4 , the device consists of:
[0120] The first acquiring module 401 is configured to acquire multiple tasks after the job to be processed is decomposed, and decompose the job to be processed into multiple tasks, and the task type of each task is a Map task or a Reduce task;
[0121] The first selection module 402 is configured to select a task to be scheduled from the multiple tasks acquired by the first acquisition module 401;
[0122] The second selection module 403 is configured to, after receiving the task request sent by the working node, select from the working node sending the task request according to the task type of the task to be scheduled selected by the first selection module 402 and the network available bandwidth information obtained in advance Select the exec...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com