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

Logging method and device used in distributed environment

A technology of distributed environment and recording method, applied in the field of log recording method and equipment, can solve the problems of inaccurate log statistics, log replication to the statistics server, etc., and achieve the effect of making full use of bandwidth and easy system

Inactive Publication Date: 2012-05-30
BEIJING OAK PACIFIC NETSCAPE TECH DEV
View PDF1 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, the log cannot be copied to the statistical server within the specified time, resulting in inaccurate log statistics

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
  • Logging method and device used in distributed environment
  • Logging method and device used in distributed environment
  • Logging method and device used in distributed environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention will be described in detail below in conjunction with specific embodiments.

[0019] figure 2 is a flowchart of a logging method 200 of the prior art. Method 200 starts at step 201 . In step 201, logs are stored locally in client clusters 102-1, . . . , 102-N, respectively. In step 202, the log server 101 sends a message to the client clusters 102-1, . . . , 102-N to indicate that it needs to replicate logs. In step 203 , in response to receiving a message from the log server 101 indicating that it needs to copy logs, the client clusters 102 - 1 , . . . , 102 -N send the logs to the log server 101 . In step 204 , the log server 101 copies the logs of the client clusters 102 - 1 , . . . , 102 -N to the statistics server 103 . Subsequently, the statistical server 103 can perform statistical analysis on these logs.

[0020] image 3 is a schematic structural diagram of a distributed system 300 according to a preferred embodiment of the present ...

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 a logging method used in a distributed environment, and the method comprises the following steps: configuring a log server and a log strategy of a client; sending logs of the client to the log server in real time; and storing the logs received by the log server according to the log strategy. According to the logging method disclosed by the invention, high-concurrency and high-capacity log services can be provided. Simultaneously, a system is easy to expand and can meet various different requirements. The logging method disclosed by the invention has no limitations on language of the client and can meet the requirements of various environments. In addition, the bandwidth can be fully utilized by using the logging method.

Description

technical field [0001] The present invention generally relates to a distributed system, and more particularly relates to a log recording method and device used in a distributed environment. Background technique [0002] Logs are of great significance in practical applications. It helps to find problems in the system to improve the quality of the product. If you dig deeper into the logs, you can also understand the potential needs of users and provide guidance for product developers. [0003] In a large-traffic, high-concurrency distributed system, a large amount of log data is generated every day. Taking a certain WAP site as an example, the WAP site has about 10 computers. The access logs generated by each computer every day are as many as about 5GB, plus other statistical logs, this amount is very large. [0004] figure 1 is a schematic structural diagram of a distributed system 100 in the prior art. The distributed system 100 may include a log server 101 , client cl...

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/06H04L29/08
Inventor 闫志东刘军
Owner BEIJING OAK PACIFIC NETSCAPE TECH DEV
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