[background technology]
Fiber-optic transceiver device is a kind of equipment that the signal of telecommunication and light signal are changed mutually, is widely used in the Ethernet, can be divided into distal fiber R-T unit and local side fiber-optic transceiver device (local side defines with respect to remote subscriber) from using.Described local side fiber-optic transceiver device is meant on the frame that is installed in local side and by frame manages the fiber-optic transceiver device that the unit is connected with net.Described distal fiber R-T unit is the fiber-optic transceiver device that remote subscriber uses.
See also Fig. 1, existing distal fiber R-T unit mainly comprises photoelectric conversion unit (not label), and is used for the operating state of described photoelectric conversion unit is detected and controls according to the requirement of network management unit the state-detection control module 15 of described photoelectric conversion unit operating state.Described photoelectric conversion unit comprises the optoelectronic transceiver integrated module 11 that is used for being connected with optical fiber, be used for forwarding chip 12 that information stores transmits and the isolating transformer 13 that is connected with described forwarding chip 12, and the cable connector that is used for connection cable 14 that is connected with described isolating transformer 13.From optoelectronic transceiver integrated module 11, through forwarding chip 12, pass through isolating transformer 13 again, be two-way regular traffic data to what transmit between the cable connector 14 at last.It then is to send optoelectronic transceiver integrated module 11 by the local side fiber-optic transceiver device to via optical fiber that network management unit sends in-band management information, sends described state-detection control module 15 to through described forwarding chip 12 again.15 of described state-detection control modules send detected state information the local side fiber-optic transceiver device to, send to network management unit by the local side fiber-optic transceiver device again by described forwarding chip 12, optoelectronic transceiver integrated module 11.
See also Fig. 2, local side fiber-optic transceiver device shown in Figure 2 has been Duoed bus interface module 20 than distal fiber R-T unit shown in Figure 1.One end of described bus interface module 20 is connected with state-detection control module 25, the other end can be connected to the network management unit in the frame.Described bus interface module 20 can to network management unit report described photoelectric conversion unit operating state, and receive control information from described network management unit.Transmission is two-way in-band communications data between bus interface module 20, state-detection control module 25, forwarding chip 22 and optoelectronic transceiver integrated module 21, bus interface module 20 mainly is to be used for giving network management unit with some state information reports of fiber-optic transceiver device, and the management information of network management unit is sent.
Above-mentioned fiber-optic transceiver device can be realized in-band communications, also can come the detection fiber link by remote loopback (Loopback) function, the principle of described remote loopback Function detection optical fiber is to send from local side to detect data, if the correct then far-end of optical communication link can all return the data that local side sends, obviously, just can detect with regard to interrupting normal data traffic transmission like this.
Therefore how to provide a kind of can be under the situation of not interrupting normal data service, the fiber-optic transceiver device that correctly detects the optical communication link quality becomes problem demanding prompt solution.
[utility model content]
Technical problem to be solved in the utility model is the shortcoming that overcomes above-mentioned fiber-optic transceiver device, provides a kind of and can detect the distal fiber R-T unit of optical communication link at any time under the situation of not interrupting the professional transmission of normal data.
The utility model solves the problems of the technologies described above the technical scheme that is adopted: a kind of distal fiber R-T unit that can detect optical communication link at any time is provided, described distal fiber R-T unit can carry out bidirectional data transfers with the local side fiber-optic transceiver device that is being connected network management unit, described distal fiber R-T unit comprises the photoelectric conversion unit that photosignal can be changed mutually, the state-detection control module that the operating state of described photoelectric conversion unit is detected and controls, described distal fiber R-T unit also comprises the mixed-media network modules mixed-media that is connected with described state-detection control module with described photoelectric conversion unit, described state-detection control module is provided with described mixed-media network modules mixed-media according to the requirement of described network management unit, described mixed-media network modules mixed-media can be supported in the ICP/IP protocol one or more, and the order or the request that are used for detecting optical communication link from the local side fiber-optic transceiver device responded processing, and the data that described response is handled send described local side fiber-optic transceiver device to by described photoelectric conversion unit.
Preferably, described mixed-media network modules mixed-media of the present utility model can adopt single-chip microcomputer, ROM, RAM and mac controller to realize.
In another preferred version of the present utility model, described mixed-media network modules mixed-media can adopt 32 or 16 bit CPUs, RAM and ROM to realize.
The utility model distal fiber R-T unit is applied to the far-end in the Ethernet, because be provided with the mixed-media network modules mixed-media that to support ICP/IP protocol, so can be when carrying out the regular traffic data order or request from the detection optical communication link of local side fiber-optic transceiver device be responded, for example, in service data transmission, by the local side fiber-optic transceiver device the utility model distal fiber R-T unit is sent the Ping request and see the quality that has or not response to come the detection fiber link with computer.So use in the network of the utility model distal fiber R-T unit at far-end, the network management personnel can detect network under the situation of not interrupting the regular traffic transfer of data, and then improve the reliability of the network operation.
[embodiment]
The utility model provides a kind of distal fiber R-T unit that can detect optical communication link at any time, be applied to the far-end in the Ethernet, transfer of data between the local side fiber-optic transceiver device in realization and the Ethernet, and can under the situation of not interrupting normal data transfer, respond sense command or request from described local side fiber-optic transceiver device, realize detecting at any time the function of optical communication link, described local side fiber-optic transceiver device is installed on the frame of local side, and is connected with the network management unit of local side by described frame.The utility model does not have specific (special) requirements to described local side fiber-optic transceiver device, and just described local side fiber-optic transceiver device can adopt existing local side fiber-optic transceiver device.
See also Fig. 3, the distal fiber R-T unit that the utility model can detect optical communication link at any time comprises: photoelectric conversion unit 30, the mixed-media network modules mixed-media 39 that is connected with described photoelectric conversion unit 30 and the state-detection control module 35 that is connected with described photoelectric conversion unit 30 and described mixed-media network modules mixed-media 39.
Described photoelectric conversion unit 30 comprises: the cable connector 34 that be used for the optoelectronic transceiver integrated module 31 that is connected with optical fiber, the forwarding chip 32 that is used for information stores and forwarding, the isolating transformer 33 that is connected with described forwarding chip 32, is connected with described isolating transformer 33.Described cable connector 34 is used for being connected with the network equipment by cable, and described cable connector 34 can be cable connectors such as Rj45, T1, and the described network equipment can be switch, router and other network equipment.Described optoelectronic transceiver integrated module 31 is used to receive from the light signal of connected optical fiber and converts the signal of telecommunication to and is transferred to described forwarding chip 32, or receives from the signal of telecommunication of described forwarding chip 32 and convert the corresponding light signal to and send by connected optical fiber.
Described mixed-media network modules mixed-media 39 is used for local side sense command that described forwarding chip 32 is forwarded or for example ask the Ping request data package to be handled.One or more in the described mixed-media network modules mixed-media 39 support ICP/IP protocol are set in the sense command that can use as required or request.
See also table 1, table 1 is the reference view of the ICP/IP protocol of the utility model distal fiber R-T unit use.The spendable agreement of application layer comprises FTP, Http, Telnet, SNMP etc., and the spendable agreement of network layer comprises IP, ARP, RARP and ICMP etc.When using Ping request detection optical communication link as needs, then described mixed-media network modules mixed-media must be supported the ICMP agreement, in addition, is appreciated that ground, support at mixed-media network modules mixed-media under the situation of related protocol that local side also can be by sending the quality that requests such as Web, Ftp, Telnet detect optical communication link.
Table 1
Application layer | FTP | Http | Telnet | SNMP | 7 |
Transport layer | TCP | UDP | 4 |
Network layer | IP,ICMP | 3 |
ARP,RARP |
Link layer | Ethernet | 2 |
1 |
In the present embodiment, described mixed-media network modules mixed-media 39 adopts single-chip microcomputer 391, mac controller 392 and peripheral circuit 393 to realize.
Described state-detection control module 35 is used for that state to described photoelectric conversion unit 30 detects and according to the requirement of the network management unit of local side, control the operating state of described photoelectric conversion unit 30, and can be according to the requirement of the network management unit of above-mentioned local side IP address to described mixed-media network modules mixed-media 39, subnet mask, contents such as gateway address are configured.
When the utility model distal fiber R-T unit and local side fiber-optic transceiver device are connected, described optoelectronic transceiver integrated module 31 will convert the signal of telecommunication to from the light signal of local side fiber-optic transceiver device, and this signal of telecommunication is transferred to described forwarding chip 32, comprise normal business datum in this signal of telecommunication and from the management information of the network management unit of local side, described forwarding chip 32 is transferred to described state-detection control module 35 with management information, gives described isolating transformer 33 with business data transmission.Described state-detection control module 35 is controlled the operating state of described photoelectric conversion unit according to described management information, and described mixed-media network modules mixed-media 39 is provided with.The signal of 33 pairs of described business datums of described isolating transformer carries out sending related network device to by cable connector 34 and connected cable after stopping direct current is handled.
When described optoelectronic transceiver integrated module 31 receives from the sense command of local side fiber-optic transceiver device or request, Ping packet for example, then convert thereof into the signal of telecommunication and be transferred to described forwarding chip 32, described forwarding chip 32 is transferred to described mixed-media network modules mixed-media 39 with the signal of telecommunication of this packet.Described mixed-media network modules mixed-media 39 judges at first in the Ping request data package of receiving that described forwarding chip 32 sends whether the IP address of this packet is equal with the IP address of oneself, then responds as equating, otherwise abandons this packet.Prove that then optical communication link is good if described mixed-media network modules mixed-media 39 has carried out response, otherwise then optical communication link may have problems.
See also Fig. 4, Figure 4 shows that second embodiment of the present utility model, the utility model distal fiber R-T unit comprises: photoelectric conversion unit 50, the mixed-media network modules mixed-media 59 that is connected with described photoelectric conversion unit 50 and the state-detection control module 55 that is connected with described photoelectric conversion unit 50 and described mixed-media network modules mixed-media 59.Described photoelectric conversion unit 50 and state-detection control module 55 respectively with first embodiment in described photoelectric conversion unit 30 and state-detection control module 35 similar, do not repeat them here.The difference of the present embodiment and first embodiment is the implementation of described mixed-media network modules mixed-media 59.In the present embodiment, described mixed-media network modules mixed-media 59 adopts CPU 591, ROM 592, RAM 593 and other some peripheral circuits 594 of 32 or 16 to realize.Can adopt embedded OS and corresponding application realizations such as DOS, DOS+RTOS, Linux, Windows CE, Vxworks on the corresponding software.
At present this 32 or 16 bit CPUs are many, and much carry MII (Mediaindependent interface) interface, and processing speed is also than comparatively fast, and can directly link to each other by standard MII interface between the forwarding chip, processing speed is fast, and simple relatively on the structure.
In other embodiment of the present utility model, mixed-media network modules mixed-media can also adopt CPU, plug-in ROM, RAM and FLASH to realize.Be appreciated that ground; described mixed-media network modules mixed-media of the present utility model also can adopt other control unit and memory cell to realize, does not allly break away from improvement and the distortion that flesh and blood of the present utility model does the utility model and all should belong to protection range of the present utility model.