Task delay processing method and device, computer device and storage medium

A computer device and delay processing technology, applied in the computer field, can solve problems affecting user experience and major accidents, and achieve the effect of reducing task delay, reducing major accidents, and improving user experience

Pending Publication Date: 2019-06-11
CHINA PING AN LIFE INSURANCE CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the other hand, in order for enterprises to respond quickly and flexibly to changing market conditions, their business system software and applications also need to ensure the response speed of tasks and reduce task delays, because once task delays time, it will affect the user experience in light cases, and may cause major accidents in severe cases. Therefore, it is necessary to reduce the task delay of the system as much as possible

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] refer to figure 1 As shown, it is a schematic diagram of the application environment of the task delay processing method provided by Embodiment 1 of the present invention.

[0033] The task delay processing method in the present invention is applied in a hardware environment including a computer device 1 and at least one user terminal 2 connected to the computer device 1 through a network.

[0034] In this embodiment, the computer device 1 may be an electronic device such as a server, a desktop computer, etc., wherein the server may be a single server, or may be a server group composed of several functional servers. The user terminal 2 may be an electronic device installed with application software / application programs and has a network connection function, for example, the user terminal 2 may be a smart phone, a tablet computer, a personal desktop computer, a notebook computer and the like.

[0035] In one embodiment, the computer device 1 and the user terminal 2 can ...

Embodiment 2

[0038] see figure 2 As shown, it is a flow chart of the task delay processing method provided by the second embodiment of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0039] Step S1. When a task request is received, it is judged whether a return result corresponding to the task request is generated within a preset time. If the return result corresponding to the task request is not generated within the preset time, it is determined that the task is delayed, and step S2 is performed; if the return result corresponding to the task request is generated within the preset time, continue to execute the task Describe step S1.

[0040]For example, when the task delay processing method is applied to a report generation system composed of a server and a user terminal, the user terminal provides a data query page for the user to input a data query request, and the user terminal queri...

Embodiment 3

[0083] image 3 It is a structural diagram of a preferred embodiment of the task delay processing device of the present invention.

[0084] In some embodiments, the task delay processing device 10 runs on a computer device. The computer device is connected to a user terminal through a network. The task delay processing device 10 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the task delay processing device 10 can be stored in the memory of the computer device, and executed by the at least one processor to realize the task delay processing function.

[0085] In this embodiment, the task delay processing device 10 can be divided into multiple functional modules according to the functions it performs. refer to image 3 As shown, the functional modules may include: a judging module 101 , a reserved resource acquiring module 102 , a switching module 103 and a prompting module 104 . The module refer...

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 task delay processing method which comprises the following steps: when a task request is received, judging whether a return result corresponding to the task request is generated within a preset time or not, and when the return result corresponding to the task request is not generated within the preset time, obtaining reserved resources; And switching the task to the reserved resource for execution, and generating a return result corresponding to the task request by using the reserved resource. The invention further provides a task delay processing device, a computer device and a computer readable storage medium. When the task delay exceeds the preset time in the task execution process, the task is continuously executed by switching to the standby resource, so thatthe task delay is reduced, the user experience is improved, and meanwhile, major accidents can be effectively reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a task delay processing method and device, a computer device and a computer-readable storage medium. Background technique [0002] With the rapid development of computer technology, users have higher and higher requirements for the response speed of various software and application programs. On the other hand, in order for enterprises to respond quickly and flexibly to changing market conditions, their business system software and applications also need to ensure the response speed of tasks and reduce task delays, because once task delays At this time, it will affect the user experience in light cases, and may cause major accidents in severe cases. Therefore, it is necessary to reduce the task delay of the system as much as possible. Contents of the invention [0003] In view of the above, it is necessary to propose a task delay processing method and device, a comput...

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/48G06F9/50
Inventor 时文涛
Owner CHINA PING AN LIFE INSURANCE 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