CN111800413A - Ethernet port self-adaption method, communication equipment and storage medium - Google Patents

Ethernet port self-adaption method, communication equipment and storage medium Download PDF

Info

Publication number
CN111800413A
CN111800413A CN202010629930.9A CN202010629930A CN111800413A CN 111800413 A CN111800413 A CN 111800413A CN 202010629930 A CN202010629930 A CN 202010629930A CN 111800413 A CN111800413 A CN 111800413A
Authority
CN
China
Prior art keywords
port
protocol
ethernet
flexible ethernet
flexible
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
CN202010629930.9A
Other languages
Chinese (zh)
Other versions
CN111800413B (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.)
UTStarcom Telecom Co Ltd
Original Assignee
UTStarcom Telecom 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 UTStarcom Telecom Co Ltd filed Critical UTStarcom Telecom Co Ltd
Priority to CN202010629930.9A priority Critical patent/CN111800413B/en
Publication of CN111800413A publication Critical patent/CN111800413A/en
Application granted granted Critical
Publication of CN111800413B publication Critical patent/CN111800413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses an Ethernet port self-adapting method, which comprises the following steps: a first port of local terminal equipment sends a flexible Ethernet overhead frame to a second port of opposite terminal equipment, wherein the first port supports a flexible Ethernet protocol and a standard Ethernet protocol, and the protocol type supported by the second port comprises a flexible Ethernet and/or a standard Ethernet protocol; the local terminal equipment switches the working protocol type mode of the first port according to whether the flexible Ethernet response frame is received or not so as to carry out Ethernet communication with the second port of the opposite terminal equipment. The invention supports the auto-negotiation of the working modes of the ports of the flexible Ethernet protocol and the standard Ethernet protocol and other Ethernet ports, and enables the two parties to communicate.

Description

