Summary of the invention
The embodiment of the invention provides a kind of transmission method of message, device, outage detection method, device and optical device.After local terminal equipment cut off the power supply, opposite equip. can be judged local terminal equipment and cut off the power supply.
On the one hand, a kind of transmission method of message that the embodiment of the invention provides comprises:
Receive first message that opposite equip. sends through first optical transmission medium;
Outage takes place and triggers this local terminal equipment with this first optical transmission medium and the second optical transmission medium short circuit in local terminal equipment;
Send this first message through this second optical transmission medium to this opposite equip..
On the other hand, a kind of outage detection method that the embodiment of the invention provides comprises:
Send first message through first optical transmission medium to remote equipment;
Receive second message that this remote equipment sends through second optical transmission medium; This second message be this remote equipment take place outage trigger this remote equipment with this first optical transmission medium and this second optical transmission medium short circuit after, through this second optical transmission medium transmission;
If this first message is identical with the source address of this second message, confirm that then this remote equipment cuts off the power supply.
A kind of device that sends message that another aspect, the embodiment of the invention provide comprises:
Receiver is used for receiving first message that opposite equip. sends through first optical transmission medium;
Short unit is used for local terminal equipment and this local terminal equipment of outage triggering takes place with this first optical transmission medium and the second optical transmission medium short circuit;
Transmitter is used for sending this first message through this second optical transmission medium to opposite equip..
A kind of outage detection device that another aspect, the embodiment of the invention provide comprises:
Transmitter is used for sending first message through first optical transmission medium to remote equipment;
Receiver; Be used for receiving second message that this remote equipment sends through second optical transmission medium; This second message be this remote equipment take place outage trigger this remote equipment with this first optical transmission medium and this second optical transmission medium short circuit after, through this second optical transmission medium transmission;
Confirm the unit,, confirm that then this remote equipment cuts off the power supply if it is identical with the source address of this second message to be used for this first message.
A kind of optical module that another aspect, the embodiment of the invention provide comprises:
Optical branching device, optical combiner and optical switch;
This optical branching device comprises an input and two outputs; The input of this optical branching device is used for receiving the message that opposite equip. sends by first optical transmission medium; First output of this optical branching device links to each other with the input of the photoelectric conversion unit of this optical module; Second output of this optical branching device links to each other with the input of this photoswitch; This optical combiner comprises two inputs and an output; The input of this optical combiner is used for sending message by second optical transmission medium to this opposite equip.; The first input end of this optical combiner links to each other with the output of the electrooptic switching element of this optical module; Second input of this optical combiner links to each other with the output of this photoswitch; The input of this photoswitch and output are in conducting state during this photoswitch power down; Be used for this first optical transmission medium and this second optical transmission medium short circuit, the input of this photoswitch and output are in off-state during this photoswitch energising.
A kind of optical module that another aspect, the embodiment of the invention provide comprises:
Optical switch and optical combiner;
This optical switch comprises an input and two outputs; The input of this pass switch is used to receive the message that opposite equip. sends; This first output that closes switch links to each other with the input of the photoelectric conversion unit of this optical module, and second output of this optical switch links to each other with second input of this optical combiner;
This optical combiner comprises two inputs and an output; The first input end of this optical combiner links to each other with the output of the electrooptic switching element of this optical module; The output of this optical combiner is used for sending message to this opposite equip.; Second output of the input of this optical switch and this optical switch is in conducting state during this optical switch power down; Be used for said first optical transmission medium and the said second optical transmission medium short circuit, second output of the input of this optical switch and this optical switch is in off-state during this optical switch energising.
Thus it is clear that, device, outage detection method, outage detection device and the optical device of the transmission message that provides through the embodiment of the invention.Through transmission method of message, device, outage detection method, device and optical device that the embodiment of the invention provides, after local terminal equipment cut off the power supply, opposite equip. can be judged local terminal equipment and cut off the power supply.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; 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 are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides transmission method of message, device, outage detection method, device and optical device, and after local terminal equipment cut off the power supply, opposite equip. can be judged local terminal equipment and cut off the power supply.Fig. 1 is the networking structure figure of a certain application scenarios of the embodiment of the invention.
The networking structure of Fig. 1 comprise base transceiver station (Base Transceiver Station, BTS), grouping conveying network (Packet Transfer Network, PTN) box-shaped device, convergence network element, gateway and webmaster.Wherein, the PTN box-shaped device is connected with convergence network element through optical fiber.
After the outage of PTN box-shaped device, the communication between PTN box-shaped device and the convergence network element will be interrupted, but communication disruption is because the outage of PTN boxlike causes, still because fiber break causes that prior art does not propose corresponding solution.The scheme that can provide through the embodiment of the invention, after the outage of PTN boxlike, convergence network element can be judged the outage of PTN box-shaped device.After convergence network element is judged the outage of PTN boxlike, this PTN boxlike can be taken place this situation of outage and send to webmaster through gateway.The user of webmaster, for example Virtual network operator can learn that the PTN box-shaped device cuts off the power supply through webmaster, and then carries out the maintenance work of response, on-the-spot whether optical fiber is not interrupted and whether the PTN boxlike outage takes place detects and need not divide to be clipped to.
Embodiment one:
The embodiment of the invention provides a kind of transmission method of message, can be used for networking structure shown in Figure 1, and referring to Fig. 2, Fig. 2 is the flow chart of the transmission method of message that provides of the embodiment of the invention, and this method comprises:
201: receive first message that opposite equip. sends through first optical transmission medium;
During concrete the realization, first message that receives the opposite equip. transmission can have multiple implementation, and the present invention does not do concrete qualification.For example local terminal equipment receives first message that opposite equip. sends.Local terminal equipment can be PTN equipment or router, and PTN equipment can be box-shaped device or frame type equipment; Opposite equip. can be router or switch; First message can be the message that opposite equip. generates, and also can be the message that the last jumping equipment of opposite equip. provides, and first message can be data message or signaling message, and first message can comprise source address or destination address.Source address or destination address can be medium access control (Media Access Control, MAC) address or Internet Protocol (Internet Protocol, IP) addresses.First optical transmission medium can be used to receive the message that opposite equip. sends by the optical module of local terminal equipment.
Referring to Fig. 1, local terminal equipment can be the PTN box-shaped device, and opposite equip. can be a convergence network element, and first message can be the message that convergence network element is transmitted to the PTN box-shaped device.First message can comprise source address, i.e. the address of convergence network element.
202: outage takes place and triggers this local terminal equipment with this first optical transmission medium and the second optical transmission medium short circuit in local terminal equipment;
Local terminal equipment cuts off the power supply; The electric power system that can be local terminal equipment breaks down; Also can be the power supply of local terminal equipment by the people for closing; The master control borad that also can be local terminal equipment cuts off the power supply; The interface card of the local terminal equipment that also can be cuts off the power supply, and also can be that the corresponding optical module of physics outgoing interface of local terminal equipment cuts off the power supply.Optical module can be supplied power by interface card, also can be supplied power by master control borad.Second optical transmission medium can be used for sending message to opposite equip. by local terminal equipment.First optical transmission medium can be an optical fiber, and second optical transmission medium can be an optical fiber.With first optical transmission medium and the second optical transmission medium short circuit, can be through optical device with first optical transmission medium and the second optical transmission medium short circuit.Optical device can be positioned at the inside of optical module, also can be positioned at the outside of optical module.Optical device can be supplied power by optical module, also can be supplied power by master control borad.Outage takes place and triggers this local terminal equipment with first optical transmission medium and the second optical transmission medium short circuit in local terminal equipment, can realize through the optical module that embodiment five or embodiment six provide, and specifically please refer to embodiment five, embodiment six, Fig. 6 and Fig. 7.
Referring to Fig. 1, the optical module of PTN box-shaped device cuts off the power supply, and triggers the PTN box-shaped device with first optical transmission medium and the second optical transmission medium short circuit.This first optical transmission medium is used to receive the message that convergence network element is sent by the optical module of PTN box-shaped device, and this second optical transmission medium is used for sending message to convergence network element by PTN box-shaped device optical module.
203: send this first message to this opposite equip. through this second optical transmission medium.
Referring to Fig. 1, in PTN box-shaped device side, because first optical transmission medium and second optical transmission medium be by short circuit, therefore first message received of first optical transmission medium will be sent to convergence network element through second optical transmission medium.After convergence network element is received first message, can judge the PTN box-shaped device and cut off the power supply.
It is thus clear that through the transmission method of message that the embodiment of the invention provides, after local terminal equipment cut off the power supply, opposite equip. can be judged local terminal equipment and cut off the power supply.
Optional,
First optical transmission medium and the second optical transmission medium short circuit are specially:
Through optical device with this first optical transmission medium and this second optical transmission medium short circuit.
About optical device, specifically can be referring to embodiment five and embodiment six.
Optional,
This optical device is positioned at the inside of the optical module of this local terminal equipment.
When optical device is positioned at the inside of optical module of local terminal equipment, can supply power to optical device by optical module.
Optional,
Outage takes place local terminal equipment triggers local terminal equipment first optical transmission medium and the second optical transmission medium short circuit are specifically comprised: the optical module through local terminal equipment is with first optical transmission medium and the second optical transmission medium short circuit.
Embodiment two:
The embodiment of the invention provides a kind of outage detection method, can be used for networking structure shown in Figure 1, and referring to Fig. 3, Fig. 3 is the flow chart of the outage detection method that provides of the embodiment of the invention, and this method comprises:
301: send first message to remote equipment through first optical transmission medium;
During concrete the realization, sending first message to remote equipment can have multiple implementation, and the present invention does not do concrete qualification.For example local terminal equipment sends first message to remote equipment.Local terminal equipment can be router or switch, and remote equipment can be PTN equipment or router, and PTN equipment can be box-shaped device or frame type equipment; The message that first message can local terminal equipment generates also can be the message that the last jumping equipment of local terminal equipment provides, and first message can be data message or signaling message, and first message can comprise source address or destination address.Source address or destination address can be MAC Address or IP address.First optical transmission medium can be used for sending message to remote equipment.
Referring to Fig. 1, local terminal equipment can be convergence network element, and remote equipment can be the PTN box-shaped device.First message can be the message that convergence network element is transmitted to the PTN box-shaped device.First message can comprise source address, i.e. the address of convergence network element.
302: receive second message that this remote equipment sends through second optical transmission medium; This second message be this remote equipment take place outage trigger this remote equipment with this first optical transmission medium and this second optical transmission medium short circuit after, through this second optical transmission medium transmission;
Local terminal equipment receives second message that remote equipment sends.In the remote equipment side; Because first optical transmission medium and second optical transmission medium are by short circuit; First message that first optical transmission medium is received will be sent to local terminal equipment through second optical transmission medium, i.e. second message of local terminal equipment reception is the loopback message of local terminal equipment to first message of remote equipment transmission.Second optical transmission medium can be used to receive the message that remote equipment sends by the optical module of local terminal equipment.
Remote equipment cuts off the power supply; The electric power system that can be remote equipment breaks down; Also can be the power supply of remote equipment by the people for closing; The master control borad that also can be remote equipment cuts off the power supply; The interface card that also can be remote equipment cuts off the power supply, and also can be that the corresponding optical module of physics outgoing interface of remote equipment cuts off the power supply.
First optical transmission medium can be an optical fiber, and second optical transmission medium can be an optical fiber.With first optical transmission medium and the second optical transmission medium short circuit, can be through optical device with first optical transmission medium and the second optical transmission medium short circuit.Optical device can be positioned at the inside of optical module, also can be positioned at the outside of optical module.Optical device can be supplied power by optical module, also can be supplied power by master control borad.Outage takes place and triggers this remote equipment with first optical transmission medium and the second optical transmission medium short circuit in remote equipment, can realize through the optical module that embodiment five or embodiment six provide, and specifically please refer to embodiment five, embodiment six, Fig. 6 and Fig. 7.
Referring to Fig. 1, convergence network element is received second message that the PTN box-shaped device sends.In PTN box-shaped device side; Because first optical transmission medium and second optical transmission medium are by short circuit; First message that first optical transmission medium is received will be sent to convergence network element through second optical transmission medium, i.e. second message of convergence network element reception is the loopback message of PTN box-shaped device to first message of convergence network element transmission.
PTN box-shaped device side, the optical module of PTN box-shaped device cuts off the power supply, and triggers the PTN box-shaped device with first optical transmission medium and the second optical transmission medium short circuit.This first optical transmission medium is used to receive the message that convergence network element is sent by the optical module of PTN box-shaped device, and this second optical transmission medium is used for sending message to convergence network element by PTN box-shaped device optical module.In PTN box-shaped device side, because first optical transmission medium and second optical transmission medium be by short circuit, therefore first message received of first optical transmission medium will be sent to convergence network element through second optical transmission medium.
303:, confirm that then this remote equipment cuts off the power supply if this first message is identical with the source address of this second message.
Referring to Fig. 1; Convergence network element can be compared to the source address of first message and second message; If first message is identical with the source address of second message; Promptly the source address of first message and second message all is the address of convergence network element, and then convergence network element confirms that the optical module of PTN box-shaped device cuts off the power supply.
It is thus clear that, the method for the outage detection that provides through the embodiment of the invention, after remote equipment cut off the power supply, local terminal equipment can be judged remote equipment and cut off the power supply.
Optional,
First optical transmission medium and the second optical transmission medium short circuit are specially:
Through optical device with this first optical transmission medium and this second optical transmission medium short circuit.
About optical device, specifically can be referring to embodiment five and embodiment six.
Embodiment three:
The embodiment of the invention provides a kind of device that sends message, can be used for networking structure shown in Figure 1, and referring to Fig. 4, Fig. 4 is the schematic representation of apparatus of the transmission message that provides of the embodiment of the invention, and this device comprises:
Receiver 401 is used for receiving first message that opposite equip. sends through first optical transmission medium;
During concrete the realization, first message that receives the opposite equip. transmission can have multiple implementation, and the present invention does not do concrete qualification.For example local terminal equipment receives first message that opposite equip. sends.Local terminal equipment can be PTN equipment or router, and PTN equipment can be box-shaped device or frame type equipment; Opposite equip. can be router or switch; First message can be the message that opposite equip. generates, and also can be the message that the last jumping equipment of opposite equip. provides, and first message can be data message or signaling message, and first message can comprise source address or destination address.Source address or destination address can be MAC Address or IP address.First optical transmission medium can be used to receive the message that opposite equip. sends by the optical module of local terminal equipment.
Referring to Fig. 1, local terminal equipment can be the PTN box-shaped device, and opposite equip. can be a convergence network element, and first message can be the message that convergence network element is transmitted to the PTN box-shaped device.First message can comprise source address, i.e. the address of convergence network element.
Short unit 402 is used for local terminal equipment and this local terminal equipment of outage triggering takes place with this first optical transmission medium and the second optical transmission medium short circuit;
Local terminal equipment cuts off the power supply, and can be that the electric power system of local terminal equipment breaks down, also can be the power supply of local terminal equipment by the people for closing; The master control borad that also can be local terminal equipment cuts off the power supply, and also can be that the interface card of local terminal equipment cuts off the power supply, and also can be that the corresponding optical module of physics outgoing interface of local terminal equipment cuts off the power supply.Optical module can be supplied power by interface card, also can be supplied power by master control borad.First optical transmission medium can be an optical fiber, and second optical transmission medium can be an optical fiber.With first optical transmission medium and the second optical transmission medium short circuit, can be through optical device with first optical transmission medium and the second optical transmission medium short circuit.Optical device can be positioned at the inside of optical module, also can be positioned at the outside of optical module.Optical device can be supplied power by optical module, also can be supplied power by master control borad.Outage takes place and triggers this local terminal equipment with first optical transmission medium and the second optical transmission medium short circuit in local terminal equipment, can realize through the optical module that embodiment five or embodiment six provide, and specifically please refer to embodiment five, embodiment six, Fig. 6 and Fig. 7.Second optical transmission medium can be used for sending message to opposite equip. by the optical module of local terminal equipment.
Referring to Fig. 1, the optical module of PTN box-shaped device cuts off the power supply, and triggers the PTN box-shaped device with first optical transmission medium and the second optical transmission medium short circuit.This first optical transmission medium is used to receive the message that convergence network element is sent by the optical module of PTN box-shaped device, and this second optical transmission medium is used for sending message to convergence network element by PTN box-shaped device optical module.
Transmitter 403 is used for sending this first message through this second optical transmission medium to opposite equip..
Referring to Fig. 1, in PTN box-shaped device side, because first optical transmission medium and second optical transmission medium be by short circuit, therefore first message received of first optical transmission medium will be sent to convergence network element through second optical transmission medium.After convergence network element is received first message, can judge the PTN box-shaped device and cut off the power supply.
It is thus clear that, the device of the transmission message that provides through the embodiment of the invention, after local terminal equipment cut off the power supply, opposite equip. can be judged local terminal equipment and cut off the power supply.
Embodiment four:
The embodiment of the invention provides a kind of outage detection device, can be used for networking structure shown in Figure 1, and referring to Fig. 5, Fig. 5 is the outage detection schematic representation of apparatus that the embodiment of the invention provides, and this device comprises:
Transmitter 501 is used for sending first message through first optical transmission medium to remote equipment;
During concrete the realization, sending first message to remote equipment can have multiple implementation, and the present invention does not do concrete qualification.For example local terminal equipment sends first message to remote equipment.Local terminal equipment can be router or switch, and remote equipment can be PTN equipment or router, and PTN equipment can be box-shaped device or frame type equipment; The message that first message can local terminal equipment generates also can be the message that the last jumping equipment of local terminal equipment provides, and first message can be data message or signaling message, and first message can comprise source address or destination address.Source address or destination address can be MAC Address or IP address.First optical transmission medium can be used for sending message to remote equipment by the optical module of local terminal equipment.
Referring to Fig. 1, local terminal equipment can be convergence network element, and remote equipment can be the PTN box-shaped device.First message can be the message that convergence network element is transmitted to the PTN box-shaped device.First message can comprise source address, i.e. the address of convergence network element.
Receiver 502; Be used for receiving second message that this remote equipment sends through second optical transmission medium; This second message be this remote equipment take place outage trigger this remote equipment with this first optical transmission medium and this second optical transmission medium short circuit after; Send through this second optical transmission medium; This first optical transmission medium is used for sending message to this remote equipment, and this second optical transmission medium is used to receive the message that this remote equipment sends;
Local terminal equipment receives second message that remote equipment sends.In the remote equipment side; Because first optical transmission medium and second optical transmission medium are by short circuit; First message that first optical transmission medium is received will be sent to local terminal equipment through second optical transmission medium, i.e. second message of local terminal equipment reception is the loopback message of local terminal equipment to first message of remote equipment transmission.Second optical transmission medium can be used to receive the message that remote equipment sends by the optical module of local terminal equipment.
Remote equipment cuts off the power supply, and can be that the electric power system of remote equipment breaks down, also can be the power supply of remote equipment by the people for closing; The master control borad that also can be remote equipment cuts off the power supply, and also can be that the interface card of remote equipment cuts off the power supply, and also can be that the corresponding optical module of physics outgoing interface of remote equipment cuts off the power supply.Optical module can be supplied power by interface card, also can be supplied power by master control borad.First optical transmission medium can be an optical fiber, and second optical transmission medium can be an optical fiber.With first optical transmission medium and the second optical transmission medium short circuit, can be through optical device with first optical transmission medium and the second optical transmission medium short circuit.Optical device can be positioned at the inside of optical module, also can be positioned at the outside of optical module.Optical device can be supplied power by optical module, also can be supplied power by master control borad.Outage takes place and triggers this remote equipment with first optical transmission medium and the second optical transmission medium short circuit in remote equipment, can realize through the optical module that embodiment five or embodiment six provide, and specifically please refer to embodiment five, embodiment six, Fig. 6 and Fig. 7.
Referring to Fig. 1, convergence network element is received second message that the PTN box-shaped device sends.In PTN box-shaped device side; Because first optical transmission medium and second optical transmission medium are by short circuit; First message that first optical transmission medium is received will be sent to convergence network element through second optical transmission medium, i.e. second message of convergence network element reception is the loopback message of PTN box-shaped device to first message of convergence network element transmission.
PTN box-shaped device side, the optical module of PTN box-shaped device cuts off the power supply, and triggers the PTN box-shaped device with first optical transmission medium and the second optical transmission medium short circuit.This first optical transmission medium is used to receive the message that convergence network element is sent by the optical module of PTN box-shaped device, and this second optical transmission medium is used for sending message to convergence network element by PTN box-shaped device optical module.In PTN box-shaped device side, because first optical transmission medium and second optical transmission medium be by short circuit, therefore first message received of first optical transmission medium will be sent to convergence network element through second optical transmission medium.
Confirm unit 503,, confirm that then this remote equipment cuts off the power supply if it is identical with the source address of this second message to be used for this first message.
Referring to Fig. 1; Convergence network element can be compared to the source address of first message and second message; If first message is identical with the source address of second message; Promptly the source address of first message and second message all is the address of convergence network element, and then convergence network element confirms that the optical module of PTN box-shaped device cuts off the power supply.
It is thus clear that, the method for the outage detection that provides through the embodiment of the invention, after remote equipment cut off the power supply, local terminal equipment can be judged remote equipment and cut off the power supply.
Embodiment five:
The embodiment of the invention provides a kind of optical module, can be used for networking structure shown in Figure 1, and referring to Fig. 6, Fig. 6 is the sketch map of a kind of optical module of providing of the embodiment of the invention, and this device comprises:
Optical branching device, optical combiner and optical switch;
This optical branching device comprises an input and two outputs; The input of this optical branching device is used for receiving the message that opposite equip. sends by first optical transmission medium; First output of this optical branching device links to each other with the input of the photoelectric conversion unit of this optical module; Second output of this optical branching device links to each other with the input of this photoswitch; This optical combiner comprises two inputs and an output; The output of this optical combiner is used for sending message by second optical transmission medium to this opposite equip.; The first input end of this optical combiner links to each other with the output of the electrooptic switching element of this optical module; Second input of this optical combiner links to each other with the output of this photoswitch; The input of this photoswitch and output are in conducting state during this photoswitch power down; Be used for this first optical transmission medium and this second optical transmission medium short circuit, the input of this photoswitch and output are in off-state during this photoswitch energising.
Optical branching device, optical combiner and optical switch can constitute an optical device.This optical device can be mechanical optical device.Photoelectric conversion unit is used for converting light signal into the signal of telecommunication.Photoelectric conversion unit can be photon detector (photon detector, PD).It is light signal that electrooptic switching element is used for electrical signal conversion.Electrooptic switching element can be laser diode (laser diode, LD).
Referring to Fig. 1, the optical module that the embodiment of the invention provides is used for the PTN box-shaped device.When the PTN box-shaped device was switched on, the optical switch of optical module was in off-state; When the power down of PTN box-shaped device, the optical switch of optical module is in conducting state.After PTN box-shaped device outage, the optical module of PTN box-shaped device can realize being used to receiving the optical fiber of the message that convergence network element sends and the optical fiber short circuit that is used for sending to convergence network element message.Convergence network element will receive that convergence network element sends to the loopback message of the message of PTN box-shaped device.After convergence network element is received the loopback message of the message that sends to the PTN box-shaped device, can confirm that the PTN box-shaped device cuts off the power supply.
It is thus clear that through the optical module that the embodiment of the invention provides, after local terminal equipment cut off the power supply, opposite equip. can be judged local terminal equipment and cut off the power supply.
Embodiment six:
The embodiment of the invention provides a kind of optical module, can be used for networking structure shown in Figure 1, and referring to Fig. 7, Fig. 7 is the sketch map of a kind of optical module of providing of the embodiment of the invention, and this device comprises:
Optical switch and optical combiner;
This optical switch comprises an input and two outputs; The input of this pass switch is used to receive the message that opposite equip. sends; This first output that closes switch links to each other with the input of the photoelectric conversion unit of this optical module, and second output of this optical switch links to each other with second input of this optical combiner;
This optical combiner comprises two inputs and an output; The first input end of this optical combiner links to each other with the output of the electrooptic switching element of this optical module; The output of this optical combiner is used for sending message to this opposite equip.; Second output of the input of this optical switch and this optical switch is in conducting state during this optical switch power down; Be used for this first optical transmission medium and this second optical transmission medium short circuit, second output of the input of this optical switch and this optical switch is in off-state during this optical switch energising.
Optical switch and optical combiner can constitute an optical device.This optical device can be mechanical optical device.Photoelectric conversion unit is used for converting light signal into the signal of telecommunication.Photoelectric conversion unit can be PD.It is light signal that electrooptic switching element is used for electrical signal conversion.Electrooptic switching element can be LD.
Referring to Fig. 1, the optical module that the embodiment of the invention provides is used for the PTN box-shaped device.When the PTN box-shaped device was switched on, the optical switch of optical module was in off-state; When the power down of PTN box-shaped device, the optical switch of optical module is in conducting state.After PTN box-shaped device outage, the optical module of PTN box-shaped device can realize being used to receiving the optical fiber of the message that convergence network element sends and the optical fiber short circuit that is used for sending to convergence network element message.Convergence network element will receive that convergence network element sends to the loopback message of the message of PTN box-shaped device.After convergence network element is received the loopback message of the message that sends to the PTN box-shaped device, can confirm that the PTN box-shaped device cuts off the power supply.
It is thus clear that through the optical module that the embodiment of the invention provides, after local terminal equipment cut off the power supply, opposite equip. can be judged local terminal equipment and cut off the power supply.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforementioned program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should illustrate at last is: above embodiment is only in order to illustrating technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.