CN108134721A - A kind of anti-adverse environment Ethernet LAN communication system - Google Patents

A kind of anti-adverse environment Ethernet LAN communication system Download PDF

Info

Publication number
CN108134721A
CN108134721A CN201711322382.XA CN201711322382A CN108134721A CN 108134721 A CN108134721 A CN 108134721A CN 201711322382 A CN201711322382 A CN 201711322382A CN 108134721 A CN108134721 A CN 108134721A
Authority
CN
China
Prior art keywords
terminal device
ethernet
layer
frames
link
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
CN201711322382.XA
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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
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 Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN201711322382.XA priority Critical patent/CN108134721A/en
Publication of CN108134721A publication Critical patent/CN108134721A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Abstract

The present invention relates to a kind of anti-adverse environment Ethernet LAN communication systems, are related to Ethernet communication technology field.Present invention application has the advantage of low cost at a high speed based on standard ethernet technology;Agreement framework is simplified, upper layer software (applications) agreement is fallen in optimization, improves real-time communication;Using LLC Type2 command response operation modes, communication certainty is improved;Using dual redundant network technology, communication reliability is improved;Using monitoring port, communication service can be monitored;Using acknowledgement frame Portable device status information, system maintenance is improved.

Description

A kind of anti-adverse environment Ethernet LAN communication system
Technical field
The present invention relates to Ethernet communication technology fields, and in particular to a kind of anti-adverse environment Ethernet local area network communication system System.
Background technology
At present, the interconnection of special equipment is still mostly using 485 buses, 1553B buses and CAN bus etc., transmission architecture Still the bus-type framework before twenty or thirty year is continued to use, bus system is of high cost, and transmission rate is low, it is difficult to realize that big data is transmitted, Have become the bottleneck of limitation systematic entirety energy.Special equipment bus also attempted other high-speed buses such as optical-fibre channel (FC) And Ethernet.But since the connector shock resistance of FC is not strong, fiber cross-sections vulnerable to pollution, fiber optic cable are easily lost, non-refractory The shortcomings of FC is caused to be difficult to apply the adverse circumstances in weaponry.And Ethernet is occupying industry ethernet due to each terminal Upper to generate conflict, competition bus bandwidth brings uncertainty.The prior art uses ICP/IP protocol, but due to ICP/IP protocol Complexity needs operating system protocol stack to support, and software protocol real-time is poor.And network monitoring, management and maintainability are insufficient The shortcomings of also further limit application of the Ethernet in special equipment field.
Invention content
(1) technical problems to be solved
The technical problem to be solved by the present invention is to:How to design it is a kind of have real-time, certainty, reliability, can monitor, The Ethernet LAN communication system of the anti-adverse environment of easy care feature without using ICP/IP protocol, is realized under adverse circumstances Ethernet local area network communication.
(2) technical solution
In order to solve the above technical problem, the present invention provides a kind of anti-adverse environment Ethernet LAN communication system, Including three layer protocol frameworks:Physical layer, link layer and application layer, the physical layer uses standard ethernet physical layer, for reality Existing ethernet PHY and 100BASE-TX physical interface functions;The link layer uses standard ethernet media access control sublayer and LLC logics Link control sublayer is used to implement MAC logics and LLC logic functions;The application layer is used to implement Client application software and hard Part interface driver function;
The system uses dual redundant network, and the terminal device of system is made of computer and terminal interface board, every piece Terminal interface board has 2 identical Ethernet physical interfaces, each Ethernet physical interface point of terminal interface board Not Lian Jie 2 identical Ethernet Layer 2 switch, each terminal device possesses 2 sets of identical exchange networks in system, Realize dual redundant communication;
Preferably, the Ethernet Layer 2 switch, MAC Address and port numbers used by the switching equipment of the system Between look-up table, i.e., MAC Address-port numbers look-up table use static configuration;Port receives processing and abandons CRC check mistake Ethernet frame abandons the ethernet frame that source MAC is not inconsistent with receiving port number;It exchanges according to the mesh of ethernet frame received MAC Address, search MAC Address-port numbers look-up table and obtain transmitting terminal slogan, and the ethernet frame received is exchanged into hair Sending end mouth;Ethernet frame content is not changed in port transmission processing, the original Ethernet frame transmitted and received;Monitoring port can be to appointing The business of one monitored port of meaning carries out mirror image processing.
Preferably, in the system, object is established by Ethernet cable between terminal device and Ethernet Layer 2 switch Reason link, if communicating pair is terminal device A and terminal device B, then the data flow between terminal device A and terminal device B is: After the application layer-LLC sublayers in terminal device A from top to bottom and media access control sublayer-physical layer, pass through device A and too two layers of friendship of net Physical link between changing planes reaches too net Layer 2 switch, then physical layer-media access control sublayer-physics in too net Layer 2 switch After layer, terminal device B is reached by the physical link too between net Layer 2 switch and terminal device B, passes through terminal device B Physical layer-media access control sublayer from bottom to up inside and LLC sublayers-application layer;Wherein the application layer of terminal device A is with terminal device B's Data transfer path between application layer is known as virtual link, and system uses connection-oriented service mode, i.e., in two terminals Equipment application interlayer provides virtual link and establishes, resets, terminating and a series of data transmission this communication service end to end.
Preferably, the end-to-end communication service realizes LLC Type2 operation modes by LLC sublayers function, i.e. source is whole End equipment sends communications command to purpose terminal device, and being sent after the completion of purpose terminal device reception processing to source terminal equipment should Response is answered, in link establishment phase, terminal device A sends SABME frames to terminal device B, and for establishing virtual link, terminal is set After standby B receives SABME frames, condition responsive UA frames are sent to terminal device A, represent to receive to establish virtual link order;In number According to the transmission stage, terminal device A sends I frames to terminal device B, for data transmission, after terminal device B receives I frames, to end End equipment A sends condition responsive RR frames, represents to receive data transfer command, the state that terminal device A receiving terminal apparatus B is returned Response continues to send next I frames, otherwise retransmits current I frames if success;In the link down stage, terminal device A to Terminal device B sends DISC frames, for removing virtual link, after terminal device B receives DISC frames, is sent to terminal device A Condition responsive UA frames represent to receive and remove virtual link order.
Preferably, the condition responsive UA frames receive the response after order, and wrap comprising equipment as defined in LLC standards Containing the current status information of equipment, for feeding back to the opposite end of virtual link.
Preferably, the condition responsive UA frames replace the fill part of ethernet frame payload using the status information of equipment.
(3) advantageous effect
Present invention application has the advantage of low cost at a high speed based on standard ethernet technology;Agreement framework is simplified, optimization is fallen Upper layer software (applications) agreement improves real-time communication;Using LLC Type2 orders-respond operation mode, communication certainty is improved;It adopts With dual redundant network technology, communication reliability is improved;Using monitoring port, communication service can be monitored;It is carried using acknowledgement frame Status information of equipment improves system maintenance.
Description of the drawings
Fig. 1 is a kind of layered structure schematic diagram of anti-adverse environment Ethernet LAN communication system of the present invention;
Fig. 2 is a kind of topology diagram of anti-adverse environment Ethernet LAN communication system of the present invention;
Fig. 3 is a kind of data flow of anti-adverse environment Ethernet LAN communication system of the present invention and link (virtual chain Road) schematic diagram;
Fig. 4 is a kind of end-to-end communication service signal of anti-adverse environment Ethernet LAN communication system of the present invention Figure.
Specific embodiment
To make the purpose of the present invention, content and advantage clearer, with reference to the accompanying drawings and examples, to the present invention's Specific embodiment is described in further detail.
The Ethernet LAN communication system of a kind of anti-adverse environment proposed by the present invention, using three layer protocol framves of optimization Structure:Physical layer is using standard ethernet physical layer, link layer using standard ethernet media access control sublayer and LLC logic link controls (removing) network layer, transport layer, session layer and expression layer are fallen in layer, optimization, retain application layer.As shown in Figure 1, physical layer function base Hardware design is carried out in commercial IC chip, realizes ethernet PHY and 100BASE-TX physical interface functions.Link layer is based on FPGA Logical design is carried out, it is main to realize MAC logics and LLC logic functions.Application layer is based on CPU and carries out Software for Design, main to realize Client application software and hardware interface driver function.
The Ethernet LAN communication system of a kind of anti-adverse environment, using dual redundant network.The terminal of system Equipment is made of computer and terminal interface board.Every piece of terminal interface board has 2 identical Ethernet physical interfaces. Each Ethernet physical interface of terminal interface board connects 2 identical Ethernet Layer 2 switch respectively.Such as Fig. 2 institutes Show, each terminal device possesses 2 sets of identical exchange networks in system, realizes dual redundant communication.
The Ethernet LAN communication system of the anti-adverse environment, Ethernet Layer2 switching used by switching equipment Machine, MAC Address-port numbers look-up table use static configuration;Port receives the ethernet frame that processing abandons CRC check mistake, loses Abandon the ethernet frame that source MAC is not inconsistent with receiving port number;It exchanges according to the target MAC (Media Access Control) address of ethernet frame received, It searches MAC Address-port numbers look-up table and obtains transmitting terminal slogan, and the ethernet frame received is exchanged into sending port;End Ethernet frame content is not changed in mouth transmission processing, the original Ethernet frame transmitted and received;Monitoring port can be to any one quilt Monitor that the business of port carries out mirror image processing.
In the Ethernet LAN communication system of the anti-adverse environment, between terminal device and Ethernet Layer 2 switch Physical link is established by Ethernet cable.As shown in figure 3, the data flow between terminal device A and terminal device B is:Through end After application layer-LLC sublayers and media access control sublayer-physical layer in end equipment A from top to bottom, pass through device A and too net Layer 2 switch Between physical link reach too net Layer 2 switch, then after physical layer-media access control sublayer-physical layer in too net Layer 2 switch, Terminal device B is reached by physical link too between net Layer 2 switch and terminal device B, pass through in terminal device B from Under supreme physical layer-media access control sublayer and LLC sublayers-application layer.The wherein application layer of terminal device A and the application of terminal device B Data transfer path between layer is known as virtual link.System uses connection-oriented service mode, i.e., in two terminal devices Virtual link is provided using interlayer to establish, reset, terminate and a series of data transmission this communication service end to end.
The end-to-end communication service realizes LLC Type2 operation modes, i.e. source terminal equipment by LLC sublayers function Communications command is sent to purpose terminal device, sending response to source terminal equipment after the completion of purpose terminal device reception processing rings It should.As shown in figure 4, in link establishment phase, terminal device A sends SABME frames to terminal device B, for establishing virtual link. After terminal device B receives SABME frames, condition responsive UA frames are sent to terminal device A, represent to receive to establish virtual link life It enables;In data transfer phase, terminal device A sends I frames to terminal device B, for data transmission.Terminal device B receives I frames Afterwards, condition responsive RR frames are sent to terminal device A, represents to receive data transfer command.Terminal device A receiving terminal apparatus B is returned The condition responsive returned continues to send next I frames, otherwise retransmits current I frames if success;In the link down stage, eventually End equipment A sends DISC frames to terminal device B, for removing virtual link.After terminal device B receives DISC frames, to terminal Device A sends condition responsive UA frames, represents to receive and removes virtual link order.
The condition responsive frame not only receives the response after order, and comprising setting comprising equipment as defined in LLC standards Standby current status information, for feeding back to the opposite end of virtual link.The response frame that LLC standards define, does not carry data information, To meet 802.3 standards, ethernet frame payload part is filled in vain.The condition responsive frame of system, using the state of equipment Information data replaces the invalid filling, to improve the maintainability of end-to-end communication.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformation can also be made, these are improved and deformation Also it should be regarded as protection scope of the present invention.

