Method and device for controlling execution of asynchronous tasks
A technology of asynchronous tasks and task pools, applied in the field of communication, can solve problems such as inefficiency and affect task execution, and achieve the effect of improving execution efficiency and reducing execution time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] figure 1 It is a flowchart of a method for controlling the execution of asynchronous tasks provided by the present invention. like figure 1 As shown, the methods for controlling the execution of asynchronous tasks include:
[0044] S10: Send task requests corresponding to multiple asynchronous tasks according to the page request;
[0045] S11: Temporarily store the task requests and sort the task requests according to the predetermined order;
[0046] S12: According to a predetermined algorithm, assign more than two task requests to threads corresponding to the task pool to execute corresponding asynchronous tasks;
[0047] Wherein, there are at least two threads in the task pool.
[0048] In a specific implementation, the above steps are jointly completed through a cloud platform and an interface, wherein the cloud platform is a resource integration platform for managing various virtualized resources. By adding a variety of physical resources, virtualizing the phy...
Embodiment 2
[0064] figure 2 It is a structural diagram of an apparatus for controlling the execution of asynchronous tasks provided by the present invention. like figure 2 As shown, the means for controlling the execution of asynchronous tasks include:
[0065] The task request module 10 is configured to send task requests corresponding to multiple asynchronous tasks according to the page request;
[0066] Task stack 11, for temporarily storing task requests and sorting task requests according to a predetermined order;
[0067] The task assignment module 12 is configured to assign more than two task requests to threads corresponding to the task pool 13 according to a predetermined algorithm to execute corresponding asynchronous tasks;
[0068] Wherein, there are at least two threads in the task pool 13 .
[0069] In a specific implementation, the device for controlling the execution of asynchronous tasks is jointly completed through a cloud platform and an interface, wherein the clo...
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