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

Method for storing log data and log data storage system

A log and data technology, applied in the transmission system, electrical components, etc., can solve the problems of low resource utilization efficiency of the log data storage system, reduce the reliability of log data storage, and not standardize the log data structure, etc., to improve resource utilization efficiency, Guaranteed high-speed writing and reduced resource overhead

Active Publication Date: 2013-01-23
TENCENT CLOUD COMPUTING BEIJING CO LTD
View PDF8 Cites 93 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because each client encapsulates and saves log data according to a custom protocol negotiated with the log server, there is no standardized and unified log data structure, resulting in inconsistent log data structures for logs reported to the server by different services, which requires the log server to To unify the log data structure and store the log data generated by different businesses for subsequent analysis, it needs to consume a certain amount of computing resources, making the resource utilization efficiency of the log data storage system low
Furthermore, if the log server makes an error, or temporarily fails to provide services due to log server upgrade and maintenance, etc., the transmitted log data will be lost, reducing the reliability of log data storage.

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
  • Method for storing log data and log data storage system
  • Method for storing log data and log data storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0049] In the embodiment of the present invention, in view of the disadvantage that each client adopts a self-defined protocol to encapsulate the log data when the existing log data is stored, so that the log data structure of the log data generated by different business programs is inconsistent, by setting the log management module in the log server , for unified management of the log data of each client connected to the log server, so that the business or application connected to the log service system has the same log data structure, so that a unified log can be provided for each Internet application in operation The data storage platform allows applications to easily access the platform and effectively manage business log data, so that...

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 method for storing log data and a log data storage system. The method comprises the steps of acquiring a log ID (Identity) and a log data structure which are distributed to a service log to be stored; enabling a log report agent, and interlinking a previously-obtained API (Application Program Interface) in a service program; calling the API in the service program and passing in parameters of the log ID and each field of the log data structure corresponding to the log ID; encapsulating the log data and outputting the encapsulated log data to a shared memory for cache by the API; firstly reading the log data in the shared memory, analyzing information such as the log ID, contained in the log data, and writing the read log data into a cache file according to the information by the log report agent; and reporting the data in the cache file to a log server to store by the log report agent through the network connection with the log server. According to the application of the method for storing the log data and the log data storage system, disclosed by the invention, a cross-business integrated log service system is created, thus the resource use efficiency and the reliability of log data storage are improved.

Description

technical field [0001] The invention relates to computer information processing technology, in particular to a method for storing log data and a log data storage system. Background technique [0002] With the rapid development of computer Internet technology, the number of services and applications on the Internet has also ushered in explosive growth. When users use these services and application products provided by operators every day, they will generate a large number of service usage records. How to reliably store and collect business usage record data generated by users using these applications, so as to facilitate subsequent extraction of stored business usage record data, and then use data analysis, data mining and other technologies to count and analyze business usage records It is extremely important to find valuable information for operators from the user habits and user characteristic behaviors contained in the data, so as to guide application product improvement,...

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): H04L29/08
Inventor 丁锐蒋悦刘明亮
Owner TENCENT CLOUD COMPUTING BEIJING 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