Log output method and apparatus, terminal device and storage medium

An output method and a technology of an output device, applied in the field of communication, can solve problems such as the decrease of software operation speed and affect user experience, and achieve the effect of reducing consumption and avoiding the reduction of operation speed

Inactive Publication Date: 2018-09-07
SHENZHEN EXCELSECU DATA TECH
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention provide a log output method, device, terminal equipment, and computer storage medium, aiming to solve the problem that the running speed of the software decreases during the process of outputting logs by the software and affects the user experience.

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 output method and apparatus, terminal device and storage medium
  • Log output method and apparatus, terminal device and storage medium
  • Log output method and apparatus, terminal device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0022] Embodiments of the present invention provide a log output method, device, terminal device, and computer storage medium, aiming to solve the problem that the running speed of software decreases during the process of outputting logs by the software and affects user experience.

[0023] see figure 1 , the first embodiment of a log output method in the embodiment of the present invention inclu...

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 communications, and provides a log output method and apparatus, a terminal device and a computer storage medium. The log output method comprises the steps of obtaining a log writing request, and writing log information in a circular queue in sequence by threads, wherein the circular queue is pre-established in a specified region of a system memory; and reading the log information from the circular queue through a log viewing tool and outputting the log information. According to the process, only one thread can write the log information at the same moment under the limitation, so that a thread synchronization technology does not need to be used for coordinating normal work of the threads, the consumption of a system is greatly reduced, and theproblems that the software running rate is reduced and the user experience is influenced can be avoided.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a log output method, device, terminal equipment and computer storage medium. Background technique [0002] For the software released by the service provider to the customer, the debugging information that the software needs to output is generally written into a log file, so as to locate various possible problems. [0003] With the increase of software functions, more and more log files need to be output. In the process of software outputting logs, multiple threads will write log information to the same file at the same time. Since thread synchronization technology and disk read and write performance limitations are needed to coordinate the normal work of multiple threads, the software running speed will appear at this time. In the event of a decline, the user experience is affected. Contents of the invention [0004] In view of this, the embodiments of the prese...

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/34
CPCG06F11/3476
Inventor 陈柳章
Owner SHENZHEN EXCELSECU DATA TECH
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