CN101753284A - 10/100M Ethernet double interface switching method based upon carrier detect and device thereof - Google Patents

10/100M Ethernet double interface switching method based upon carrier detect and device thereof Download PDF

Info

Publication number
CN101753284A
CN101753284A CN200910273380A CN200910273380A CN101753284A CN 101753284 A CN101753284 A CN 101753284A CN 200910273380 A CN200910273380 A CN 200910273380A CN 200910273380 A CN200910273380 A CN 200910273380A CN 101753284 A CN101753284 A CN 101753284A
Authority
CN
China
Prior art keywords
network
ethernet
link
interface switching
carrier wave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910273380A
Other languages
Chinese (zh)
Inventor
汤敬伟
宋俊强
杨允基
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
No709 Inst China Ship Heavy Industry Group Co Ltd
709th Research Institute of CSIC
Original Assignee
No709 Inst China Ship Heavy Industry Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by No709 Inst China Ship Heavy Industry Group Co Ltd filed Critical No709 Inst China Ship Heavy Industry Group Co Ltd
Priority to CN200910273380A priority Critical patent/CN101753284A/en
Publication of CN101753284A publication Critical patent/CN101753284A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a 10/100M Ethernet double interface switching method based upon carrier detect and a device thereof. According to the principle of automatic negotiation mechanism, the method detects the working state of the link by hardware method in no association with application software and operating system, and all hardware completes automatic switching between double redundant network interfaces and link. By using all hardware method, the invention monitors the working states of network card and network link, wherein the network link is switched to a standby network link in the case that the working state is in error. The invention implements quick automatic switching between two network links without interferences from the application software and the operating system and implements double link redundancy design with low cost, thereby improving the reliability of network transmission. The invention can be applied to all military and civil fields with the requirement of high network transmission reliability.

Description

