CN101621328A - Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment - Google Patents
Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment Download PDFInfo
- Publication number
- CN101621328A CN101621328A CN200810068189A CN200810068189A CN101621328A CN 101621328 A CN101621328 A CN 101621328A CN 200810068189 A CN200810068189 A CN 200810068189A CN 200810068189 A CN200810068189 A CN 200810068189A CN 101621328 A CN101621328 A CN 101621328A
- Authority
- CN
- China
- Prior art keywords
- data
- physical layer
- phy chip
- ethernet
- layer phy
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/4013—Management of data rate on the bus
- H04L12/40136—Nodes adapting their rate to the physical link properties
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
Abstract
The embodiment of the invention discloses an Ethernet photoelectric mutual exclusion interface device, which comprises a photoelectric channel switching module, a first Ethernet physical layer PHY chip and a second Ethernet physical layer PHY chip, wherein the photoelectric channel switching module is used for switching a data channel to an electric interface mode and transmitting received data to the first Ethernet physical layer PHY chip when the electric interface is enabled and switching the data channel to an optical interface mode and transmitting the received data to the second Ethernet physical layer PHY chip when the optical interface is enabled; the first Ethernet physical layer PHY chip is used for receiving data from the photoelectric channel switching module and transmitting the data to the electric interface; and the second Ethernet physical layer PHY chip is used for receiving the data from the photoelectric channel switching module and transmitting the data to the optical interface. The embodiment of the invention also discloses a method for realizing the photoelectric mutual exclusion and network equipment. The method can reduce the cost of the Ethernet photoelectric mutual exclusion interface device and improves the utilization rate of transmission resources.
Description
Technical field
The present invention relates to communication technical field, particularly relate to method, Ethernet photoelectric mutual exclusion interface device and the network equipment of photoelectric mutual exclusion.
Background technology
Photoelectric mutual exclusion is meant that veneer supports light mouth and electricity mouthful these two kinds of patterns on physical aspect, but only supports a kind of port mode when working, promptly inserted electric mouthful after the light mouth unavailable, it is mouthful unavailable to have inserted after the light mouth electricity.The photoelectric mutual exclusion technology is very ripe in gigabit is used, and the PHY chip of international large manufacturers such as Broadcom, Marvell is all supported this technology, but mainstream chip manufacturer does not all support Fast Ethernet (Fast Ethernet, FE) photoelectric mutual exclusion of technology.
Fast Ethernet FE technology is widely used in the mid and low-end products.(GigabitEthernet, GE) scheme designs owing to supporting the main flow FE Ethernet chip of pci bus all not support photoelectric mutual exclusion, will consider usually to use gigabit Ethernet at present.This technology adopts mac controller and the PHY chip BCM5421 of GE, the signal on the throne of system's meeting sampled light module when powering on, in case signal on the throne is (be that optical module is on the throne, system need support the light mouth) effectively, BCM5421 can switch to light mouth pattern by the configuration modification related register; Otherwise BCM5421 can switch to electricity mouthful pattern, be connected with the self adaptation that interface link is 10/100/1000BASE-T.
The inventor finds that there is following shortcoming at least in prior art in realizing process of the present invention:
1, it is too high that prior art is used the solution cost of GE interface, and cost performance is low, lacks competitive advantage in middle and low-end market;
2, the GE interface possesses the transmittability of gigabit, does not but make full use of, and causes the waste of resource.
Summary of the invention
In order to reduce the cost of Ethernet photoelectric mutual exclusion interface device, improved utilization ratio of transmission resources, the embodiment of the invention proposes a kind of Ethernet photoelectric mutual exclusion interface device, comprises photoelectricity channel switching module, the first ethernet physical layer PHY chip, the second ethernet physical layer PHY chip, wherein:
The photoelectricity channel switching module, when being used for Dang Diankou and enabling, data channel is switched to the defeated pattern of electric oral instructions, the data that receive are sent to the first ethernet physical layer PHY chip, when the light mouth is enabled, data channel is switched to the defeated pattern of light oral instructions, the data that receive are sent to the second ethernet physical layer PHY chip;
The first ethernet physical layer PHY chip is used to receive the data from described photoelectricity channel switching module, and these data are sent to the electricity mouth;
The second ethernet physical layer PHY chip is used to receive the data from described photoelectricity channel switching module, and these data are sent to the light mouth.
The embodiment of the invention also proposes a kind of method that realizes photoelectric mutual exclusion, comprising:
When the electricity mouth was enabled, the photoelectricity channel switching module switched to the defeated pattern of electric oral instructions with data channel, and the data that receive are sent to the first ethernet physical layer PHY chip;
The first ethernet physical layer PHY chip receives the data from described photoelectricity channel switching module, and these data are sent to the electricity mouth;
Perhaps,
When the light mouth was enabled, the photoelectricity channel switching module switched to the defeated pattern of light oral instructions with data channel, and the data that receive are sent to the second ethernet physical layer PHY chip;
The second ethernet physical layer PHY chip receives the data from described photoelectricity channel switching module, and these data are sent to the light mouth.
The embodiment of the invention also proposes a kind of network equipment, comprises above-mentioned Ethernet photoelectric mutual exclusion interface device.
Compared with prior art, can produce following beneficial effect at least by the embodiment of the invention:
Can reduce the cost of Ethernet photoelectric mutual exclusion interface device, thereby reduce the cost of the network equipment of integrated this interface arrangement, improve utilization ratio of transmission resources simultaneously.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the Ethernet photoelectric mutual exclusion interface device structural representation of the embodiment of the invention one;
Fig. 2 is the method flow diagram that the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention two realizes photoelectric mutual exclusion;
Fig. 3 is the other method flow chart that the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention two realizes photoelectric mutual exclusion;
Fig. 4 is the Ethernet photoelectric mutual exclusion interface device structural representation of the embodiment of the invention three;
Fig. 5 is the FGPA structural representation of the embodiment of the invention three;
Fig. 6 is the method flow diagram that the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention four realizes photoelectric mutual exclusion;
Fig. 7 is the other method flow chart that the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention four realizes photoelectric mutual exclusion;
Fig. 8 is the Ethernet photoelectric mutual exclusion interface device structural representation of the embodiment of the invention five;
Fig. 9 is the method flow diagram that the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention six realizes photoelectric mutual exclusion;
Figure 10 is the other method flow chart that the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention six realizes photoelectric mutual exclusion;
Figure 11 is the network equipment structural representation of the embodiment of the invention seven.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment one:
As shown in Figure 1, be the structural representation of the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention, this device comprises:
Photoelectricity channel switching module 102, be used for Dang Diankou (specifically can be electricity mouthful data transmission module) when enabling, data channel is switched to electricity mouthful data-transmission mode, the downlink data that receives is sent to the first ethernet physical layer PHY chip, when light mouth (specifically can be light mouth data transmission module) when enabling, data channel is switched to the defeated pattern of light oral instructions, the downlink data that receives is sent to the second ethernet physical layer PHY chip; It is that the electricity mouth is effective that Ethernet photoelectric mutual exclusion interface device can be given tacit consent to when powering on, enable electricity mouthful data-transmission mode, in case this device inserts optical module, path channels is set up, optical module LOSS signal is effective, photoelectricity channel switching module 102 collect this signal effectively after, with regard to switches light mouth data-transmission mode, guarantee that the light mouth is effective.
The first ethernet physical layer PHY chip 104-1 is used to receive the downlink data from the photoelectricity channel switching module, and these data are sent to electricity mouthful data transmission module;
The second ethernet physical layer PHY chip 104-2 is used to receive the downlink data from the photoelectricity channel switching module, and these data are sent to light mouth data transmission module;
Electricity mouthful data transmission module 106 is used to receive the downlink data from the first ethernet physical layer PHY chip, these data is sent to the device (as router, switch etc.) that is connected with this electricity mouth data transmission module;
Light mouth data transmission module 108 is used to receive the downlink data from the second ethernet physical layer PHY chip, these data is sent to the device (as router, switch etc.) that is connected with this light mouth data transmission module.
In the present embodiment, the photoelectricity channel switching module can be field programmable gate array, perhaps comprises medium access control module and analog switch module, or the like.The type of the first ethernet physical layer PHY chip and the second ethernet physical layer PHY chip can be to comprise 100 m ethernet PHY chip etc.The type of electricity mouthful data transmission module can comprise: 10,000,000/100,000,000 adaptive electro mouth data transmission modules etc.; The type of light mouth data transmission module can comprise: 100,000,000 light mouth data transmission modules etc.
Pass through the embodiment of the invention, form solution with two ethernet physical layer PHY chips (as the 100 m ethernet PHY chip) and replace GE interface solution than low side, can reduce the cost of Ethernet photoelectric mutual exclusion interface device, improve utilization ratio of transmission resources.
Embodiment two:
As shown in Figure 2, for the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention realizes the method flow diagram of photoelectric mutual exclusion, this method comprises:
Step S202: Dang Diankou (specifically can be electricity mouthful data transmission module) is when enabling, and the photoelectricity channel switching module switches to the defeated pattern of electric oral instructions with data channel, and the downlink data that receives is sent to the first ethernet physical layer PHY chip;
Step S204: the first ethernet physical layer PHY chip receives the downlink data from the photoelectricity channel switching module, and these data are sent to electricity mouthful data transmission module;
Step S206: electricity mouthful data transmission module receives the downlink data from the first ethernet physical layer PHY chip, these data is sent to the device that is connected with this electricity mouth data transmission module;
Perhaps, as shown in Figure 3, this method can be to comprise:
Step S 302: Dang Guangkou (specifically can be light mouth data transmission module) is when enabling, and the photoelectricity channel switching module switches to the defeated pattern of light oral instructions with data channel, and the downlink data that receives is sent to the second ethernet physical layer PHY chip;
Step S304: the second ethernet physical layer PHY chip receives the downlink data from the photoelectricity channel switching module, and these data are sent to light mouth data transmission module;
Step S306: light mouth data transmission module receives the downlink data from the second ethernet physical layer PHY chip, these data is sent to the device that is connected with this light mouth data transmission module.
In the present embodiment, the photoelectricity channel switching module can be field programmable gate array, perhaps comprises medium access control module and analog switch module, or the like.The type of the first ethernet physical layer PHY chip and the second ethernet physical layer PHY chip can be to comprise 100 m ethernet PHY chip etc.The type of electricity mouthful data transmission module can comprise: 10,000,000/100,000,000 adaptive electro mouth data transmission modules etc.; The type of light mouth data transmission module can comprise: 100,000,000 light mouth data transmission modules etc.
Pass through the embodiment of the invention, form solution with two ethernet physical layer PHY chips (as the 100 m ethernet PHY chip) and replace GE interface solution than low side, can reduce the cost of Ethernet photoelectric mutual exclusion interface device, improve utilization ratio of transmission resources.
Embodiment three:
As shown in Figure 4, structural representation for the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention, this device comprises field programmable gate array 402 (Field-Programmable Gate Array, FPGA), the first ethernet physical layer PHY chip 404-1 and the second ethernet physical layer PHY chip 404-2,10,000,000/100,000,000 adaptive electro mouth data transmission modules 406 (10/100BASE-TX) and 100,000,000 light mouth data transmission modules 108 (100BASE-FX), wherein:
Field programmable gate array 402, be connected with central processor CPU by the PCI line, be connected with the second ethernet physical layer PHY chip 404-2 with the first ethernet physical layer PHY chip 404-1, be used for the situation of enabling, data channel is switched to defeated pattern of electric oral instructions or the defeated pattern of light oral instructions according to electricity mouth or light mouth; By the downlink data of pci bus reception from CPU; When the electricity mouth is enabled, this field programmable gate array sends to the first ethernet physical layer PHY chip 404-1 with the downlink data that receives, when the light mouth was enabled, this field programmable gate array sent to the second ethernet physical layer PHY chip 404-2 with the downlink data that receives.Correspondingly, this field programmable gate array also by the upstream data of MI I interface reception from the first ethernet physical layer PHY chip 404-1 or the second ethernet physical layer PHY chip 404-2, sends to CPU with upstream data by pci bus; It is that the electricity mouth is effective that Ethernet photoelectric mutual exclusion interface device can be given tacit consent to when powering on, enable electricity mouthful data-transmission mode, in case this device inserts optical module, path channels is set up, optical module LOSS signal is effective, field programmable gate array 402 collect this signal effectively after, with regard to switches light mouth data-transmission mode, guarantee that the light mouth is effective.
The first ethernet physical layer PHY chip 404-1, on up direction, be connected with field programmable gate array 402, on down direction, be connected with 10,000,000/100,000,000 adaptive electro mouth data transmission modules 406, be used to receive downlink data, the downlink data that receives is sent to 10,000,000/100,000,000 adaptive electro mouth data transmission modules 406 from field programmable gate array 402; Correspondingly, the first ethernet physical layer PHY chip 404-1 sends upstream data to FPGA402 by the upstream data of MI I interface reception from 10,000,000/100,000,000 adaptive electro mouth data transmission modules 406;
The second ethernet physical layer PHY chip 404-2, on up direction, be connected with field programmable gate array 402, on down direction, be connected with 100,000,000 light mouth data transmission modules 408, be used to receive downlink data, send the downlink data that receives to 100,000,000 light mouth data transmission modules 408 from field programmable gate array 402; Correspondingly, the second ethernet physical layer PHY chip 404-2 sends to FPGA402 by the upstream data of MI I interface reception from 100,000,000 light mouth data transmission modules 408 with upstream data;
10,000,000/100,000,000 adaptive electro mouth data transmission modules 406 are connected with the first ethernet physical layer PHY chip 404-1, are used to receive the downlink data from the first ethernet physical layer PHY chip 404-1; When this mouth is enabled, the downlink data that receives is offered the equipment that is connected with this module, such as being router, switch etc.; Correspondingly, when this electricity mouth was enabled, this module received the upstream data from the device that is connected with this module, sends this upstream data to first ethernet physical layer PHY chip 404-1;
100,000,000 light mouth data transmission modules 408 are used for being connected with the second ethernet physical layer PHY chip 404-2, are used to receive the downlink data from the second ethernet physical layer PHY chip 404-2; When this light mouth is enabled, the downlink data that receives is offered the equipment that is connected with this light mouth, such as being router, switch etc.; Correspondingly, when this light mouth was enabled, this module received the upstream data from the device that is connected with this module, sends this upstream data to second ethernet physical layer PHY chip 404-2;
As shown in Figure 5, present embodiment is realized the switching of MAC function and analog switch function by FPGA402, comprise: medium access control module (MAC) 502 and multiway analog switch module (MUX) 504, wherein, medium access control module (MAC) 502 is used to realize the medium access control, multiway analog switch module (MUX) 504 is used for the situation of enabling according to electricity mouth or light mouth, and data channel is switched to defeated pattern of electric oral instructions or the defeated pattern of light oral instructions.
The interface of present embodiment is an example with MII and PCI, but can be not limited to these modes.The type of the first ethernet physical layer PHY chip and the second ethernet physical layer PHY chip can be to comprise 100 m ethernet PHY chip etc.
Pass through the embodiment of the invention, form solution with two ethernet physical layer PHY chips (as the 100 m ethernet PHY chip) and replace GE interface solution than low side, can reduce the cost of Ethernet photoelectric mutual exclusion interface device, improve utilization ratio of transmission resources.
Embodiment four:
Referring to Fig. 6, the Ethernet photoelectric mutual exclusion interface device that provides for the embodiment of the invention realizes the method flow diagram of photoelectric mutual exclusion, and on up direction, this method comprises:
Step S602, when Dang Diankou enabled, 10,000,000/100,000,000 adaptive electro mouth data transmission modules received the upstream data from the equipment that is connected with this module (such as being router, switch etc.), and this upstream data is sent to the first ethernet physical layer PHY chip; Perhaps, when Dang Guangkou enabled, 100,000,000 light mouth data transmission modules received the upstream data from the equipment that is connected with this module (such as being router, switch etc.), send this upstream data to second ethernet physical layer PHY chip;
Step S604, the first ethernet physical layer PHY chip receives the upstream data from 10,000,000/100,000,000 adaptive electro mouth data transmission modules, and the upstream data that receives is sent to field programmable gate array; Perhaps, the second ethernet physical layer PHY chip receives the upstream data from 100,000,000 light mouth data transmission modules, and the upstream data that receives is sent to field programmable gate array;
Step S606, field programmable gate array receives the upstream data from the first ethernet physical layer PHY chip or the second ethernet physical layer PHY chip;
Step S608, field programmable gate array sends to CPU with upstream data by PC I bus.
Referring to Fig. 7, on down direction, this method comprises:
Step S702, field programmable gate array is by the downlink data of pci bus reception from CPU;
Step S704, field programmable gate array switch to defeated pattern of electric oral instructions or the defeated pattern of light oral instructions according to the situation of enabling of electricity mouth or light mouth with data channel;
Step S706, when Dang Diankou enabled, field programmable gate array was transferred to the first ethernet physical layer PHY chip with the downlink data that receives by MI I interface; Perhaps, when Dang Guangkou enabled, field programmable gate array sent to the second ethernet physical layer PHY chip with the downlink data that receives;
Step S708, when Dang Diankou enabled, the first ethernet physical layer PHY chip received the downlink data from field programmable gate array; Perhaps, when Dang Guangkou enabled, the second ethernet physical layer PHY chip received the downlink data from field programmable gate array;
Step S710, when Dang Diankou enabled, the first ethernet physical layer PHY chip sent the downlink data that receives to 10,000,000/100,000,000 adaptive electro mouth data transmission modules; Perhaps, when Dang Guangkou enabled, the second ethernet physical layer PHY chip sent the downlink data that receives to 100,000,000 light mouth data transmission modules;
Step S712, when Dang Diankou enabled, 10,000,000/100,000,000 adaptive electro mouth data transmission modules received the downlink data from the first ethernet physical layer PHY chip, downlink data are offered the equipment (such as being router, switch etc.) that is connected with this module; Perhaps, when Dang Guangkou enabled, 100,000,000 light mouth data transmission modules received the downlink data from the second ethernet physical layer PHY chip, downlink data are offered the equipment (such as being router, switch etc.) that is connected with this module.
Pass through the embodiment of the invention, form solution with two ethernet physical layer PHY chips (as the 100 m ethernet PHY chip) and replace GE interface solution than low side, can reduce the cost of Ethernet photoelectric mutual exclusion interface device, improve utilization ratio of transmission resources.
Embodiment five:
As shown in Figure 8, structural representation for the FE interface arrangement of the embodiment of the invention, this device comprises medium access control module 802 (MAC), analog switch module 804, the first ethernet physical layer PHY chip 806-1 and the second ethernet physical layer PHY chip 806-2,10,000,000/100,000,000 adaptive electro mouth data transmission modules 808 (10/100BASE-TX) and 100,000,000 light mouth data transmission modules 810 (100BASE-FX), wherein:
Medium access control module 802 is connected with central processor CPU by the PCI line, is connected with analog switch module 804, is used for by the downlink data of pci bus reception from CPU, and this downlink data sends to analog switch module 804 by the MII interface; Correspondingly, this medium access control module 802 also by the upstream data of MII interface reception from analog switch module 804, sends to CPU with the upstream data that receives by pci bus;
Analog switch module 804, on up direction, be connected with medium access control module 802, on down direction, be connected with the second ethernet physical layer PHY chip 806-2 with the first ethernet physical layer PHY chip 806-1 respectively, be used for by the downlink data of MII interface reception from medium access control module 802, according to the situation of enabling of electricity mouth or light mouth, data flow path is switched to defeated pattern of electric oral instructions or the defeated pattern of light oral instructions; When the electricity mouth is enabled, this analog switch module 804 sends to the first ethernet physical layer PHY chip 806-1 with the downlink data that receives, when the light mouth was enabled, this analog switch module 804 sent to the second ethernet physical layer PHY chip 806-2 with the downlink data that receives.Correspondingly, analog switch module 804 also by the upstream data of MII interface reception from the first ethernet physical layer PHY chip 806-1 or the second ethernet physical layer PHY chip 806-2, sends to medium access control module 802 with upstream data by the MII interface;
The first ethernet physical layer PHY chip 806-1, on up direction, be connected with analog switch module 804, on down direction, be connected with 10,000,000/100,000,000 adaptive electro mouth data transmission modules 808, be used to receive downlink data, send the downlink data that receives to 10,000,000/100,000,000 adaptive electro mouth data transmission modules 808 from analog switch module 804; Correspondingly, the first ethernet physical layer PHY chip 806-1 sends upstream data to analog switch module 804 by the upstream data of MII interface reception from 10,000,000/100,000,000 adaptive electro mouth data transmission modules 808;
The second ethernet physical layer PHY chip 806-2, on up direction, be connected with analog switch module 804, on down direction, be connected with 100,000,000 light mouth data transmission modules 510, be used to receive downlink data, send the downlink data that receives to 100,000,000 light mouth data transmission modules 810 from analog switch module 804; Correspondingly, the second ethernet physical layer PHY chip 806-2 sends upstream data to analog switch module 804 by the upstream data of MII interface reception from 100,000,000 light mouth data transmission modules 810;
10,000,000/100,000,000 adaptive electro mouth data transmission modules 808 are connected with the first ethernet physical layer PHY chip 806-1, are used to receive the downlink data from the first ethernet physical layer PHY chip 806-1; When this electricity mouth is enabled, the downlink data that receives is offered the equipment that is connected with this module, such as being router, switch etc.; Correspondingly, when this electricity mouth was enabled, this module received the upstream data from the device that is connected with this module, sends this upstream data to first ethernet physical layer PHY chip 806-1;
100,000,000 light mouth data transmission modules 810 are used for being connected with the second ethernet physical layer PHY chip 806-2, are used to receive the downlink data from the second ethernet physical layer PHY chip 806-2; When this light mouth is enabled, the downlink data that receives is offered the equipment that is connected with this light mouth, such as being router, switch etc.; Correspondingly, when this light mouth was enabled, this module received the upstream data from the device that is connected with this module, sends this upstream data to second ethernet physical layer PHY chip 806-2.
The interface of present embodiment is an example with MII and PCI, but can be not limited to these modes.The type of the first ethernet physical layer PHY chip and the second ethernet physical layer PHY chip can be to comprise 100 m ethernet PHY chip etc.
Pass through the embodiment of the invention, form solution with two ethernet physical layer PHY chips (as the 100 m ethernet PHY chip) and replace GE interface solution than low side, can reduce the cost of Ethernet photoelectric mutual exclusion interface device, improve utilization ratio of transmission resources.
Embodiment six:
Referring to Fig. 9, realize the flow chart of the method for photoelectric mutual exclusion for what the embodiment of the invention provided at the FE interface, on up direction, this method comprises:
Step S902, when Dang Diankou enabled, 10,000,000/100,000,000 adaptive electro mouth data transmission modules received the upstream data from the equipment that is connected with this module (such as being router, switch etc.), and this upstream data is sent to the first ethernet physical layer PHY chip; Perhaps, when Dang Guangkou enabled, 100,000,000 light mouth data transmission modules received the upstream data from the equipment that is connected with this module (such as being router, switch etc.), send this upstream data to second ethernet physical layer PHY chip;
Step S904, the first ethernet physical layer PHY chip receives the upstream data from 10,000,000/100,000,000 adaptive electro mouth data transmission modules, and the upstream data that receives is sent to the analog switch module; Perhaps, the second ethernet physical layer PHY chip receives the upstream data from 100,000,000 light mouth data transmission modules, and the upstream data that receives is sent to the analog switch module;
Step S906, the analog switch module receives the upstream data from the first ethernet physical layer PHY chip or the second ethernet physical layer PHY chip;
Step S908, the analog switch module sends to medium access control module with upstream data by the MII interface;
Step S910, medium access control module sends to CPU with the upstream data that receives by pci bus by the upstream data of MI I interface reception from the analog switch module.
Referring to Figure 10, on down direction, this method comprises:
Step S1002, medium access control module is by the pci bus downlink data receiving;
Step S1004, medium access control module sends this downlink data to the analog switch module by the MII interface;
Step S1006, the analog switch module according to the situation of enabling of electricity mouth or light mouth, switches to electric oral instructions defeated pattern or light oral instructions defeated pattern with data channel by the downlink data of MII interface reception from medium access control module 502; When the electricity mouth was enabled, this analog switch module sent to the first ethernet physical layer PHY chip with the downlink data that receives; Perhaps, when Dang Guangkou enabled, this analog switch module sent to the second ethernet physical layer PHY chip with the downlink data that receives;
Step S1008, when Dang Diankou enabled, the first ethernet physical layer PHY chip received the downlink data from the analog switch module; Perhaps, when Dang Guangkou enabled, the second ethernet physical layer PHY chip received the downlink data from the analog switch module;
Step S1010, when Dang Diankou enabled, the first ethernet physical layer PHY chip sent the downlink data that receives to 10,000,000/100,000,000 adaptive electro mouth data transmission modules; Perhaps, when Dang Guangkou enabled, the second ethernet physical layer PHY chip sent the downlink data that receives to 100,000,000 light mouth data transmission modules;
Step S1012, when Dang Diankou enabled, 10,000,000/100,000,000 adaptive electro mouth data transmission modules received the downlink data from the first ethernet physical layer PHY chip, downlink data are offered the equipment (such as being router, switch etc.) that is connected with this module; Perhaps, when Dang Guangkou enabled, 100,000,000 light mouth data transmission modules received the downlink data from the second ethernet physical layer PHY chip, downlink data are offered the equipment (such as being router, switch etc.) that is connected with this module.
The interface of present embodiment is an example with MII and PCI, but can be not limited to these modes.The type of the first ethernet physical layer PHY chip and the second ethernet physical layer PHY chip can be to comprise 100 m ethernet PHY chip etc.
Pass through the embodiment of the invention, form solution with two ethernet physical layer PHY chips (as the 100 m ethernet PHY chip) and replace GE interface solution than low side, can reduce the cost of Ethernet photoelectric mutual exclusion interface device, improve utilization ratio of transmission resources.
Embodiment seven:
Referring to Figure 11, the network equipment structural representation that provides for the embodiment of the invention, comprise Ethernet photoelectric mutual exclusion interface device 1102, this Ethernet photoelectric mutual exclusion interface device 1102 can be as Ethernet photoelectric mutual exclusion interface device as described in embodiment one, embodiment three and the embodiment five, is not giving unnecessary details at this.
The type of the network equipment of present embodiment can comprise: switch, router, digital circuit couple in multiplexer (DSLAM), base station or gateway etc.
Pass through the embodiment of the invention, form solution with two ethernet physical layer PHY chips (as the 100 m ethernet PHY chip) and replace GE interface solution than low side, can reduce the cost of Ethernet photoelectric mutual exclusion interface device, thereby reduce the cost of the network equipment of integrated this interface arrangement, improved utilization ratio of transmission resources simultaneously.
As fully visible, by the Ethernet photoelectric mutual exclusion interface device of the embodiment of the invention, the method and the network equipment that Ethernet photoelectric mutual exclusion interface device realizes photoelectric mutual exclusion, form solution with two ethernet physical layer PHY chips (as the 100 m ethernet PHY chip) and replace GE interface solution than low side, can reduce the cost of Ethernet photoelectric mutual exclusion interface device and related network device, improve utilization ratio of transmission resources.
The professional can also recognize, the unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in the above description.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each specific should being used for, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can use the software module of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the storage medium of other form arbitrarily.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (11)
1, a kind of Ethernet photoelectric mutual exclusion interface device is characterized in that, comprises photoelectricity channel switching module, the first ethernet physical layer PHY chip, the second ethernet physical layer PHY chip, wherein:
The photoelectricity channel switching module, when being used for Dang Diankou and enabling, data channel is switched to the defeated pattern of electric oral instructions, the data that receive are sent to the first ethernet physical layer PHY chip, when the light mouth is enabled, data channel is switched to the defeated pattern of light oral instructions, the data that receive are sent to the second ethernet physical layer PHY chip;
The first ethernet physical layer PHY chip is used to receive the data from described photoelectricity channel switching module, and these data are sent to the electricity mouth;
The second ethernet physical layer PHY chip is used to receive the data from described photoelectricity channel switching module, and these data are sent to the light mouth.
2, Ethernet photoelectric mutual exclusion interface device as claimed in claim 1 is characterized in that, also further comprises:
Electricity mouthful data transmission module is used to receive the data from the described first ethernet physical layer PHY chip, these data is sent to the device that is connected with this electricity mouth data transmission module;
Light mouth data transmission module is used to receive the data from the described second ethernet physical layer PHY chip, these data is sent to the device that is connected with this light mouth data transmission module.
3, Ethernet photoelectric mutual exclusion interface device as claimed in claim 1 is characterized in that, described photoelectricity channel switching module is a field programmable gate array.
4, Ethernet photoelectric mutual exclusion interface device as claimed in claim 1 is characterized in that, described photoelectricity channel switching module comprises:
Medium access control module is used to realize the medium access control;
The analog switch module is used for the situation of enabling according to electricity mouth or light mouth, and data channel is switched to defeated pattern of electric oral instructions or the defeated pattern of light oral instructions.
5, Ethernet photoelectric mutual exclusion interface device as claimed in claim 1 is characterized in that, the type of the described first ethernet physical layer PHY chip and the second ethernet physical layer PHY chip comprises the 100 m ethernet PHY chip.
6, Ethernet photoelectric mutual exclusion interface device as claimed in claim 1 is characterized in that, the type of described electricity mouthful data transmission module comprises: 10,000,000/100,000,000 adaptive electro mouth data transmission modules; The type of described light mouth data transmission module comprises: 100,000,000 light mouth data transmission modules.
7, a kind of method that realizes photoelectric mutual exclusion is characterized in that, comprising:
When the electricity mouth was enabled, the photoelectricity channel switching module switched to the defeated pattern of electric oral instructions with data channel, and the data that receive are sent to the first ethernet physical layer PHY chip;
The first ethernet physical layer PHY chip receives the data from described photoelectricity channel switching module, and these data are sent to the electricity mouth;
Perhaps,
When the light mouth was enabled, the photoelectricity channel switching module switched to the defeated pattern of light oral instructions with data channel, and the data that receive are sent to the second ethernet physical layer PHY chip;
The second ethernet physical layer PHY chip receives the data from described photoelectricity channel switching module, and these data are sent to the light mouth.
8, the method for realization photoelectric mutual exclusion as claimed in claim 7, it is characterized in that, receive data at the described first ethernet physical layer PHY chip, these data sent to after the electricity mouthful data transmission module, further comprise from described photoelectricity channel switching module:
Electricity mouthful data transmission module receives the data from the described first ethernet physical layer PHY chip, these data is sent to the device that is connected with this electricity mouth data transmission module;
Perhaps, receive downlink data, these data sent to after the light mouth, further comprise from the photoelectricity channel switching module at the described second ethernet physical layer PHY chip:
Light mouth data transmission module receives the data from the described second ethernet physical layer PHY chip, these data is sent to the device that is connected with this light mouth data transmission module.
As the method for claim 7 or 8 described realization photoelectric mutual exclusions, it is characterized in that 9, described photoelectricity channel switching module is a field programmable gate array.
10, a kind of network equipment is characterized in that, comprises as each described Ethernet photoelectric mutual exclusion interface device in the claim 1 to 6.
11, the network equipment as claimed in claim 10 is characterized in that, the type of the described network equipment comprises:
Switch, router, digital circuit couple in multiplexer (DSLAM), base station or gateway.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810068189A CN101621328A (en) | 2008-06-30 | 2008-06-30 | Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment |
PCT/CN2009/071910 WO2010000160A1 (en) | 2008-06-30 | 2009-05-21 | A method for implementing photoelectricity mutual exclusion, an ethernet photoelectricity mutual exclusion interface equipment, and a network device |
US12/491,422 US20090323705A1 (en) | 2008-06-30 | 2009-06-25 | Method for implementing photoelectric mutex, ethernet photoelectric mutex interface device and network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810068189A CN101621328A (en) | 2008-06-30 | 2008-06-30 | Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101621328A true CN101621328A (en) | 2010-01-06 |
Family
ID=41465484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810068189A Pending CN101621328A (en) | 2008-06-30 | 2008-06-30 | Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101621328A (en) |
WO (1) | WO2010000160A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410505A (en) * | 2014-11-26 | 2015-03-11 | 北京中科德能科技有限公司 | Ethernet photo-dielectric converter |
CN105553789A (en) * | 2015-11-30 | 2016-05-04 | 国家电网公司 | PTN packet transport device and method for automatic switch of optic electric interfaces thereof |
CN106549713A (en) * | 2016-12-07 | 2017-03-29 | 深圳市飞鸿光电子有限公司 | Method and OLT device that a kind of SFP interfaces based on OLT device are powered |
CN106656518A (en) * | 2016-11-11 | 2017-05-10 | 北京百卓网络技术有限公司 | Ten-gigabit switching equipment |
CN111783374A (en) * | 2020-06-30 | 2020-10-16 | Oppo广东移动通信有限公司 | Chip and terminal |
CN112737794A (en) * | 2020-12-22 | 2021-04-30 | 广州市高科通信技术股份有限公司 | Optical port and electric port self-adaptive connecting device |
CN113193983A (en) * | 2021-03-31 | 2021-07-30 | 新华三信息安全技术有限公司 | Network communication equipment and method for switching topology connection mode |
CN113242480A (en) * | 2021-06-24 | 2021-08-10 | 烽火通信科技股份有限公司 | Photoelectric multiplexing device and method |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE202011108919U1 (en) | 2011-12-09 | 2012-01-30 | Osram Ag | lighting device |
CN106603310B (en) * | 2017-01-12 | 2023-07-04 | 深圳市恒扬数据股份有限公司 | Network management interface system and network shunt |
CN109600457B (en) * | 2019-01-28 | 2022-06-03 | 伟乐视讯科技股份有限公司 | PHY-MAC interface control device and method with one mapping at most |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100399778C (en) * | 2001-12-30 | 2008-07-02 | 联想(北京)有限公司 | Device of physical layer adaptive different network transmission link medium and its control method |
CN100382521C (en) * | 2003-03-27 | 2008-04-16 | 华为技术有限公司 | Method of supporting multi kilomega ethernet terminal photoelectric multiplex |
CN100490450C (en) * | 2004-07-23 | 2009-05-20 | 杭州华三通信技术有限公司 | Implementation system for Ethernet photoelectric interface duplex |
CN101136795A (en) * | 2006-12-26 | 2008-03-05 | 中兴通讯股份有限公司 | Network processor based communication protocol monitoring system and method |
CN101141451B (en) * | 2007-10-26 | 2011-11-30 | 华中科技大学 | numerical control system communication interface, numerical control system and data receiving method |
-
2008
- 2008-06-30 CN CN200810068189A patent/CN101621328A/en active Pending
-
2009
- 2009-05-21 WO PCT/CN2009/071910 patent/WO2010000160A1/en active Application Filing
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104410505A (en) * | 2014-11-26 | 2015-03-11 | 北京中科德能科技有限公司 | Ethernet photo-dielectric converter |
CN105553789A (en) * | 2015-11-30 | 2016-05-04 | 国家电网公司 | PTN packet transport device and method for automatic switch of optic electric interfaces thereof |
CN106656518A (en) * | 2016-11-11 | 2017-05-10 | 北京百卓网络技术有限公司 | Ten-gigabit switching equipment |
CN106549713A (en) * | 2016-12-07 | 2017-03-29 | 深圳市飞鸿光电子有限公司 | Method and OLT device that a kind of SFP interfaces based on OLT device are powered |
CN111783374A (en) * | 2020-06-30 | 2020-10-16 | Oppo广东移动通信有限公司 | Chip and terminal |
CN112737794A (en) * | 2020-12-22 | 2021-04-30 | 广州市高科通信技术股份有限公司 | Optical port and electric port self-adaptive connecting device |
CN112737794B (en) * | 2020-12-22 | 2024-02-09 | 广州市高科通信技术股份有限公司 | Optical port and electric port self-adaptive connecting device |
CN113193983A (en) * | 2021-03-31 | 2021-07-30 | 新华三信息安全技术有限公司 | Network communication equipment and method for switching topology connection mode |
CN113193983B (en) * | 2021-03-31 | 2022-04-01 | 新华三信息安全技术有限公司 | Network communication equipment and method for switching topology connection mode |
CN113242480A (en) * | 2021-06-24 | 2021-08-10 | 烽火通信科技股份有限公司 | Photoelectric multiplexing device and method |
CN113242480B (en) * | 2021-06-24 | 2022-06-21 | 烽火通信科技股份有限公司 | Photoelectric multiplexing device and method |
Also Published As
Publication number | Publication date |
---|---|
WO2010000160A1 (en) | 2010-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101621328A (en) | Method for realizing photoelectric mutual exclusion, Ethernet photoelectric mutual exclusion interface and network equipment | |
EP2223457B1 (en) | Long-reach ethernet for 1000base-t and 10gbase-t | |
CN105191461B (en) | System and method for determining pilot signals | |
US20090323705A1 (en) | Method for implementing photoelectric mutex, ethernet photoelectric mutex interface device and network equipment | |
CN101986626B (en) | Method and device for protecting equipment | |
EP2139243B1 (en) | Base station, wireless control device, and wireless device | |
US20080239978A1 (en) | Automatic data rate and power adjustment on communications uplink based on communications activity on communications downlink | |
JP6603816B2 (en) | Method and apparatus for transmitting frame data between near-end device and far-end device | |
CN113395168B (en) | Single-to-multiple Ethernet converter | |
JP2020530964A (en) | Communication method, communication device, and storage medium | |
US20210286748A1 (en) | Single-pair to multi-pair ethernet converter | |
WO2006104774A3 (en) | Method of transferring data packets in a communications network | |
CN113795003A (en) | Multi-RRU (remote radio unit) extension system for 5G indoor wireless communication and implementation method | |
CN103067956A (en) | Internet Protocol Security (IPSec) tunnel backing up and switching method and equipment in 3rd generation telecommunication (3G) network | |
TW595142B (en) | Modem for communication through power line carrier system | |
EP3709593B1 (en) | Data distribution method and related apparatuses | |
CN201054731Y (en) | Mobile phone with radio router function | |
EP3018968B1 (en) | Wireless access method, apparatus and system | |
CN108112045A (en) | Switching method, switching device, terminal and the system of voice transmission mode | |
CN208798245U (en) | A kind of multimode network access device | |
CN207266021U (en) | Realize the device and optical line terminal equipment of service signal switching | |
CN102404102A (en) | Method and device for synchronizing Ethernet | |
CN111698708A (en) | Method and device for service type adaptation in transmission system | |
CN210867767U (en) | Data exchange device of redundant communication network based on HSR/PRP | |
CN113473648A (en) | Data transmission method between RMII and 10G interfaces in 5G base station RU |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100106 |