Claims (6)

1. a kind of anti-adverse environment Ethernet LAN communication system, which is characterized in that including physical layer, link layer and application Layer, the physical layer use standard ethernet physical layer, are used to implement ethernet PHY and 100BASE-TX physical interface functions; The link layer uses standard ethernet media access control sublayer and LLC logical link control sublayers, is used to implement MAC logics and LLC logics Function;The application layer is used to implement Client application software and hardware interface driver function;
The system uses dual redundant network, and the terminal device of system is made of computer and terminal interface board, every piece of terminal Interface board has 2 identical Ethernet physical interfaces, and each Ethernet physical interface of terminal interface board connects respectively 2 identical Ethernet Layer 2 switch are connect, each terminal device possesses 2 sets of identical exchange networks in system, realizes Dual redundant communicates.
2. the method as described in claim 1, which is characterized in that the Ethernet two used by the switching equipment of the system Layer switch, the look-up table between MAC Address and port numbers, i.e. MAC Address-port numbers look-up table use static configuration;Port The ethernet frame that processing abandons CRC check mistake is received, abandons the ethernet frame that source MAC is not inconsistent with receiving port number;It hands over It changes according to the target MAC (Media Access Control) address of ethernet frame received, searches MAC Address-port numbers look-up table and obtain transmitting terminal slogan, and The ethernet frame received is exchanged into sending port;Ethernet frame content is not changed in port transmission processing, is transmitted and received Original Ethernet frame;The business that monitoring port can be monitored any one port carries out mirror image processing.
3. the method as described in claim 1, which is characterized in that in the system, terminal device and Ethernet Layer 2 switch Between physical link established by Ethernet cable, if communicating pair is terminal device A and terminal device B, then terminal device A with Data flow between terminal device B is:Application layer-LLC sublayers from top to bottom and media access control sublayer-physical layer in terminal device A Afterwards, the physical link by device A and too between net Layer 2 switch reaches too net Layer 2 switch, then through too net Layer2 switching In machine after physical layer-media access control sublayer-physical layer, reached eventually by the physical link too between net Layer 2 switch and terminal device B End equipment B passes through physical layer-media access control sublayer and LLC sublayers-application layer in terminal device B from bottom to up;Wherein terminal is set Data transfer path between the application layer of standby A and the application layer of terminal device B is known as virtual link, and system is used towards connection Service mode, i.e., two terminal device application interlayers provide virtual links establish, reset, terminate and data transmission this be Arrange communication service end to end.
4. method as claimed in claim 3, which is characterized in that the end-to-end communication service is realized by LLC sublayers function LLC Type2 operation modes, i.e. source terminal equipment send communications command, purpose terminal device reception processing to purpose terminal device Response is sent to source terminal equipment after completion, in link establishment phase, terminal device A sends SABME to terminal device B Frame for establishing virtual link, after terminal device B receives SABME frames, sends condition responsive UA frames to terminal device A, represents Virtual link order is established in receiving;In data transfer phase, terminal device A sends I frames to terminal device B, for data transmission, After terminal device B receives I frames, condition responsive RR frames are sent to terminal device A, represent to receive data transfer command, terminal is set The condition responsive that standby A receiving terminal apparatus B is returned, continues to send next I frames, otherwise retransmits current I frames if success; In the link down stage, terminal device A sends DISC frames to terminal device B, and for removing virtual link, terminal device B is received To after DISC frames, condition responsive UA frames are sent to terminal device A, represents to receive and removes virtual link order.
5. method as claimed in claim 5, which is characterized in that the condition responsive UA frames include equipment as defined in LLC standards The response after order is received, and comprising the current status information of equipment, for feeding back to the opposite end of virtual link.
6. method as claimed in claim 5, which is characterized in that the condition responsive UA frames are replaced using the status information of equipment The fill part of ethernet frame payload.
CN201711322382.XA 2017-12-12 2017-12-12 A kind of anti-adverse environment Ethernet LAN communication system Pending CN108134721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711322382.XA CN108134721A (en) 2017-12-12 2017-12-12 A kind of anti-adverse environment Ethernet LAN communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711322382.XA CN108134721A (en) 2017-12-12 2017-12-12 A kind of anti-adverse environment Ethernet LAN communication system