A kind of 10/100M Ethernet double interface switching method and device that detects based on carrier wave
Technical field
The present invention relates to computer network and information technology technical field, a kind of specifically 10/100M Ethernet double interface switching method and device that detects based on carrier wave.
Background technology
In some special application scenario, for reliability and the survivability that improves system, need to adopt two redundant network technology, comprise following several common methods:
1, network interface card and network link is two redundant.Use two network interface cards and two network links, application software regularly detects the register that network interface card is represented connection status, just activates standby network interface card when finding connection error.Mainstream operation system (as WINDOWS, Linux) because it is not a real time operating system, adopts the software pair method that net switches from finding that fault is longer to switching to the backup link time though support many network interface cards at present.The detection of network failure is that software is finished.
2, network interface and network link is two redundant.Use a network interface card and 2 RJ45 interfaces, when the user finds that network is not worked, just manually or by software control the network interface card switching is connected on the reserve link.The detection person of being to use of network failure finishes.
The network most common failure generally is divided into failure of chip, network interface is loosening and netting twine disconnects 3 classes, and the Ethernet cable transmission path of star bus structure is long, and the fault of back 2 class network links is occupied higher proportion.The present patent relevant with two network interfaces switchings generally is the two net isolation technologies that are used to the field of ensuring information security, be that single computer need be implemented in two internetwork switchings, how to adopt two network interface cards or double interface switching method to realize alternately switching of computer inner-external network, thereby make computer can either visit external network, can on internal network, work again and can be information leakage.The patent No. of announcing as Patent Office of the People's Republic of China is the patent of invention of 200710105950.0 " two net switching device shifters of a kind of network computer and changing method ", the described method of such patent be the user according to work requirements, initiatively in heterogeneous networks, switch by physical unit or software and hardware device.
Summary of the invention
The objective of the invention is to develop a kind of 2 mutually redundant network links that between computer and switch, provide, adopt hardware mode to detect the operating state of link, if find link failure can with the prerequisite of application software and operating system independent under automatically switch to reserve link work, utilize the normal operation of link redundancy assurance network, improve the 10/100M Ethernet double interface switching method and the device based on the carrier wave detection of network reliability.
A kind of 10/100M Ethernet double interface switching method that detects based on carrier wave of the present invention, its core is according to the Automatic Negotiation Mechanism principle, adopt hardware approach to detect the operating state of link, with the prerequisite of application software and operating system independent under, devices at full hardware is finished the automatic switchover of two Redundant Network Port and link.
A kind of 10/100M Ethernet double interface switching method that detects based on carrier wave of the present invention, make full use of the work characteristics of Automatic Negotiation Mechanism, adopt hardware approach to detect NLP pulse or FLP pulse, carrier detecting circuit just works on the work at present link switchover by relay when detecting less than NLP pulse or FLP pulse at the appointed time to the backup network link, guaranteed the normal operation of network.This method step is as follows: according to the requirement of IEEE 802.3, good for use for maintenance link, all ethernet network devices must be supported Automatic Negotiation Mechanism, even network does not have data communication, support the network interface of this agreement also will regularly send NLP pulse or FLP pulse (the 10M Ethernet sends NLP, and the 100M Ethernet sends FLP); If at the appointed time, the ethernet network chip is not received NLP pulse or FLP pulse, just enters the DOWN state; If receive NLP pulse or FLP pulse for twice, just transfer the UP state to.
A kind of two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave of the present invention, comprise network chip, commutation circuit, carrier detecting circuit, control logic circuit and transformer A and transformer B, described network chip and commutation circuit and carrier detecting circuit interconnection; Commutation circuit is connected respectively with network chip, transformer A, transformer B, control logic circuit; Carrier detecting circuit detects the operating state of work at present link and will detect feedback information to control logic circuit, if control logic circuit will detect information and condition discrimination according to the comparison link normally then remain unchanged, make commutation circuit be transformed into standby active link from the work at present link otherwise send control signal to commutation circuit, the process of detection is continual.
A kind of two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave of the present invention, comprise: network chip, commutation circuit, carrier detecting circuit, control logic circuit, network link A and network link B, wherein network link A is made up of the port A of transformer A, RJ45 socket A, UTP twisted-pair feeder A and Ethernet switch; Network link B is made up of the port B of transformer B, RJ45 socket B, UTP twisted-pair feeder B and Ethernet switch.
Described network chip is a DM9008 type network chip, also is applicable to other 10/100M network chip.
Described commutation circuit is made up of 2 dpdt relay G6A234P, and two G6A234P finish the switching of TX differential signal and RX differential signal in the twisted-pair feeder respectively.
Described carrier detecting circuit is a MAX907 type two-way voltage comparator.
Described control logic circuit is ISP1032E type programmable logic device and drives buffer circuit.
The present invention is a kind of based on the 10/100M Ethernet double interface switching method of carrier wave detection and the advantage of device to be: the present invention adopts the operating state of hardware method network interface card and network link, when finding the operating state mistake of network interface card and network link, switch to the backup network link; The intervention that need not application software and operating system promptly can be implemented in the quick automatic switching of two network links (its switching time is less than 100ms in the application testing that adopts udp protocol), realized the dual link Redundancy Design with lower cost, improved the reliability of Network Transmission, can be applied to the various military-civil field higher the Network Transmission reliability index.
Description of drawings
Fig. 1 is the theory diagram based on the 10/100M Ethernet double interface switching method of carrier wave detection.
Embodiment
According to shown in Figure 1, a kind of two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave comprise network chip, commutation circuit, carrier detecting circuit, control logic circuit, network link A and network link B, and dotted line is positioned at computer-internal with interior part.Wherein network link A is made up of the port A of transformer A, RJ45 socket A, UTP twisted-pair feeder A and Ethernet switch; Network link B is made up of the port B of transformer B, RJ45 socket B, UTP twisted-pair feeder B and Ethernet switch.The indication network chip is DM9008 among this figure, also is applicable to other 10/100M network chip; Commutation circuit is made up of 2 dpdt relay G6A234P, and two G6A234P finish the switching of TX differential signal and RX differential signal in the twisted-pair feeder respectively; Carrier detecting circuit adopts 1 two-way voltage comparator MAX907; Control logic circuit is made up of programmable logic device ISP1032E and driving buffer circuit.
Network chip links to each other with carrier detecting circuit with commutation circuit; Control logic circuit is connected with the input (common port) of carrier detecting circuit and commutation circuit relay; 2 road outputs of commutation circuit relay (often opening output and normally closed output) link to each other with 2 network links respectively, and input links to each other with the 10/100M network chip.
In 10/100M Ethernet double interface switching method, the major function of ethernet nic comprises that the encapsulation of data and deblocking, link management and Manchester encoding and decoding work finished by network chip DM9008.Under normal operation, the network input/output signal of DM9008 links to each other with the input (common port) of commutation circuit G6A234P, and 2 road outputs of commutation circuit G6A234P (often opening output and normally closed output) link to each other respectively with network link B with network link A.At synchronization, under control logic circuit control the network input/output signal of DM9008 by G6A234P and network link A or network link B with one of link to each other and form the network interface card module of an operate as normal.If network work is normal, according to the Automatic Negotiation Mechanism of Ethernet, carrier detecting circuit MAX907 continuous detecting from physical link goes out NLP or FLP pulse, and the control logic circuit hold mode is constant; If network work is undesired, carrier detecting circuit does not detect NLP or FLP pulse greater than 20 milliseconds, control logic circuit is known current link occurs fault according to Automatic Negotiation Mechanism, send switching signal to commutation circuit, the input of relay disconnects the original input that connects, and connect another input of relay, thereby realize switching to the action of backup network link.
There are following three kinds of states in 10/100M Ethernet double interface switching method: if two equal fault-free of network link, commutation circuit will rest on when prepass work; If one link is normal, a link failure, commutation circuit will remain on normal link work automatically; If the equal fault of link two, commutation circuit is is regularly patrolled and examined per 2 second cycle between two links, normally just switch to this link work in case find certain bar link-recovery.

