CN106101032B - Method and device for COMBO interface self-adaptive Ethernet interface - Google Patents

Method and device for COMBO interface self-adaptive Ethernet interface Download PDF

Info

Publication number
CN106101032B
CN106101032B CN201610659270.2A CN201610659270A CN106101032B CN 106101032 B CN106101032 B CN 106101032B CN 201610659270 A CN201610659270 A CN 201610659270A CN 106101032 B CN106101032 B CN 106101032B
Authority
CN
China
Prior art keywords
interface
combo
combo interface
port type
los signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610659270.2A
Other languages
Chinese (zh)
Other versions
CN106101032A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201610659270.2A priority Critical patent/CN106101032B/en
Publication of CN106101032A publication Critical patent/CN106101032A/en
Application granted granted Critical
Publication of CN106101032B publication Critical patent/CN106101032B/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
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports

Abstract

The embodiment of the invention provides a method and a device for a COMBO interface to adapt to an Ethernet interface, relates to the field of network equipment, and solves the problem that the self-adapting result of the COMBO interface of the existing network equipment is inaccurate when the COMBO interface works in a self-adapting mode. The method specifically comprises the following steps: when a COMBO interface and an opposite end Ethernet physical interface are in a non-link state, acquiring the current LOS signal state information of an optical module connected with the COMBO interface; determining the type of a target port which needs to be configured currently by the COMBO interface according to the LOS signal state information; and matching the target port type with the currently effective port type of the COMBO interface, and determining whether to switch the currently effective port type of the COMBO interface.

Description

