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

Log recording system and method based on MVC (Model View Controller) framework

A recording system and recording method technology, applied in the information field, can solve the problems of limited recorded information and achieve the effect of improving scalability

Inactive Publication Date: 2016-08-24
LETV INFORMATION TECH BEIJING
View PDF7 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the information that can be recorded after this aspect method is cut to a specific method is relatively limited

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
  • Log recording system and method based on MVC (Model View Controller) framework
  • Log recording system and method based on MVC (Model View Controller) framework
  • Log recording system and method based on MVC (Model View Controller) framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0028] Before introducing the invention of this paper, first introduce the MVC architecture. MVC is a model of software design. It uses a method of separating business logic, data, and interface display to organize code and gather business logic into one component. While improving and customizing the interface and user interaction, it does not need to be rewritten. Business logic. MVC was uniquely developed to map traditional input, processing, and output functions in a logical GUI structure.

[0029] MVC architecture generally includes: View layer, Controller layer (that is, the "control layer" mentioned in this application), Service layer (that is, the "serv...

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 a log recording system and method based on a MVC (Model View Controller) framework, only needs to add certain notes to finish recording log information on the basis of keeping source program codes, wherein the recorded information is far richer than the recorded information of an AOP (Aspect Oriented Programming) way. The system comprises a control layer processing module and a service layer processing module, wherein the control layer processing module is used for calling the business logic of the note to extract user information when a program executes a method that the note is arranged before codes in the control layer in a process that the control layer processes a received user request; and the service layer processing module is used for calling the business logic of the note to record log parameters when the program executes the method that the note is arranged in front of codes in the service layer, and stores the log parameters and the user information in a log storage module.

Description

technical field [0001] The present invention relates to the field of information technology, in particular to a logging system and method based on MVC (Model View Controller, Model-View-Controller) architecture. Background technique [0002] In order to understand the operating status of the system, the log recording system needs to record the operations that cause data changes. The main points of the records include who, when, and where (for example, IP address), what operation was done, which method was called, which object was caused, What has changed in the content, etc. At present, the following two methods are mainly used to record logs: hard coding and sectioning. [0003] For hardcoding, the logging procedure needs to be hardcoded into the program code. However, the logging program belongs to the auxiliary logic, not the main logic. If it is hard-coded in the code, it will cause the logic of the program code to be confusing and difficult to maintain. When the prog...

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): G06F9/44G06F9/445
CPCG06F8/313G06F8/65
Inventor 张鹏
Owner LETV INFORMATION TECH BEIJING
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