A method for automatically generating log files based on model-driven

A log file, automatic generation technology, applied in the direction of file system, file system type, hardware monitoring, etc., can solve the problems of insufficient collection of user operation behavior, more time spent, difficult to locate logic, etc., to achieve flexible debugging and maintenance, information detailed effect

Inactive Publication Date: 2020-09-22
BEIHANG UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The content of existing application system logs often focuses on fixed and monotonous system information, and the collection of user operation behavior is insufficient, which cannot provide sufficient information basis for subsequent system analysis, data mining, etc., and lags behind the current development of user personalized customization services trend
[0004] 2. It is difficult to accurately locate application system logic errors through log content
At this time, the background of the application system will not report an error, and the background logic interface with the problem cannot be directly located through the existing system logs
[0005] 3. The physical separation of the log system and the application system has not been realized
[0006] 4. The logical separation of the log system and the application system has not been realized
Perhaps the analysis and processing personnel of the log files did not participate in the development of the system itself, which will easily cause the analysts to spend more time to understand the business logic and the specific relationship at the beginning of their participation, and increase the workload of the analysts
[0007] 5. A unified log generation specification has not yet been formed
[0009] After analyzing the current existing log file generation methods and their contents, it is found that the log information in these methods is generally too simple, it is difficult to accurately locate logical errors through the log content, and the physical separation and logical separation of the log system and the application system are not realized. A unified log generation specification has not yet been formed

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 method for automatically generating log files based on model-driven
  • A method for automatically generating log files based on model-driven
  • A method for automatically generating log files based on model-driven

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be further described in detail with reference to the accompanying drawings and embodiments.

[0030] The present invention proposes a method for automatically generating log files based on a model, specifies the coding mapping relationship of subsystems, sub-modules, and interfaces in the application system, obtains dynamic information, user information, and necessary system information of the application system, and generates log files according to the mapping rules. The log content is saved in the form of log files or database files to realize the automatic generation of the log system. The core idea of ​​this method is:

[0031] 1) Customize the coding rules of each layer of the application system based on the modeling results of the software architecture, and use the automatic mapping method to make the log content independent of the internal definition of the application system, but maintain the internal logical relationship of the applic...

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 provides a log file automatic generation method based on model driving, and belongs to the field of combination of software system structure modeling and log file automatic generation. The method comprises: based on a software system structure modeling idea, coding functional components of all layers of an application program, and using an automatic mapping mode to replace log information containing internal definitions of an application system; and then intercepting user information corresponding to corresponding operation behaviors, generating log contents together with other necessary system description information, and storing the log contents in a log file or database file form. Meanwhile, collection work of the log information can be started or stopped at will by modifying the configuration file, and existing log information can be expanded or deleted according to real-time needs. Physical separation and logic independence of the log system and the application system are achieved, comprehensive, detailed and extensible log content is guaranteed, the application system can be maintained, and the follow-up data analysis work efficiency is improved.

Description

technical field [0001] The invention belongs to the field of combining software architecture modeling and log file automatic generation, relates to the regulation and generation of application log files in the software architecture modeling process, and specifically relates to a model-driven automatic log file generation technology. Background technique [0002] With the gradual development of technologies such as artificial intelligence, data mining, recommendation systems, and software engineering, more and more application software options need to collect more multidimensional and comprehensive application information and user behavior information to better understand applications and The dynamics of platform users can provide better services for application users and facilitate the work of application maintainers. As the log system is the main channel for collecting application dynamic information, how to standardize and expand the existing log mode, enrich the log conte...

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/34G06F16/18
CPCG06F11/3476G06F16/1815
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