Ethernet port self-adaption method, communication equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an ethernet port adaptation method, a communication device, and a storage medium.
Background
The 802.3 standard ethernet protocol defined by the electrical and electronic engineering association is widely used in the industry. However, as technology develops, bandwidth granularity becomes more and more different, and the standard ethernet interface and the practical application requirements become more and more different. Therefore, to meet the higher demand, flexible Ethernet (FlexE) technology was developed by OIF in 2015 3 and formally filed through related technology documents in 2016 3. The difference between the flexible ethernet and the traditional ethernet structure is that the flexible ethernet has one more FlexE cushion layer (FlexE Shim) in the MAC layer and the physical coding sublayer, and the cushion layer formally realizes three general capabilities of the flexible ethernet, namely binding, sub-rate and channelization, so as to realize transmission exceeding the physical bandwidth and sub-bandwidth channelization, break through the limitation of the physical interface bandwidth, and further expand the ethernet technology.
In the prior art, two protocols exist for an ethernet port: standard ethernet protocols and flexible ethernet protocols. From the point of view of the two ethernet protocol technology implementations, the two are not interoperable. The Ethernet ports between two communication devices work in a standard Ethernet protocol mode simultaneously or work in a flexible Ethernet protocol mode simultaneously, the port of one device cannot work in the standard Ethernet protocol mode, the port of the other device works in the flexible Ethernet protocol mode, and the Ethernet ports of the two communication devices can normally communicate only when working in the same mode, so that a manager needs to manually configure the working mode of the ports to enable the two ports to communicate. At present, operators have increasingly strong requirements for automatic configuration of links such as network operation and maintenance opening, which reduce labor cost and even avoid manual intervention, and therefore, a technical scheme for self-adaptation of ethernet ports is urgently needed, so that communication between the ethernet ports can be realized.
Disclosure of Invention
In view of this, the present invention provides an ethernet port adaptive method, a communication device and a storage medium, which implement auto-negotiation of working modes between a port supporting a flexible ethernet protocol and a standard ethernet protocol and other ethernet ports, so that both parties can communicate.
In order to achieve the above object, the present invention provides an ethernet port adaptation method, including:
s1, a first port of a local device sends a flexible Ethernet overhead frame to a second port of an opposite device, wherein the flexible Ethernet overhead frame is used for indicating a protocol type supported by the port, the first port of the local device supports a flexible Ethernet protocol and a standard Ethernet protocol, and the protocol type supported by the second port of the opposite device comprises a flexible Ethernet protocol and/or a standard Ethernet protocol;
s2, if the local device does not receive the flexible ethernet response frame from the peer device within a preset time, setting the protocol type of the first port as a standard ethernet protocol, and the local device communicates with the peer device through the first port and the second port according to the standard ethernet protocol;
and S3, if the local terminal device receives a flexible Ethernet response frame from the opposite terminal device within the preset time, setting the protocol type of the first port as a flexible Ethernet protocol, and the local terminal device communicates with the opposite terminal device through the first port and the second port according to the flexible Ethernet protocol.
Preferably, the step S3 includes:
if the flexible Ethernet response frame indicates that the protocol type supported by the second port is flexible Ethernet, setting the protocol type of the first port as a flexible Ethernet protocol, and communicating with the opposite terminal device through the first port and the second port by the local terminal device according to the flexible Ethernet protocol;
and if the flexible Ethernet response frame indicates that the protocol type supported by the second port is flexible Ethernet and a standard Ethernet protocol, setting the protocol type of the first port as the flexible Ethernet protocol, and communicating with the opposite terminal device through the first port and the second port according to the flexible Ethernet protocol by the local terminal device.
Preferably, the step S3 further includes:
a 14-bit reserved field in a third overhead block in the flexible ethernet frame overhead frame defines negotiation information of protocol types supported by two ports, wherein 4 bits are a request field for indicating a protocol type requested to work by a first port of the local device, and 4 bits are a response field for indicating a protocol type confirmed to work by a second port of the opposite device.
Preferably, the step S3 further includes: if the second port of the peer device supports flexible ethernet and a standard ethernet protocol, and a request field in the flexible ethernet frame overhead frame is 0x1, indicating that the request works in a standard ethernet mode; and when the response field is 0x1, the second port of the opposite terminal device is confirmed to work in the standard Ethernet mode.
Preferably, the step S3 includes: if the working mode of the first port of the local device is flexible ethernet and the working mode of the second port of the opposite device is flexible ethernet, the request field in the flexible ethernet frame overhead frame is set to 0x0, and the response field is set to 0x 0.
Preferably, the step S3 further includes:
constructing a 64B/66B code block, wherein the 64B/66B code block comprises a block type field, a protocol type field, a request field and a response field, the block type field is used for indicating that the type of the code block is the auto-negotiation information, the protocol type field is used for indicating the protocol type supported by the first port of the local terminal equipment, the request field is used for indicating the protocol type of the first port of the local terminal equipment which requires to work, and the response field is used for indicating the protocol type of the second port of the opposite terminal equipment which responds to the confirmation.
Preferably, the step S3 includes:
the block type field is set to 0 xFE;
the protocol type field is 0x00, which indicates that the flexible Ethernet protocol is not supported, and is 0x01, which indicates that the flexible Ethernet protocol with the version number of V2.1 is supported;
the request field is 0x00, which indicates that the first port of the local device requests to work in a standard Ethernet mode, and is 0x01, and indicates that the first port of the local device requests to work in a flexible Ethernet mode with a version number of V2.1;
the response field is 0x00, which indicates that the second port of the opposite device is confirmed to work in the standard ethernet mode, and is 0x01, which indicates that the second port of the opposite device is confirmed to work in the flexible ethernet mode with the version number of V2.1.
To achieve the above object, the present invention provides a communication apparatus comprising:
a sending module, configured to send a flexible ethernet overhead frame to a second port of an opposite-end device, where the flexible ethernet overhead frame is used to indicate a protocol type supported by a first port of the device, where the first port supports a flexible ethernet protocol and a standard ethernet protocol, and the protocol type supported by the second port of the opposite-end device includes the flexible ethernet protocol and/or the standard ethernet protocol;
the first processing module is used for setting the protocol type of the first port as a standard Ethernet protocol if a flexible Ethernet response frame from opposite-end equipment is not received within a preset time, and communicating with the opposite-end equipment through the first port and the second port according to the standard Ethernet protocol;
and the second processing module is used for setting the protocol type of the first port as a flexible Ethernet protocol if a flexible Ethernet response frame from opposite-end equipment is received within the preset time, and communicating with the opposite-end equipment through the first port and the second port according to the flexible Ethernet protocol.
To achieve the above object, the present invention provides a computer storage medium storing computer-executable instructions that, when invoked by a computer, cause the computer to perform the method as described above.
Compared with the prior art, the invention provides an Ethernet port self-adaptive method and communication equipment, and the beneficial effects brought by the invention are as follows: the self-negotiation of the working modes of the port supporting the flexible Ethernet protocol and the standard Ethernet protocol and other Ethernet ports is realized, so that the two parties can communicate; the maximum compatibility between the standard Ethernet and the flexible Ethernet can realize the adaptive end-to-end communication.
Drawings
Fig. 1 is a flow chart illustrating an ethernet port adaptation method according to an embodiment of the present invention.
Fig. 2 is a system block diagram of a communication device in one embodiment in accordance with the invention.
Fig. 3 is an example of a flexible ethernet overhead frame according to the present invention.
Fig. 4 is an example of one 64B/66B code block according to the present invention.
Detailed Description
The present invention will be described in detail with reference to the specific embodiments shown in the drawings, which are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to the specific embodiments are included in the scope of the present invention.
In an embodiment of the present invention shown in fig. 1, the present invention provides an ethernet port adaptation method, where the method includes:
s1, a first port of a local device sends a flexible Ethernet overhead frame to a second port of an opposite device, wherein the flexible Ethernet overhead frame is used for indicating a protocol type supported by the port, the first port of the local device supports a flexible Ethernet protocol and a standard Ethernet protocol, and the protocol type supported by the second port of the opposite device comprises a flexible Ethernet protocol and/or a standard Ethernet protocol;
s2, if the local device does not receive the flexible ethernet response frame from the peer device within a preset time, setting the protocol type of the first port as a standard ethernet protocol, and the local device communicates with the peer device through the first port and the second port according to the standard ethernet protocol;
and S3, if the local terminal device receives a flexible Ethernet response frame from the opposite terminal device within the preset time, setting the protocol type of the first port as a flexible Ethernet protocol, and the local terminal device communicates with the opposite terminal device through the first port and the second port according to the flexible Ethernet protocol.
Any one of the local terminal device and the opposite terminal device includes one or more ports, and any one of the ports in the device may only support a standard ethernet protocol, may only support a flexible ethernet protocol, and may also support both the standard ethernet protocol and the flexible ethernet protocol. The first port refers to an ethernet port capable of supporting both a flexible ethernet protocol and a standard ethernet protocol. The type of protocol supported by the second port may be one of a flexible ethernet protocol or a standard ethernet protocol, or both of them may be supported.
The first port of the local terminal device sends a flexible Ethernet overhead frame to the second port of the opposite terminal device, the first port of the local terminal device supports a flexible Ethernet protocol and a standard Ethernet protocol, and the protocol type supported by the second port of the opposite terminal device comprises the flexible Ethernet and/or the standard Ethernet protocol. When the equipment is powered on, the first port of the local-end equipment defaults to set the protocol type supported by the first port as a flexible Ethernet protocol. And the local terminal equipment sends a flexible Ethernet overhead frame to a second port of the opposite terminal equipment, wherein the flexible Ethernet overhead frame is used for indicating the protocol type supported by the local port and carrying out communication according to the negotiated protocol type.
If the local terminal device does not receive the flexible Ethernet response frame from the opposite terminal device within a preset time, it indicates that the second port supports the standard Ethernet protocol, the local terminal device sets the first port to be in the standard Ethernet protocol mode, and the local terminal device communicates with the opposite terminal device through the first port and the second port according to the standard Ethernet protocol.
If the local terminal device receives a flexible ethernet response frame from the opposite terminal device within the preset time, it indicates that the second port of the opposite terminal device supports the flexible ethernet protocol or both the flexible ethernet protocol and the flexible ethernet protocol are supported, and the protocol type of the first port is set to be the flexible ethernet protocol, and the local terminal device communicates with the opposite terminal device through the first port and the second port according to the flexible ethernet protocol. Specifically, if the flexible ethernet response frame indicates that the protocol type supported by the second port is flexible ethernet, the protocol type of the first port is set to be a flexible ethernet protocol, and the local device communicates with the opposite device through the first port and the second port according to the flexible ethernet protocol; and if the flexible Ethernet response frame indicates that the protocol type supported by the second port is flexible Ethernet and a standard Ethernet protocol, setting the protocol type of the first port as the flexible Ethernet protocol, and communicating with the opposite terminal device through the first port and the second port according to the flexible Ethernet protocol by the local terminal device.
The bits in the overhead frame that remain unused may be used for extended use according to the definition in the OIF for the flexible ethernet overhead frame. According to a specific embodiment of the present invention, a 14-bit reserved field in a third overhead block in the flexible ethernet frame overhead frame defines negotiation information of protocol types supported by two ports; wherein, the 4 bits are a request field for indicating the protocol type of the work requested by the first port of the local device, and the 4 bits are a response field for indicating the protocol type of the confirmation work of the second port of the opposite device. The flexible Ethernet response frame sets response information through the response field, and after the second port of the opposite terminal device receives the flexible Ethernet overhead frame, the response information is added to the corresponding response field in the overhead frame, so that the flexible Ethernet response frame is formed. As in the example of the flexible ethernet overhead frame shown in fig. 3, the Require field defines the protocol type of the communication requested by the first port; the Response field defines the protocol type for the second port validation job.
According to a specific embodiment of the present invention, if the second port of the peer device supports the flexible ethernet and the standard ethernet protocol, and the two ports communicate through the flexible ethernet protocol, the present invention can return the operating mode of the two ports to the standard ethernet mode as needed. When the request field in the flexible ethernet frame overhead frame is 0x1, the request is indicated to work in a standard ethernet mode; and when the response field is 0x1, the second port of the opposite terminal device is confirmed to work in the standard Ethernet mode. The first port of the local terminal equipment sends a flexible Ethernet frame to the second port of the opposite terminal equipment, the request field of the flexible Ethernet frame comprises information that the first port requests to work in a standard Ethernet mode, the second port of the opposite terminal equipment analyzes the flexible Ethernet frame after receiving the flexible Ethernet frame, and information for confirming that the working mode of the second port is a standard Ethernet protocol is generated in the response field of the flexible Ethernet frame. After receiving the flexible Ethernet frame, a first port of local-end equipment confirms standard Ethernet information of a second port working mode, the local-end equipment sets the first port to work in the standard Ethernet mode, meanwhile, opposite-end equipment sets the second port to work in the standard Ethernet mode, and the first port and the second port communicate with each other through a standard Ethernet protocol.
According to an embodiment of the present invention, when the operation mode of the first port of the local device is flexible ethernet and the operation mode of the second port of the peer device is flexible ethernet, flexible ethernet and standard ethernet are not simultaneously supported, the request field in the flexible ethernet frame overhead frame is set to 0x0, the response field is set to 0x0, and the device cannot fall back to the standard ethernet mode.
According to a specific embodiment of the present invention, if the second port of the peer device supports flexible ethernet and a standard ethernet protocol, the two ports may operate in a standard ethernet mode and communicate via the standard ethernet protocol according to the above embodiment. The invention can return the working mode of the two ports to the flexible Ethernet mode through auto-negotiation, the two ports communicate through the flexible Ethernet protocol, and the negotiation information can be sent by defining 64B/66 blocks. Specifically, a 64B/66B code block is constructed, the 64B/66B code block including a block type field, a protocol type field, a request field, and a response field. The block type field is used to indicate that the type of the code block is auto-negotiation information, the protocol type field is used to indicate a protocol type supported by a first port of a local device, the request field is used to indicate a protocol type requested to work by the first port of the local device, and the response field is used to indicate a protocol type acknowledged by a second port of an opposite device in response. A complete 64B/66B block is shown in fig. 4, where the first two bits are synchronization bits, defined according to IEEE g.802.3, and when the synchronization bit is 10, it is denoted as a control block. The Block type is an 8-bit Block type field, and in this embodiment, a Block type is newly defined to represent auto-negotiation information. The Block type field adopts a coding value used by the standard, for example, a Block type is set to 0xFE, which indicates that the Block type is auto-negotiation information, but other values may be set. The FlexE Mode is an ethernet flexible protocol type field, which is 0x00 indicating that the flexible ethernet protocol is not supported, and 0x01 indicating that the flexible ethernet protocol with a version number of V2.1 is supported. The Require field is a request field, the field is 0x00, the request field indicates that the first port of the local device requests to work in a standard ethernet mode, the field is 0x01, and the request field indicates that the first port of the local device requests to work in a flexible ethernet mode with a version number of V2.1. Response is a Response field, which is 0x00, indicating that the second port of the opposite device is operating in the standard ethernet mode, and is 0x01, indicating that the second port of the opposite device is operating in the flexible ethernet mode with version number V2.1. Reserved of 35 bits is used for reservation and can be set to 0 all.
In an embodiment of the present invention shown in fig. 2, the present invention provides a communication device, including:
a sending module 20, configured to send a flexible ethernet overhead frame to a second port of an opposite-end device, where the flexible ethernet overhead frame is used to indicate a protocol type supported by a first port of the device, where the first port supports a flexible ethernet protocol and a standard ethernet protocol, and the protocol type supported by the second port of the opposite-end device includes a flexible ethernet protocol and/or a standard ethernet protocol;
a first processing module 21, configured to set a protocol type of the first port as a standard ethernet protocol if a flexible ethernet response frame from an opposite-end device is not received within a preset time, and communicate with the opposite-end device through the first port and the second port according to the standard ethernet protocol;
a second processing module 22, configured to set a protocol type of the first port as a flexible ethernet protocol if the flexible ethernet response frame from the peer device is received within the preset time, and communicate with the peer device through the first port and the second port according to the flexible ethernet protocol.
The sending module sends a flexible Ethernet overhead frame to a second port of the opposite terminal device, the first port of the local terminal device supports a flexible Ethernet protocol and a standard Ethernet protocol, and the protocol type supported by the second port of the opposite terminal device comprises a flexible Ethernet and/or a standard Ethernet protocol. When the equipment is powered on, the first port of the local-end equipment defaults to set the protocol type supported by the first port as a flexible Ethernet protocol. The flexible Ethernet overhead frame is used for indicating the protocol type supported by the port and carrying out communication according to the negotiated protocol type. If the local terminal device does not receive the flexible ethernet response frame from the opposite terminal device within a preset time, the first processing module indicates that the second port supports the standard ethernet protocol, the local terminal device sets the first port to be in the standard ethernet protocol mode, and the local terminal device communicates with the opposite terminal device through the first port and the second port according to the standard ethernet protocol.
If the second processing module receives a flexible ethernet response frame from the peer device within the preset time, it indicates that the second port of the peer device supports the flexible ethernet protocol or both the flexible ethernet protocol and the flexible ethernet response frame indicates that the protocol type supported by the second port is flexible ethernet, the protocol type of the first port is set to be the flexible ethernet protocol, and the local device communicates with the peer device through the first port and the second port according to the flexible ethernet protocol; and if the flexible Ethernet response frame indicates that the protocol type supported by the second port is flexible Ethernet and a standard Ethernet protocol, setting the protocol type of the first port as the flexible Ethernet protocol, and communicating with the opposite terminal device through the first port and the second port according to the flexible Ethernet protocol by the local terminal device.
The present invention provides a computer storage medium having stored thereon computer-executable instructions which, when invoked by a computer, cause the computer to perform a method as described above.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

