CN102215067A - Port auto negotiation method and device - Google Patents

Port auto negotiation method and device Download PDF

Info

Publication number
CN102215067A
CN102215067A CN201110192662XA CN201110192662A CN102215067A CN 102215067 A CN102215067 A CN 102215067A CN 201110192662X A CN201110192662X A CN 201110192662XA CN 201110192662 A CN201110192662 A CN 201110192662A CN 102215067 A CN102215067 A CN 102215067A
Authority
CN
China
Prior art keywords
optical fiber
port
negotiation
signal
application model
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
CN201110192662XA
Other languages
Chinese (zh)
Other versions
CN102215067B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201110192662.XA priority Critical patent/CN102215067B/en
Publication of CN102215067A publication Critical patent/CN102215067A/en
Application granted granted Critical
Publication of CN102215067B publication Critical patent/CN102215067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a port auto negotiation method and a device. The method comprises the following steps: sending negotiation signals to the port of an opposite terminal on optical fiber pairs of corresponding amount according to an optical interface application mode supported by a port of a terminal; and exchanging the optical interface application mode of the port of the terminal to a mode after negotiation according to the amount of the optical fiber pairs of received response signals and the amount of the optical fiber pairs used for sending the negotiation signals. The device comprises a sending module and an exchanging module. According to the invention, the connection establishment of Ethernet ports which work in different optical interface application modes through auto negotiation is realized.

Description

