Log transmission method and system

A log and log file technology, applied in the field of log transmission and log transmission systems, can solve the problems of inability to guarantee continuous network transmission, uncontrollable speed, and unstable sending process, and achieve the effect of avoiding stable log transmission and enhancing stability.

Inactive Publication Date: 2012-05-09
BEIJING IZP NETWORK TECH CO LTD
View PDF3 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. The speed at which the client-side log reading module sends logs to the client-side log sending module cannot be controlled, and the speed at which the client-side log reading module sends logs to the client-side log sending module is faster than the speed at which the client-side log sending module sends logs to the server The speed of the log makes the sending process unstable
[0007] 2. If the network between the client and the server is disconnected due to a failure, it cannot be guaranteed that the transmission will continue from the last disconnection when the network is restored.
[0008] 3. The speed of receiving logs by the server-side log receiving module cannot be controlled, which will cause the server-side log receiving module to accept logs faster than the server-side log processing module to process logs, making the server-side log receiving and storage unstable

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 transmission method and system
  • Log transmission method and system
  • Log transmission method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0056] One of the core ideas of the embodiment of the present application is to set the office to process log sending and the data center to process log reception. By setting the first preset buffer queue, the local log reading speed and sending speed are regulated in the log sending link. Specifically, the log information read locally from the site is written into the first preset buffer queue in the current site, When the log information written in the first preset buffer queue exceeds the first preset length threshold, the local reading of log information from the office site is suspended, thereby avoiding that the local log reading speed is greater than the sending speed and cause log transmission fai...

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 provides a log transmission method and system. The method comprises the following steps: judging whether log information written in a first preset buffer queue of a game point exceeds a first preset length threshold, and if not, locally reading the log information from the game point and writing in the first preset buffer queue in the current game point; if so, stopping locally reading the log information from the game point; and transmitting the log information in the first preset buffer queue to a data center. The invention can ensure the log transmission stability and reliability, and enhance the transmission efficiency under various possible abnormal conditions and extremely complex network states.

Description

technical field [0001] The present application relates to the technical field of computer data transmission, in particular to a log transmission method and a log transmission system. Background technique [0002] Nowadays, with the rapid development of Internet technology, many Internet companies' business covers more and more regions, cross regions, provinces, and even transnationals. Faced with such a large area, many companies choose to deploy servers in various provinces and cities, and deploy central servers at the headquarters to ensure a good user experience. Therefore, the logs generated by servers in various provinces and cities must be transmitted to the central server through a safe, real-time, and complete transmission method. [0003] The Chinese patent application with the application number 201010536426 disclosed a log collection device and a log collection method on February 9, 2011, referring to figure 1 , the system consists of: [0004] At least one cli...

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): H04L12/56H04L12/24H04L12/861
Inventor 罗峰黄苏支李娜
Owner BEIJING IZP NETWORK TECH CO LTD
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