Unlock instant, AI-driven research and patent intelligence for your innovation.

A program analysis method, system, client and server

A server-side, program analysis technology, applied in the computer field, can solve problems such as unnoticed program failures, low efficiency, unfavorable program improvement, etc., and achieve the effect of improving user experience

Active Publication Date: 2016-03-02
GUANGZHOU KUGOU COMP TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor found that the existing program analysis scheme does not pay attention to the faults that occur during the running of the program, that is, the existing scheme does not analyze the faults when the program runs an unexpected code branch, and only reports when the program fails to run abnormally Therefore, the existing program analysis scheme lacks the analysis of the overall working status of the program and the failures that occur during the working process, which is not conducive to the improvement of the program; in addition, the existing programs generally use manual analysis and processing of program abnormalities , less efficient

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 program analysis method, system, client and server
  • A program analysis method, system, client and server
  • A program analysis method, system, client and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0049] See figure 1 , is a schematic structural diagram of an embodiment of the program analysis system of the present invention; the system includes: at least one client 10 (only one of which is numbered in the figure), and a server 20 .

[0050] The client 10 is configured to record the unexpected code branch of the program running, and report the recording result to the server 20 .

[0051] In a specific implementation, the client 10 is all clients connected to...

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 embodiment of the invention discloses a program analysis method, which comprises the following steps that a client side records unexpected code branches run by a program and reports the record result to a server side; and the server side resolves the record result according to the corresponding relationship between the preset unexpected code branch and the fault to obtain the fault condition occurs in the running process of the program. The embodiment of the invention also discloses the client side, the server side and a program analysis system. With the invention, the fault condition occurs in the running process of the program can be recorded, analyzed and processed, the program analysis process is simple and efficient, and the method is conducive to the improvement of the program.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a program analysis method, system, client and server. Background technique [0002] The so-called fault tolerance of the program is the processing ability of the program in the face of failure. Taking the addition calculator program as an example, the normal situation is: "the user enters a number and clicks the sum button to sum", the program code for the normal situation is Expected code branches for an addition calculator program; failure cases are: "The user clicked the sum button without entering any numbers", "The user entered a few Chinese characters and clicked the sum button", "The user entered a large number (beyond the range of the data type) and click the sum button", etc., the program code for the failure case is an unexpected code branch of the adding calculator program. The fault tolerance of the program enables the program to basically run normally in t...

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): G06F11/36G06F11/34
Inventor 华有为
Owner GUANGZHOU KUGOU COMP TECH CO LTD