CN102148802B - Link negotiation method and distance-enhanced Ethernet equipment - Google Patents
Link negotiation method and distance-enhanced Ethernet equipment Download PDFInfo
- Publication number
- CN102148802B CN102148802B CN201010107768.0A CN201010107768A CN102148802B CN 102148802 B CN102148802 B CN 102148802B CN 201010107768 A CN201010107768 A CN 201010107768A CN 102148802 B CN102148802 B CN 102148802B
- Authority
- CN
- China
- Prior art keywords
- equipment
- transmission rate
- negotiation
- lre
- auto
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Communication Control (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a link negotiation method and distance-enhanced Ethernet equipment. The method comprises the following steps: first LRE (Long Reach Ethernet) equipment establishes a link with second equipment to determine the type of a transmission medium between the first LRE equipment and the second equipment; the first LRE equipment selects transmission rates corresponding to the determined transmission medium type from transmission rates supported by the first LRE equipment; and the first LRE equipment adopts the selected transmission rates in turn from high to low to carry out link negotiation with the second equipment, stops the negotiation process if the negotiation is successful and adopts the current transmission rate to communicate with the second equipment. By using the invention, the LRE equipment can negotiate to an optimal working mode.
Description
Technical field
The present invention relates to transmission technique field, be specifically related to the method and the LRE equipment that apart from enhanced ethernet (LRE, LongRange Ethernet) equipment, carry out link negotiation.
Background technology
LRE is used link discovery signaling (LDS, Link Discovery Signaling) complete the function of link negotiation, LRE equipment can reach the transmission range more farther than common ethernet device under 10Mbps and 100Mbps speed, as: the transmission range farthest of common ethernet device is generally 100 meters, and the transmission range farthest of LRE equipment can reach 1400 meters.The content of LDS auto-negotiation comprises: the determining of master-slave relationship; Estimate length of cable; Determine effective twisted-pair feeder logarithm, and line is to order; Determine the peak work capacity that both link ends is all supported.
In LDS auto-negotiation capability option, comprise: 10Mbps/1 to line, 10Mbps/2 to line, 100Mbps/1 to line, 100Mbps/2 to line, 100Mbps/4 to these five mode of operations of line.At present, support the LRE equipment of LRE interface also to there is the common ability with large network interface of support simultaneously, and comprise in the IEEE auto-negotiation capability option of common Ethernet support: 10Mbps/2 to line, 100Mbps/2 to line, 1000Mbps/4 to these three mode of operations of line.
The basic principle of LDS auto-negotiation is to support downward compatibility, and new capability negotiation does not become, and can turn back to existing technical indicator and hold consultation.Such as: in the situation that the ability to work that LDS auto-negotiation is contained is failed to consultations, can be automatically brought to IEEE (IEEE, Institute of Electrical and Electronics Engineers) the auto-negotiation ability that common Ethernet is supported: 10/100/1000Base_T holds consultation.
Fig. 1 has provided the flow chart that existing LER equipment carries out link negotiation, and as shown in Figure 1, its concrete steps are as follows:
Step 101:LRE device A powers on, and starts and opposite end: equipment B is carried out link negotiation.
First step 102:LRE device A carries out LDS auto-negotiation, read the mode of operation in default LDS auto-negotiation capability option, establish mode of operation and be followed successively by: 100Mbps/4 to line, 100Mbps/2 to line, 100Mbps/1 to line, 10Mbps/2 to line, 10Mbps/1 to line.
Step 103:LRE device A reads successively a mode of operation from LDS auto-negotiation capability option, and the LRE port of self is set to adopt this mode of operation, carries out link negotiation with equipment B.
Step 104:LRE device A judges that whether LDS auto-negotiation is successful, if so, performs step 105; Otherwise, perform step 106.
Step 105:LRE device A adopts the successful mode of operation of negotiation to communicate by letter with equipment B, and this flow process finishes.
Step 106:LRE device A enters IEEE auto-negotiation process, reads the mode of operation in default IEEE auto-negotiation capability option, establishes mode of operation and is followed successively by: 1000Mbps/4 to line, 100Mbps/2 to line, 10Mbps/2 to line.
Step 107:LRE device A reads successively a mode of operation from IEEE auto-negotiation capability option, and the ethernet port of self is set to adopt this mode of operation, carries out link negotiation with equipment B, adopts the successful mode of operation of negotiation and equipment B to communicate.
Flow process can be found out as shown in Figure 1: when equipment B only has common Ethernet interface, LRE device A, in the situation that LDS auto-negotiation does not become, can enter IEEE auto-negotiation process automatically, thereby makes two ends set up correct connection.But, when equipment B is also LRE equipment, there will be some irrational situations, for example: the in the situation that of adopting 4 pairs of 100 meters of netting twines to connect at two ends, 100Mbps/4 in LDS auto-negotiation capability option can be consulted to lineman's operation mode in two ends, rather than the right mode of operation of 1000Mbps/4 in IEEE auto-negotiation capability option, and the speed of these two kinds of patterns differs 9 times, like this, just can not work in two ends under optimal transmission speed.This be because: LDS auto-negotiation is first carried out at two ends, therefore, can consult successfully under to lineman's operation mode at 100Mbps/4, just can not carry out IEEE auto-negotiation process again, thereby can not consult optimum 1000Mbps/4 to lineman's operation mode.
Summary of the invention
The invention provides method and LRE equipment that LRE equipment carries out link negotiation, so that LRE equipment negotiates optimum mode of operation.
Technical scheme of the present invention is achieved in that
LRE equipment carries out a method for link negotiation, and the method comprises:
The one LRE equipment will be set up link with the second equipment, determines the transport media type of self and the second equipment room; In the transmission rate that the one LRE equipment is supported at self, select the transmission rate corresponding with determined transport media type;
The one LRE equipment, according to order from high to low, adopts selected transmission rate and the second equipment to carry out link negotiation successively, if consult successfully, stops negotiations process, and adopts current transmission rate and the second equipment to communicate.
Described transport media type is: the logarithm of transmission medium.
In the transmission rate that a described LRE equipment is supported at self, select the transmission rate corresponding with determined transport media type to be:
The one LRE equipment, in the LDS of self record auto-negotiation capability option and IEEE auto-negotiation capability option, is selected the transmission rate corresponding with determined transport media type.
A described LRE equipment is supported LDS auto-negotiation and IEEE auto-negotiation,
And by being included in the transmission rate not being included in LDS auto-negotiation capability option in IEEE auto-negotiation capability option, be increased in LDS auto-negotiation capability option in advance;
In the transmission rate that a described LRE equipment is supported at self, select the transmission rate corresponding with determined transport media type to be:
The one LRE equipment, in LDS auto-negotiation capability option, is selected the transmission rate corresponding with determined transport media type.
Being included in the transmission rate not being included in LDS auto-negotiation capability option in IEEE auto-negotiation capability option is: 1000Mbps/4 is to line.
An equipment, this equipment comprises:
The first module, set up link with opposite equip., determines the transport media type between this equipment and opposite equip.; In the transmission rate that this equipment is supported, according to the selective sequential transmission rate corresponding with determined transport media type from high to low, selected transmission rate is sent to the second module successively;
The second module, the transmission rate of sending from the first module, according to order from high to low, select successively a transmission rate and opposite equip. to carry out link negotiation, if consult successfully, stop negotiations process, and adopt current transmission rate and opposite equip. to communicate.
Described equipment further comprises: the 3rd module, for recording LDS auto-negotiation capability option and IEEE auto-negotiation capability option;
And described the first module is in the LDS auto-negotiation capability option and IEEE auto-negotiation capability option of the 3rd module records, successively according to the selective sequential transmission rate corresponding with determined transport media type from high to low.
Described equipment further comprises: four module, for recording LDS capability option, and is increased in LDS auto-negotiation capability option being included in the transmission rate not being included in LDS auto-negotiation capability option in IEEE auto-negotiation capability option in advance;
And described the first module is in the LDS auto-negotiation capability option of four module record, successively according to the selective sequential transmission rate corresponding with determined transport media type from high to low.
Compared with prior art, in the present invention, first determine transport media type, according to transmission rate corresponding to transmission medium carry out from high to low link negotiation, thereby LRE equipment always can be consulted in optimum mode of operation.
Accompanying drawing explanation
Fig. 1 is the flow chart that existing LER equipment carries out link negotiation;
Fig. 2 is the method flow diagram that LRE equipment provided by the invention carries out link negotiation;
The method flow diagram that the LRE equipment that Fig. 3 provides for another embodiment of the present invention carries out link negotiation;
Fig. 4 is the composition diagram of LRE equipment provided by the invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Fig. 2 is the method flow diagram that LRE equipment provided by the invention carries out link negotiation, and as shown in Figure 2, its concrete steps are as follows:
Step 201:LRE device A powers on, and starts and opposite end: equipment B is carried out link negotiation.
Step 202:LRE device A is determined the transport media type with equipment B.
Transport media type mainly refers to the logarithm of transmission medium, as: be 4 pairs of lines, 2 pairs of lines or 1 pair of line.
In all transmission rates that step 203:LRE device A is supported at self, select the transmission rate corresponding with determined transport media type.
At present, the transmission rate of LRE equipment support comprises: the transmission rate in LDS auto-negotiation capability option and IEEE auto-negotiation capability option.
Step 204:LRE device A, in selected transmission rate, according to order from high to low, is selected a transmission rate of not consulting successively, by self ports-settings for adopting this transmission rate.
Step 205:LRE device A and equipment B are carried out link negotiation.
Step 206:LRE device A judges whether to consult successfully, if so, performs step 207; Otherwise, return to step 204.
Step 207:LRE device A adopts consults successful transmission rate, communicates with equipment B.
Adopt embodiment illustrated in fig. 2 after, two ends can be consulted in an optimal transmission speed.For example: the transmission medium between device A, B is 4 pairs of lines, set device A, B are LRE equipment, in the LDS auto-negotiation capability option that device A is supported at self, can find 100Mbps/4 to lineman's operation mode, in IEEE auto-negotiation capability option, can find 1000Mbps/4 to lineman's operation mode, device A can first be held consultation to lineman's operation mode and equipment B with the highest speed: 1000Mbps/4, if consult successfully, use 1000Mbps/4 to lineman's operation mode; If fail to consultations, continue to adopt 100Mbps/4 to hold consultation to lineman's operation mode.As: if device A, B adopt 4 pairs of 100 meters of netting twines to connect, at 1000Mbps/4, to lineman's operation mode, can consult successfully, if device A, B adopt 4 pairs of 500 meters of netting twines to connect, because the 1000Mbps/4 in IEEE auto-negotiation capability option cannot reach the transmission range of 500 meters to lineman's operation mode, therefore, at 1000Mbps/4, consulting under to lineman's operation mode can be not successful, and the 100Mbps/4 in LDS auto-negotiation capability option can consult successfully lineman's operation mode is next.
It is to be noted, if a transport media type in LDS auto-negotiation capability option and IEEE auto-negotiation capability option respectively to there being same transmission rate, for example: when device A, B adopt 2 pairs of lines to connect, now, in LDS auto-negotiation capability option and IEEE auto-negotiation capability option, there is 100Mbps/2 to lineman's operation mode, now, for this two mode of operation, can first select arbitrarily one to hold consultation, for example: can select first with 100Mbps, to carry out LDS auto-negotiation, also can select first with 100Mbps, to carry out IEEE auto-negotiation.
With LDS auto-negotiation capability option, comprise below: 10Mbps/1 to line, 10Mbps/2 to line, 100Mbps/1 to line, 100Mbps/2 to line, 100Mbps/4 to these five mode of operations of line, IEEE auto-negotiation capability option comprises: 10Mbps/2 is example to line, 1000Mbps/4 to these three mode of operations of line to line, 100Mbps/2, and the present invention is further described:
The method flow diagram that the LRE equipment that Fig. 3 provides for another embodiment of the present invention carries out link negotiation, as shown in Figure 3, its concrete steps are as follows:
Step 300: in advance the 1000Mbps/4 in IEEE auto-negotiation capability option is added in LDS auto-negotiation capability option lineman's operation mode, and be set in the situation that transport media type is identical, the mode of operation that transmission rate is higher, its priority is higher.
Can find out, through after step 300, in LDS capability option, comprise 6 mode of operation: 10Mbps/1 to line, 10Mbps/2 to line, 100Mbps/1 to line, 100Mbps/2 to line, 100Mbps/4 to line, 1000Mbps/4 to line, and priority is as follows:
1000Mbps/4 to the priority of line higher than 100Mbps/4 to line; 100Mbps/2 to the priority of line higher than 10Mbps/2 to line; 100Mbps/1 to the priority of line higher than 10Mbps/1 to line.
Step 301:LRE device A powers on, and starts and opposite end: equipment B is carried out link negotiation.
Step 302:LRE device A is determined the transport media type with equipment B.
Step 303:LRE device A, in the LDS of self record auto-negotiation capability option, reads all transmission rates corresponding with determined transport media type.
Step 304:LRE device A, in the transmission rate reading, according to priority from high to low, is selected a transmission rate of not consulting successively, by self ports-settings for adopting this transmission rate.
Step 305:LRE device A and equipment B are carried out link negotiation.
Step 306:LRE device A judges whether to consult successfully, if so, performs step 307; Otherwise, return to step 304.
Step 307:LRE device A adopts consults successful transmission rate, communicates with equipment B.
Can find out: due to except 1000Mbps/4 is to lineman's operation mode, other mode of operation LDS auto-negotiation capability option in IEEE auto-negotiation capability option has all comprised, therefore, 1000Mbps/4 is joined in LDS auto-negotiation capability option lineman's operation mode, just can be so that LDS auto-negotiation capability option have comprised all working pattern, thus make LRE equipment can be only by LDS auto-negotiation process, with regard to negotiable, go out optimum mode of operation.
The composition diagram of the LRE equipment that Fig. 4 provides for the embodiment of the present invention, as shown in Figure 4, it mainly comprises:
The first module 41: in the time will setting up link with opposite equip., determine the transport media type between this equipment and opposite equip.; In the transmission rate that this equipment is supported, according to the selective sequential transmission rate corresponding with determined transport media type from high to low, selected transmission rate is sent to the second module 42 successively.
The second module 42: the transmission rate of sending from the first module 41, according to order from high to low, select successively a transmission rate and opposite equip. to carry out link negotiation, if consult successfully, stop negotiations process, and adopt current transmission rate and opposite equip. to communicate.
Equipment shown in Fig. 4 also can comprise: the 3rd module, for recording LDS auto-negotiation capability option and IEEE auto-negotiation capability option;
And the first module 41 is in the LDS auto-negotiation capability option and IEEE auto-negotiation capability option of the 3rd module records, successively according to the selective sequential transmission rate corresponding with determined transport media type from high to low.
Or, also can comprise: four module, for recording LDS capability option, and is increased in LDS auto-negotiation capability option being included in the transmission rate not being included in LDS auto-negotiation capability option in IEEE auto-negotiation capability option in advance;
And the first module 41 is in the LDS auto-negotiation capability option of four module record, successively according to the selective sequential transmission rate corresponding with determined transport media type from high to low.
The foregoing is only process of the present invention and embodiment of the method, not in order to limit the present invention, all any modifications of making within the spirit and principles in the present invention, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (4)
1. a method of carrying out link negotiation apart from enhanced ethernet LRE equipment, is characterized in that, the method comprises:
The one LRE equipment will be set up link with the second equipment, determines the transport media type of self and the second equipment room; In the transmission rate that the one LRE equipment is supported at self, select the transmission rate corresponding with determined transport media type; Wherein, the transmission rate of the one LRE equipment support comprises: the transmission rate in link discovery signaling LDS auto-negotiation capability option and the IEEE of IEEE auto-negotiation capability option, and, by being included in the transmission rate not being included in LDS auto-negotiation capability option in IEEE auto-negotiation capability option, be increased in LDS auto-negotiation capability option in advance;
The one LRE equipment, according to order from high to low, adopts selected transmission rate and the second equipment to carry out link negotiation successively, if consult successfully, stops negotiations process, and adopts current transmission rate and the second equipment to communicate;
In the transmission rate that a described LRE equipment is supported at self, select the transmission rate corresponding with determined transport media type to be:
The one LRE equipment, in LDS auto-negotiation capability option, is selected the transmission rate corresponding with determined transport media type.
2. the method for claim 1, is characterized in that, described transport media type is: the logarithm of transmission medium.
3. the method for claim 1, is characterized in that, is included in the transmission rate not being included in LDS auto-negotiation capability option in IEEE auto-negotiation capability option to be: 1000Mbps/4 is to line.
4. a LRE equipment, is characterized in that, this equipment comprises:
The first module, set up link with opposite equip., determines the transport media type between this equipment and opposite equip.; In the LDS auto-negotiation capability option of four module record, according to the selective sequential transmission rate corresponding with determined transport media type from high to low, selected transmission rate is sent to the second module successively;
The second module, the transmission rate of sending from the first module, according to order from high to low, select successively a transmission rate and opposite equip. to carry out link negotiation, if consult successfully, stop negotiations process, and adopt current transmission rate and opposite equip. to communicate;
Four module, for recording LDS capability option, and is increased in LDS auto-negotiation capability option being included in the transmission rate not being included in LDS auto-negotiation capability option in IEEE auto-negotiation capability option in advance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010107768.0A CN102148802B (en) | 2010-02-04 | 2010-02-04 | Link negotiation method and distance-enhanced Ethernet equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010107768.0A CN102148802B (en) | 2010-02-04 | 2010-02-04 | Link negotiation method and distance-enhanced Ethernet equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102148802A CN102148802A (en) | 2011-08-10 |
CN102148802B true CN102148802B (en) | 2014-02-12 |
Family
ID=44422805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010107768.0A Expired - Fee Related CN102148802B (en) | 2010-02-04 | 2010-02-04 | Link negotiation method and distance-enhanced Ethernet equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102148802B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107517144A (en) * | 2016-06-16 | 2017-12-26 | 中兴通讯股份有限公司 | The processing method and processing device of data transfer, data transmission system |
CN109218005B (en) * | 2018-11-15 | 2021-03-23 | 苏州裕太微电子有限公司 | Parallel detection method of Ethernet equipment without auto-negotiation signal |
CN110519339B (en) * | 2019-08-08 | 2022-04-08 | 浙江大华技术股份有限公司 | Device connection method, device, system and storage medium |
CN114338449B (en) * | 2021-12-29 | 2024-04-05 | 长沙景嘉微电子股份有限公司 | Ethernet auto-negotiation method, device and storage medium |
-
2010
- 2010-02-04 CN CN201010107768.0A patent/CN102148802B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN102148802A (en) | 2011-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106817226B (en) | A kind of method of supplying power to and PSE based on PoE | |
CN101897145B (en) | Physical layer device and method for data communication | |
US7149397B2 (en) | 10/100/1000Base-T small-form-factor-pluggable module | |
US7603570B2 (en) | Power delivery over ethernet cables | |
CN1972198B (en) | System and method for controlling power | |
CN101170418B (en) | Realization method, system and interface device for Ethernet electric interface compatibility | |
CN102148802B (en) | Link negotiation method and distance-enhanced Ethernet equipment | |
CN105049151A (en) | Method for controlling serial port communication and communication serial port | |
CN103797732B (en) | Communication means, peripheral component interconnection PCIE chip and PCIE device | |
KR20120102023A (en) | System and method for exchanging channel, physical layer and data layer information and capabilities | |
CN106209388B (en) | A kind of power management method of Power over Ethernet, power supply unit and power receiving equipment | |
CN106911388A (en) | The method and apparatus of self-adaptative adjustment different rates device port | |
JP4971366B2 (en) | Method and apparatus for transmitting medium busy signal to other devices | |
CN110072296B (en) | Lora networking Beidou monitoring data transmission system and data transmission method | |
CN103688487A (en) | Power supply method, current sharing module and power supply system | |
EP3531627B1 (en) | Auto-negotiation method and device for port | |
CN101163148A (en) | Ethernet transmission method of supporting non-standard velocity and corresponding device and access equipment | |
CN216013976U (en) | Multi-protocol converter | |
CN101360116B (en) | Communication negotiation method, system of physical layer chip and a physical layer chip thereof | |
CN109698762A (en) | A kind of method and parameter adjustment controls of adjusting parameter | |
CN113992471B (en) | Communication system and method for multiple hosts and multiple slaves | |
CN102412932B (en) | Method for transmitting data among power distribution equipment modules and power distribution equipment | |
CN208924235U (en) | Processor and network security device | |
CN104111904A (en) | Communication device and method for setting data transmission | |
KR101502613B1 (en) | Media converter to enable ethernet in thin-profile mobile devices |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140212 Termination date: 20200204 |