Port auto-negotiation method and device
Technical field
The present invention relates to the communication technology, relate in particular to a kind of port auto-negotiation method and device.
Background technology
Along with the continuous growth of video flow and the promotion of server architecture, computer and web application also increase the requirement of bandwidth thereupon, and current single port 10Gbps Ethernet can not satisfy the bandwidth demand of these tandem node.Therefore, (the Institute of Electrical and Electronics Engineers of U.S. electric and Electronic Engineering Association; Hereinafter to be referred as: IEEE) tissue has been issued ethernet technology standard IEEE 802.3ba of future generation, it has defined the ethernet port that single port can transmit 40Gbps (40G) or two kinds of speed of 100Gbps (100G), the ethernet port of several application models of its definition as: be used for the 40G electrical interface 40GBase-KR4 that backboard connects, be used for the 40G electrical interface 40GBase-CR4 that coaxial cable connects, be used for the 100G electrical interface 100GBase-CR10 that coaxial cable connects, be used for the 40G optical interface 40GBase-SR4 that multimode fiber connects, be used for the 100G optical interface 100GBase-SR10 that multimode fiber connects, be used for the 40G optical interface 40GBase-LR4 that monomode fiber connects, be used for 100G optical interface 100GBase-LR4 that monomode fiber connects and be used for the 100G extra long distance optical interface 100GBase-ER4 that monomode fiber is connected.In above-mentioned various application models, some ethernet port can use identical external interface pattern, and is not that whole ethernet ports all can use identical external interface pattern.Therefore, need provide a kind of method, making between the interconnection of these ethernet ports that possess multiple application model can be according to the appropriate mode line data transmission of going forward side by side that connects.
In the prior art, automatic negotiation (the Auto Negotiation of IEEE802.ba standard definition; Hereinafter to be referred as: AN) process makes interconnection both sides' ethernet port realize interconnection by the ability to work of obtaining the other side and possessing, and it has defined 40GBase-KR4,40GBase-CR4 and 100GBase-CR10 utilizes electric pulse to support the auto-negotiation function.
Yet, prior art can not support performance in the interconnection of the ethernet port of 40GBase-SR4 and 100GBase-SR10 pattern.
Summary of the invention
The invention provides a kind of port auto-negotiation method and device, realize that the ethernet port that is operated in mouthful application model of not sharing the same light connects by auto-negotiation.
The invention provides a kind of port auto-negotiation method, comprising:
The light mouth application model of being supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port;
According to the right quantity of the employed optical fiber of the answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal, the light mouth application model of described local terminal port is switched to pattern after the negotiation.
The invention provides a kind of port auto-negotiation method, comprising:
Receive the negotiation signal that the local terminal port sends, described negotiation signal be described local terminal port according to the light mouth application model of self supporting the optical fiber of respective numbers on send;
According to the right quantity of the employed optical fiber of described negotiation signal that receives and the determined optical fiber logarithm of light mouth application model self supported to described local terminal port echo reply signal, so that described local terminal port is according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal and self light mouth application model is switched to pattern after the negotiation.
The invention provides a kind of port auto-negotiation device, comprising:
Sending module, be used for the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port;
Handover module is used for according to the right quantity of the employed optical fiber of answer signal that receives and sends the right quantity of the employed optical fiber of described negotiation signal, and the light mouth application model of described local terminal port is switched to pattern after the negotiation.
The invention provides a kind of port auto-negotiation device, comprising:
Receiver module is used to receive the negotiation signal that the local terminal port sends, described negotiation signal be described local terminal port according to the light mouth application model of self supporting the optical fiber of respective numbers on send;
Responder module, be used for according to the right quantity of the employed optical fiber of described negotiation signal that receives and the determined optical fiber logarithm of light mouth application model self supported to described local terminal port echo reply signal, so that described local terminal port is according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal and self light mouth application model is switched to pattern after the negotiation.
Port auto-negotiation method of the present invention and device, by the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port, the right quantity of the employed optical fiber of signal of replying according to reception and send the right quantity of the employed optical fiber of negotiation signal again switches to pattern after the negotiation with the light mouth application model of local terminal port; Present embodiment has been realized being operated in the do not share the same light ethernet port of mouthful application model and has been connected by auto-negotiation.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of port auto-negotiation method embodiment one of the present invention;
Fig. 2 is the flow chart of port auto-negotiation method embodiment two of the present invention;
Fig. 3 is the flow chart of port auto-negotiation method embodiment three of the present invention;
Fig. 4 is the flow chart of port auto-negotiation method embodiment four of the present invention;
Fig. 5 is the flow chart of port auto-negotiation method embodiment five of the present invention;
Fig. 6 is the structural representation of port auto-negotiation device embodiment one of the present invention;
Fig. 7 is the structural representation of port auto-negotiation device embodiment two of the present invention;
Fig. 8 is the structural representation of port auto-negotiation device embodiment three of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the flow chart of port auto-negotiation method embodiment one of the present invention, and as shown in Figure 1, present embodiment provides a kind of port auto-negotiation method, can specifically comprise the steps:
Step 101, the light mouth application model of being supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port.
In the present embodiment, two ethernet ports to be interconnected are called local terminal port and Peer-Port, wherein, the local terminal port is for initiating the port of auto-negotiation process, promptly send the port of negotiation signal, Peer-Port is for receiving the port of negotiation signal, and present embodiment sends negotiation signal as the local terminal port respectively by two ports and finishes auto-negotiation process between the two.After consulting beginning automatically, elder generation obtains the light mouth application model that the local terminal port is supported by the type that management interface reads the optical module of local terminal port, the light mouth application model of being supported according to the local terminal port again, come the optical fiber of respective numbers on send negotiation signal to Peer-Port.In the present embodiment, when ethernet port is operated in when not sharing the same light mouthful application model, its transmit and receive data the right quantity difference of optical fiber that can use; For example, when ethernet port is operated in 100GBase-SR10, can use 10 pairs of optical fiber to carry out the transmission and the reception of data, when ethernet port is operated in 40GBase-SR4, can use 4 pairs of optical fiber to carry out the transmission and the reception of data.Therefore, the light mouth application model that can be supported according to the local terminal port of this step come the optical fiber of respective numbers on send negotiation signal to Peer-Port.
Particularly, the above-mentioned steps 101 in the present embodiment can specifically comprise the steps: the light mouth application model supported according to the local terminal port, obtains the maximum of the optical fiber logarithm that described local terminal port can use when transmitting and receive data; The optical fiber that equates with described maximum on send negotiation signal to Peer-Port.
Step 102 according to the right quantity of the employed optical fiber of the answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal, switches to pattern after the negotiation with the light mouth application model of described local terminal port.
Passing through the local terminal port after Peer-Port sends negotiation signal, Peer-Port returns corresponding answer signal, and the right quantity of employed optical fiber is relevant with the light mouth application model of Peer-Port work at present during Peer-Port echo reply signal, is not that the quantity right with sending the employed optical fiber of negotiation signal is identical.This step is quantity and the transmission negotiation signal employed optical fiber right quantity right according to the employed optical fiber of answer signal that receives, coming that the light mouth application model of local terminal port and Peer-Port is carried out auto-negotiation handles, the light mouth application model of the two is all switched to a common pattern, be specially the pattern after light mouth application model with the local terminal port switches to negotiation herein.In the auto-negotiation process of two ports of present embodiment, two ports send negotiation signal as the local terminal port to the other side respectively, and the two light mouth application model is switched to a common pattern, to realize the auto-negotiation process of different ethernet ports.
Particularly, in the present embodiment, above-mentioned steps 102 can specifically comprise the steps: to obtain the minimum value in the right quantity of the employed optical fiber of the answer signal that the receives quantity right with sending the employed optical fiber of described negotiation signal; The light mouth application model of described local terminal port is switched to pattern after the negotiation, the pattern after the described negotiation for can the optical fiber of described minimum value on the light mouth application model that transmits and receive data.
Further, present embodiment can also comprise the steps: when the optical fiber that is not sending negotiation signal on when receiving described answer signal, return and carry out above-mentioned steps 101.At the local terminal port after Peer-Port sends negotiation signal, the local terminal port not send the employed optical fiber of negotiation signal on receive any answer signal, then show the auto-negotiation failure this moment, need return step 101 and carry out the auto-negotiation process again.
More specifically, light mouth application model in the present embodiment can specifically comprise 40GBase-SR4 and 100GBase-SR10, certainly, it will be appreciated by those skilled in the art that, light mouth application model among the present invention is not limited to above-mentioned two kinds of patterns, can also be other patterns in this area,, repeat no more herein as 120GBase-SR12 etc.
Present embodiment provides a kind of port auto-negotiation method, by the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port, again according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of negotiation signal, the light mouth application model of local terminal port is switched to pattern after the negotiation; Present embodiment has been realized being operated in the do not share the same light ethernet port of mouthful application model and has been connected by auto-negotiation.
Fig. 2 is the flow chart of port auto-negotiation method embodiment two of the present invention, and as shown in Figure 2, present embodiment provides a kind of port auto-negotiation method, can specifically comprise the steps:
Step 201 according to the light mouth application model that the local terminal port is supported, is obtained the maximum of the optical fiber logarithm that described local terminal port can use when transmitting and receive data.
In the present embodiment, the light mouth application model that each ethernet port is supported has a plurality of, then passing through the local terminal port when Peer-Port sends negotiation signal, the light mouth application model that elder generation is supported according to the local terminal port, obtain the maximum of the optical fiber logarithm that the local terminal port can use when transmitting and receive data, promptly from the optical fiber logarithm of a plurality of light mouth application model correspondences, select maximum.For example, when the local terminal port is supported 100GBase-SR10 and two kinds of light mouths of 40GBase-SR4 application model, its corresponding respectively optical fiber logarithm is 10 and 4, promptly can be in the transmission and the reception of 10 pairs of enterprising line data of optical fiber, and can be in the transmission and the reception of 4 pairs of enterprising line data of optical fiber, then obtaining the maximum of the optical fiber logarithm that can use this moment is 10.
Step 202, the optical fiber that equates with this maximum on send negotiation signal to Peer-Port.
After the maximum of determining the optical fiber logarithm that the local terminal port can use when transmitting and receive data, the optical fiber that equates with this maximum on send negotiation signal to Peer-Port, still be example, then on 10 pairs of optical fiber, send negotiation signal to Peer-Port with above-mentioned.
Step 203 is obtained the minimum value in the right quantity of right quantity of the employed optical fiber of the answer signal that receives and the employed optical fiber of the described negotiation signal of transmission.
In the present embodiment, at the local terminal port when Peer-Port sends negotiation signal, can get access to and send the right quantity of the employed optical fiber of negotiation signal, at Peer-Port behind local terminal port echo reply signal, can get access to the right quantity of the employed optical fiber of the answer signal that receives, thereby obtain the minimum value of the right quantity of two optical fiber.That is to say, when sending the right quantity of the employed optical fiber of negotiation signal, send the right quantity of the employed optical fiber of negotiation signal and be above-mentioned minimum value less than the right quantity of the employed optical fiber of the answer signal that receives; When sending the right quantity of the employed optical fiber of negotiation signal greater than the right quantity of the employed optical fiber of the answer signal that receives, the right quantity of the employed optical fiber of the answer signal that receives is above-mentioned minimum value.
Step 204 switches to pattern after the negotiation with the light mouth application model of local terminal port, the pattern after the negotiation for can the optical fiber of minimum value on the light mouth application model that transmits and receive data.
After the minimum value in getting access to the right quantity of right quantity of the employed optical fiber of the answer signal that receives and the employed optical fiber of transmission negotiation signal, according to this minimum value of determining the light mouth application model of local terminal port is switched to pattern after the negotiation, the pattern after the negotiation herein for can the optical fiber of this minimum value on the light mouth application model that transmits and receive data.For example, when a port is as the local terminal port therein, suppose that quantity that definite employed optical fiber of the answer signal that receives is right and the minimum value that sends in the right quantity of the employed optical fiber of described negotiation signal are 4, then the light mouth application model with the local terminal port switches to the light mouth application model that can transmit and receive data on 4 pairs of optical fiber, is about to this port and switches to 40GBase-SR4.Correspondingly, when another one port during as the local terminal port, also, this another one port is also switched to 40GBase-SR4 according to the minimum value in the right quantity of the employed optical fiber of its answer signal that the receives quantity right with sending the employed optical fiber of negotiation signal.
Present embodiment provides a kind of port auto-negotiation method, by the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port, again according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of negotiation signal, the light mouth application model of local terminal port is switched to pattern after the negotiation; Present embodiment has been realized being operated in the do not share the same light ethernet port of mouthful application model and has been connected by auto-negotiation.
Fig. 3 is the flow chart of port auto-negotiation method embodiment three of the present invention, and as shown in Figure 3, present embodiment provides another kind of port auto-negotiation method, and the port auto-negotiation method that present embodiment provides can specifically comprise the steps:
Step 301 receives the negotiation signal that the local terminal port sends, described negotiation signal be described local terminal port according to the light mouth application model of self supporting the optical fiber of respective numbers on send.
In the present embodiment, after automatically consulting beginning, Peer-Port receives the negotiation signal that the local terminal port sends, this negotiation signal be the local terminal port according to the light mouth application model of self supporting and the optical fiber of respective numbers on send.In the present embodiment, when ethernet port is operated in when not sharing the same light mouthful application model, its transmit and receive data the right quantity difference of optical fiber that can use; For example, when ethernet port is operated in 100GBase-SR10, can use 10 pairs of optical fiber to carry out the transmission and the reception of data, when ethernet port is operated in 40GBase-SR4, can use 4 pairs of optical fiber to carry out the transmission and the reception of data.
Step 302, according to the right quantity of the employed optical fiber of described negotiation signal that receives and the determined optical fiber logarithm of light mouth application model self supported to described local terminal port echo reply signal, so that described local terminal port is according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal and self light mouth application model is switched to pattern after the negotiation.
Peer-Port is after receiving negotiation signal, earlier determine the optical fiber logarithm that the echo reply signal uses, so that the local terminal port switches to pattern after the negotiation according to the right quantity of the employed optical fiber of answer signal that receives and the transmission right quantity of the employed optical fiber of described negotiation signal with self light mouth application model according to right quantity of the employed optical fiber of its negotiation signal that receives and the light mouth application model of self supporting.If Peer-Port is supported multiple light mouth application model, the pattern of the optical fiber logarithm maximum that can use of then will wherein transmitting and receive data is as the pattern of Peer-Port work, suppose Peer-Port support 40GBase-SR4 and two kinds of patterns of 100GBase-SR10, can use 10 pairs of optical fiber to carry out the transmission and the reception of data when wherein being operated in 100GBase-SR10, then the current acquiescence of Peer-Port is operated in the 100GBase-SR10 pattern.Then, Peer-Port is when the employed optical fiber logarithm of definite echo reply signal, can selective reception to the employed optical fiber logarithm of negotiation signal and the light mouth application model of acquiescence work the minimum value in the optical fiber logarithm that can use, subsequently the optical fiber of this minimum value on the echo reply signal.
Present embodiment provides a kind of port auto-negotiation method, by the determined optical fiber logarithm of light mouth application model supported according to the right quantity of the employed optical fiber of negotiation signal that receives from the local terminal port and Peer-Port self to local terminal port echo reply signal, so that the local terminal port switches to pattern after the negotiation according to answer signal and negotiation signal with self light mouth application model; Present embodiment has been realized being operated in the do not share the same light ethernet port of mouthful application model and has been connected by auto-negotiation.
Fig. 4 is the flow chart of port auto-negotiation method embodiment four of the present invention, as shown in Figure 4, present embodiment provides a kind of port auto-negotiation method, in the present embodiment, suppose local terminal port-for-port A, it supports 40GBase-SR4 and two kinds of light mouths of 100GBase-SR10 application model simultaneously, and Peer-Port is port B, and it supports 40GBase-SR4 light mouth application model.The port auto-negotiation method that present embodiment provides can comprise the steps:
Step 401, the chip of port A is supported 40GBase-SR4 and two kinds of light mouths of 100GBase-SR10 application model by the optical module of management interface read port A, then sends negotiation signal on 10 pairs of optical fiber, waits for that the other side responds this negotiation signal.
Step 402, the chip of port B is supported 40GBase-SR4 light mouth application model, then port B echo reply signal on 4 pairs of optical fiber by the optical module of management interface read port B.
The optical module of the chip of port B by management interface read port B supported 40GBase-SR4 light mouth application model, and then port B can only receive the negotiation signal that port A sends on to optical fiber at 1-4.Therefore, port B on 4 pairs of optical fiber to port A echo reply signal.
Step 403, port A receives only the answer signal of 1-4 to returning on the optical fiber, and the chip of port A also switches to 40GBase-SR4 with the light mouth application model of port A, promptly uses the pattern identical with Peer-Port B.
Step 404, the chip of port B is supported 40GBase-SR4 light mouth application model by the optical module of management interface read port B, then sends negotiation signal on 4 pairs of optical fiber, waits for that the other side responds this negotiation signal.
Step 405, the chip of port A is supported 40GBase-SR4 and two kinds of light mouths of 100GBase-SR10 application model by the optical module of management interface read port A, but port A only receives negotiation signal at 1-4 on to optical fiber, then port A echo reply signal on 4 pairs of optical fiber.
The chip of port A is supported 40GBase-SR4 and two kinds of light mouths of 100GBase-SR10 application model by the optical module of management interface read port A, under default situations, port A is operated in and can uses maximum optical fiber to sending and the pairing light mouth of received signal application model, promptly is operated in the 100GBase-SR10 pattern.Because port A is operated in the 100GBase-SR10 formula, then port A uses 10 pairs of optical fiber received signals, but port B only sends negotiation signal at 1-4 on to optical fiber, then port A 1-4 to optical fiber on to port B echo reply signal.
Step 406, port B receives the answer signal of 1-4 to returning on the optical fiber, and it is constant that the chip of port B is kept the 40GBase-SR4 light mouth application model of port B, promptly uses the pattern identical with Peer-Port A.
Step 407, port A and port B finish auto negotiation mode, start common pattern 40GBase-SR4 and attempt connecting.
Present embodiment provides a kind of port auto-negotiation method, by the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port, again according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of negotiation signal, the light mouth application model of local terminal port is switched to pattern after the negotiation; Present embodiment has realized that the ethernet port that is operated in 40GBase-SR4 and 100GBase-SR10 light mouth application model connects by auto-negotiation.
Fig. 5 is the flow chart of port auto-negotiation method embodiment five of the present invention, as shown in Figure 5, present embodiment provides a kind of port auto-negotiation method, in the present embodiment, suppose local terminal port-for-port A, it supports 40GBase-SR4 light mouth application model simultaneously, and Peer-Port is port B, and it supports 100GBase-SR10 and 40GBase-SR4 light mouth application model.The port auto-negotiation method that present embodiment provides can comprise the steps:
Step 501, the chip of port A is supported 40GBase-SR4 light mouth application model by the optical module of management interface read port A, then sends negotiation signal on 4 pairs of optical fiber, waits for that the other side responds this negotiation signal.
Step 502, the chip of the port B optical module by management interface read port B is supported 100GBase-SR10 light mouth application model, but port B only receives negotiation signal at 1-4 on to optical fiber, then port B echo reply signal on 4 pairs of optical fiber.
The chip of port B is supported 100GBase-SR10 light mouth application model by the optical module of management interface read port B, be that port B can send and received signal on 10 pairs of optical fiber, but because port A only sends negotiation signal on 4 pairs of optical fiber, then port B also only receives negotiation signal at 1-4 on to optical fiber.Therefore, port B 1-4 to optical fiber on to port A echo reply signal.
Step 503, port A receives the answer signal of 1-4 to returning on the optical fiber, and it is constant that the chip of port A is kept the 40GBase-SR4 light mouth application model of port A.
Step 504, the chip of port B is supported 100GBase-SR10 light mouth application model by the optical module of management interface read port B, then sends negotiation signal on 10 pairs of optical fiber, waits for that the other side responds this negotiation signal.
Step 505, the chip of the port A optical module by management interface read port A is supported 40GBase-SR4 light mouth application model, then port A can only be on 4 pairs of optical fiber the echo reply signal.
The optical module of the chip of port A by management interface read port A supported 40GBase-SR4 light mouth application model, and then port A can only use 4 pairs of optical fiber received signals, then port A also 1-4 to optical fiber on to port B echo reply signal.
Step 506, port B receives the answer signal of 1-4 to returning on the optical fiber, and the chip of port B also switches to 40GBase-SR4 with the light mouth application model of port B.
Step 507, port A and port B finish auto negotiation mode, start common pattern 40GBase-SR4 and attempt connecting.
Present embodiment provides a kind of port auto-negotiation method, by the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port, again according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of negotiation signal, the light mouth application model of local terminal port is switched to pattern after the negotiation; Present embodiment has realized that the ethernet port that is operated in 40GBase-SR4 and 100GBase-SR10 light mouth application model connects by auto-negotiation.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 6 is the structural representation of port auto-negotiation device embodiment one of the present invention, as shown in Figure 6, present embodiment provides a kind of port auto-negotiation device, can specifically carry out each step among the said method embodiment one, the port auto-negotiation device that present embodiment provides can comprise sending module 601 and handover module 602.Wherein, sending module 601 be used for the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port.Handover module 602 is used for according to the right quantity of the employed optical fiber of answer signal that receives and sends the right quantity of the employed optical fiber of described negotiation signal, and the light mouth application model of described local terminal port is switched to pattern after the negotiation.
Fig. 7 is the structural representation of port auto-negotiation device embodiment two of the present invention, as shown in Figure 7, present embodiment provides a kind of port auto-negotiation device, can specifically carry out each step among said method embodiment two, embodiment four, the embodiment five, the sending module 601 in the port auto-negotiation device that present embodiment provides can specifically comprise first acquiring unit 611 and transmitting element 621.Wherein, first acquiring unit 611 is used for the light mouth application model supported according to the local terminal port, obtains the maximum of the optical fiber logarithm that described local terminal port can use when transmitting and receive data.Transmitting element 621 be used for the optical fiber that equates with described maximum on send negotiation signal to Peer-Port.
Particularly, handover module 602 can specifically comprise second acquisition unit 612 and switch unit 622.Wherein, second acquisition unit 612 is used for obtaining the minimum value of the right quantity of the employed optical fiber of the answer signal that the receives quantity right with sending the employed optical fiber of described negotiation signal.Switch unit 622 is used for the pattern after light mouth application model with described local terminal port switches to negotiation, the pattern after the described negotiation for can the optical fiber of described minimum value on the light mouth application model that transmits and receive data.
More specifically, sending module 601 in the present embodiment also be used for when do not sending the employed optical fiber of described negotiation signal on when receiving described answer signal, return carry out the described light mouth application model of being supported according to the local terminal port the optical fiber of respective numbers on send the step of negotiation signal to Peer-Port.
More specifically, the light mouth application model in the present embodiment comprises 40GBase-SR4 and 100GBase-SR10.
Present embodiment provides a kind of port auto-negotiation device, by the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port, again according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of negotiation signal, the light mouth application model of local terminal port is switched to pattern after the negotiation; Present embodiment has realized that the ethernet port that is operated in 40GBase-SR4 and 100GBase-SR10 light mouth application model connects by auto-negotiation.
Fig. 8 is the structural representation of port auto-negotiation device embodiment three of the present invention, as shown in Figure 8, present embodiment provides a kind of port auto-negotiation device, can specifically carry out each step among said method embodiment three, embodiment four, the embodiment five, the port auto-negotiation device that present embodiment provides can specifically comprise receiver module 801 and responder module 802.Wherein, receiver module 801 is used to receive the negotiation signal that the local terminal port sends, described negotiation signal be described local terminal port according to the light mouth application model of self supporting the optical fiber of respective numbers on send.Responder module 802 is used for according to the right quantity of the employed optical fiber of described negotiation signal that receives and the determined optical fiber logarithm of light mouth application model self supported to described local terminal port echo reply signal, so that described local terminal port is according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal and self light mouth application model is switched to pattern after the negotiation.
Present embodiment provides a kind of port auto-negotiation device, by the determined optical fiber logarithm of light mouth application model supported according to the right quantity of the employed optical fiber of negotiation signal that receives from the local terminal port and Peer-Port self to local terminal port echo reply signal, so that the local terminal port switches to pattern after the negotiation according to answer signal and negotiation signal with self light mouth application model; Present embodiment has been realized being operated in the do not share the same light ethernet port of mouthful application model and has been connected by auto-negotiation.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a port auto-negotiation method is characterized in that, comprising:
The light mouth application model of being supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port;
According to the right quantity of the employed optical fiber of the answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal, the light mouth application model of described local terminal port is switched to pattern after the negotiation.
2. method according to claim 1 is characterized in that, the described light mouth application model of being supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port and comprise:
According to the light mouth application model that the local terminal port is supported, obtain the maximum of the optical fiber logarithm that described local terminal port can use when transmitting and receive data;
The optical fiber that equates with described maximum on send negotiation signal to Peer-Port.
3. method according to claim 1 and 2, it is characterized in that, the right quantity of the employed optical fiber of the answer signal that described basis receives and send the right quantity of the employed optical fiber of described negotiation signal, the pattern that the light mouth application model of described local terminal port is switched to after the negotiation comprises:
Obtain the minimum value in the right quantity of right quantity of the employed optical fiber of the answer signal that receives and the employed optical fiber of the described negotiation signal of transmission;
The light mouth application model of described local terminal port is switched to pattern after the negotiation, the pattern after the described negotiation for can the optical fiber of described minimum value on the light mouth application model that transmits and receive data.
4. method according to claim 3 is characterized in that, also comprises:
When do not sending the employed optical fiber of described negotiation signal on when receiving described answer signal, return carry out the described light mouth application model of being supported according to the local terminal port the optical fiber of respective numbers on send the step of negotiation signal to Peer-Port.
5. method according to claim 3 is characterized in that, described light mouth application model comprises 40GBase-SR4 and 100GBase-SR10.
6. a port auto-negotiation method is characterized in that, comprising:
Receive the negotiation signal that the local terminal port sends, described negotiation signal be described local terminal port according to the light mouth application model of self supporting the optical fiber of respective numbers on send;
According to the right quantity of the employed optical fiber of described negotiation signal that receives and the determined optical fiber logarithm of light mouth application model self supported to described local terminal port echo reply signal, so that described local terminal port is according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal and self light mouth application model is switched to pattern after the negotiation.
7. a port auto-negotiation device is characterized in that, comprising:
Sending module, be used for the light mouth application model supported according to the local terminal port the optical fiber of respective numbers on send negotiation signal to Peer-Port;
Handover module is used for according to the right quantity of the employed optical fiber of answer signal that receives and sends the right quantity of the employed optical fiber of described negotiation signal, and the light mouth application model of described local terminal port is switched to pattern after the negotiation.
8. device according to claim 7 is characterized in that, described sending module comprises:
First acquiring unit is used for the light mouth application model supported according to the local terminal port, obtains the maximum of the optical fiber logarithm that described local terminal port can use when transmitting and receive data;
Transmitting element, be used for the optical fiber that equates with described maximum on send negotiation signal to Peer-Port.
9. according to claim 7 or 8 described devices, it is characterized in that described handover module comprises:
Second acquisition unit is used for obtaining the right quantity of the employed optical fiber of the answer signal that receives and sends the minimum value of the right quantity of the employed optical fiber of described negotiation signal;
Switch unit is used for the pattern after light mouth application model with described local terminal port switches to negotiation, the pattern after the described negotiation for can the optical fiber of described minimum value on the light mouth application model that transmits and receive data.
10. device according to claim 9, it is characterized in that, described sending module also be used for when do not sending the employed optical fiber of described negotiation signal on when receiving described answer signal, return carry out the described light mouth application model of being supported according to the local terminal port the optical fiber of respective numbers on send the step of negotiation signal to Peer-Port.
11. device according to claim 9 is characterized in that, described light mouth application model comprises 40GBase-SR4 and 100GBase-SR10.
12. a port auto-negotiation device is characterized in that, comprising:
Receiver module is used to receive the negotiation signal that the local terminal port sends, described negotiation signal be described local terminal port according to the light mouth application model of self supporting the optical fiber of respective numbers on send;
Responder module, be used for according to the right quantity of the employed optical fiber of described negotiation signal that receives and the determined optical fiber logarithm of light mouth application model self supported to described local terminal port echo reply signal, so that described local terminal port is according to the right quantity of the employed optical fiber of answer signal that receives with send the right quantity of the employed optical fiber of described negotiation signal and self light mouth application model is switched to pattern after the negotiation.
CN201110192662.XA 2011-07-11 2011-07-11 Port auto negotiation method and device Active CN102215067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110192662.XA CN102215067B (en) 2011-07-11 2011-07-11 Port auto negotiation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110192662.XA CN102215067B (en) 2011-07-11 2011-07-11 Port auto negotiation method and device

