Resource scheduling method, device, equipment and readable storage medium
A technology for resource scheduling and computing resources, applied in the directions of resource allocation, multiprogramming device, program control design, etc., can solve problems such as inability to allocate computing resources accurately, reduce task execution efficiency of edge servers, etc., to improve task execution efficiency, The effect of accurate and reasonable allocation and efficient execution of tasks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] Please refer to figure 1 , figure 1 It is a flowchart of a resource scheduling method provided by an embodiment of the present invention. The method includes:
[0054] S101: Obtain execution information of a new task, and input the execution information into a task queue.
[0055]Specifically, when a user uses an artificial intelligence application on a terminal, the terminal will send task information of a new task to the edge server. This embodiment does not limit the type of terminal used by the user, for example, it may be a smart phone; or it may be a tablet computer. This embodiment does not limit the application of the artificial intelligence application, and further, this embodiment does not specify the application of the artificial intelligence application, that is, the task type of the new task. For example, it can be image recognition; or it can be text recognition; it can also be speech recognition, and the execution time of different types of tasks can ...
Embodiment 2
[0074] Before using the method in Embodiment 1 to allocate computing resources of the edge server, it is necessary to establish a model parameter table in advance, so as to use the model parameter table to obtain execution information of new tasks. For details, please refer to figure 2 , figure 2 It is a flow chart of another resource scheduling method provided by the embodiment of the present invention.
[0075] S201: Obtain a task model, and calculate a calculation amount corresponding to the task model according to the structure of the task model.
[0076]Different task models for performing different tasks are obtained, and each task model is decomposed according to neural network layers, and neural network layer information of each neural network layer is obtained. This embodiment does not limit the method for obtaining neural network layer information. For example, a network layer parameter table may be preset, and network layer information of different neural networ...
Embodiment 3
[0083] The resource scheduling device provided by the embodiment of the present invention is introduced below, and the resource scheduling device described below and the resource scheduling method described above may be referred to in correspondence.
[0084] Please refer to Figure 5 , Figure 5 A schematic structural diagram of a resource scheduling device provided by an embodiment of the present invention, including:
[0085] Execution information acquisition module 100, configured to acquire the execution information of the new task, and input the execution information into the task queue;
[0086] The current reward calculation module 200 is used to obtain the current state of the task queue, and use the current state to calculate the current reward;
[0087] The task action acquisition module 300 is used to input the current reward and the current state into the deep reinforcement neural network model to obtain the current task action;
[0088] The computing resource ...
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