Task parallel processing method and device
A parallel processing and task technology, applied in the Internet field, can solve problems such as task execution speed reduction and resource waste, and achieve the effect of improving resource utilization and task processing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] figure 2 It is a schematic diagram of a preferred structure of the task parallel processing device 200 according to the embodiment of the present application. Preferably, the device in this embodiment is located on the server 102 or the client 104 .
[0036] preferred, such as figure 2 A preferred structural block diagram of the task parallel processing apparatus shown may include: a first determining unit 202 , a judging unit 204 , a second determining unit 206 , a first dividing unit 208 , and a processing unit 210 . These structures are described in detail below.
[0037] The first determining unit 202 is configured to determine the number M of tasks to be processed, where M is a positive integer;
[0038] The judging unit 204, coupled with the first determining unit 202, is used to judge whether the pending tasks can be divided into multiple pending task sets according to the number M, wherein each pending task set includes multiple pending tasks and each the s...
Embodiment 2
[0057] exist Figure 2-Figure 5 Based on the task parallel processing device shown, the present application provides a preferred task parallel processing method. Such as Figure 6 As shown, the method may include the following steps:
[0058] Step S602: Determine the number M of tasks to be processed, where M is a positive integer;
[0059] Step S604: Determine whether the pending tasks can be divided into multiple pending task sets according to the number M, wherein each pending task set includes multiple pending tasks with the same number;
[0060] That is, according to the number of tasks to be processed, it is determined whether it can be divided into multiple subtask sets on average. Taking the number of tasks 40 and 43 as an example, when the number of tasks is 40, it can be divided into 5 subtasks on average. There are 8 task sets in each set. However, when the number of tasks is 43, it can only be divided into 43 task sets on average, and each task set has only one ...
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