Claims (9)

1. An Ethernet port adaptation method, the method comprising:
s1, a first port of a local device sends a flexible Ethernet overhead frame to a second port of an opposite device, wherein the flexible Ethernet overhead frame is used for indicating a protocol type supported by the port, the first port of the local device supports a flexible Ethernet protocol and a standard Ethernet protocol, and the protocol type supported by the second port of the opposite device comprises a flexible Ethernet protocol and/or a standard Ethernet protocol;
s2, if the local device does not receive the flexible ethernet response frame from the peer device within a preset time, setting the protocol type of the first port as a standard ethernet protocol, and the local device communicates with the peer device through the first port and the second port according to the standard ethernet protocol;
and S3, if the local terminal device receives a flexible Ethernet response frame from the opposite terminal device within the preset time, setting the protocol type of the first port as a flexible Ethernet protocol, and the local terminal device communicates with the opposite terminal device through the first port and the second port according to the flexible Ethernet protocol.
2. The ethernet port adaptation method according to claim 1, wherein said step S3 comprises:
if the flexible Ethernet response frame indicates that the protocol type supported by the second port is flexible Ethernet, setting the protocol type of the first port as a flexible Ethernet protocol, and communicating with the opposite terminal device through the first port and the second port by the local terminal device according to the flexible Ethernet protocol;
and if the flexible Ethernet response frame indicates that the protocol type supported by the second port is flexible Ethernet and a standard Ethernet protocol, setting the protocol type of the first port as flexible Ethernet, and communicating with the opposite terminal device through the first port and the second port by the local terminal device according to the flexible Ethernet protocol.
3. The ethernet port adaptation method according to claim 2, wherein the step S3 further comprises:
a 14-bit reserved field in a third overhead block in the flexible ethernet frame overhead frame defines negotiation information of protocol types supported by two ports, wherein 4 bits are a request field for indicating a protocol type requested to work by a first port of the local device, and 4 bits are a response field for indicating a protocol type confirmed to work by a second port of the opposite device.
4. The Ethernet port adaptation method of claim 3, wherein the step S3 further comprises:
if the second port of the peer device supports flexible ethernet and a standard ethernet protocol, the request field in the flexible ethernet frame overhead frame is 0x1, indicating that the request operates in a standard ethernet mode, and the response field is 0x1, indicating that the second port of the peer device confirms that the second port operates in the standard ethernet mode.
5. The Ethernet port adaptation method of claim 3, wherein the step S3 comprises:
when the working mode of the first port of the local terminal device is flexible ethernet and the working mode of the second port of the opposite terminal device is flexible ethernet, the request field in the flexible ethernet frame overhead frame is set to 0x0, and the response field is set to 0x 0.
6. The Ethernet port adaptation method of claim 3, wherein the step S3 further comprises:
constructing a 64B/66B code block, wherein the 64B/66B code block comprises a block type field, a protocol type field, a request field and a response field, the block type field is used for indicating that the type of the code block is the auto-negotiation information, the protocol type field is used for indicating the protocol type supported by the first port of the local terminal equipment, the request field is used for indicating the protocol type of the first port of the local terminal equipment which requires to work, and the response field is used for indicating the protocol type of the second port of the opposite terminal equipment which responds to the confirmation.
7. The Ethernet port adaptation method of claim 6, wherein the step S3 comprises:
the block type field is set to 0 xFE;
the protocol type field is 0x00, which indicates that the flexible Ethernet protocol is not supported, and is 0x01, which indicates that the flexible Ethernet protocol with the version number of V2.1 is supported;
the request field is 0x00, which indicates that the first port of the local device requests to work in a standard Ethernet mode, and is 0x01, and indicates that the first port of the local device requests to work in a flexible Ethernet mode with a version number of V2.1;
the response field is 0x00, which indicates that the second port of the opposite device is confirmed to work in the standard ethernet mode, and is 0x01, which indicates that the second port of the opposite device is confirmed to work in the flexible ethernet mode with the version number of V2.1.
8. A communication device, comprising:
a sending module, configured to send a flexible ethernet overhead frame to a second port of an opposite-end device, where the flexible ethernet overhead frame is used to indicate a protocol type supported by a first port of the device, where the first port supports a flexible ethernet protocol and a standard ethernet protocol, and the protocol type supported by the second port of the opposite-end device includes the flexible ethernet protocol and/or the standard ethernet protocol;
the first processing module is used for setting the protocol type of the first port as a standard Ethernet protocol if a flexible Ethernet response frame from opposite-end equipment is not received within a preset time, and communicating with the opposite-end equipment through the first port and the second port according to the standard Ethernet protocol;
and the second processing module is used for setting the protocol type of the first port as a flexible Ethernet protocol if a flexible Ethernet response frame from opposite-end equipment is received within the preset time, and communicating with the opposite-end equipment through the first port and the second port according to the flexible Ethernet protocol.
9. A computer storage medium having stored thereon computer-executable instructions which, when invoked by a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN202010629930.9A 2020-07-03 2020-07-03 Ethernet port self-adapting method, communication equipment and storage medium Active CN111800413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010629930.9A CN111800413B (en) 2020-07-03 2020-07-03 Ethernet port self-adapting method, communication equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010629930.9A CN111800413B (en) 2020-07-03 2020-07-03 Ethernet port self-adapting method, communication equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111800413A true CN111800413A (en) 2020-10-20
CN111800413B CN111800413B (en) 2022-06-28

