Task processing method and device, storage medium and electronic device
The embodiment of the invention provides a task processing method and device, a storage medium and an electronic device, and the method comprises the steps: receiving a task request message which comprises a target task; a target device score matched with the task amount of the target task is determ...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a task processing method and device, a storage medium and an electronic device, and the method comprises the steps: receiving a task request message which comprises a target task; a target device score matched with the task amount of the target task is determined from N device scores of the N processing devices, the device scores are used for representing the processing capacity of the processing devices, and N is a natural number larger than or equal to 1; and processing the target task by using a target processing device corresponding to the target device score, the target processing device being a device in the N processing devices. According to the invention, the problem of low resource allocation efficiency in related technologies is solved.
本发明实施例提供了一种任务处理方法及装置、存储介质、电子装置,该方法包括:接收任务请求消息,其中,任务请求消息中包括目标任务;从N个处理设备的N个设备分值中确定与目标任务的任务量匹配的目标设备分值,其中,设备分值用于表示处理设备的处理能力,N是大于或等于1的自然数;利用目标设备分值对应的目标处理设备处理目标任务,其中,目标处理设备是N个处理设备中的设备。通过本发明,解决了相关技术中资源分配效率低的问题。 |
---|