Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for creating switch log template

A switch and log technology, used in the Internet and computer fields, can solve problems such as mining alarm rules and troubleshooting difficulties.

Active Publication Date: 2019-06-14
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Too many devices will generate large-scale switch logs, which brings difficulties in mining alarm rules and troubleshooting. An automated method is needed to compress the logs

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 and device for creating switch log template
  • Method and device for creating switch log template
  • Method and device for creating switch log template

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0028] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0029] figure 1 It shows an exemplary system architecture 100 to which the embodiment of the method for creating a switch log template or the device for creating a switch log template of the present application can be applied.

[0030] Such as figure 1 As shown, the system...

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 present invention discloses a method and apparatus for creating a switch log template. One specific embodiment of the method comprises obtaining an original log of a switch of one type; obtaining message types and detailed messages in the original log, and creating a cluster tag as the message type if the message types cannot be obtained; segmenting words of the detailed messages, obtaining keywords; reordering the keywords according to word frequency of the keywords, and ordering the keywords having high word frequency ahead; creating multi-way trees according to the reordered keywords, using each message type as a root node of the trees, and using the reordered keywords as nodes of the trees, each message type being corresponding to one multi-way tree; and depth-first traversing the multi-way trees, and creating the log template corresponding to each message type of the switch of the type according to paths of the multi-way trees. According to the embodiment, the switch log template is creased, and the log is compressed by using the template.

Description

technical field [0001] The present application relates to the field of computer technology, specifically to the field of Internet technology, and in particular to a method and device for creating a switch log template. Background technique [0002] The switch log is important data generated by the switch device during its life cycle. The status of the switch can be obtained through the switch log, including port jitter, protocol jitter, board failure, power failure, etc., while traditional equipment monitoring systems are based on switch Logs, match logs through specific rules, so as to find fault points and give alarms. [0003] With the explosive growth of Internet data and the increase of business, many Internet companies are investing more and more in self-built networks, and more and more network devices are involved in IDC (Internet Data Center, Internet Data Center). is a switch device. [0004] A typical case is that in an enterprise's self-built IDC, there are lar...

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 Patents(China)
IPC IPC(8): G06F11/30H04L12/24
CPCG06F11/3006G06F11/3082G06F11/3086H04L41/069
Inventor 董辉宋磊侯翔宇孟伟彬
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More