Family

ID=72810047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010629930.9A Active CN111800413B (en) 2020-07-03 2020-07-03 Ethernet port self-adapting method, communication equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111800413B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625970A (en) * 2021-08-17 2021-11-09 烽火通信科技股份有限公司 Method and device for self-adapting and switching working modes of FlexE disk

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946086A (en) * 2006-10-27 2007-04-11 杭州华为三康技术有限公司 Transmission method and device for supporting non-standard speed rate
CN101170418A (en) * 2007-12-05 2008-04-30 杭州华三通信技术有限公司 Realization method, system and interface device for Ethernet electric interface compatibility
CN101616343A (en) * 2009-06-25 2009-12-30 中兴通讯股份有限公司 A kind of auto-negotiation method for service types and convergence device thereof
CN101772058A (en) * 2008-12-30 2010-07-07 华为技术有限公司 Method, device and system for managing path in system architecture evolution architecture
CN103795518A (en) * 2012-10-31 2014-05-14 杭州华三通信技术有限公司 Method, device, and system for synchronizing port modes between devices
WO2015176303A1 (en) * 2014-05-23 2015-11-26 Qualcomm Incorporated Auto-detection of fiber working modes
CN105991636A (en) * 2015-05-27 2016-10-05 杭州迪普科技有限公司 IKE (Internet key exchange) protocol-based port negotiation method and device
WO2019019906A1 (en) * 2017-07-24 2019-01-31 华为技术有限公司 Communication method and device, and storage medium
US20190191017A1 (en) * 2017-12-16 2019-06-20 Caavo Inc Adaptive multi-protocol control of a media device
CN110417602A (en) * 2019-08-06 2019-11-05 Ut斯达康通讯有限公司 Ethernet channel management method and communication equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946086A (en) * 2006-10-27 2007-04-11 杭州华为三康技术有限公司 Transmission method and device for supporting non-standard speed rate
CN101170418A (en) * 2007-12-05 2008-04-30 杭州华三通信技术有限公司 Realization method, system and interface device for Ethernet electric interface compatibility
CN101772058A (en) * 2008-12-30 2010-07-07 华为技术有限公司 Method, device and system for managing path in system architecture evolution architecture
CN101616343A (en) * 2009-06-25 2009-12-30 中兴通讯股份有限公司 A kind of auto-negotiation method for service types and convergence device thereof
CN103795518A (en) * 2012-10-31 2014-05-14 杭州华三通信技术有限公司 Method, device, and system for synchronizing port modes between devices
WO2015176303A1 (en) * 2014-05-23 2015-11-26 Qualcomm Incorporated Auto-detection of fiber working modes
CN105991636A (en) * 2015-05-27 2016-10-05 杭州迪普科技有限公司 IKE (Internet key exchange) protocol-based port negotiation method and device
WO2019019906A1 (en) * 2017-07-24 2019-01-31 华为技术有限公司 Communication method and device, and storage medium
CN109302372A (en) * 2017-07-24 2019-02-01 华为技术有限公司 A kind of communication means, equipment and storage medium
US20190191017A1 (en) * 2017-12-16 2019-06-20 Caavo Inc Adaptive multi-protocol control of a media device
CN110417602A (en) * 2019-08-06 2019-11-05 Ut斯达康通讯有限公司 Ethernet channel management method and communication equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625970A (en) * 2021-08-17 2021-11-09 烽火通信科技股份有限公司 Method and device for self-adapting and switching working modes of FlexE disk

