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

Gate offline detection method based on SYN semi-connection data packets

An offline detection and data packet technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problems of many heartbeat server resources, security restrictions in the computer room, inflexible configuration, etc., to achieve flexible configuration, low bandwidth consumption, The effect of occupying less resources of the receiving heartbeat server

Active Publication Date: 2019-11-22
苏州八维通智慧科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above two detection survival methods have the problems of inflexible configuration, long reporting interval, large bandwidth consumption, occupying a lot of heartbeat server resources, and security restrictions in the computer room

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
  • Gate offline detection method based on SYN semi-connection data packets
  • Gate offline detection method based on SYN semi-connection data packets
  • Gate offline detection method based on SYN semi-connection data packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] refer to figure 1 , figure 2 , image 3 , Figure 4 , Figure 5 with Image 6 , the present invention a kind of gate machine off-line detection method based on SYN semi-connected data packet, and specific implementation is as follows:

[0021] Create an LRU priority queue. The LRU priority queue includes HashTable and LinkList. The Key value of the HashTable in the LRU priority queue is the IP address of the gate, which is used to quickly locate the location of the online information of the gate in the queue. In the LRU priority queue The Value structure is used to store the timestamp of the gate's last response and the IP address of the gate;

[0022] Sending, receiving, and parsing of data, creating a Raw Socket on the detection server and sending the SYN handshake data directly at the OSI network layer, the SYN data is sent to the gate port through the physical network card, router, and switch, and the gate port will return Data, the data is obtained by Pcap t...

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 gate offline detection method based on SYN semi-connection data packets. The method comprises the following steps: S01, initializing a Pcap library, and setting a Pcap filtering rule; S02, initializing a Raw Socket, and creating a Raw Socket original socket to directly send SYN handshake data on an OSI network layer; S03, initializing an LRU queue, and recording an original IP address, a final response timestamp and an IP address of the gate; S04, sending and receiving an SYN semi-connection data packet, sending the SYN semi-connection data packet to the gate machineby the server, receiving data through the Pcap by the gate machine receives, analyzing the data into an OSI model data structure and transmiting the OSI model data structure to the OSI model application layer; and S05, updating and searching the LRU queue, positioning the memory position of the gate information in the LRU priority queue, and judging whether the gate is offline or not according tothe response time. According to the invention, the gate detection survival mode configuration is flexible. The reporting interval is short. The broadband consumption is small. The occupied heartbeat receiving server resources are few, and the machine room safety is not limited.

Description

【Technical field】 [0001] The invention relates to the technical field of network protocols, in particular to the technical field of an off-line detection method for gates based on SYN semi-connected data packets. 【Background technique】 [0002] Under the modes of strict entry and wide exit and wide entry and strict exit of the subway, it is necessary to make the network gates of the whole line of the subway reach a very high online rate to ensure the circulation of passengers and avoid congestion. The offline gates of the subway need to be detected in the first time, and the problem should be found and repaired. At present, subways around the world use gates to actively report TCP disconnection heartbeat packets and ICMP to judge the survival of gates. The above two detection survival methods have the problems of inflexible configuration, long reporting interval, large bandwidth consumption, occupying a lot of heartbeat server resources, and security restrictions in the com...

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/26H04L29/06
CPCH04L43/10H04L69/162H04L69/22H04L43/106
Inventor 王智成李守勤黄春雨
Owner 苏州八维通智慧科技有限公司
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