Delayed task execution method and device

A task execution and task technology, applied in the information field, can solve the problems of low polling efficiency, poor timeliness, delay time delay of business delay, delay time length error, etc., and achieve the effect of improving timeliness and high polling efficiency

Inactive Publication Date: 2017-09-29
BEIJING VRV SOFTWARE CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, this processing method needs to traverse all orders every time, and the polling efficiency is low
In addition, since all orders need to be traversed each time, in order to reduce the operating pressure of the equipment, the time interval between each two traverses needs to be set to a relatively long time, so that the actual delay time of the delayed business will be different from the real There is a large error between the required delay times, and the timeliness is not good

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
  • Delayed task execution method and device
  • Delayed task execution method and device
  • Delayed task execution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0059] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art wi...

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 provides a delayed task execution method and device which are applied to an electronic device. The electronic device comprises a circular queue, and the circular queue comprises a plurality of task labels. The method comprises the steps that the task labels in the circular queue are polled in sequence according to preset time intervals; delayed messages are received, and the delayed messages comprise delayed duration of tasks to be executed; task triggering instructions of the tasks to be executed are generated; after the delayed duration is calculated and obtained, the task labels being inquired are used as target task labels, and the task triggering instructions are stored to the target task labels; aiming at each task label being inquired, the task triggering instructions in the task labels are executed, wherein storage time of the task triggering instructions reaches the delayed duration. On the one hand, delayed errors can be reduced, and the timeliness is improved; on the other hand, the polling efficiency can be improved.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a delayed task execution method and device. Background technique [0002] At present, many applications (APPs) or software systems have delayed service requirements, that is, the requirement of "complete a work task after a period of time". For example, in a software system, after the order is completed, if the user has not rated it, the rating of the order will be automatically set to five stars after 48 hours. In response to this business requirement, the existing processing method is to start a fixed-time task, traverse all orders in the software system at preset intervals, and set the evaluation of orders with a completion time of 48 hours to five stars. [0003] However, this processing method needs to traverse all orders every time, and the polling efficiency is low. In addition, since all orders need to be traversed each time, in order to reduce the operatin...

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/30G06F9/445
CPCG06F9/445G06F9/30003
Inventor 赵文兴党艳平王刚
Owner BEIJING VRV SOFTWARE 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