Publications (1)

Publication Number Publication Date
CN108134721A true CN108134721A (en) 2018-06-08

Family

ID=62390197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711322382.XA Pending CN108134721A (en) 2017-12-12 2017-12-12 A kind of anti-adverse environment Ethernet LAN communication system

Country Status (1)

Country Link
CN (1) CN108134721A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1729675A (en) * 2002-12-06 2006-02-01 思科技术公司 Apparatus for realizing a lightweight, reliable, packet-based transport protocol
CN1777180A (en) * 2005-12-02 2006-05-24 东南大学 Wireless protection accessing device based on embedded system
CN101571991A (en) * 2009-06-02 2009-11-04 镇江市亿华系统集成有限公司 Double Ethernet redundant server-based monitoring and alarming system
US20120076048A1 (en) * 1999-06-29 2012-03-29 Cisco Technology, Inc. Load sharing and redundancy scheme
CN102842914A (en) * 2012-08-02 2012-12-26 中国电力科学研究院 Energy storage power station monitoring system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120076048A1 (en) * 1999-06-29 2012-03-29 Cisco Technology, Inc. Load sharing and redundancy scheme
CN1729675A (en) * 2002-12-06 2006-02-01 思科技术公司 Apparatus for realizing a lightweight, reliable, packet-based transport protocol
CN1777180A (en) * 2005-12-02 2006-05-24 东南大学 Wireless protection accessing device based on embedded system
CN101571991A (en) * 2009-06-02 2009-11-04 镇江市亿华系统集成有限公司 Double Ethernet redundant server-based monitoring and alarming system
CN102842914A (en) * 2012-08-02 2012-12-26 中国电力科学研究院 Energy storage power station monitoring system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王金江: "一种基于标准以太网的实时同步网络研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
马宁: "基于FPGA的以太网逻辑链路控制功能的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Similar Documents

