CN117255072A - Reinforced type switch and data interaction method thereof - Google Patents
Reinforced type switch and data interaction method thereof Download PDFInfo
- Publication number
- CN117255072A CN117255072A CN202311338473.8A CN202311338473A CN117255072A CN 117255072 A CN117255072 A CN 117255072A CN 202311338473 A CN202311338473 A CN 202311338473A CN 117255072 A CN117255072 A CN 117255072A
- Authority
- CN
- China
- Prior art keywords
- port
- chip
- mac address
- data frame
- optical fiber
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000003993 interaction Effects 0.000 title abstract description 32
- 239000013307 optical fiber Substances 0.000 claims abstract description 79
- 239000000835 fiber Substances 0.000 claims description 17
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000013497 data interchange Methods 0.000 claims 2
- 230000002787 reinforcement Effects 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000005266 circulating tumour cell Anatomy 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0005—Switch and router aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0005—Switch and router aspects
- H04Q2011/0007—Construction
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The application discloses a reinforcement type switch and data interaction method thereof, the reinforcement type switch includes: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an input port and is connected with the switching chip through the corresponding physical layer chip; the physical layer chip is used for converting a data frame in a digital signal form input by the Ethernet port from the digital signal form to an analog signal form and outputting the data frame in the analog signal form to the switching chip; the exchange chip is used for forwarding the input data frame in the form of the analog signal to the optical fiber port. By converting the data frames in the form of digital signals into the data frames in the form of analog signals, the equipment adopting the Ethernet ports and the equipment adopting the optical fiber ports can realize data interaction through the reinforced switch.
Description
Technical Field
The application relates to the technical field of switches, in particular to a reinforced switch and a data interaction method thereof.
Background
The ruggedized switch is a switch with port adaptation. With the rapid development of the internet, the requirements for network speed are also increased, and the application of optical fibers is also becoming wider and wider. So the ruggedized switch then also replaces the port with a port adapted to the fiber network.
New devices increasingly employ fiber optic ports for data interaction, unlike previous older devices that employ ethernet ports for data interaction. That is, the current ruggedized switch is only suitable for data interaction between devices with fiber ports, i.e., ports of a data transmitting end and a data receiving end are all fiber ports. Therefore, data interaction between the device employing the ethernet port and the device employing the optical fiber port cannot be achieved.
Disclosure of Invention
Based on the above problems, the present application provides a ruggedized switch and a data interaction method thereof, which are suitable for data interaction between devices of an ethernet port and devices of an optical fiber port.
The embodiment of the application discloses the following technical scheme:
in a first aspect, embodiments of the present application provide a ruggedized switch, the switch including: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an input port and is connected with the switching chip through the corresponding physical layer chip;
the physical layer chip is used for converting a data frame in a digital signal form input by the Ethernet port from the digital signal form to an analog signal form and outputting the data frame in the analog signal form to the switching chip;
the exchange chip is used for forwarding the input data frame in the form of the analog signal to the optical fiber port.
Optionally, the switching chip is specifically configured to:
acquiring an MAC address corresponding to the optical fiber port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the optical fiber port and obtaining a search result;
and when the search result indicates that the MAC address corresponding to the optical fiber port exists in the MAC address table, unicast forwarding the data frame in the form of the analog signal to the optical fiber port.
Optionally, the switch is further configured to:
and when the search result indicates that the MAC address corresponding to the optical fiber port does not exist in the MAC address table, broadcasting and forwarding the data frame in the form of the analog signal to all the optical fiber ports or the Ethernet ports.
Optionally, the switching chip is further configured to:
acquiring an MAC address corresponding to the Ethernet port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the Ethernet port and obtaining a search result;
and when the search result indicates that the MAC address does not exist in the MAC address table, adding the MAC address corresponding to the Ethernet port into the MAC address table.
Optionally, the switch further comprises a controller, and the controller is connected with the switch chip through a serial port;
and the controller is used for monitoring the state of external equipment connected with the controller.
Optionally, the switch further comprises: debugging a serial port; the debugging serial port is connected with the exchange chip through the serial port;
and the debugging serial port is used for checking the printing information of the exchange chip.
In a second aspect, embodiments of the present application provide a ruggedized switch, the switch including: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an output port and is connected with the switching chip through the corresponding physical layer chip;
the switching chip is used for forwarding the data frame in the form of the model signal input by the optical fiber port to the physical layer chip;
the physical layer chip is used for converting the data frame in the form of the analog signal into the data frame in the form of the digital signal and outputting the data frame in the form of the digital signal to the Ethernet port.
Optionally, the switching chip is specifically configured to:
acquiring an MAC address corresponding to the Ethernet port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the Ethernet port and obtaining a search result;
and when the search result indicates that the MAC address corresponding to the Ethernet port exists in the MAC address table, unicast forwarding the data frame in the analog signal form to a physical layer chip corresponding to the Ethernet port.
Optionally, the switch is further configured to:
and when the search result indicates that the MAC address corresponding to the Ethernet port does not exist in the MAC address table, broadcasting and forwarding the data frame in the form of the analog signal to all the optical fiber ports or the Ethernet ports.
Optionally, the switching chip is further configured to:
acquiring an MAC address corresponding to the optical fiber port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the optical fiber port and obtaining a search result;
and when the search result indicates that the MAC address does not exist in the MAC address table, adding the MAC address corresponding to the optical fiber port into the MAC address table.
Optionally, the switch further comprises a controller, and the controller is connected with the switch chip through a serial port;
and the controller is used for monitoring the state of external equipment connected with the controller.
Optionally, the switch further comprises: debugging a serial port; the debugging serial port is connected with the exchange chip through the serial port;
and the debugging serial port is used for checking the printing information of the exchange chip.
In a third aspect, an embodiment of the present application provides a data interaction method of the present switch, where the switch includes: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an input port and is connected with the switching chip through the corresponding physical layer chip;
the physical layer chip converts a data frame in a digital signal form input by the Ethernet port from the digital signal form to an analog signal form and outputs the data frame in the analog signal form to the switching chip;
the switching chip forwards the input data frame in the form of the analog signal to the optical fiber port.
Optionally, the switching chip forwards the input data frame in the form of the analog signal to the optical fiber port, which specifically includes:
acquiring an MAC address corresponding to the optical fiber port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the optical fiber port and obtaining a search result;
and when the search result indicates that the MAC address corresponding to the optical fiber port exists in the MAC address table, unicast forwarding the data frame in the form of the analog signal to the optical fiber port.
Optionally, when the search result indicates that the MAC address corresponding to the optical fiber port does not exist in the MAC address table, the method further includes:
and broadcasting and forwarding the data frames in the form of the analog signals to all the optical fiber ports or the Ethernet ports.
Optionally, the method further comprises:
acquiring an MAC address corresponding to the Ethernet port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the Ethernet port and obtaining a search result;
and when the search result indicates that the MAC address does not exist in the MAC address table, adding the MAC address corresponding to the Ethernet port into the MAC address table.
Optionally, the switch further comprises a controller, and the controller is connected with the switch chip through a serial port;
the method further comprises the steps of:
the controller monitors the state of an external device connected with the controller.
Optionally, the switch further comprises: debugging a serial port; the debugging serial port is connected with the exchange chip through the serial port;
the method further comprises the steps of:
and checking the printing information of the exchange chip by the debugging serial port.
In a fourth aspect, an embodiment of the present application provides a data interaction method of a switch, where the switch includes: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an output port and is connected with the switching chip through the corresponding physical layer chip;
the exchange chip forwards the data frame in the form of the model signal input by the optical fiber port to the physical layer chip;
the physical layer chip converts the data frame in the form of the analog signal into the data frame in the form of the digital signal and outputs the data frame in the form of the digital signal to the Ethernet port.
Compared with the prior art, the application has the following beneficial effects:
the switch includes: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an input port and is connected with the switching chip through the corresponding physical layer chip; the physical layer chip is used for converting a data frame in a digital signal form input by the Ethernet port from the digital signal form to an analog signal form and outputting the data frame in the analog signal form to the switching chip; the exchange chip is used for forwarding the input data frame in the form of the analog signal to the optical fiber port. The data transmitted through the optical fiber is in an analog signal form, and the data transmitted through the Ethernet is in a digital signal form.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a switch according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a single-port to multi-port interaction principle provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a multi-port-to-multi-port interaction principle provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another switch according to an embodiment of the present application;
fig. 5 is a flowchart of a data interaction method of a switch according to an embodiment of the present application;
fig. 6 is a flowchart of another data interaction method of a switch according to an embodiment of the present application.
Detailed Description
As described above, the present ruggedized switch is limited to a single port, and can only exchange data frames in the form of analog signals. That is, interaction between data frames can only be achieved if both the input port and the output port are fiber ports.
To solve the above technical problem, an embodiment of the present application discloses a reinforced switch, the switch includes: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an input port and is connected with the switching chip through the corresponding physical layer chip; the physical layer chip is used for converting the data frame in the form of a digital signal input by the Ethernet port from the digital signal form to the analog signal form and outputting the data frame in the form of the analog signal to the exchange chip; and the switching chip is used for forwarding the data frame in the form of the input analog signal to the optical fiber port.
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
1000Base-T interface, namely 1000Mb/s (1000 Mbps) gigabit Ethernet interface or RJ45 interface;
1000Base-X interface, i.e. 1000Mb/s (1000 Mbps) single-mode or multimode fiber interface;
a 10Gbase-KR interface, namely a 10Gb/s (10 Gbps) back plane Ethernet interface;
10GBase-T interface, namely 10Gb/s (10 Gbps) tera Ethernet interface or RJ45 interface;
PHY chip, i.e. digital-analog hybrid circuit, physical layer chip;
micro-control unit (Microcontroller Unit, MCU), also called single-chip microcomputer or single-chip microcomputer
The local area network address (Media Access Control Address, MAC), i.e. the medium access control address, is an address used to identify the location of the network device.
Referring to fig. 1, the structure of a reinforced switch according to an embodiment of the present application is shown.
As shown in fig. 1, the switch includes: a switch chip 101, a physical layer chip 102, an ethernet port 103, and an optical fiber port 104; the ethernet port 103 is used as an input port and connected to the switch chip 101 through the corresponding physical layer chip 102, and the optical fiber port 105 is directly connected to the switch chip 101.
Wherein,
a physical layer chip 102 for converting a data frame in the form of a digital signal inputted from the ethernet port 103 from the digital signal form to an analog signal form and outputting the data frame in the form of the analog signal to the switching chip 101;
the switch chip 101 is configured to forward a data frame in the form of an input analog signal to the fiber port 104.
It should be appreciated that the signals of the fiber ports are transmitted in optical form, while the signals of the ethernet ports (RJ 45) are transmitted in electrical form. Wherein the optical signal is an analog signal and the electrical signal is a digital signal.
Firstly, the upper computer inputs the data frame of the digital signal through the Ethernet port 103, the physical layer chip 102 corresponding to the Ethernet port 103 converts the data frame of the digital signal into the data frame of the analog signal form, and outputs the data frame of the analog signal form to the exchange chip 101; secondly, the exchange chip 101 analyzes the data frame in the form of analog signals to obtain a source MAC address of the Ethernet port and a target MAC address of the target port; then, matching is carried out in an MAC address table according to the target MAC address, and when the target MAC address exists in the MAC address, a data frame in the form of an analog signal is unicast forwarded to a target port, namely an optical fiber port 104; finally, the optical fiber port 104 sends the data frame to an upper computer connected with the optical fiber port 104 to realize the interaction of the data frame.
In an alternative embodiment, when the destination MAC address is not present in the MAC address table, the switch chip 101 forwards the data frame broadcast in the form of an analog signal to all ports, i.e. all ports except the ethernet port 101 as input. The type of port is not limited in any way here, i.e. the port may be an ethernet port or a fiber optic port.
In an alternative implementation mode, according to the data frame in the form of analog signals, the MAC address corresponding to the Ethernet port is obtained; searching in an MAC address table according to the MAC address corresponding to the Ethernet port and obtaining a search result; and when the search result indicates that the MAC address does not exist in the MAC address table, adding the MAC address corresponding to the Ethernet port into the MAC address table.
As an example, the switch chip 101 may be a CTC7132 (TsingMa) chip, and the CTC7132 chip is a sixth generation core switch chip that is oriented to the cloud era and is introduced by the evolution demand of the edge computing technology. The chip supports 440Gbps I/O bandwidth, integrates an ARM dual-core A53 processor, supports port forms such as QSFMII and USXGMII, and provides full-rate port capability from 100M to 100G. The physical layer chip 102 may be any one of a YT868 PHY chip, a YT8614 PHY chip, an SF1204 PHY chip, or a YT8512H chip. It should be noted that CTC7132 and the PHY chip mentioned above are all domestic chips, which is helpful for realizing the localization of the device.
Note that CTC7132 has three self-contained ports that can enable data interactions between ethernet ports, or data interactions between fiber ports.
After the ports of the CTCs 7132 are expanded through the physical layer chip, data interaction between single-port and multi-port can be realized, and data interaction between multi-port and multi-port can also be realized, as shown in fig. 2 and 3 respectively.
Fig. 2 shows a schematic diagram of data interaction between a single port and a plurality of ports, and in fig. 2, a 1000Base-T interface may interact with a 1000Base-X interface or a 10GBase-T interface. It should be noted that the 1000Base-X interface is an optical fiber port, and the 1000Base-T interface and the 10GBase-T interface are both Ethernet ports, so that data interaction between the Ethernet interface and the optical fiber interface can be realized, and data interaction between the Ethernet interface and the Ethernet interface can be realized. Namely, a data frame input by the 1000Base-T interface contains the MAC address of the 1000Base-X interface, so that data interaction between the Ethernet interface and the optical fiber interface is realized; the data frame input by the 1000Base-T interface contains the MAC address of the 10GBase-T interface to realize the data interaction between the Ethernet interface and the Ethernet interface.
FIG. 3 is a schematic diagram of a multi-port to multi-port data interaction, in which in FIG. 3, a 1000Base-T interface may interact with a 1000Base-X interface or a 10GBase-T interface; the 10GBase-KR can interact data with the 1000Base-X interface or the 10GBase-T interface.
In addition, the switch in the embodiment of the application further comprises an MCU for monitoring the state of the switch chip. The MCU and the exchange chip are connected in the following two modes:
firstly, the MCU is connected with the exchange chip through a serial port UART;
and secondly, the exchange chip is connected with the MCU through the first physical layer chip PHY and the second physical layer chip PHY. By the method, when the first physical layer chip PHY cannot play a role, the state of the exchange chip can be monitored through the second physical layer chip PHY.
On the basis of MCU connection, peripheral equipment can also be connected through serial ports UART or bus GPIO. The state of the peripheral device can be monitored through the MCU.
In addition, the switch further includes: debugging a serial port; the debugging serial port is connected with the exchange chip through the serial port;
and the debugging serial port is used for checking the printing information of the exchange chip and can be used for configuring the port information.
According to the embodiment of the application, the data frames in the form of digital signals are converted into the data frames in the form of analog signals, so that the equipment adopting the Ethernet ports and the equipment adopting the optical fiber ports can realize data interaction through the reinforced switch.
Referring to fig. 4, a schematic structural diagram of another enhanced switch according to an embodiment of the present application is shown.
As shown in fig. 4, the switch includes: a switch chip 401, a physical layer chip 402, an ethernet port 403, and an optical fiber port 404; the ethernet port 403 is used as an output port and connected to the switch chip 401 through the corresponding physical layer chip 402;
a switching chip 401 for forwarding the data frame in the form of the model signal input by the fiber port 404 to the physical layer chip;
the physical layer chip 402 is configured to convert a data frame in an analog signal form into a data frame in a digital signal form, and output the data frame in the digital signal form to the ethernet port 403.
As an example, first, the upper computer inputs a data frame of an analog signal into the switching chip 401 through the optical fiber port 404; secondly, the exchange chip 401 analyzes the data frame in the form of analog signals to obtain the source MAC address of the Ethernet port and the target MAC address of the target port; then, matching is carried out in an MAC address table according to the target MAC address, and when the target MAC address exists in the MAC address, a data frame in the form of an analog signal is unicast forwarded to a target port, namely, a physical layer chip 402 corresponding to an Ethernet port 403; finally, the physical layer chip 402 converts the data frame in the form of analog signals into the data frame of digital signals, and sends the data frame in the form of digital signals to an upper computer connected with the optical fiber port 403 through the ethernet port 403 to realize interaction of the data frame.
Referring to fig. 5, the fig. is a flowchart of a data interaction method of a switch according to an embodiment of the present application.
Wherein, the switch includes: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an input port and is connected with the exchange chip through the corresponding physical layer chip, and the optical fiber port is directly connected with the exchange chip.
The method comprises the following steps:
s501: the physical layer chip converts the data frame in the form of a digital signal input by the Ethernet port from the digital signal form to the analog signal form and outputs the data frame in the form of the analog signal to the exchange chip;
s502: the switching chip forwards the data frames in the form of input analog signals to the fiber ports.
Optionally, the switching chip forwards the data frame in the form of an input analog signal to the optical fiber port, specifically including:
acquiring an MAC address corresponding to the optical fiber port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the optical fiber port and obtaining a search result;
and when the search result indicates that the MAC address corresponding to the optical fiber port exists in the MAC address table, unicast forwarding the data frame in the form of an analog signal to the optical fiber port.
Optionally, when the search result indicates that the MAC address corresponding to the fiber port does not exist in the MAC address table, the method further includes:
the data frames in the form of analog signals are broadcast forwarded to all fiber ports or ethernet ports.
Optionally, the method further comprises:
acquiring an MAC address corresponding to an Ethernet port according to a data frame in an analog signal form;
searching in an MAC address table according to the MAC address corresponding to the Ethernet port and obtaining a search result;
and when the search result indicates that the MAC address does not exist in the MAC address table, adding the MAC address corresponding to the Ethernet port into the MAC address table.
Optionally, the switch further comprises a controller, and the controller is connected with the switching chip through a serial port;
the method further comprises the steps of:
the controller monitors the status of an external device connected to the controller.
Optionally, the switch further comprises: debugging a serial port; the debugging serial port is connected with the exchange chip through the serial port;
the method further comprises the steps of:
the debug serial port views the print information of the exchange chip.
Referring to fig. 6, a flowchart of another method for exchanging data of a switch according to an embodiment of the present application is shown.
The switch includes: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an output port and is connected with the switching chip through the corresponding physical layer chip;
s601: the exchange chip forwards the data frame in the form of the model signal input by the optical fiber port to the physical layer chip;
s602: the physical layer chip converts the data frame in the form of an analog signal into the data frame in the form of a digital signal and outputs the data frame in the form of the digital signal to the Ethernet port.
Optionally, the switching chip forwards the data frame in the form of the model signal input by the fiber port to the physical layer chip, which specifically includes:
acquiring an MAC address corresponding to an Ethernet port according to a data frame in an analog signal form;
searching in an MAC address table according to the MAC address corresponding to the Ethernet port and obtaining a search result;
when the search result indicates that the MAC address corresponding to the Ethernet port exists in the MAC address table, the data frame in the form of analog signals is unicast forwarded to the Ethernet port.
Optionally, when the search result indicates that the MAC address corresponding to the ethernet port does not exist in the MAC address table, the method further includes:
the data frame broadcast in the form of an analog signal is forwarded to a fiber port or an ethernet port.
Optionally, the method further comprises:
acquiring an MAC address corresponding to an optical fiber port according to a data frame in an analog signal form;
searching in an MAC address table according to the MAC address corresponding to the optical fiber port and obtaining a search result;
and when the search result indicates that the MAC address corresponding to the optical fiber port does not exist in the MAC address table, adding the MAC address corresponding to the optical fiber port into the MAC address table.
Optionally, when the switch further comprises a controller, the controller is connected with the switch chip through a serial port;
the method further comprises the steps of:
the controller monitors the status of an external device connected to the controller.
Optionally, the switch further comprises: debugging a serial port; the debugging serial port is connected with the exchange chip through the serial port;
the method further comprises the steps of:
the debug serial port views the print information of the exchange chip.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment is mainly described in a different point from other embodiments. In particular, for the method embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. The method embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements illustrated as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing is merely one specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A ruggedized switch, the switch comprising: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an input port and is connected with the switching chip through the corresponding physical layer chip;
the physical layer chip is used for converting a data frame in a digital signal form input by the Ethernet port from the digital signal form to an analog signal form and outputting the data frame in the analog signal form to the switching chip;
the exchange chip is used for forwarding the input data frame in the form of the analog signal to the optical fiber port.
2. The switch according to claim 1, wherein the switching chip is specifically configured to:
acquiring an MAC address corresponding to the optical fiber port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the optical fiber port and obtaining a search result;
and when the search result indicates that the MAC address corresponding to the optical fiber port exists in the MAC address table, unicast forwarding the data frame in the form of the analog signal to the optical fiber port.
3. The switch of claim 2, wherein the switch is further configured to:
and when the search result indicates that the MAC address corresponding to the optical fiber port does not exist in the MAC address table, broadcasting and forwarding the data frame in the form of the analog signal to all the optical fiber ports or the Ethernet ports.
4. The switch of claim 1, wherein the switching chip is further configured to:
acquiring an MAC address corresponding to the Ethernet port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the Ethernet port and obtaining a search result;
and when the search result indicates that the MAC address does not exist in the MAC address table, adding the MAC address corresponding to the Ethernet port into the MAC address table.
5. The switch of any of claims 1-5, further comprising a controller connected to the switching chip via a serial port;
and the controller is used for monitoring the state of external equipment connected with the controller.
6. The switch of any of claims 1-5, wherein the switch further comprises: debugging a serial port; the debugging serial port is connected with the exchange chip through the serial port;
and the debugging serial port is used for checking the printing information of the exchange chip.
7. A ruggedized switch, the switch comprising: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an output port and is connected with the switching chip through the corresponding physical layer chip;
the switching chip is used for forwarding the data frame in the form of the model signal input by the optical fiber port to the physical layer chip;
the physical layer chip is used for converting the data frame in the form of the analog signal into the data frame in the form of the digital signal and outputting the data frame in the form of the digital signal to the Ethernet port.
8. A method of data interchange for a switch, said switch comprising: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an input port and is connected with the switching chip through the corresponding physical layer chip;
the physical layer chip converts a data frame in a digital signal form input by the Ethernet port from the digital signal form to an analog signal form and outputs the data frame in the analog signal form to the switching chip;
the switching chip forwards the input data frame in the form of the analog signal to the optical fiber port.
9. The method according to claim 8, wherein the switching chip forwards the incoming data frames in the form of analog signals to the fiber port, in particular comprising:
acquiring an MAC address corresponding to the optical fiber port according to the data frame in the analog signal form;
searching in an MAC address table according to the MAC address corresponding to the optical fiber port and obtaining a search result;
and when the search result indicates that the MAC address corresponding to the optical fiber port exists in the MAC address table, unicast forwarding the data frame in the form of the analog signal to the optical fiber port.
10. A method of data interchange for a switch, said switch comprising: the device comprises a switching chip, a physical layer chip, an Ethernet port and an optical fiber port; the Ethernet port is used as an output port and is connected with the switching chip through the corresponding physical layer chip;
the exchange chip forwards the data frame in the form of the model signal input by the optical fiber port to the physical layer chip;
the physical layer chip converts the data frame in the form of the analog signal into the data frame in the form of the digital signal and outputs the data frame in the form of the digital signal to the Ethernet port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311338473.8A CN117255072A (en) | 2023-10-16 | 2023-10-16 | Reinforced type switch and data interaction method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311338473.8A CN117255072A (en) | 2023-10-16 | 2023-10-16 | Reinforced type switch and data interaction method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117255072A true CN117255072A (en) | 2023-12-19 |
Family
ID=89126304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311338473.8A Pending CN117255072A (en) | 2023-10-16 | 2023-10-16 | Reinforced type switch and data interaction method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117255072A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118118446A (en) * | 2024-04-30 | 2024-05-31 | 中孚安全技术有限公司 | Switch and switch system |
-
2023
- 2023-10-16 CN CN202311338473.8A patent/CN117255072A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118118446A (en) * | 2024-04-30 | 2024-05-31 | 中孚安全技术有限公司 | Switch and switch system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101531741B1 (en) | Redundant intermediary switch solution for detecting and managing fibre channel over ethernet (fcoe) switch failures | |
US8699514B2 (en) | Multi-rate MAC to PHY interface | |
US20130232202A1 (en) | Forwarding traffic flow in intelligent resilient framework system | |
CN117255072A (en) | Reinforced type switch and data interaction method thereof | |
CN108462601B (en) | Multi-protection-group switching method and device applied to optical transmission network and network element equipment | |
US20070274351A1 (en) | Multiple fiber optic gigabit ethernet liniks channelized over single optical link | |
US20160112780A1 (en) | Interconnection System, Apparatus, and Data Transmission Method | |
US20060075175A1 (en) | Method and system for configuring high-speed serial links between components of a network device | |
US20150163139A1 (en) | Forwarding Packet in Stacking System | |
US11206216B2 (en) | Flexible ethernet frame forwarding method and apparatus | |
CN113242480B (en) | Photoelectric multiplexing device and method | |
CN109120475A (en) | Debugging network system and method for high-density module | |
CN205304857U (en) | 10, 000, 000, 000 light network switch | |
CN214281418U (en) | SRIO and Ethernet switching board card | |
US20230394006A1 (en) | Fpga-based usb 3.0/3.1 control system | |
CN103716258B (en) | High-density line card, switching device, cluster system and electric signal type configuration method | |
CN114125347B (en) | Information transmission method for active cable, CEC proxy module and active cable | |
CN103036815B (en) | A kind of information technology and communication technology ICT emerging system | |
CN102523142B (en) | GTX (Gigabit texture per second)-based 20-port gigabit Ethernet access system and method | |
Liang et al. | Design of heterogeneous FC-AE-1553 network | |
KR100935325B1 (en) | Apparatus for connecting network switches | |
CN221081315U (en) | Thousand changes hundred optical modules | |
CN216053019U (en) | FC-AE-1553 bus network controller device | |
CN213754536U (en) | System for adapting bus type network and exchange type network | |
US20230362519A1 (en) | Aggregation of multiplexed optical transceivers in server chassis to establish fabric topology |
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 |