Also Published As

Publication number Publication date
CN111800413B (en) 2022-06-28

Similar Documents

Publication Publication Date Title
FI109072B (en) Method and Arrangement for Selecting a Channel Encoding and Interleaving Procedure in Some Packet Data Connections
WO2012072144A1 (en) Facilitating device-to-device communication
EP1466459B1 (en) Method and apparatus for dynamically assigning a network endpoint to a network region
US20070047525A1 (en) Local area network
US20220337477A1 (en) Flexible Ethernet Group Management Method, Device, and Computer-Readable Storage Medium
EP1486039A1 (en) Method and apparatus for header compression in a wireless lan
CN111800413B (en) Ethernet port self-adapting method, communication equipment and storage medium
CN111711941A (en) Data transmission method and related equipment and device
JP5662946B2 (en) Digital radio frequency interface control
US6839413B1 (en) Method and system for data communication
EP2339811B1 (en) Method and system for communication capacity negotiation of physical layer chips
CN104426715A (en) Distributed testing tool control method
CN112637251A (en) Deterministic data transmission method and device based on LLDP protocol
JP2005510178A (en) Method and apparatus for managing connections in a communication network having a bridge
EP3955637A1 (en) Data processing method, communication apparatus, and system
TWI323998B (en) Method and system for optimizing the design of a network controller
CN1190023C (en) Automatic allocation and log off method for link addresses in network edge
US7369548B2 (en) Communicating information using a configurable protocol
JPH05327772A (en) Computer network system
CN106162510B (en) Security process management device and security process management method
CN105553895A (en) Powered device in ethernet, and signal attenuation compensation method and apparatus
CN105991448B (en) Neighbor discovery method and device
CN111756607B (en) Message transmission method and device
WO2007127539A2 (en) System and method for efficient traffic distribution in a network
JP6016274B2 (en) Communication device, power consumption suppression method, and power consumption suppression program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant