Concurrent task scheduling processing method and device, equipment and medium

A technology for task scheduling and scheduling processing, applied in multi-programming devices, electrical digital data processing, program control design, etc., can solve problems such as poor flexibility, and achieve the effect of effective processing and improved flexibility

Active Publication Date: 2020-06-02
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the above task scheduling method is only processed according to the receiving time, which may sometimes cause urgent tasks to be blocked and put on hold, so the flexibility of this task scheduling scheme is relatively poor

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
  • Concurrent task scheduling processing method and device, equipment and medium
  • Concurrent task scheduling processing method and device, equipment and medium
  • Concurrent task scheduling processing method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] figure 1 It is a flow chart of a method for scheduling and processing concurrent tasks provided in Embodiment 1 of the present disclosure. This embodiment is applicable to the scheduling and processing of concurrent tasks, and is especially applicable to the scheduling and processing of highly concurrent tasks that take into account the processing requirements of various tasks. The method can be executed by the concurrent task scheduling processing device provided by the embodiment of the present disclosure, the device can be implemented by software and / or hardware, and the device can be integrated on various user terminal devices or servers.

[0035] see figure 1 , the method of the embodiment of the present disclosure specifically includes the following steps:

[0036] S110. Receive a task initiated by the client.

[0037] Among them, the application program in the client usually provides various business services, such as news browsing, video playback, picture loa...

Embodiment 2

[0058] image 3 It is a structural block diagram of an apparatus for scheduling and processing concurrent tasks provided in Embodiment 2 of the present disclosure, and the apparatus is used to execute the method for scheduling and processing concurrent tasks provided in any of the above embodiments. This device belongs to the same inventive concept as the method for scheduling and processing concurrent tasks in the above-mentioned embodiments. For the details not described in detail in the embodiments of the device for scheduling and processing concurrent tasks, you can refer to the embodiments of the method for scheduling and processing concurrent tasks above. . see image 3 , the device may specifically include: a task receiving module 310 , a task adding module 320 and a task processing module 330 .

[0059] Wherein, the task receiving module 310 is used to receive the task initiated by the client;

[0060] The task adding module 320 is used to add the task to the corres...

Embodiment 3

[0078] Refer below Figure 4 , which shows an electronic device suitable for implementing embodiments of the present disclosure (such as Figure 4 A schematic structural diagram of a terminal device or server) 600 in FIG. The electronic equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. Figure 4 The illustrated electronic device is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.

[0079] Such as Figure 4 As shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) ) 603 to perfor...

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 discloses a concurrent task scheduling processing method and device, equipment and a medium. The method comprises the steps of receiving a task initiated by a client; according to the service label types of the tasks, corresponding task scheduling strategies are adopted, the tasks are added into corresponding task queues, and the number of the task queues is at least two; and for each task queue, scheduling the tasks in the task queue to a processor for processing. The embodiment of the invention discloses a technical scheme. The processing requirements of the tasks can be distinguished according to the service label types of the tasks, and corresponding task scheduling strategies are adopted; according to the task scheduling method and device, the high-concurrency task scene is effectively processed by determining the sequential processing sequence of all the tasks in the corresponding task queues, so that the situation that emergency tasks are blockedand placed can be avoided, and the flexibility of a task scheduling scheme is effectively improved.

Description

technical field [0001] Embodiments of the present disclosure relate to computer data processing technologies, and in particular, to a method, device, device, and medium for scheduling and processing concurrent tasks. Background technique [0002] In existing application software that provides various business services, there may be a large number of high-concurrency scenarios. For example, in e-commerce application software, if commercial activities such as promotions and flash sales are carried out through application software, a large number of users are often attracted to participate in a short period of time, and the number of transaction orders initiated by users per unit time will far exceed normal transactions. order volume. When each transaction order is processed by the server as a task, there will be a scenario of high task concurrency. [0003] For scenarios with high concurrency of tasks, limited by the hardware and network processing capabilities of the servic...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
CPCG06F9/4806Y02D10/00
Inventor 贾立
Owner BEIJING BYTEDANCE NETWORK TECH 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