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

Log merging method and terminal device

A log and log file technology, applied in the field of data processing, can solve problems such as low data utilization rate and messy log data, achieve reasonable integration, improve data utilization rate, and facilitate browsing and searching

Active Publication Date: 2019-01-08
PING AN TECH (SHENZHEN) CO LTD
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a method for merging logs and a terminal device to solve the problems that the merged log data is relatively messy and the data utilization rate is low in the current log merging scheme

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 merging method and terminal device
  • Log merging method and terminal device
  • Log merging method and terminal device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] 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.

[0037] In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

[0038] figure 1 The implementation flow of the log merging method provided by the embodiment of the present invention is shown, and the method flow includes steps S101 to S106. The specific implementation principle of each step is as follows.

[0039] S101: After deter...

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 is applicable to the field of data processing, Provided are a log merging method and a terminal device. The method includes: creating a log directory after a target container is determined, and storing the log files generated by the target container in each host machine in the log directory, depending on when the data in the log file was generated, modifying a file name of each of the log files, and after sorting the individual log files based on their file names, merging the data in each log file, generating a data merge file, calculating the average of the total time complexityof the generated data merge process and the difference in the amount of data between the individual log files, and finally, adding the total time complexity and the average value of the difference into the data consolidation file to generate a log consolidation file. In this way, the reasonable integration of a large number of log files is realized, the user can conveniently browse and search thelog file information, the relevant parameters of the log file are calculated in the integration process, and thus the data utilization rate is improved.

Description

technical field [0001] The invention belongs to the field of data processing, and in particular relates to a log merging method and terminal equipment. Background technique [0002] The container-based virtualization technology represented by Docker is the current hotspot of virtualization technology. Container technology realizes lightweight virtualization by isolating processes and resources. After the container is created and running, the application is deployed. Multiple Docker containers can be deployed on one physical machine, and each Docker container is isolated from each other. This physical machine is generally called a host machine. In the prior art, the Docker container can also run across host machines, and when the Docker container runs across host machines, the resulting logs may also be scattered in each host machine. [0003] If multiple logs generated by a container are stored in multiple hosts, it is not conducive for engineers to fully understand the pr...

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 Applications(China)
IPC IPC(8): G06F16/18G06F9/455
CPCG06F9/45558Y02D10/00
Inventor 王倩
Owner PING AN TECH (SHENZHEN) CO LTD
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