Log collection server, data packet delivering and log clustering methods and network
A technology for collecting servers and data packets, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problem of poor scalability, low efficiency of data collection and clustering, and processing delays under large-scale network logs when a single node fails Major and other issues
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] Such as figure 1 As shown, it is a schematic diagram of a DHT-based distributed network data collection and clustering model (hereinafter referred to as "model") provided by Embodiment 1 of the present invention, wherein,
[0069] DHT network: The DHT network consists of "log collection servers". In this embodiment 1, the "log collection server" is mapped to a point in the Chord ring through a consistent hash function such as SHA-1, and the label of the "log collection server" in the DHT network is represented by ServerID(i). The main function of the DHT network is to receive, store and distribute network data packets under the distributed network structure. Once a "log collection server" leaves or a new "log collection server" joins the network, the DHT network needs to update its own information.
[0070] Log collection server: Each "log collection server" is connected to the export device (such as router / switch) that needs to collect data. The log collection serve...
Embodiment 2
[0074] Such as figure 2 As shown, it is a schematic structural diagram of the log collection server provided by Embodiment 2 of the present invention, including a detector unit 11, an analysis unit 12, a Hash distribution unit 13, a clustering and log forwarding unit 14, and a database unit 15, wherein,
[0075] The detector unit 11 is used for bypass monitoring of data flow and data collection.
[0076] As described in Embodiment 1, each log collection server is connected to an egress device (such as a router / switch) that needs to collect data, that is, the log collection server needs to bypass monitor the data stream and collect the corresponding data , the detector unit 11 is used to collect data.
[0077] The parsing unit 12 is used to analyze the data in real time, extract the key field of the data packet, and send it to the Hash distribution unit 13.
[0078] The main job of the parsing unit 12 is to analyze the data collected by the detector unit 11 in real time, and...
Embodiment 3
[0091] Such as image 3 Shown is a flowchart of the principle of the data packet distribution method provided by Embodiment 3 of the present invention, wherein,
[0092] Step 21, the log collection server captures and analyzes the data packets.
[0093] The log collection server is located in the DHT network, and captures and analyzes data packets by monitoring the data stream. One of the purposes of parsing is to obtain the key field of the data packet. The key field of the data packet includes the source address IP, destination address IP, source port, destination port and transport layer protocol quintuple information of the data packet.
[0094] Step 22, according to the key field of the data packet, run the Hash function to obtain the Key value of the data packet.
[0095] Here, the Key value of the packet needs to be calculated according to the following formula:
[0096] Key=hash(SrcIP+DstIP+SrcPort+DstPort+Proto)
[0097] Among them, SrcIP is the source address IP...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com