A task processing method and device based on asynchronous callback

A technology of task processing and asynchronous callback, which is applied in the computer field to achieve the effects of reducing processing time, high parallel execution efficiency, and low-latency response

Active Publication Date: 2020-07-31
EVERGROWING BANK CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is still room for improvement in the existing Zebra language to reduce the task processing time based on asynchronous callbacks, and to achieve low-latency responses when processing complex business logic

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
  • A task processing method and device based on asynchronous callback
  • A task processing method and device based on asynchronous callback
  • A task processing method and device based on asynchronous callback

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The application will be described in further detail below in conjunction with the accompanying drawings.

[0025] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0026] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0027] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random acce...

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 purpose of the invention is to provide a task processing method and task processing equipment based on asynchronous callback. compared with the prior art, the method comprises the steps of acquiring a syntax tree of a to-be-processed task, wherein the syntax tree includes a node and a node association relation; executing the node in the syntax tree based on the node association relation; when the executed node is provided with a predetermined asynchronous mark, sending an asynchronous processing command to an asynchronous call object, and returning a father node of the node with the predetermined asynchronous mark to continuously process the task; and when feedback from the asynchronous call object is received, returning the node with the predetermined asynchronous mark. Thus, the task processing time based on asynchronous callback is shortened and low delayed response can be still achieved in the case of processing complex service logic.

Description

technical field [0001] The present application relates to the computer field, in particular to a task processing technology based on asynchronous callback. Background technique [0002] Asynchronous calls have a wide range of applications in application frameworks, and specifically refer to multi-threaded situations. It is closely related to Windows' message loop mechanism, message response, message queue, event-driven mechanism, and observer pattern in design patterns. In the single-threaded mode, the computer is a strictly von Neumann machine. When one piece of code calls another piece of code, it can only use synchronous calls. Continue to execute. With the support of multi-threading, asynchronous calls can be used. The caller and the called party can belong to two different threads. After the caller starts the called party thread, it continues to execute subsequent codes without waiting for the other party to return the result. After the called party completes the exe...

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 Patents(China)
IPC IPC(8): G06F9/54
CPCG06F9/547G06F2209/544
Inventor 曾光尧司继平赵毅李岩
Owner EVERGROWING BANK 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