Method and device for COMBO interface self-adaptive Ethernet interface
Technical Field
The invention relates to the field of network equipment, in particular to a method and a device for a COMBO interface to adapt to an Ethernet interface.
Background
COMBO interface (optical-electrical multiplexing interface) refers to two ethernet physical interfaces (one is an optical port and one is an electrical port) types disposed on a device panel of a network device. However, because only one MAC exists inside the network device, and the MAC can only form a path with one ethernet physical interface of the COMBO interface at the same time, the optical interface and the electrical interface of the COMBO interface cannot work simultaneously, that is, when one of the COMBO interfaces is activated at a certain time, the other interface is automatically in a disabled state. When two network devices in the same group of networks need information interaction, the type of the working interface of the COMBO interface of the local network device needs to be consistent with that of the working interface of the opposite network device. The existing network device negotiates the interface type with the opposite terminal network device mainly in a self-adaptive manner. For example, when the media currently in effect of the COMBO interface of the local network device and the media currently in effect of the peer network device are both optical media, the configuration of the COMBO interface of the local network device is automatically switched to Fiber (optical mode), and when the media currently in effect of the COMBO interface of the local network device and the media currently in effect of the peer network device are both dielectric media, the configuration of the COMBO interface of the local network device is automatically switched to Copper (electrical mode), without user intervention.
At present, the COMBO interface of the local network device and the currently effective medium of the opposite network device are ensured to be the same mainly through the following two adaptive modes: one is that the media types which are valid by the COMBO interface of the local network equipment are periodically switched, and when the valid media types of the interfaces at the two ends are consistent, the matching is considered to be successful; the other method is to deduce the effective media type of local COMBO interface according to whether the optical module on the optical port of the local COMBO interface is in place, and then the in-place is set as Fiber, and the out-of-place is set as Copper, so as not to match the media type of the opposite network device interface.
However, the mode of switching the effective media types of the COMBO interface of the local network device needs the COMBO interface of the local network device and the interface of the opposite network device to collide at the same time point, so that the effective media types of the interfaces at the two ends can be successfully matched, the matching time of the effective media types of the interfaces at the two ends is not controllable, and the operation cost of the network device can be increased if the media types of the COMBO interface of the local network device are continuously switched; the network device directly configures the local COMBO interface as Fiber without considering the working state of an optical module connected to the optical port of the local COMBO interface as long as the optical module of the local COMBO interface is in place, for example, at this time, an electrical module connected to the electrical port of the local COMBO interface is in a working state, and the local COMBO interface is still configured as Fiber, which is not favorable for realizing the self-adapting function of the COMBO interface.
Disclosure of Invention
The embodiment of the invention provides a method and a device for a COMBO interface to adapt to an Ethernet interface, which solve the problem that the self-adapting result of the COMBO interface of the existing network equipment is inaccurate when the COMBO interface works in a self-adapting mode.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a COMBO interface adaptive ethernet interface method is provided, where if a COMBO interface and an opposite-end ethernet physical interface are in a non-connection link state, the method includes:
acquiring the current LOS signal state information of an optical module connected with a COMBO interface;
determining the type of a target port which is required to be effective by the COMBO interface according to the LOS signal state information;
and matching the target port type with the currently effective port type of the COMBO interface, and determining whether to switch the currently effective port type of the COMBO interface.
In a second aspect, an apparatus for COMBO interface adaptive ethernet interface is provided, including: the device comprises an acquisition module, a determination module and a matching module.
Optionally, the obtaining module is configured to obtain current LOS signal state information of an optical module connected to the COMBO interface if the COMBO interface and the opposite-end ethernet physical interface are in a non-connection link state;
the determining module is configured to determine, according to the LOS signal state information acquired by the acquiring module, a type of a target port that the COMBO interface should take effect;
the matching module is used for matching the target port type determined by the determining module with the currently effective port type of the COMBO interface and determining whether to switch the currently effective port type of the COMBO interface.
According to the method and device for the COMBO interface self-adaptive Ethernet interface provided by the embodiment of the invention, when the COMBO interface and the opposite-end Ethernet physical interface are in a non-connection link state, the current LOS signal state information of an optical module connected with the COMBO interface is obtained, then the type of a target port which should be taken into effect by the COMBO interface is determined according to the LOS signal state information, and the type of the target port is matched with the type of the port which is taken into effect by the COMBO interface at present, so that whether the type of the port which is taken into effect by the COMBO interface at present. Therefore, whether the optical module receives the optical signal currently is judged according to the LOS signal state information of the optical module connected with the COMBO interface, the target port type which the COMBO interface should take effect is further obtained, the target port type is further matched with the port type which the COMBO interface takes effect currently, and whether the port type which the COMBO interface takes effect currently is switched is determined. The method for judging the connection condition of the optical medium of the optical port of the COMBO interface by using the LOS signal enables the network equipment to be more accurate and efficient when the self-adaptive function of the COMBO interface is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for a COMBO interface adaptive ethernet interface according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating setting of a working mode of a COMBO interface according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another COMBO interface adaptive ethernet interface method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a COMBO interface adaptive ethernet interface device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The COMBO interface (optical-electrical multiplexing interface) is composed of two ethernet physical interfaces (usually one is an optical port and one is an electrical port) on a device panel of a network device, there is only one MAC inside the device of the network device, and the COMBO electrical port and the COMBO optical port corresponding to the COMBO electrical port are logically optically and electrically multiplexed, and a user can select one of the COMBO electrical ports to interconnect with the MAC to form a channel according to the actual networking situation, but the COMBO electrical port and the COMBO optical port cannot work simultaneously.
LOS (English, Chinese: LOSs Of Signal) Signal, when the receiving power Of the optical module is lower than a certain threshold value in a certain time, the LOS Signal is in an LOS Signal generating state, which indicates that the optical Signal is lost. Specifically, the LOS signal is generated when the COMBO interface does not receive the optical signal generated by the opposite-end interface. Conversely, when the COMBO interface receives an optical signal generated by the opposite-end interface, no LOS signal is generated.
Fiber, in the present invention, Fiber is used to indicate the port type of COMBO interface, i.e. optical mode, when the type of media in which the COMBO interface is effective is optical media. Specifically, when the port type of the COMBO interface is configured as Fiber, the optical port of the COMBO interface is in an operating state, and the electrical port is disabled.
Copper (network cable), which in the present invention is used to indicate the port type, i.e. the electrical mode, of a COMBO interface when the type of media in which the COMBO interface is effective is dielectric. Specifically, when the port type of the COMBO interface is configured as the wrapper, the electrical port of the COMBO interface is in the working state, and the optical port is disabled.
The execution main body of the method for COMBO interface adaptive ethernet interface provided by the embodiment of the present invention may be a device for COMBO interface adaptive ethernet interface, or a network device for executing the method for COMBO interface adaptive ethernet interface. Specifically, the network device may be a switch, a server, or other network devices. The COMBO interface adaptive ethernet interface device may be a Central Processing Unit (CPU) in the network device, or may be a control Unit or a functional module in the network device.
Based on the above, an embodiment of the present invention provides a method for a COMBO interface to adapt to an ethernet interface, where if the COMBO interface and an ethernet physical interface at an opposite end are in a non-link (connection) state, as shown in fig. 1, the method includes the following steps:
101. and acquiring the current LOS signal state information of the optical module connected with the COMBO interface.
In addition, before step 101, the network device is further required to set the operation mode of the COMBO interface through a command or an initialization setting, where the operation mode includes a mandatory mode and an adaptive mode. Referring to a schematic diagram of setting a working mode of a COMBO interface shown in fig. 2, specifically, if the working mode of the COMBO interface is set to be a mandatory mode, after the COMBO interface enters the mandatory mode, if a target port type of the COMBO interface is mandatory to be Copper, regardless of a currently valid port type of the COMBO interface, a currently valid port type of the COMBO interface is switched to Copper; if the target port type is forced to be Fiber, the currently effective port type is switched to Fiber regardless of the currently effective port type.
If the COMBO interface is set to operate in the adaptive mode, the network device controls the optical module connected to the COMBO interface to generate an optical signal and then executes the command in step 101.
It should be noted that the embodiment of the present invention mainly aims at a scenario in which the operation mode of the COMBO interface is an adaptive mode.
In addition, the COMBO interface and the opposite-end ethernet physical interface are in the non-link state, which means that the COMBO interface and the opposite-end ethernet physical interface do not establish a communication channel.
Specifically, the COMBO interface and the peer end ethernet physical interface being in the non-link state include the following four conditions: 1) if the optical port of the COMBO interface is in a working state, the optical port of the COMBO interface cannot receive an optical signal sent by a common optical port of an opposite terminal, an optical medium cannot communicate between the optical port of the COMBO interface and the common optical port of the opposite terminal through an optical fiber, and a communication channel cannot be formed, the optical port of the COMBO interface and the common optical port of the opposite terminal are in a non-link state; 2) if the optical port of the COMBO interface is in a working state, the optical port of the COMBO interface cannot receive an optical signal sent by the optical port of the COMBO interface at the opposite end, an optical medium cannot communicate between the optical port of the COMBO interface and the optical port of the COMBO interface at the opposite end through an optical fiber, and a communication channel cannot be formed, the optical port of the COMBO interface and the optical port of the COMBO interface at the opposite end are in a non-link state; 3) if the electrical port of the COMBO interface is in a working state, the dielectric medium cannot communicate between the electrical port of the COMBO interface and the opposite-end electrical port through the network cable, and a communication channel cannot be formed, the electrical port of the COMBO interface and the opposite-end electrical port are in a non-link state; 4) if the electric port of the COMBO interface is in a working state, the dielectric medium cannot communicate between the electric port of the COMBO interface and the electric port of the COMBO interface at the opposite end through the network cable, and a communication channel cannot be formed, the electric port of the COMBO interface and the electric port of the COMBO interface at the opposite end are in a non-link state.
102. And determining the type of the target port which the COMBO interface should take effect according to the LOS signal state information.
Wherein, the generating LOS signal status information by the optical module includes: LOS signal generation identification or LOS signal non-generation identification; the LOS signal generation identifier is used for indicating that the optical module does not receive the optical signal currently; the LOS signal non-generation identifier is used for indicating that the optical module receives the optical signal currently; the LOS signal is used to indicate whether the optical module currently receives an optical signal.
103. And matching the target port type with the currently effective port type of the COMBO interface, and determining whether to switch the currently effective port type of the COMBO interface.
Specifically, as shown in fig. 3, step 102 specifically includes the following steps:
102a1, when the LOS signal status information identifies a LOS signal, then determining that the target port type that COMBO interface should take effect is Copper.
102a2, when the LOS signal status information indicates that the LOS signal does not generate an identifier, determining that the type of the target port on which the COMBO interface should be enabled is Fiber.
Specifically, if the determined destination port type that the COMBO interface should take effect is the wrapper, step 103 specifically includes step 103b 1; if the determined target port type that the COMBO interface should take effect is Fiber, step 103 specifically includes step 103b 2.
103b1, if the currently valid port type of the COMBO interface is the loader, keeping the currently valid port type of the COMBO interface unchanged; and if the currently valid port type of the COMBO interface is Fiber, switching the currently valid port type of the COMBO interface to the Copper.
Alternatively, the first and second electrodes may be,
103b2, if the currently valid port type of the COMBO interface is the wrapper, switching the currently valid port type of the COMBO interface into Fiber; if the currently valid port type of the COMBO interface is Fiber, the currently valid port type Fiber of the COMBO interface is kept unchanged.
In order to ensure that an optical port of a COMBO interface of a home network device can receive an optical signal from a normal optical port of an opposite terminal or an optical signal of the COMBO interface in an optical mode, a scheme provided by an embodiment of the present invention further includes, before acquiring current LOS signal state information of an optical module connected to the COMBO interface: and controlling the optical module connected with the COMBO interface to generate an optical signal, so that the COMBO interface of the local network equipment and the COMBO interface of the opposite network equipment both start the optical module to generate the optical signal.
The method for the COMBO interface to adapt to the Ethernet interface provided by the embodiment of the invention determines whether to switch the currently effective port type of the COMBO interface by acquiring the current LOS signal state information of the optical module connected with the COMBO interface, then determining the target port type of the COMBO interface which should take effect according to the LOS signal state information, and matching the target port type with the currently effective port type of the COMBO interface. Therefore, whether the optical module receives the optical signal currently is judged according to the LOS signal state information of the optical module connected with the COMBO interface, the port type which the COMBO interface should take effect is further obtained, the port type which the COMBO interface takes effect currently is further matched, and whether the port type which the COMBO interface takes effect currently is switched is determined. The method for judging the connection condition of the optical medium of the optical port of the COMBO interface by using the LOS signal enables the network equipment to be more accurate and efficient when the self-adaptive function of the COMBO interface is realized.
An embodiment of the present invention provides an apparatus for COMBO interface adaptive ethernet interface, as shown in fig. 4, the apparatus includes: an obtaining module 21, a determining module 22, and a matching module 23, wherein:
the obtaining module 21 is configured to obtain current LOS signal state information of an optical module connected to the COMBO interface when the COMBO interface and an opposite-end ethernet physical interface are in a non-link state.
And the determining module 22 is configured to determine, according to the LOS signal status information acquired by the acquiring module 21, a target port type that the COMBO interface should take effect.
And the matching module 23 is configured to match the target port type determined by the determining module 22 with a currently valid port type of the COMBO interface, and determine whether to switch the currently valid port type of the COMBO interface.
Illustratively, the LOS signal status information includes: LOS signal generation identification or LOS signal non-generation identification; the LOS signal generation identifier is used for indicating that the optical module does not receive the optical signal currently; the LOS signal non-generation identifier is used for indicating that the optical module receives the optical signal currently; the LOS signal is used to indicate whether the optical module currently receives an optical signal.
Optionally, the port types of the COMBO interface include: electrical mode Copper and optical mode Fiber.
The determining module 22 is specifically configured to:
when the LOS signal state information is an LOS signal generation identifier, determining that the type of a target port which should take effect by the COMBO interface is a wrapper;
when the LOS signal status information indicates that the LOS signal does not generate an identifier, the type of the target port which the COMBO interface should take effect is determined to be Fiber.
Optionally, the matching module 23 is specifically configured to:
when the destination port type that COMBO interface should take effect is cooper,
if the currently valid port type of the COMBO interface is the Copper, keeping the currently valid port type of the COMBO interface unchanged; if the currently valid port type of the COMBO interface is Fiber, switching the currently valid port type of the COMBO interface to the hopper;
alternatively, the first and second electrodes may be,
when the type of target port that COMBO interface should take effect is Fiber,
if the currently valid port type of the COMBO interface is the wrapper, switching the currently valid port type of the COMBO interface into Fiber; if the currently valid port type of the COMBO interface is Fiber, the currently valid port type Fiber of the COMBO interface is kept unchanged.
Optionally, as shown in fig. 4, the apparatus further includes: a control module 24, wherein:
and the control module 24 is used for controlling the optical module connected with the COMBO interface to generate an optical signal.
The device for the COMBO interface adaptive Ethernet interface provided by the embodiment of the invention determines whether to switch the currently effective port type of the COMBO interface by acquiring the current LOS signal state information of an optical module connected with the COMBO interface, then determining the target port type of the COMBO interface which should take effect according to the LOS signal state information, and matching the target port type with the currently effective port type of the COMBO interface. Therefore, whether the optical module receives the optical signal currently is judged according to the LOS signal state information of the optical module connected with the COMBO interface, the port type which the COMBO interface should take effect is further obtained, the port type which the COMBO interface takes effect currently is further matched, and whether the port type which the COMBO interface takes effect currently is switched is determined. The method for judging the connection condition of the optical medium of the optical port of the COMBO interface by using the LOS signal enables the network equipment to be more accurate and efficient when the self-adaptive function of the COMBO interface is realized.
The programs corresponding to the actions executed by the COMBO interface adaptive ethernet interface device can be stored in the memory of the device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
It should be noted that, in a specific implementation process, each step in the method flow shown in fig. 1 may be implemented by a processor in a hardware form executing a computer execution instruction in a software form stored in a memory, and is not described herein again to avoid repetition. The program corresponding to the action executed by the device can be stored in the memory of the device in a software form, so that the processor can call and execute the operation corresponding to each module.
The memory above may include volatile memory (volatile memory), such as random-access memory (RAM); a non-volatile memory (non-volatile memory) such as a read-only memory (ROM), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD); combinations of the above categories of memory may also be included.
The processor in the above-provided apparatus may be a single processor or may be a collective term for a plurality of processing elements. For example, the processor may be a central processing unit (CPU; other general purpose processors, Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A method for COMBO interface to adapt to Ethernet interface, wherein if the COMBO interface and the opposite end Ethernet physical interface are in non-connection link state, the method comprises:
acquiring the current LOS signal state information of an optical module connected with a COMBO interface;
determining the type of a target port which the COMBO interface should take effect according to the LOS signal state information;
matching the target port type with the currently effective port type of the COMBO interface, and determining whether to switch the currently effective port type of the COMBO interface;
wherein the LOS signal status information comprises: an LOS signal generation identifier or an LOS signal non-generation identifier, wherein the LOS signal generation identifier is used for indicating that the optical module does not receive an optical signal currently; the LOS signal non-generation identification is used for indicating that the optical module currently receives an optical signal; the LOS signal is used for indicating whether the optical module receives an optical signal currently;
the port types of the COMBO interface include: electrical mode Copper and optical mode Fiber;
when the LOS signal state information is an LOS signal generation identifier, determining that the type of a target port which the COMBO interface should take effect is a hopper;
and when the LOS signal state information indicates that the LOS signal does not generate an identifier, determining that the type of the target port which the COMBO interface should take effect is Fiber.
2. The method according to claim 1, wherein said matching said target port type with a currently valid port type of said COMBO interface and determining whether to switch said currently valid port type of said COMBO interface comprises:
when the destination port type that the COMBO interface should take effect is cooper,
if the currently valid port type of the COMBO interface is the Copper, keeping the currently valid port type of the COMBO interface unchanged; if the currently valid port type of the COMBO interface is Fiber, switching the currently valid port type of the COMBO interface to Copper;
alternatively, the first and second electrodes may be,
when the destination port type that the COMBO interface should take effect is Fiber,
if the currently valid port type of the COMBO interface is the wrapper, switching the currently valid port type of the COMBO interface into Fiber; if the currently valid port type of the COMBO interface is Fiber, keeping the currently valid port type Fiber of the COMBO interface unchanged.
3. The method of claim 1, wherein prior to said obtaining current LOS signal status information for optical modules interfaced to COMBO, said method further comprises:
controlling the optical module connected with the COMBO interface to generate an optical signal.
4. An apparatus for COMBO interface adaptive ethernet interface, the apparatus comprising:
the acquisition module is used for acquiring the current LOS signal state information of the optical module connected with the COMBO interface if the COMBO interface and an opposite-end Ethernet physical interface are in a non-connection link state;
a determining module, configured to determine, according to the LOS signal status information acquired by the acquiring module, a target port type that the COMBO interface should take effect;
the matching module is used for matching the target port type determined by the determining module with the currently effective port type of the COMBO interface and determining whether to switch the currently effective port type of the COMBO interface;
wherein the LOS signal status information comprises: an LOS signal generation identifier or an LOS signal non-generation identifier, wherein the LOS signal generation identifier is used for indicating that the optical module does not receive an optical signal currently; the LOS signal non-generation identification is used for indicating that the optical module currently receives an optical signal; the LOS signal is used for indicating whether the optical module receives an optical signal currently;
the port types of the COMBO interface include: electrical mode Copper and optical mode Fiber;
when the LOS signal state information is an LOS signal generation identifier, determining that the type of a target port which the COMBO interface should take effect is a hopper;
and when the LOS signal state information indicates that the LOS signal does not generate an identifier, determining that the type of the target port which the COMBO interface should take effect is Fiber.
5. The apparatus of claim 4, wherein the matching module is specifically configured to:
when the destination port type that the COMBO interface should take effect is cooper,
if the currently valid port type of the COMBO interface is the Copper, keeping the currently valid port type of the COMBO interface unchanged; if the currently valid port type of the COMBO interface is Fiber, switching the currently valid port type of the COMBO interface to Copper;
alternatively, the first and second electrodes may be,
when the destination port type that the COMBO interface should take effect is Fiber,
if the currently valid port type of the COMBO interface is the wrapper, switching the currently valid port type of the COMBO interface into Fiber; if the currently valid port type of the COMBO interface is Fiber, keeping the currently valid port type Fiber of the COMBO interface unchanged.
6. The apparatus of claim 4, further comprising:
and the control module is used for controlling the optical module connected with the COMBO interface to generate an optical signal.
CN201610659270.2A 2016-08-11 2016-08-11 Method and device for COMBO interface self-adaptive Ethernet interface Active CN106101032B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610659270.2A CN106101032B (en) 2016-08-11 2016-08-11 Method and device for COMBO interface self-adaptive Ethernet interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610659270.2A CN106101032B (en) 2016-08-11 2016-08-11 Method and device for COMBO interface self-adaptive Ethernet interface

Publications (2)

Publication Number Publication Date
CN106101032A CN106101032A (en) 2016-11-09
CN106101032B true CN106101032B (en) 2020-02-04

Family

ID=57456919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610659270.2A Active CN106101032B (en) 2016-08-11 2016-08-11 Method and device for COMBO interface self-adaptive Ethernet interface

Country Status (1)

Country Link
CN (1) CN106101032B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707468B (en) * 2017-09-19 2021-05-07 新华三技术有限公司 Link state maintenance method and device
CN111953412B (en) * 2020-08-07 2022-03-08 苏州浪潮智能科技有限公司 Method and device for realizing optical information synchronization of optical module switch
CN113612704A (en) * 2021-07-13 2021-11-05 华东计算技术研究所(中国电子科技集团公司第三十二研究所) COMBO interface based on mimic switch and mimic switch
CN114244742B (en) * 2021-12-08 2022-10-14 广东省新一代通信与网络创新研究院 Link detection circuit, ethernet transceiver, control method and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674547A (en) * 2005-02-20 2005-09-28 黄炜 Optical/electric interface module space multiplexing method and apparatus used for Ethernet SFP interface
CN101242252A (en) * 2007-02-08 2008-08-13 北京天融信网络安全技术有限公司 Method for realizing dual-link redundancy backup of network device based on Combo interface
CN101350636A (en) * 2008-09-04 2009-01-21 北京星网锐捷网络技术有限公司 Method and system for link redundant backup base on photoelectric multiplexing port
CN101547526A (en) * 2008-03-27 2009-09-30 华为技术有限公司 Fault handling method, wireless device and communication system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001895B (en) * 2012-12-18 2015-04-22 福建星网锐捷网络有限公司 Switching device and interface mode switching method
US9391924B2 (en) * 2014-07-25 2016-07-12 Innovasic, Inc. Ethernet interface module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674547A (en) * 2005-02-20 2005-09-28 黄炜 Optical/electric interface module space multiplexing method and apparatus used for Ethernet SFP interface
CN101242252A (en) * 2007-02-08 2008-08-13 北京天融信网络安全技术有限公司 Method for realizing dual-link redundancy backup of network device based on Combo interface
CN101547526A (en) * 2008-03-27 2009-09-30 华为技术有限公司 Fault handling method, wireless device and communication system
CN101350636A (en) * 2008-09-04 2009-01-21 北京星网锐捷网络技术有限公司 Method and system for link redundant backup base on photoelectric multiplexing port

Also Published As

Publication number Publication date
CN106101032A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106101032B (en) Method and device for COMBO interface self-adaptive Ethernet interface
US10715411B1 (en) Altering networking switch priority responsive to compute node fitness
US10642321B2 (en) Power distribution unit self-identification
US10063312B2 (en) Optical network unit reset message
EP3512160B1 (en) Power supplying method, device and system
CN108900384A (en) Network flow monitoring method, apparatus and system, computer readable storage medium
EP2981004A1 (en) Interconnection system and apparatus, and data transmission method
CN109889411B (en) Data transmission method and device
EP3629535A1 (en) Method, device, and system for implementing mux machine
WO2018161794A1 (en) Apparatus upgrade method and access apparatus
EP3531627B1 (en) Auto-negotiation method and device for port
US11258666B2 (en) Method, device, and system for implementing MUX machine
US9323627B1 (en) System, method, and apparatus for detecting fault conditions experienced by remote physical ports
CN107204888B (en) Method and device for switching timeout time and communication equipment
CN107241141B (en) Drive chip, optical module switching method and PON (passive optical network) equipment
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
CN107547341B (en) Access method and device of virtual extensible local area network VXLAN
US11929868B2 (en) Method and apparatus for fixed communication line malfunction detection and recovery
CN105245840B (en) A kind of data forwarding method, device and video camera
US11671339B1 (en) Apparatus, system, and method for improving the efficiency of link-failure detection
CN210222738U (en) Interrupt reconnection quick response device and communication equipment
CN107423113B (en) Method for managing virtual equipment, out-of-band management equipment and standby virtual equipment
CN110417559B (en) Ethernet power supply equipment and detection method
US20220376785A1 (en) Optical communication device and communication system
CN107566131B (en) PSE multi-path automatic switching chip

Legal Events

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