Claims (9)

1. 10/100M Ethernet double interface switching method that detects based on carrier wave, it is characterized in that: according to the Automatic Negotiation Mechanism principle, adopt hardware approach to detect the operating state of link, with the prerequisite of application software and operating system independent under, devices at full hardware is finished the automatic switchover of two Redundant Network Port and link.
2. the 10/100M Ethernet double interface switching method that detects based on carrier wave according to claim 1, it is characterized in that: according to the requirement of IEEE 802.3, good for use for maintenance link, all ethernet network devices must be supported Automatic Negotiation Mechanism, even network does not have data communication, support the network interface of this agreement also will regularly send NLP pulse or FLP pulse; If at the appointed time, the ethernet network chip is not received NLP pulse or FLP pulse, just enters the DOWN state; If receive NLP pulse or FLP pulse for twice, just transfer the UP state to.
3. two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave, it is characterized in that: comprising: network chip, commutation circuit, carrier detecting circuit, control logic circuit, network link A and network link B, described network chip and commutation circuit and carrier detecting circuit interconnection; Commutation circuit is connected respectively with network chip, transformer A, transformer B, control logic circuit.
4. the two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave according to claim 3, it is characterized in that: network link A is made up of the port A of transformer A, RJ45 socket A, UTP twisted-pair feeder A and Ethernet switch.
5. the two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave according to claim 3, it is characterized in that: network link B is made up of the port B of transformer B, RJ45 socket B, UTP twisted-pair feeder B and Ethernet switch.
6. the two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave according to claim 3, it is characterized in that: described network chip is a DM9008 type network chip, or is applicable to other 10/100M network chip.
7. the two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave according to claim 3, it is characterized in that: described commutation circuit is made up of two dpdt relay G6A234P, and two G6A234P finish the switching of TX differential signal and RX differential signal in the twisted-pair feeder respectively.
8. the two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave according to claim 3, it is characterized in that: described carrier detecting circuit is a MAX907 type two-way voltage comparator.
9. the two network interface switching device shifters of 10/100M Ethernet that detect based on carrier wave according to claim 3, it is characterized in that: described control logic circuit is ISP1032E type programmable logic device and drives buffer circuit.
CN200910273380A 2009-12-25 2009-12-25 10/100M Ethernet double interface switching method based upon carrier detect and device thereof Pending CN101753284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910273380A CN101753284A (en) 2009-12-25 2009-12-25 10/100M Ethernet double interface switching method based upon carrier detect and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910273380A CN101753284A (en) 2009-12-25 2009-12-25 10/100M Ethernet double interface switching method based upon carrier detect and device thereof

Publications (1)

Publication Number Publication Date
CN101753284A true CN101753284A (en) 2010-06-23

Family

ID=42479730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910273380A Pending CN101753284A (en) 2009-12-25 2009-12-25 10/100M Ethernet double interface switching method based upon carrier detect and device thereof

Country Status (1)

