Unlock instant, AI-driven research and patent intelligence for your innovation.

Dual-network-adpater network hot standby method and system based on sniffing technology

A dual network card and network card technology, applied in the field of communication network cards, can solve the problems of lack of flexible modules, inability to develop dual network card redundancy and load balancing, and inability to be compatible with load balancing at the same time, and achieve the effect of reducing maintenance costs.

Active Publication Date: 2021-08-24
中国兵器装备集团自动化研究所有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for real-time systems, there is a lack of corresponding flexible modules for implementation. The bonding module in Linux works on the driver layer in the link layer, and at the same time realizes dual-network card redundancy and dual-network card load balancing. However, for real-time systems, it is very The open source kernel only provides network card drivers visible to developers, making it impossible to develop at the link layer in the network protocol stack similar to the bonding module to achieve dual network card redundancy and load balancing
In the current real-time system that uses dual network cards, the dual network card redundancy function is only implemented at the application layer, and cannot be compatible with load balancing at the same time.

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
  • Dual-network-adpater network hot standby method and system based on sniffing technology
  • Dual-network-adpater network hot standby method and system based on sniffing technology
  • Dual-network-adpater network hot standby method and system based on sniffing technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] Such as figure 1 As shown, the present embodiment provides a method for network hot backup with dual network cards based on sniffing technology, comprising the following steps:

[0082] S1. Connect two network cards to the hot standby system at the same time;

[0083] S2. After the network card is sniffed and initialized according to the local configuration to determine the specified sniffed network card, the dual-network card hot standby system and the external end perform data frame transmission;

[0084] S3. Redefine the IP field and the transport layer of the current data frame according to the source and destination of the data frame;

[0085] S4. The two network cards in the hot standby system transmit data with the external end via the same IP address at the same time.

[0086] Step S2 includes the following sub-steps:

[0087] S21. Select one of the network cards of the hot standby system as the designated sniffing network card, and perform IP binding;

[00...

Embodiment 2

[0113] According to a kind of sniffing technology-based dual network card network hot backup method in embodiment 1, this embodiment provides a dual network card network hot backup system based on sniffing technology, such as Figure 4 As shown, it includes application layer, transport layer, network layer, data link layer and physical layer; wherein the data link layer includes: network card driver module and sniffing module, and the sniffing module includes sniffing initialization setting module, redefinition module and transmission module;

[0114] The network card driver module is used to connect two network cards to the hot standby redundant system at the same time;

[0115] The sniffing initialization setting module is used to perform sniffing initialization settings on the network card according to the local configuration to determine the specified sniffing network card;

[0116] Redefine the module to redefine the transport layer of the current data frame according to...

Embodiment 3

[0124] Such as Figure 9 As shown, the two remote hosts use the same IP address and the same port to communicate with the local host, and the two hosts do not affect each other, which reduces the maintenance cost of the remote host software program.

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 dual-network-adpater network hot standby method and system based on a sniffing technology. The method comprises the following steps of: enabling two network adpaters to simultaneously access a hot standby system; after the network adpaters are subjected to sniffing initialization setting according to local configuration to determine a specified sniffing network adpater, enabling the dual-network-adpater hot standby system to perform data frame transmission with an outer end; redefining an IP field and a transmission layer of the current data frame according to the source and the destination of the data frame; and enabling the two network adpaters in the hot standby system to perform data transmission with the outer end through the same IP address at the same time. According to the invention, the double network adpaters work independently at the same time, the two network adpaters and the outer end maintain the same IP address for transmission, the IP address does not need to be reconfigured even if one network adpater is disconnected, even if the opposite-end equipment changes the local end network port, the same IP address can still be used for communication with the local-end equipment, and the maintenance cost of the opposite-end equipment is reduced; a user can conveniently design system nodes, a non-real-time system can be directly configured and used, and a real-time system can be correspondingly and flexibly applied.

Description

technical field [0001] The invention relates to the technical field of communication network cards, in particular to a dual network card network hot backup method and system based on sniffing technology. Background technique [0002] At present, with the increasing level of independent and controllable localization, traditional imported embedded devices have gradually begun to be replaced by localization. In addition to basic processor replacement, the demand for localization of various data interfaces has also changed from functional to For performance, in some systems with high real-time and reliability requirements, the network reliability and availability requirements are also getting higher and higher. [0003] Dual-machine hot standby system, as a common system to ensure system availability, uses two computers to back up each other and jointly execute the same service. When a server fails, another server can automatically ensure that the system can continue to provide...

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): H04L1/22H04L12/24
CPCH04L1/22H04L41/0836
Inventor 龚俊李龙杰梅勇吴昌昊曹睿
Owner 中国兵器装备集团自动化研究所有限公司