Publication Publication Date Title
US11616696B2 (en) Transparent auto-negotiation of Ethernet
McAuley Protocol design for high speed networks
CN103152260B (en) Message forwarding system, method and device
JPH07501188A (en) local area network transmission emulator
US20120155458A1 (en) Repeated Lost Packet Retransmission in a TCP/IP Network
CN103746927B (en) Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN106603550A (en) Network isolation method and network isolation device
CN111262715A (en) Virtual intranet acceleration method and system and computer equipment
CN109039892B (en) Service transmission method, network equipment and network system
US11817970B2 (en) Method, device, and system for determining generic routing encapsulation GRE tunnel identifier
CN110933385B (en) Video streaming transmission system based on visible light unidirectional network isolation
CN104468213B (en) A kind of switch remote management system and method
CN108134721A (en) A kind of anti-adverse environment Ethernet LAN communication system
CN104363185B (en) A kind of miniature composite network data exchange system
CN107104892A (en) The method and apparatus of network acceleration
CN106411616B (en) A kind of device and method by 1553B bus management ethernet terminal
CN102271045B (en) Virtual private network (VPN)-instance-based inter-equipment backup method, equipment and system
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
KR100259768B1 (en) Method of service process using point-to-point protocol and multilink protocol in the distributed environment
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands
CN107483231A (en) A kind of multi-protocol data transport network layer and transport layer monitoring reliability method
Cisco IBM Network Media Translation Commands
Cisco IBM Network Media Translation Commands

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180608