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

System process log printing and remote multi-terminal log debugging control system

A log printing and control system technology, applied in the field of log visualization, can solve problems such as no good solutions, achieve the effects of improving processing and analysis capabilities, reducing coupling, and improving communication efficiency

Inactive Publication Date: 2018-06-08
WUXI ZHONGKE NORTH WEST STAR TECH
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] To sum up, there is still no good solution for log generation and construction, multi-terminal output of logs, remote control and log debugging

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
  • System process log printing and remote multi-terminal log debugging control system
  • System process log printing and remote multi-terminal log debugging control system
  • System process log printing and remote multi-terminal log debugging control system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] Such as figure 2 , Print the static cache data structure used according to the system process log.

[0074] In the system static cache, a log constructor reference queue is mapped for all threads according to the thread number. Because only the thread number and log constructor reference are stored, there is no excessive memory overhead.

[0075] When the log constructors participating in the complete system process log construction in the corresponding thread are created, they are all added to the log constructor queue of this thread by calling the interface. E.g figure 2 Thread 111 in.

[0076] For a system process executed across threads, its entry function log constructor automatically becomes the entry function log constructor of the new thread. E.g figure 2 Thread 444 in.

[0077] Such as image 3 It is a flowchart of the working principle of the log builder. When the log builder is created, it obtains the current program execution thread number and queries the log b...

Embodiment 2

[0086] Such as Figure 4 , Debug terminal and mobile terminal log output module and process.

[0087] The device management module 11 is mainly used to manage the current status information of the mobile terminal 3. When the status of the mobile terminal 3 needs to be found, a query request is sent to the database, and the result returned after the query is parsed. Record the status of all started applications and store the records in the database. The application status is updated and maintained through the heartbeat, and the device selected by the developer is converted into a program identifiable number.

[0088] The instruction construction module 12 is mainly used to convert user operations into instructions or instruction sets that the application program can understand. Perform syntax analysis on the sent instructions, optimize them through pruning algorithms, and translate the codes into corresponding instructions. The translated instructions will be compressed and encry...

Embodiment 3

[0099] Such as Figure 5 Real-time control and debugging process for the mobile terminal.

[0100] AOP code and debugging switch module 32, when debugging a program, need to introduce related code dependencies, and need to add code dependencies in designated places. After receiving the debugging instruction issued by the WEB terminal 1, the AOP code and debugging switch module 32 immediately starts monitoring the breakpoints and blocking the program, and at the same time performs variable tracking, output capture, and process monitoring on the code that needs to be debugged. After simple screening and assembly, this information is sent to the mobile terminal message sending module 35. In addition, the debugging information between the two breakpoints is put into the code debugging cache for temporary storage, and is sent to the mobile terminal message sending module 35 when the next breakpoint is entered.

[0101] The real-time debugging module 16, receives the debugging informat...

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 the technical field of log visualization and in particular relates to a system process log printing and remote multi-terminal log debugging control system. The system processlog printing and remote multi-terminal log debugging control system comprises a WEB terminal, a message pushing and receiving server and a mobile terminal, wherein the WEB terminal comprises an equipment management module, an instruction construction module, a WEB terminal message sending module, a WEB terminal message receiving module and a log display module; the mobile terminal comprises a mobile terminal message receiving module, an AOP (Aspect-Oriented Programming) code and debugging switching module, an AOP log capturing control module, a mobile terminal log collection module and a mobile terminal message sending module. The invention provides a complete solution for construction output and program debugging of logs, which from the generation, caching and construction of the logs tomulti-terminal printing and output of the logs and debugging of the logs. The system process log printing and remote multi-terminal log debugging control system provided by the invention provides a more flexible log construction and printing manner for program research and development personnel and especially has a wide application prospect in coding of development and research frameworks.

Description

Technical field [0001] The invention relates to the technical field of log visualization, in particular to a system process log printing and remote multi-terminal log debugging control system. Background technique [0002] Log printing is a necessary means for program debuggers to obtain program execution status. At present, as more and more electronic terminals enter people's lives, from traditional desktop platforms to Web platforms, as well as mobile phone terminals that are popular at this stage. The development of application programs also shows a trend of multi-terminalization. [0003] The existing program debugging log printing method is to embed the print statement in the program code by the program debugger and print it directly to the console during the program running. Some log frameworks store the log in the form of a file or a database. [0004] Taking the development of mobile applications on the Android mobile phone as an example, the general method for debugging An...

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
IPC IPC(8): G06F11/36H04L29/08
CPCG06F11/362H04L67/025H04L67/125
Inventor 唐新余王蒙蒋同海陈光季文飞
Owner WUXI ZHONGKE NORTH WEST STAR TECH
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