Country Link
CN (1) CN101753284A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186265A (en) * 2011-05-04 2011-09-14 京信通信***(中国)有限公司 Distributed base station and networking method thereof
CN102684946A (en) * 2012-05-25 2012-09-19 中国舰船研究设计中心 Dual-network-interface-card switching performance testing method for information integration system
CN102736585A (en) * 2012-05-14 2012-10-17 华东桐柏抽水蓄能发电有限责任公司 Master/slave communication judging/switching system of local control unit based on pulse
CN103401696A (en) * 2013-06-25 2013-11-20 国家电网公司 Dual-network redundant communication system in industrial equipment and communication method thereof
CN103795556A (en) * 2012-10-30 2014-05-14 华为技术有限公司 Failure processing method and network switch
CN104978174A (en) * 2014-04-08 2015-10-14 华为技术有限公司 Method and system for switching network cards in plurality of operating systems
CN108390798A (en) * 2018-02-28 2018-08-10 郑州云海信息技术有限公司 Control method, device, equipment and the storage medium of the double network interface work of server
CN108540337A (en) * 2018-03-07 2018-09-14 百富计算机技术(深圳)有限公司 A kind of double network interface POS machine and its Network Expert Systems system, method
CN108737188A (en) * 2018-05-24 2018-11-02 郑州云海信息技术有限公司 A kind of net card failure switching system
WO2023045389A1 (en) * 2021-09-26 2023-03-30 华为技术有限公司 Network card adaptation circuit, network card adaptation method, and related apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186265B (en) * 2011-05-04 2013-11-06 京信通信***(中国)有限公司 Distributed base station and networking method thereof
CN102186265A (en) * 2011-05-04 2011-09-14 京信通信***(中国)有限公司 Distributed base station and networking method thereof
CN102736585A (en) * 2012-05-14 2012-10-17 华东桐柏抽水蓄能发电有限责任公司 Master/slave communication judging/switching system of local control unit based on pulse
CN102684946B (en) * 2012-05-25 2014-08-27 中国舰船研究设计中心 Dual-network-interface-card switching performance testing method for information integration system
CN102684946A (en) * 2012-05-25 2012-09-19 中国舰船研究设计中心 Dual-network-interface-card switching performance testing method for information integration system
CN103795556A (en) * 2012-10-30 2014-05-14 华为技术有限公司 Failure processing method and network switch
CN103795556B (en) * 2012-10-30 2017-09-19 华为技术有限公司 A kind of fault handling method and the network switch
CN103401696A (en) * 2013-06-25 2013-11-20 国家电网公司 Dual-network redundant communication system in industrial equipment and communication method thereof
CN104978174A (en) * 2014-04-08 2015-10-14 华为技术有限公司 Method and system for switching network cards in plurality of operating systems
CN104978174B (en) * 2014-04-08 2018-04-27 华为技术有限公司 Switching method and system in multiple operating system between network interface card
CN108390798A (en) * 2018-02-28 2018-08-10 郑州云海信息技术有限公司 Control method, device, equipment and the storage medium of the double network interface work of server
CN108540337A (en) * 2018-03-07 2018-09-14 百富计算机技术(深圳)有限公司 A kind of double network interface POS machine and its Network Expert Systems system, method
CN108540337B (en) * 2018-03-07 2020-12-22 百富计算机技术(深圳)有限公司 Dual-network-port POS machine and network state monitoring system and method thereof
CN108737188A (en) * 2018-05-24 2018-11-02 郑州云海信息技术有限公司 A kind of net card failure switching system
WO2023045389A1 (en) * 2021-09-26 2023-03-30 华为技术有限公司 Network card adaptation circuit, network card adaptation method, and related apparatus

Similar Documents

Publication Publication Date Title
CN101753284A (en) 10/100M Ethernet double interface switching method based upon carrier detect and device thereof
CN1201455C (en) Redundant communications in protective relay
CN102055633B (en) Satellite-borne double-CAN (Controller Area Network) bus node failure self-restoration system
US8001306B2 (en) Interface unit and communication system having a master/slave structure
CN102984059B (en) Gigabit Ethernet redundancy network interface card and link switching condition criterion output control method thereof
CN102759891B (en) Hard handover dual-redundancy CAN controller
CN111538319B (en) CAN bus controller parallel test method
CN102752145B (en) Novel detecting and isolating system for fault of RS-485 port and method thereof
CN103581164A (en) Method for transmitting messages in redundantly operable industrial communication network and communication device for redundantly operable industrial communication network
CN104796329B (en) A kind of link automatic switching method and device
CN103107940B (en) For the redundant gateway system of device level looped network
CN106559494B (en) A kind of scene surveillance radar redundancy control system based on distributed network
CN109428728A (en) Autosensing method and apparatus
CN113032187A (en) High-speed dual-computer hot standby redundancy communication method
CN201766606U (en) Network switching device based on physical layer state detection and fault screening strategy
US9521091B2 (en) Relay system and switching device
CN201393231Y (en) Gateway device with by-pass switch
CN103684719B (en) Network dual-redundancy hot swap method independent of platforms
CN106411616B (en) A kind of device and method by 1553B bus management ethernet terminal
CN111641544B (en) CAN bus controller parallel test system
CN104135411A (en) Device and method of implementing multi-node communication based on RS232 interface
CN105743927B (en) A kind of CANopen and DP protocol data conversion method
CN204390224U (en) A kind of fault-tolerant master-slave synchronisation serial communication system based on FPGA
CN109088753B (en) Circuit and method for automatically detecting RS485 communication fault
CN204231352U (en) A kind of intelligent bypass apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100623