Log output method, load balancing equipment and computer readable storage medium

An output method and log technology, which is applied in the field of computer networks, can solve problems affecting other log monitoring, and achieve the effects of convenient analysis and positioning, guaranteed forwarding speed, and guaranteed experience

Pending Publication Date: 2021-02-19
CHINANETCENT TECH
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the working principle of the DPDK framework is that the log core processes logs based on polling, this leads to a period of time, only a certa

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, load balancing equipment and computer readable storage medium
  • Log output method, load balancing equipment and computer readable storage medium
  • Log output method, load balancing equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art can understand that in each embodiment of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present invention, and the various embodiments can be combined and referred to each other on the premise of no contradiction.

[0031] The first embodiment of the present invention relates to a log o...

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 log output method, load balancing equipment and a computer readable storage medium. According to the invention, when the service flow is received, the service flow is subjected to data plane forwarding processing by the specified work core in the multi-core CPU, the processed service flow is scheduled to the back-end server, and the session information corresponding to various generated log types is recorded into the annular queue corresponding to the work core in the processing process; and in the process of executing the processing by the working core, the specifiedlog core in the multi-core CPU is set to periodically obtain session information from the annular queue corresponding to the working core according to the preset frequency corresponding to each log type and output the session information as a log file, so that the service flow forwarding and the log output are not interfered with each other, the log files of various log types can be output in a balanced manner, various attack behaviors can be found in time under the condition that the number of CPU cores is limited, corresponding early warning is carried out, and the protection safety is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of computer networks, and in particular to a log output method, a load balancing device, and a computer-readable storage medium. Background technique [0002] The log is the data generated during the running of the program. Complete logs will play an active role in program maintenance, fault backtracking, and user behavior analysis, especially in the development and operation and maintenance of large-scale real-time systems, such as content delivery network (Content Delivery Network, CDN) application scenarios Various load balancing programs and solutions. [0003] At present, for the convenience of troubleshooting, in the programs and solutions based on load balancing technology, it is generally necessary to output logs of the business traffic forwarded by the load balancing device, so as to facilitate subsequent positioning and analysis. [0004] However, most of the existing lo...

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): G06F9/50G06F16/17
CPCG06F9/505G06F16/1734
Inventor 庄晓翔杨光马涛
Owner CHINANETCENT 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