Publications (2)

Publication Number Publication Date
CN102215067A true CN102215067A (en) 2011-10-12
CN102215067B CN102215067B (en) 2014-07-30

Family

ID=44746216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110192662.XA Active CN102215067B (en) 2011-07-11 2011-07-11 Port auto negotiation method and device

Country Status (1)

Country Link
CN (1) CN102215067B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739316A (en) * 2012-06-29 2012-10-17 杭州迪普科技有限公司 Method and device for implementing transmission mode
CN103222251A (en) * 2012-11-29 2013-07-24 华为技术有限公司 Ether port auto-negotiation and communication equipment
WO2014067470A1 (en) * 2012-10-31 2014-05-08 Hangzhou H3C Technologies Co., Ltd. Port mode synchronization between switches
CN103795518A (en) * 2012-10-31 2014-05-14 杭州华三通信技术有限公司 Method, device, and system for synchronizing port modes between devices
CN105337664A (en) * 2015-12-08 2016-02-17 国网浙江省电力公司绍兴供电公司 Novel Ethernet communication circuit monitoring device
US10050830B2 (en) 2013-09-04 2018-08-14 Hewlett Packard Enterprise Development Lp Work mode negotiation
CN112688906A (en) * 2019-10-18 2021-04-20 华为技术有限公司 Auto-negotiation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616189A (en) * 2009-07-17 2009-12-30 北京星网锐捷网络技术有限公司 A kind of negotiation method of Ethernet port, device and the network equipment
CN101958888A (en) * 2010-05-21 2011-01-26 福建星网锐捷网络有限公司 Configuration method of port negotiation capacity, communication port and communication device
CN102045603A (en) * 2009-10-19 2011-05-04 杭州华三通信技术有限公司 Negotiation method of fiber channel (FC) port and FC exchanger system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616189A (en) * 2009-07-17 2009-12-30 北京星网锐捷网络技术有限公司 A kind of negotiation method of Ethernet port, device and the network equipment
CN102045603A (en) * 2009-10-19 2011-05-04 杭州华三通信技术有限公司 Negotiation method of fiber channel (FC) port and FC exchanger system
CN101958888A (en) * 2010-05-21 2011-01-26 福建星网锐捷网络有限公司 Configuration method of port negotiation capacity, communication port and communication device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739316B (en) * 2012-06-29 2015-05-06 杭州迪普科技有限公司 Method and device for implementing transmission mode
CN102739316A (en) * 2012-06-29 2012-10-17 杭州迪普科技有限公司 Method and device for implementing transmission mode
CN103795518B (en) * 2012-10-31 2017-04-05 杭州华三通信技术有限公司 A kind of equipment room port mode synchronous method, equipment and system
WO2014067470A1 (en) * 2012-10-31 2014-05-08 Hangzhou H3C Technologies Co., Ltd. Port mode synchronization between switches
CN103795518A (en) * 2012-10-31 2014-05-14 杭州华三通信技术有限公司 Method, device, and system for synchronizing port modes between devices
US9467397B2 (en) 2012-10-31 2016-10-11 Hangzhou H3C Technologies Co., Ltd. Port mode synchronization between switches
CN103222251A (en) * 2012-11-29 2013-07-24 华为技术有限公司 Ether port auto-negotiation and communication equipment
CN103222251B (en) * 2012-11-29 2015-09-30 华为技术有限公司 A kind of method of ether port auto-negotiation and communication equipment
US10050830B2 (en) 2013-09-04 2018-08-14 Hewlett Packard Enterprise Development Lp Work mode negotiation
CN105337664A (en) * 2015-12-08 2016-02-17 国网浙江省电力公司绍兴供电公司 Novel Ethernet communication circuit monitoring device
CN112688906A (en) * 2019-10-18 2021-04-20 华为技术有限公司 Auto-negotiation method and device
WO2021073569A1 (en) * 2019-10-18 2021-04-22 华为技术有限公司 Self-negotiation method and device
CN112688906B (en) * 2019-10-18 2024-01-02 华为技术有限公司 Auto-negotiation method and device
US11949766B2 (en) 2019-10-18 2024-04-02 Huawei Technologies Co., Ltd. Auto-negotiation method and apparatus

