CN101404600B - Self-negotiation method for implementing long-distance Ethernet operation mode in Ethernet - Google Patents
Self-negotiation method for implementing long-distance Ethernet operation mode in Ethernet Download PDFInfo
- Publication number
- CN101404600B CN101404600B CN2007101757610A CN200710175761A CN101404600B CN 101404600 B CN101404600 B CN 101404600B CN 2007101757610 A CN2007101757610 A CN 2007101757610A CN 200710175761 A CN200710175761 A CN 200710175761A CN 101404600 B CN101404600 B CN 101404600B
- Authority
- CN
- China
- Prior art keywords
- ethernet
- page
- negotiation
- auto
- mode
- 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.)
- Active
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention discloses an auto-negotiation method for realizing a long-distance Ethernet working mode in Ethernet, which comprises the following steps: step S102: auto-negotiation devices in the Ethernet mutually notify attribute information by Next Page; step S104: the devices determine working modes according to the attribute information from other devices and make arrangements according to the working modes, thus leading the auto-negotiation devices to be mutually supported; step S106: the link is established when the arrangements are finished. By using the method, the auto-negotiation of the long-distance Ethernet working mode in Ethernet can be realized and the compatibility with the present standard can be realized.
Description
Technical field
The present invention relates to the communications field, and especially, relate to a kind of method that in Ethernet, realizes the auto-negotiation of Long Range Ethernet mode of operation.
Background technology
In the IEEE802.3 standard, regulation ethernet device both sides in the process of auto-negotiation, exchange each other information by Base Page.Table 1 shows the encoded content of Base Page:
?D0 | ?D1 | ?D2 | ?D3 | ?D4 | ?D5 | ?D6 | ?D7 | ?D8 | ?D9 | ?D10 | ?D11 | D12 | ?D13 | ?D14 | ?D15 |
?S0 | ?S1 | ?S2 | ?S3 | ?S4 | ?A0 | ?A1 | ?A2 | ?A3 | ?A4 | ?A5 | ?A6 | A7 | ?RF | ?ACK | ?NP |
?Sector?field | Technology?ability?field |
Table 1
In table 1, the NP of D15 is used for expression and whether descends one page (Next Page).
And Next Page has two kinds, message page (Message Page) and not format page (Unformatted Page).And distinguish by the MP of the D13 in the table 1.Particularly, MP is 1 expression Message Page, and MP is 0 expression Unformatted Page.
The coding structure of Next Page is as shown in table 2:
DataBit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
DataField(M) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | T | Ack2 | MP=1 | ACK | NP |
DataField(U) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | T | Ack2 | MP=0 | ACK | NP |
Table 2
Wherein, M[0-10] be message code, the concrete implication of M10-0 is as shown in table 3:
Message Code# | M 10 | M 9 | M 8 | M 7 | M 6 | M 5 | M 4 | M 3 | M 2 | M 1 | M 0 | Message?Code?Description |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Reserved?for?future Auto-Negotiation?use |
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | Null?Message |
2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | One?UP?with?Technology Ability?Field?follows |
3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | Two?UPs?with?Technology Ability?Field?follow |
4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | One?UP?with?Binary?coded Remote?fault?follows |
5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | Organizationally?Unique Identifier?Tagged?Message |
6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | PHY?Identifier?Tag?Code |
7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 100BASE-T2?Technology Message?Code.100BASE-T2 Ability?Page?to?follow?using Unformatted?Next?Page |
8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1000BASEE-T?Technology Message?Code.Two 1000BASE-T?Ability?Pages?to follow?using?Unformatted?Next Pages. |
9..... | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | Reserved?for?future Auto-Negotiation?use |
......2047 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | Reserved?for?future Auto-Negotiation?use |
Table 3
At present, the auto-negotiation in the Ethernet between the equipment exchanges each other information by Base Page, and mainly is to carry out in the mode of operation of standard code, and can't realize the auto-negotiation beyond 802.3 standard codes, as the Long Range Ethernet mode of operation.
Up to now, for this problem effective solution is not proposed as yet.
Summary of the invention
Consider the problems referred to above and make the present invention that for this reason, main purpose of the present invention is to provide a kind of scheme that realizes the auto-negotiation of Long Range Ethernet mode of operation in Ethernet.
According to embodiments of the invention, provide a kind of method that in Ethernet, realizes the auto-negotiation of Long Range Ethernet mode of operation.
This method comprises: step S102, and the equipment that carries out auto-negotiation in the Ethernet is notified the attribute information of itself mutually by following one page (Next Page); Step S104, equipment determine mode of operation, and according to mode of operation himself are provided with according to the attribute information from miscellaneous equipment, make the equipment that carries out auto-negotiation support mutually; And step S106, after equipment is finished the configuration of himself, set up link.
Wherein, following one page comprises: message page (Message Page) and format page or leaf (a Unformatted Page), and with the M[10-0 of message page] be set to 0x64.At this moment, will not format the U[10-0 of page or leaf] attribute information of equipment when being set to grow apart from auto-negotiation.
In addition, according to the U[10-0 of format page or leaf not] information and the priority orders expressed determine mode of operation.As shown in table 5.
By technique scheme of the present invention, can in Ethernet, realize the auto-negotiation of Long Range Ethernet, and can be compatible mutually with existing standard.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the method for the auto-negotiation of realizing the Long Range Ethernet mode of operation in Ethernet of the embodiment of the invention; And
Fig. 2 is according to the flow chart of determining the equipment work pattern in the method for the embodiment of the invention.
Embodiment
LRE is a kind of off-gauge Long Range Ethernet PHY, and it adopts the information that exchanges the distinctive long distance mode of LRE by Next Page in the process of operative norm auto-negotiation.The present invention will realize the auto-negotiation of long distance mode by this mode of Next Page.
In the present embodiment, provide a kind of method that in Ethernet, realizes the Long Range Ethernet auto-negotiation by Next Page, and can be compatible well with standard ethernet.Wherein, the Long Range Ethernet mode of operation is particular job pattern beyond 802.3 standards.
As shown in Figure 1, comprise according to the method for the auto-negotiation of in Ethernet, realizing the Long Range Ethernet mode of operation of present embodiment: step S102, the equipment that carries out auto-negotiation in the Ethernet is notified the attribute information of itself mutually by Next Page; Step S104, equipment determine mode of operation, and according to mode of operation himself are provided with according to the attribute information from miscellaneous equipment, make the equipment that carries out auto-negotiation support mutually; And step S106, after equipment is finished the configuration of himself, set up link.
Wherein, Next Page comprises: Message Page and Unformatted Page, and with the M[10-0 of Message Page] be set to 0x64.At this moment, with the M[10-0 of Unformatted Page] attribute information of equipment when being set to carry out the Long Range Ethernet auto-negotiation.
In addition, according to the U[10-0 of Unformatted Page] priority mode of expressing separately determines mode of operation.As shown in table 5.
To be that example is described the implementation procedure according to the method for present embodiment below with LRE.
At first define the M[10-0 of Message Page]=during 0x64, Unformatted Page is the information of Long Range Ethernet pattern.
LRE has expanded Next Page, and the M[10-0 of definition Message Page]=during 0x64, Unformatted Page is the information of long distance mode.As shown in Table 3, M[10-0]=0x64 is the definition that 802.3 standards keep, M[10-0] and 10 bit are arranged, therefore 2048 kinds of values can be arranged, select M[10-0]=0x64 is not specific, can select other retention of 802.3 yet.
The present invention has defined the M[10-0 of Message Page]=during 0x64, the coding structure of UnformattedPage.Specifically shown in table 4 and table 5:
DataBit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
DataField(M) | M0 | M1 | M2 | M3 | M4 | M5 | M6 | M7 | M8 | M9 | M10 | T | Ack2 | NP=1 | ACK | NP |
DataField(U) | U0 | U1 | U2 | U3 | U4 | U5 | U6 | U7 | U8 | U9 | U10 | T | Ack2 | NP=0 | ACK | NP |
Table 4
?Bit | ?BitDefinition | ?Register?bitlocation |
?Page?0(Message?Next?Page) | ||
?M10:M0 | ?0x64 | |
?Page?1(Unformatted?Next?Page) | ||
?U10:U6 | ?Reserved;always?transmitted?as?0 | |
?U5 | ?10BASE-LR,half?duplex | ?MII?register,0x1F.5 |
?U4 | ?10BASE-LR,full?duplex | ?MII?register,0x1F.4 |
?U3 | ?100BASE-LR?half?duplex | ?MII?register,0x1F.3 |
?U2 | ?100BASE-LR?full?duplex | ?MII?register,0x1F.2 |
?U1 | ?100BASE-TX with LRE?capabilities,half?duplex(Local?device?has?Long?Range?ability,but?prefers?to?work?at?100BASE-TX?half?duplex?mode) | ?MII?register,0x1F.1 |
?U0 | ?100BASE-TX?with?LRE?capabilities,full?duplex(Local?device?has?Long?Range?ability,but?prefers?to?work?at?100BASE-TX?full?duplex?mode) | ?MII?register,0x1F.0 |
Table 5
Wherein, table 4 shows the content of the distinctive Next Page of LRE encoding (MessagePage), and table 5 shows the content of the distinctive Next Page of LRE encoding (Unformatted Page)
After exchanging Next Page information, can determine ethernet device both sides' mode of operation according to priority mode shown in Figure 2.
As shown in Figure 2, Long Range Ethernet equipment specifically can comprise following processing when interconnected:
At first, whether Long Range Ethernet equipment inspection itself has carried out the hardware configuration of mode of operation, if hardware configuration, then according to the pattern work of hardware configuration, as 10Base-T, 100Base-Tx, 10base-T XLR full duplex or the like.
Secondly, if do not carry out hardware configuration, then consult by Page information.If detect the M[10-0 of Message Page]=0x64, then consult according to the priority orders among the Unformatted Page.The person does not then hold consultation according to 802.3 standard,
Wherein, the order of priority is as follows:
1,100BASE-TX?full?duplex?with?LR?ability.
2,100BASE-TX?half?duplex?with?LR?ability.
3,100BASE-TXLR?full?duplex.
4,100BASE-TXLR?half?duplex.
5,10BASE-TXLR?full?duplex.
6,10BASE-TXLR?half?duplex.
7,100BASE-TX?full?duplex.
8,100BASE-TX?half?duplex.
9,10BASE-T?full?duplex.
10,10BASE-T?half?duplex.
In sum,, can in Ethernet, realize the auto-negotiation of Long Range Ethernet pattern by means of technical scheme of the present invention, and can be compatible mutually with existing standard.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (3)
1. method that in Ethernet, realizes the auto-negotiation of Long Range Ethernet mode of operation,
It is characterized in that, comprising:
Step S102, the equipment that carries out auto-negotiation in the Ethernet is notified the attribute information of itself mutually by following one page;
Step S104, described equipment determine mode of operation, and according to described mode of operation himself are provided with according to the described attribute information from other described equipment, make the described equipment that carries out auto-negotiation support mutually; And
Step S106 after described equipment is finished the configuration of himself, sets up link; Wherein, described down one page comprises: information page and format page, M[10-0 when described information page] when being set to the retention 0x64 of IEEE802.3, with the M[10-0 of described not format page or leaf] attribute information of equipment when being set to grow apart from the mode of operation auto-negotiation.
2. method according to claim 1 is characterized in that, makes the M[10-0 of described format page or leaf] with the U[10-0 of described format page] corresponding one by one.
3. method according to claim 2 is characterized in that, in described step S104, according to the U[10-0 of described format page or leaf] priority mode of expressing separately determines described mode of operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101757610A CN101404600B (en) | 2007-10-11 | 2007-10-11 | Self-negotiation method for implementing long-distance Ethernet operation mode in Ethernet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101757610A CN101404600B (en) | 2007-10-11 | 2007-10-11 | Self-negotiation method for implementing long-distance Ethernet operation mode in Ethernet |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101404600A CN101404600A (en) | 2009-04-08 |
CN101404600B true CN101404600B (en) | 2011-03-30 |
Family
ID=40538477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101757610A Active CN101404600B (en) | 2007-10-11 | 2007-10-11 | Self-negotiation method for implementing long-distance Ethernet operation mode in Ethernet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101404600B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218005B (en) * | 2018-11-15 | 2021-03-23 | 苏州裕太微电子有限公司 | Parallel detection method of Ethernet equipment without auto-negotiation signal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1753404A (en) * | 2004-09-23 | 2006-03-29 | 华为技术有限公司 | Method of using communication apparatus to select communication protocol |
CN1893420A (en) * | 2005-07-06 | 2007-01-10 | 华为技术有限公司 | Ethernet interface butt-jointing method |
CN1953458A (en) * | 2005-10-17 | 2007-04-25 | 美国博通公司 | Apparatus and method of remote phy auto-negotiation |
-
2007
- 2007-10-11 CN CN2007101757610A patent/CN101404600B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1753404A (en) * | 2004-09-23 | 2006-03-29 | 华为技术有限公司 | Method of using communication apparatus to select communication protocol |
CN1893420A (en) * | 2005-07-06 | 2007-01-10 | 华为技术有限公司 | Ethernet interface butt-jointing method |
CN1953458A (en) * | 2005-10-17 | 2007-04-25 | 美国博通公司 | Apparatus and method of remote phy auto-negotiation |
Also Published As
Publication number | Publication date |
---|---|
CN101404600A (en) | 2009-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101278512B (en) | Error correction in packet-based communication networks using data consistency checks | |
CN105959231B (en) | A kind of proxy port communication flow rate control method and redundance unit | |
CN1354931A (en) | Method for minimizing feedback responses in ARQ protocols | |
CN101882975B (en) | Method for transmitting data by using preamble of Ethernet frame | |
CN100433841C (en) | Robustness header compression/decompression method for MIPv6 | |
CN102546217B (en) | A kind of message filtering method | |
CN106452870A (en) | Redundancy control method for primary device of CANopen network | |
CN101404600B (en) | Self-negotiation method for implementing long-distance Ethernet operation mode in Ethernet | |
CN103313201A (en) | Traffic indication information transmission method and device | |
CN103888909A (en) | Method and device for sending multicast flow in unicast mode | |
CN102118291B (en) | Ring network link failure processing method, device and ring network | |
CN110519136A (en) | A kind of RS485 multi-machine communication system of adaptive networking | |
CN106027521B (en) | Compression method, decompressing method, compression set and decompression device | |
CN111628920A (en) | Intercommunication method between multiple serial interface devices | |
WO2002005343A3 (en) | System and method for comparing electronics manufacturing data | |
US20210399992A1 (en) | Service transmitting method and device, and service receiving method and device | |
CN103491601A (en) | Method and device for base station access in communication system using SACK mechanism | |
CN107360594B (en) | Information processing method and device | |
US20100238790A1 (en) | Method for quick map recovery in case of error in moca | |
CN111917826A (en) | PBFT consensus algorithm based on block chain intellectual property protection | |
CN111365830B (en) | Fan networking system based on RS-485 enhanced Modbus communication protocol | |
CN101592940A (en) | A kind of automation control system that inserts robotization isomery controller and uses thereof | |
CN113162867B (en) | Spreading sequence control for segmented frames in WLAN | |
CN118945235A (en) | Communication protocol coding method based on CAN bus | |
CN117240651B (en) | Method for inquiring equipment online, telemetry system, electronic equipment and storage medium |
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 |