Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Asynchronous message monitoring method and device

An asynchronous message and asynchronous technology, which is applied in the direction of instrumentation, electrical digital data processing, calculation, etc., can solve problems such as inappropriate waiting time, prone to errors, and inability to accurately obtain asynchronous message path information

Active Publication Date: 2018-08-14
深圳市雅阅科技有限公司
View PDF9 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the traditional interface test adopts asynchronous test, it needs to wait for time to determine whether the asynchronous message is completed, and the waiting time is not set properly, which is prone to errors and cannot accurately obtain the execution path information of the asynchronous message

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
  • Asynchronous message monitoring method and device
  • Asynchronous message monitoring method and device
  • Asynchronous message monitoring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0021] It will be understood that the terms "first", "second", etc., as used herein, may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first client could be referred to as a second client, and similarly, a second client could be referred to as a first client, without departing from the scope of this disclosure. Both the first client and the second client are clients, but they are not the same client.

[0022] figure 1 It is a schematic diagram o...

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 relates to an asynchronous message monitoring method and device. The method includes: acquiring an asynchronous message through a main thread, adding the same into an asynchronous message set; creating an asynchronous call thread, acquiring the asynchronous message from the asynchronous message set, creating an identification object corresponding to the asynchronous message, and injecting the identification object into the asynchronous message; acquiring a pointer address of the asynchronous message through the identification object, executing a callback operation of the asynchronous message according to the pointer address, and recording state information of all function addresses of callback in an execution path of the callback operation of the asynchronous message; and passing the identification object to the main thread through the asynchronous call thread, destroying the asynchronous call thread, and reading the identification object to acquire the state informationof the function addresses of the callback in the execution path of the asynchronous message. The status information of all the function addresses in the execution path of the asynchronous message is automatically, quickly and accurately acquired according to the identification object.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to an asynchronous message monitoring method and device. Background technique [0002] Interface testing is a type of testing that tests the interface between system components. Interface testing is mainly used to detect the interaction points between the external system and the system and between the various internal subsystems. When traditional interface testing uses asynchronous testing, it is necessary to wait for time to determine whether the asynchronous message is completed. If the waiting time is set inappropriately, errors are prone to occur, and the path information of the execution of asynchronous messages cannot be accurately obtained. SUMMARY OF THE INVENTION [0003] Embodiments of the present invention provide an asynchronous message monitoring method and device, which can quickly and accurately acquire path information of asynchronous message execution. [00...

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): G06F11/36
CPCG06F11/3688G06F11/3692
Inventor 程春林
Owner 深圳市雅阅科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products