Task scheduling method and device in peer-to-peer network
A task scheduling and peer-to-peer network technology, applied in the network field, can solve problems such as freezes and poor user experience, and achieve the effects of reducing freezes, increasing possibilities, and improving resource sharing performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0075] Embodiment 1. A task scheduling method in a peer-to-peer network, such as figure 1 As shown, including steps S110-S120:
[0076] S110. According to the processing progress information of each upload task in progress, judge whether each upload task in progress can be completed within the task time; wherein, the upload task in progress is an upload that has been assigned to the upload node but has not yet been completed Task;
[0077] S120. Scheduling the upload task that is judged to be unable to be completed within the task time.
[0078] In this embodiment, an upload task has been assigned but not completed, which means that the upload task has been sent to the upload node, but the resources corresponding to the upload task have not been received; for example, a session may have been established, but the session has not yet ended upload task.
[0079] In this embodiment, a "prejudgment" for judging whether each upload task can be completed within the task time is to...
Embodiment 2
[0212] Embodiment 2. A task scheduling device in a peer-to-peer network, comprising: a processor and a memory;
[0213] The memory is used to store a program for task scheduling; when the program for task scheduling is read and executed by the processor, the following operations are performed:
[0214] According to the processing progress information of each upload task in progress, it is judged whether each upload task in progress can be completed within the task time; wherein, the upload task in progress is an upload task that has been assigned to the upload node but has not yet been completed;
[0215] Schedule upload tasks that are judged to be unable to be completed within the task time.
[0216] In an implementation manner, the scheduling of the upload task judged to be unable to be completed within the task time may include:
[0217] Reclaim the remaining tasks of the upload tasks that are judged to be unable to be completed within the task time, and distribute them to...
Embodiment 3
[0231] Embodiment 3, a task scheduling device in a peer-to-peer network, such as Figure 4 shown, including:
[0232] The judging module 31 is used to judge whether each uploading task in progress can be completed within the task time according to the processing progress information of each uploading task in progress; wherein, the uploading task in progress is assigned to the uploading node but Unfinished upload tasks;
[0233] The scheduling module 32 is configured to schedule upload tasks that are judged to be unable to be completed within the task time.
[0234] In an implementation manner, the scheduling module for scheduling the upload task that is judged to be unable to be completed within the task time may include:
[0235] The scheduling module recovers the remaining tasks of the upload tasks that are judged to be unable to be completed within the task time, and distributes them to other idle upload nodes.
[0236] In this implementation, the scheduling module for s...
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