Application program replay method and system

A technology for application programs and tasks, which is applied in the directions of multi-programming devices, program control devices, program startup/switching, etc., to achieve the effect of reducing debugging pressure

Active Publication Date: 2018-11-13
BEIHANG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The technical problem to be solved by the present invention is how to reduce the consumption of time and space in the process of program playback

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
  • Application program replay method and system
  • Application program replay method and system
  • Application program replay method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but should not be used to limit the scope of the present invention.

[0060] figure 1 It is a flow chart of an application playback method of the present invention; the method includes the following steps:

[0061] S1. The target computer downloads the application program of the host computer;

[0062] S2. Insert stubs in the application program, acquire and upload the execution information of the application program to the host computer;

[0063] S3. Set a breakpoint at the corresponding event occurrence point of the application program according to the event information; the event information is obtained by analyzing and processing the execution information by the host computer, and the event information is to cause inter-task switching Information.

[0064] S4. Restart t...

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 discloses an application program playback method and system. The method comprises the following steps that S1, a target machine downloads an application program of a host machine; S2, instrumentation is conducted on the application program, and execution information of the application program is obtained and uploaded; S3, a breakpoint is set at an event occurrence point corresponding to the application program according to event information, wherein the event information is obtained by analyzing and processing the execution information through the host machine, and the event information is information triggering task switching; S4, the application program is restarted, when the breakpoint is met in the execution process, tasks of the application program are switched according to task switching information, and the application program is executed according to an original operating sequence, wherein the task switching information is obtained through analyzing and calculating carried out by the host machine according to the event information. According to the application program playback method and system, instrumentation probes are used for recording the execution information of the application program, time and space consumption is greatly reduced, and the application program playback method and system can be applied to all systems such as embedded real-time systems.

Description

technical field [0001] The present invention relates to the technical field of execution replay, and more particularly to an application replay method and system. Background technique [0002] With the improvement of users' requirements on the performance of software systems, concurrent technology has been widely used. However, while the use of concurrent technology improves software performance, it also brings great difficulties to the development of software developers, especially for embedded software systems, due to the uncertainty of concurrent program execution and the irreproducibility of errors, This makes the traditional sequential program debugging method no longer applicable. In the development process of concurrent programs, execution replay technology is usually used to realize error reproduction and program re-execution during software debugging, that is, by recording and tracking the execution of the target program, and then under the same input conditions, a...

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/445G06F9/48
Inventor 姜博徐晓丹龙翔马春雷高小鹏万寒
Owner BEIHANG UNIV
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