Task execution method and device, storage medium and electronic device

A task execution and task technology, applied in the field of communication, to achieve the effect of efficient execution and efficient delay of tasks

Pending Publication Date: 2021-09-24
QINGDAO HAIER TECH +1
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a task execution method and device, a storage medium,

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 execution method and device, storage medium and electronic device
  • Task execution method and device, storage medium and electronic device
  • Task execution method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Embodiments of the present invention will be described in detail below with reference to the drawings and in combination with the embodiments.

[0025] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.

[0026] The method embodiments provided in the embodiments of the present application may be executed in mobile terminals, computer terminals or similar computing devices. Taking running on a mobile terminal as an example, figure 1 It is a hardware structural block diagram of a mobile terminal according to a delayed task execution method in an embodiment of the present invention. Such as figure 1 As shown, the mobile terminal may include one or more ( figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but not limited to a processing device such a...

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 provides a task execution method and device, a storage medium and an electronic device. The method comprises the steps: determining the execution time of a target task; arranging the target tasks into a delay queue based on the execution time, the delay queue being used for sorting the target tasks; and under the condition that the execution time of the target task arrives, scheduling the target task from the delay queue by utilizing the scheduling thread so as to indicate the target equipment to execute the target task. Through the method and the device, the problem of delay task execution in related technologies is solved.

Description

technical field [0001] Embodiments of the present invention relate to the communication field, and in particular, relate to a task execution method and device, a storage medium, and an electronic device. Background technique [0002] In appointment timing applications, there are a large number of one-time tasks that need to be delayed. The delay time varies according to the business and needs to be accurate to the second level. The concurrency of task generation, task delay scheduling, and task consumption is very large. In the current development framework, Quartz is used to realize the scheduling requirements of one-time tasks, but there are the following disadvantages: [0003] (1) When creating tasks with high concurrency, the framework relies on the pessimistic lock of the database, resulting in poor performance and cannot meet the business needs of creating tasks with high concurrency; [0004] (2) After a one-time task is created, it will be persistently stored in th...

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/5038
Inventor 王武刘建国
Owner QINGDAO HAIER TECH
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