Also Published As

Publication number Publication date
CN102215067B (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN102215067B (en) Port auto negotiation method and device
CN108733604B (en) 485 bus intelligent expansion method and device based on modbus communication protocol
CN102209023B (en) Fiber channel over Ethernet (FCoE) communication connection establishment method, device, name server and system
US9712901B2 (en) Interconnection system, apparatus, and data transmission method
US8774628B2 (en) Remote node and network architecture and data transmission method for a fiber-optic network, especially for low bit-rate data transmission
US9294290B2 (en) Optical cable assemblies with low-speed data pass-through architecture and sleep mode operation
CN103716092A (en) Networking system and communication method for bidirectional optical fiber communication in bus network
CN109561032B (en) Switch module reaches switch including it
CN103392303B (en) Receiving end detection method, detection circuit, optical module and system
CN114629546A (en) Satellite network communication system, method, medium, and apparatus based on modulation reflector
CN102710496B (en) For the data transmission system between multiple server, DIU data interface unit and data transmission method
CN104854912A (en) Shared media bridging
CN102347798B (en) Optical signal transmission method, equipment and transmission systemof optical signal
CN113783808B (en) Data forwarding method and device for adaptive switching of forwarding modes
CN113711509B (en) In-vehicle communication system, optical coupler, and in-vehicle device
EP2802179B1 (en) Concurrent activation and data exchange with multiple NFC-A devices
WO2017020292A1 (en) Optical access device and optical access system
CN108769956A (en) Internet of Things communication means, device, electronic equipment and storage medium
EP3258649B1 (en) Passive optical hub
CN220087303U (en) Master communication equipment, slave communication equipment and communication system
CN103684935A (en) Adaptive method and system for photoelectric network port of Ethernet
CN113891352B (en) Carrier wave routing method, device, system and storage medium
JP6912727B2 (en) Transmission device and transmission method
CN105915286A (en) Data flow distribution method and flow distributing device
JPH11187023A (en) Data communication system and its method

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd.