Task distribution method and device, computer equipment and storage medium

A task distribution and computer program technology, applied in the computer field, can solve the problems of inability to balance the task processing volume, low server processing efficiency, low server utilization, etc., to avoid excessive consumption, balance the number of tasks processed, and protect the service life. Effect

Pending Publication Date: 2019-10-15
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of this application is to provide a task distribution method, device, computer equipment, and storage medium, aiming to solve the problem that the existing task scheduling method cannot ba

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, computer equipment and storage medium
  • Task distribution method and device, computer equipment and storage medium
  • Task distribution method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0052] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relationship between the components in a certain posture (as shown in the drawings). If the specific posture changes, the relative positional relationship, movement conditions, etc., the directional indication will also change accordingly, and the connection may be a direct connection or an indirect connection.

[0053] refer to figure 1 , the task distribution method of an embodiment of the present application, including:

[0054] S1: Receive a first task request sent by a client, where the first task request includes a data resource request and / or a service operation request;

[0055] S2: Obtain the priority ranking of each server ...

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 invention discloses a task distribution method and device, computer equipment and a storage medium. The task distribution method comprises the steps: obtaining the priority sequence of all serversin a server cluster, and screening a first server with the highest priority from the priority sequence; judging whether the resource occupancy rate of the first server is smaller than a preset resource occupancy rate threshold value or not; if not, sequentially traversing other servers except the first server according to the priority ranking, and judging whether the resource occupancy rate of the currently traversed server is smaller than a resource occupancy rate threshold value or not when each server is traversed; and if so, stopping traversing, and distributing the first task request tothe traversed server. According to the task distribution method, the received task requests are dynamically adjusted according to the priority ranking and resource use conditions of the servers, so that the task processing quantity among the servers is effectively balanced, and the processing efficiency of the first task request is ensured, and the utilization rate of each server is increased.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a task distribution method, device, computer equipment and storage medium. Background technique [0002] Task scheduling is a common application technology in computer server software design. Through task scheduling, different task requests can be assigned to different servers for execution, so as to complete the business processing process for task requests. The existing task scheduling method generally adopts a random scheduling strategy. When the task distribution server receives a task request sent by the user through the client, it will randomly send the task request to any server in the server cluster for processing. However, the above randomly assigned task scheduling method does not take into account the fact that different servers have different processing capabilities, which may lead to a small number of tasks processed by servers with high processing ca...

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/50
CPCG06F9/4881G06F9/5038G06F2209/484G06F2209/5021Y02D10/00
Inventor 易杉峰
Owner PING AN TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products