[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1708027A - Method for transmitting Ethernet equipment duplex mode information - Google Patents

Method for transmitting Ethernet equipment duplex mode information Download PDF

Info

Publication number
CN1708027A
CN1708027A CN 200410046355 CN200410046355A CN1708027A CN 1708027 A CN1708027 A CN 1708027A CN 200410046355 CN200410046355 CN 200410046355 CN 200410046355 A CN200410046355 A CN 200410046355A CN 1708027 A CN1708027 A CN 1708027A
Authority
CN
China
Prior art keywords
mode information
duplex mode
duplex
ethernet
interface
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.)
Granted
Application number
CN 200410046355
Other languages
Chinese (zh)
Other versions
CN100336361C (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2004100463550A priority Critical patent/CN100336361C/en
Publication of CN1708027A publication Critical patent/CN1708027A/en
Application granted granted Critical
Publication of CN100336361C publication Critical patent/CN100336361C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Bidirectional Digital Transmission (AREA)
  • Communication Control (AREA)

Abstract

The method of transmitting duplex mode information of Ethernet equipment includes: for the Ethernet equipment to utilize one idle physical connection line in the RJ45 interface in sending its self duplex mode information and one other idle physical connection line in the RJ45 interface in receiving the duplex mode information the opposite side sends; to connect the sending/receiving physical connection lines with the receiving/sending physical connection lines in the RJ45 interface of the opposite side; and for the Ethernet equipment in both sides to share one third idle physical connection line as ground line. The method is simple and reliable, and can solve the problem in matching the operation mode in both sides, especially in case of one side in self-consulting mode and the other side in forced 10 M or 100 M mode.

Description

A kind of method that transmits duplex mode information of Ethernet equipment
Technical field
The present invention relates to ethernet device, relate in particular to the transfer approach of information between ethernet device.
Background technology
Intercommunicated transmission of crossing auto-negotiation agreement realization interconnection information needed between present 10,000,000, the 100 mbit ethernet equipment.In order to be connected with the early stage ethernet device that the auto-negotiation function is not provided, equipment is execution " detection of parallel link test pulse " earlier before auto-negotiation information is detected.In addition, when equipment (comprising the equipment that the auto-negotiation function is provided) is forced to be operated in 10,000,000 or 100,000,000 speed states, can not send the auto-negotiation protocol package, but send the link integrity test bag, interconnected between the equipment also is to rely on the detection link test pulse of sending each other to finish.This moment, the interconnection of equipment room can have problems under specific circumstances.Illustrate: the ethernet device of two ends interconnection is set to auto-negotiation mode (auto negotiation mode can be supported 10,000,000,100,000,000 full and half duplex pattern) respectively and forces 100,000,000 full duplex modes.Force the equipment of 100,000,000 full duplexs not send negotiated packet owing to be operated in, so opposite equip. can only be obtained job information from the link test pulse that it sends.And these information can only provide operating rate, do not have duplex mode information.The equipment work pattern that be operated in the auto-negotiation mode this moment finally can be set to 100,000,000 half-duplexs.Both sides are operated under the different dual-modes.Hence one can see that is operated in and forces 10,000,000 or 100,000,000 ethernet device can't transmit duplex and semiduplex mode information, and the other side can be defaulted as the half-duplex state that is operated in.And thereby both sides' mode of operation of interconnection does not match and can cause data to send and receive unusual.
United States Patent (USP) 6665275 (Network device including automatic detection of duplexmismatch) has proposed a kind of technical scheme that addresses this problem, by detecting under the conflict generation state whether receive that the method for whole frame solves this problem.When both sides' mode of operation did not match, promptly a side was operated in half-duplex, and the other end is operated in full duplex.Be operated in a semiduplex end and can often receive collision signal, yet, can continue to send data because full duplex one end can't have been learnt the conflict generation.So also can receive complete packet when half duplex side is received conflict.Just can determine that duplex mode has taken place not to match this moment.But in one case, make and to produce wrong result in this way equally: though when interconnection both sides dual-mode coupling, but have under the situation of late collision generation, also can receive the whole frame that the opposite end sends over when ethernet device may be received conflict, may think that duplex mode does not match and produces erroneous judgement this moment.
Summary of the invention
Purpose of the present invention is exactly in order to overcome the equipment that Ethernet auto-negotiation function is not provided in the prior art and to be operated in the problem that the ethernet device of forcing under 10,000,000,100,000,000 patterns can't transmit duplex, semiduplex mode information, propose a kind of integrality that need not to detect the conflicting hours certificate, can accurately obtain the method for the transmission duplex mode information of Ethernet equipment of opposite end duplex mode information in all cases.
Technical scheme of the present invention is: a kind of method that transmits duplex mode information of Ethernet equipment, comprise: ethernet device sends the duplex mode information of self with an idle physics connecting line of RJ45 interface, receive the duplex mode information that the opposite end sends with the idle physics connecting line of another root of RJ45 interface, the corresponding reception/transmission physical connection line interconnection of the physical connection line of transmission/reception and opposite end ethernet device RJ45 interface; Shared the 3rd idle physics connecting line of both sides' ethernet device is as ground wire.
Perhaps: ethernet device sends the duplex mode information of self with a pair of idle physics connecting line of RJ45 interface, with another of RJ45 interface idle physics connecting line is received duplex mode information that the opposite end sends, the corresponding reception/transmission physical connection line of the physical connection line of transmission/reception pair and opposite end ethernet device RJ45 interface is to interconnection.
Above-mentioned duplex mode information of Ethernet equipment comprises: 10,000,000 full-duplex modes, 10,000,000 complete half worker's pattern, 100,000,000 full-duplex modes and 100,000,000 semiduplex modes.
The duplex mode information of Ethernet equipment that transmits can be high and low level signal, also can be the coded message of specific format.
The ethernet device that operates in the pressure mode only sends the duplex mode information of this equipment at corresponding duplex mode information transmitting terminal, do not detect the duplex mode information that the opposite end sends.
The ethernet device that operates in the auto-negotiation mode sends the duplex mode information of this equipment at corresponding duplex mode information transmitting terminal, and detects the duplex mode information that send the opposite end.
The method that the present invention proposes utilizes that idle not 4 physical connection lines of usefulness transmit duplex mode information of Ethernet equipment in the Ethernet RJ45 interface, realize simple and reliablely, can solve the mismatch problem of the ethernet device both sides mode of operation that interconnects in the prior art.Especially be auto negotiation mode a side, the opposing party is under pressure 10,000,000 or 100,000,000 patterns, and a side's of auto-negotiation negotiation result only may be a semiduplex mode, causes the abnormal problem of communication.Use the method for the present invention's proposition, need not to detect the integrality of conflicting hours certificate, can accurately obtain the opposite end duplex mode information in all cases.
Description of drawings
Fig. 1 is the physical connection schematic diagram of one embodiment of the present of invention;
Fig. 2 is the conveyer circuit theory diagrams of this embodiment.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
The RJ45 interface of ethernet device has 8 physical connection lines, and wherein 4 velamens are used in and transmit and receive data, and remains 4 and does not use.The present invention utilizes these 4 idle physical connection lines to transmit the duplex mode information of ethernet device.Fig. 1 is the physical connection schematic diagram of one embodiment of the present of invention, and as shown in Figure 1, Pin1,2 is data output end Tx+, the Tx-of ethernet device; Pin3,6 is the data receiver of ethernet device, Rx+, Rx-.Pin4,5 is used for transmitting the full and half duplex pattern information of ethernet device, and Pin7,8 is used to receive the full and half duplex pattern information of ethernet device work.The duplex mode information of Ethernet equipment that transmits can be high and low level signal, also can be the coded message of specific format.
Fig. 2 is the conveyer circuit theory diagrams of the foregoing description.As shown in Figure 2, separate with the transmission line of optocoupler in an embodiment of the present invention duplex mode information reception, transtation mission circuit and RJ45 on the equipment.R1 is a pull down resistor, that is to say that transmitting terminal defaults to low level, and optocoupler 1 not conducting this moment makes optocoupler 2 also not conductings.Receiving terminal connects power supply by pull-up resistor R4, defaults to high level.In an embodiment of the present invention, it is as follows to set level: when ethernet device is operated in half-duplex, send control end (Transmit) output low level, by optocoupler Hou, receiving terminal receives level for high; Otherwise, when ethernet device is operated in full duplex, send control end (Transmit) output high level, by optocoupler Hou, it is low that receiving terminal receives level.
In an embodiment of the present invention, suppose that ethernet device E1 is operated in the auto-negotiation mode, ethernet device E2 is operated in and forces 100,000,000 full duplex modes.Because E2 does not handle the duplex mode information that is sent by the other side who receives on the Pin7,8 for forcing 100,000,000 full duplexs.Corresponding information transmits control end and is changed to high level, optocoupler 1 and all conductings of optocoupler 2, and the E1 receiving terminal is a low level.E1 at first carries out agreement protocol, and register is consulted in the software inquiry, can obtain the E1 operating state of this moment after consulting to finish from result register: 100,000,000 half-duplexs.This moment is in the output control terminal output low level.Output level constant time lag a period of time, (in order to prevent the opposite end also was auto-negotiation equipment, is set to the certain duplex information of the other side the time), E1 detects the receiving terminal level, in the present embodiment, testing result is a low level, learn that opposite equip. E2 operates in the full duplex state, thereby judge that E2 for forcing 100,000,000 full duplexs, does not match with the local terminal mode of operation.So E1 is configured to force 100,000,000 full duplexs with local terminal, output is changed to high level.Like this, the method that the application of the invention proposes makes both sides' equipment all operate in 100,000,000 full-duplex modes, the problem of having avoided dual-mode not match and bring.

Claims (8)

1, a kind of method that transmits duplex mode information of Ethernet equipment, it is characterized in that: ethernet device sends the duplex mode information of self with an idle physics connecting line of RJ45 interface, receive the duplex mode information that the opposite end sends with the idle physics connecting line of another root of RJ45 interface, the corresponding reception/transmission physical connection line interconnection of the physical connection line of transmission/reception and opposite end ethernet device RJ45 interface; Shared the 3rd idle physics connecting line of both sides' ethernet device is as ground wire.
2, a kind of method that transmits duplex mode information of Ethernet equipment, it is characterized in that: ethernet device sends the duplex mode information of self with a pair of idle physics connecting line of RJ45 interface, with another of RJ45 interface idle physics connecting line is received duplex mode information that the opposite end sends, the corresponding reception/transmission physical connection line of the physical connection line of transmission/reception pair and opposite end ethernet device RJ45 interface is to interconnection.
3, method according to claim 1 and 2 is characterized in that described duplex mode information of Ethernet equipment comprises: 10,000,000 full-duplex modes, 10,000,000 complete half worker's pattern, 100,000,000 full-duplex modes and 100,000,000 semiduplex modes.
4, method according to claim 1 and 2 is characterized in that: the duplex mode information of Ethernet equipment of described transmission is high and low level signal.
5, method according to claim 4 is characterized in that: ethernet device is constant time lag a period of time when sending the level signal of duplex mode information.
6, method according to claim 1 and 2 is characterized in that: the duplex mode information of Ethernet equipment of described transmission is the coded message of specific format.
7, method according to claim 1 and 2 is characterized in that: the ethernet device that operates in the pressure mode only sends the duplex mode information of this equipment at corresponding duplex mode information transmitting terminal, do not detect the duplex mode information that the opposite end sends.
8, method according to claim 1 and 2 is characterized in that: the ethernet device that operates in the auto-negotiation mode sends the duplex mode information of this equipment at corresponding duplex mode information transmitting terminal, and detects the duplex mode information that send the opposite end.
CNB2004100463550A 2004-06-07 2004-06-07 Method for transmitting Ethernet equipment duplex mode information Expired - Fee Related CN100336361C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100463550A CN100336361C (en) 2004-06-07 2004-06-07 Method for transmitting Ethernet equipment duplex mode information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100463550A CN100336361C (en) 2004-06-07 2004-06-07 Method for transmitting Ethernet equipment duplex mode information

Publications (2)

Publication Number Publication Date
CN1708027A true CN1708027A (en) 2005-12-14
CN100336361C CN100336361C (en) 2007-09-05

Family

ID=35581684

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100463550A Expired - Fee Related CN100336361C (en) 2004-06-07 2004-06-07 Method for transmitting Ethernet equipment duplex mode information

Country Status (1)

Country Link
CN (1) CN100336361C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100438457C (en) * 2006-11-09 2008-11-26 华为技术有限公司 Working mode detection, warning method and device
CN101047712B (en) * 2006-06-19 2010-04-21 华为技术有限公司 Device and method for detecting Ethernet interface configuration
CN102117218A (en) * 2011-02-17 2011-07-06 中兴通讯股份有限公司 Embedded equipment and method for downloading program of programmable logic device in same
CN101345754B (en) * 2008-08-20 2011-12-28 北京星网锐捷网络技术有限公司 Duplexing pattern matching method and apparatus, communication system
CN101778009B (en) * 2009-01-12 2012-09-05 瑞昱半导体股份有限公司 Wired network connection method and network device applying same
CN103457744A (en) * 2013-09-25 2013-12-18 胡清桂 8-wiring-system network card

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5309092A (en) * 1993-01-27 1994-05-03 Hewlett-Packard Company Token ring test simulation method and device
US6533618B1 (en) * 2000-03-31 2003-03-18 Ortronics, Inc. Bi-directional balance low noise communication interface
WO2001077699A1 (en) * 2000-04-11 2001-10-18 Sony Electronics Inc. Automatic straight/crossover cable detection circuit
CN2466852Y (en) * 2001-02-28 2001-12-19 北京瑞斯康达科技发展有限公司 Opto-electronic signal converter for Ethernet

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047712B (en) * 2006-06-19 2010-04-21 华为技术有限公司 Device and method for detecting Ethernet interface configuration
CN100438457C (en) * 2006-11-09 2008-11-26 华为技术有限公司 Working mode detection, warning method and device
CN101345754B (en) * 2008-08-20 2011-12-28 北京星网锐捷网络技术有限公司 Duplexing pattern matching method and apparatus, communication system
CN101778009B (en) * 2009-01-12 2012-09-05 瑞昱半导体股份有限公司 Wired network connection method and network device applying same
CN102117218A (en) * 2011-02-17 2011-07-06 中兴通讯股份有限公司 Embedded equipment and method for downloading program of programmable logic device in same
CN102117218B (en) * 2011-02-17 2014-11-05 中兴通讯股份有限公司 Embedded equipment and method for downloading program of programmable logic device in same
CN103457744A (en) * 2013-09-25 2013-12-18 胡清桂 8-wiring-system network card

Also Published As

Publication number Publication date
CN100336361C (en) 2007-09-05

Similar Documents

Publication Publication Date Title
CN101542981B (en) Communication system having a master/slave structure
US6640308B1 (en) System and method of powering and communicating field ethernet device for an instrumentation and control using a single pair of powered ethernet wire
CN102984059B (en) Gigabit Ethernet redundancy network interface card and link switching condition criterion output control method thereof
CN110334046A (en) SPI full-duplex communication method, device and system
CN107193697A (en) A kind of method for realizing the nonpolarity connections of RS485
CN100336361C (en) Method for transmitting Ethernet equipment duplex mode information
CN101140558A (en) Embedded system and satellite communication method thereof
EP4000222B1 (en) Method for providing high-availability services on one-way data diode
CN102882508A (en) Simple circuit for switching polarity of RS485 interface
CN101741849A (en) Method, system and device for transmitting serial port service data
CN102929830A (en) Software simulation rapid communication protocol
CN106991066A (en) Intelligent electric energy meter and its communication AB polarity adaptive communications methods of RS 485
US7428599B2 (en) Method for detecting link partner state during auto negotiation and switching local state to establish link
CN107911288B (en) Train communication network card and train control management system
US11989151B2 (en) Transceiver device and communication control device for a user station of a serial bus system, and method for communicating in a serial bus system
CN100525134C (en) Information transmission system and information transmission method
US20220342839A1 (en) Additional communication in standardized pinout of a bidirectional interface between a first and second communication device
EP4149083A1 (en) Method and system for optoelectronic matching
CN210691097U (en) Program-controlled digital quantity input/output board card based on domestic CPU
CN108683577A (en) Interface conversion circuit and double nip device
CN210518377U (en) EtherCAT, ProfiNET bus compatible system
CN208337602U (en) Interface conversion circuit and double nip device
CN210804414U (en) Circuit with reusable communication interface
CN101031899A (en) Device for transmiting signal
CN102148678A (en) Dual-path automatic full-redundancy transparent light transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070905

Termination date: 20130607