Unlock instant, AI-driven research and patent intelligence for your innovation.

Task distribution method and device, electronic equipment and storage medium

A technology of task distribution and electronic equipment, applied in the field of information processing, can solve problems such as low task distribution efficiency and resource waste, and achieve the effect of avoiding resource waste and improving efficiency

Active Publication Date: 2020-06-19
RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventor found that there are at least the following problems in the related technology: a lot of resources are wasted in order to grab tasks between various process services, and the efficiency of task distribution is not high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Task distribution method and device, electronic equipment and storage medium
  • Task distribution method and device, electronic equipment and storage medium
  • Task distribution method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present invention, and the various embodiments can be combined and referred to each other on the premise of no contradiction.

[0023] In the field of ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention relates to the technical field of information processing, and discloses a task distribution method and device, electronic equipment and a storage medium. The method comprises the steps of obtaining a scheduling task from a preset first message queue in response to a task request; adding the scheduling task into a preset second message queue; processing the scheduling task; if it is detected that all the scheduling tasks in the first message queue are taken out, the first message queue and the second message queue are exchanged, resource waste can be reduced, andthe task distribution efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of information processing, and in particular to a task distribution method and device, electronic equipment and a storage medium. Background technique [0002] In the service architecture, for high availability, high throughput and other goals, cluster deployment is often done. A process cluster often includes multiple identical service processes, and each service process can provide external services independently. When each service process is processing a process task, if multiple service processes hit the same task at the same time, they will often obtain the processing task by grabbing a lock. [0003] Lock-grabbing task processing means that all service processes in the cluster have obtained all scheduling tasks. Before each service process schedules tasks, it first obtains a distributed task lock for the task. Scheduling, if the lock is not obtained, it means that the task has been processed ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/48G06F9/54
CPCG06F9/4881G06F9/546G06F2209/548Y02D10/00
Inventor 刘兴
Owner RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD