CN102723988A - Control method and communication device of optical module - Google Patents

Control method and communication device of optical module Download PDF

Info

Publication number
CN102723988A
CN102723988A CN2012101920149A CN201210192014A CN102723988A CN 102723988 A CN102723988 A CN 102723988A CN 2012101920149 A CN2012101920149 A CN 2012101920149A CN 201210192014 A CN201210192014 A CN 201210192014A CN 102723988 A CN102723988 A CN 102723988A
Authority
CN
China
Prior art keywords
optical module
signal
bit
state value
los
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.)
Granted
Application number
CN2012101920149A
Other languages
Chinese (zh)
Other versions
CN102723988B (en
Inventor
程鸿博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201210192014.9A priority Critical patent/CN102723988B/en
Publication of CN102723988A publication Critical patent/CN102723988A/en
Application granted granted Critical
Publication of CN102723988B publication Critical patent/CN102723988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

The invention provides a control method and communication device of an optical module. The control method comprises the steps that a register is arranged on the periphery of a device management unit, a TX-disable signal and an RX-LOS signal of the optical module respectively correspond to any two bytes of the register; when the communication device is started, the byte corresponding to the TX-disable signal of the optical module is controlled as a first status value to ensure that a transmission unit of the optical module stays at a closed status; and after the communication device is started, if an on-site optical module is detected, the byte corresponding to the RX-LOS signal of the optical module is read with a set frequency, so that whether the byte corresponding to the TX-disable signal of the optical module is maintained as the first status value, i.e. the transmission unit of the optical module is kept at the closed status or the byte corresponding to the TX-disable signal of the optical module is changed to a fourth status value to start the transmission unit of the optical module, and the connection of a normal light path can be performed by the optical module.

Description

The control method of optical module and communication equipment
Technical field
The application relates to data communication technology, particularly the control method of optical module and communication equipment.
Background technology
At present, support that the communication equipment of optical fiber connected mode is more and more general.Wherein, Safeguard and change the device on the communication equipment for ease; SFP-MSA (Small Form-factor Pluggable Transceiver Multisource Agreement; It is one by Agilent, the association and organization that companies such as Finisar form) will to support to be used on the communication equipment of optical fiber connected mode to carry out the device unified Definition that light/electricity and electricity/light signal change be the optical module that can conveniently plug.
For communication equipment with optical module; Particularly support the communication equipment of a plurality of optical modules for those; When it is used by the user; Through regular meeting following problem appearring: only on the connector position of optical module, inserts optical module, but do not cause optical module not to be used because current needs do not relate to this optical module, even do not connect optical fiber.
To this problem, present communication equipment is not generally done processing specially, still with normally use is the same optical module is powered up operation; Like this; Can waste electric power resource on the one hand, on the other hand, because the light that optical module sends is laser; Possibly damage administrative staff, can cause serious injury such as the eyes that shine directly into the people.
Summary of the invention
The application provides the control method and the communication equipment of optical module, is used to control optical module, only to prevent inserting optical module and the problems brought when not using this optical module at communication equipment.
Technical scheme provided by the invention comprises:
A kind of method of controlling light module in communication equipment, said communication equipment comprises device management unit and optical module at least, said optical module comprises transmitting element at least; This method comprises:
In said device management unit periphery register is set, any two bits with said register are corresponding respectively with the TX-disable signal of said optical module and RX-LOS signal;
When communication device initiated, the corresponding bit of TX-disable signal of said device management unit control light module in communication equipment is first state value, is in closed condition with the transmitting element of guaranteeing optical module;
Behind communication device initiated finishing, when device management unit detects optical module on the throne, read the corresponding bit of RX-LOS signal of this optical module with setpoint frequency,
If the bit that the RX-LOS signal is corresponding is second state value, the corresponding bit of TX-disable signal of then keeping this optical module is first state value; Wherein, the bit that the RX-LOS signal is corresponding is second state value, and the expression optical module does not receive light signal, perhaps receives light signal but the power of this light signal is lower than the lowest power threshold value of setting;
If the bit that this RX-LOS signal is corresponding is a third state value, the corresponding bit of TX-disable signal of then revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects; Wherein, the bit that the RX-LOS signal is corresponding is a third state value, and the expression optical module receives the light signal of power more than or equal to the lowest power threshold value.
A kind of communication equipment comprises: device management unit and optical module; Wherein, said optical module comprises transmitting element at least; Preferably, said communication equipment also comprises: register;
Said register is arranged on the periphery of said device management unit, and any two bits wherein are corresponding respectively with the TX-disable signal of said optical module and RX-LOS signal;
Said device management unit comprises:
Control unit is used for said when communication device initiated, and the corresponding bit of TX-disable signal of controlling said optical module is first state value, is in closed condition with the transmitting element of guaranteeing optical module;
Processing unit is used for behind said communication device initiated finishing, if detect optical module on the throne, then reads the corresponding bit of RX-LOS signal of this optical module with setpoint frequency,
If the bit that the RX-LOS signal is corresponding is second state value, the corresponding bit of TX-disable signal of then keeping this optical module is first state value; Wherein, the bit that the RX-LOS signal is corresponding is second state value, and the expression optical module does not receive light signal, perhaps receives light signal but the power of this light signal is lower than the lowest power threshold value of setting;
If the bit that this RX-LOS signal is corresponding is a third state value, the corresponding bit of TX-disable signal of then revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects; Wherein, the bit that the RX-LOS signal is corresponding is a third state value, and the expression optical module receives the light signal of power more than or equal to the lowest power threshold value.
Can find out that by above technical scheme among the present invention, the present invention is only when optical module receives power more than or equal to the light signal of lowest power threshold value; Just can start its transmitting element, carry out normal light path and connect, and in other cases; Such as when communication device initiated; The perhaps communication device initiated back optical module that finishes does not receive light signal, perhaps receives light signal but the power of this light signal when being lower than the lowest power threshold value of setting, closes its transmitting element; This is in starting state than prior art continues to keep optical module on this communication equipment after communication equipment powers on transmitting element, obviously reaches power saving, purpose of safety.
Description of drawings
Fig. 1 is the optical module structure chart;
The method flow diagram that Fig. 2 provides for the embodiment of the invention;
Fig. 3 connects sketch map for the optical module that the embodiment of the invention provides;
Flow chart when inserting optical module in the communication device works process that Fig. 4 provides for the embodiment of the invention;
The detail flowchart that Fig. 5 provides for the embodiment of the invention;
The four-stage sketch map of the flow process shown in Figure 5 that Fig. 6 provides for the embodiment of the invention;
The communication equipment structure chart that Fig. 7 provides for the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, describe the present invention below in conjunction with accompanying drawing and specific embodiment.
According to the definition of SFP-MSA association, a typical optical module comprises transmitting element, receiving element and control unit totally 3 major parts on the communication equipment, and is specifically as shown in Figure 1.
Wherein, as shown in Figure 1, the core of transmitting element is a semiconductor laser; It accounts for overall optical module 60% left and right sides power consumption, is very easy to receive internal temperature to influence, therefore; The control circuit of this part is also the most complicated, and the useful life of semiconductor laser is the shortest, just is equal to the useful life of optical module its useful life; Therefore, in the management/control signal group of optical module, 2 signals of specialized designs are partly served for transmitting element: TX-disable and TX-fault.Here, the TX-disable signal is used for control and closes transmitting element, and TX-fault is used for when transmitting element partly breaks down, through changing this signal condition, the device management unit alarm in communication equipment.
As for receiving element and control unit, it is as shown in Figure 1, all belongs to conventional application circuit, and job stability is high, and temperature influence is very little, repeats no more here.
More than the structure of optical module is analyzed.
In addition, in optical module, also have a typical signal, i.e. RX-LOS signal, it is used to represent that communication module does not receive light signal or receives light signal but the power of this light signal is lower than the lowest power threshold value of setting.
Based on top description; Among the present invention; For only solve communication equipment insert optical module and bring when not using this optical module such as problems such as waste electric power resource, security risks, method provided by the invention makes full use of above-mentioned RX-LOS signal and two signals of TX-disable are carried out Based Intelligent Control to optical module, only inserts optical module and when not using this optical module to be implemented in; Close the transmitting element in this optical module, reach and save electric energy and safeguard protection purpose.
Describe in the face of method provided by the invention down:
Referring to Fig. 2, the method flow diagram that Fig. 2 provides for the embodiment of the invention.In this flow process; Need register be set in the device management unit periphery of communication equipment, wherein, this register can be the register with programmable logic device (CPLD) design; It can be connected on the local bus of device management unit, and optical module concrete as shown in Figure 3 connects sketch map.
And; As shown in Figure 3; Any two bits with said register are corresponding respectively with the TX-disable signal of light module in communication equipment and RX-LOS signal; In Fig. 3, the TX-disable signal is corresponding with second bit of register, and the RX-LOS signal is corresponding with first bit of register.In addition, as shown in Figure 3, the data signal line of optical module also with communication equipment in correlation unit communicate by letter such as special chip, the processing and the prior art of this data signal line are similar, repeat no more.
Connect sketch map based on optical module shown in Figure 3, then as shown in Figure 2, method flow provided by the invention is:
Step 201, when communication device initiated, the corresponding bit of TX-disable signal of device management unit control light module in communication equipment is first state value, is in closed condition with the transmitting element of guaranteeing optical module.
Here, the startup of communication equipment can be warm start, also can be cold start-up.
Preferably, among the present invention, this first state value specifically can be 1; So, in this step 201, when communication device initiated; The corresponding bit of TX-disable signal of device management unit control light module in communication equipment is 1, is in closed condition with the transmitting element of representing optical module.
Can find out that from step 201 among the present invention, when communication device initiated, the transmitting element of optical module is in closed condition on this communication equipment, this can guarantee that optical module is in power saving and safe condition in the starting stage.
Step 202; Behind communication device initiated finishing, when device management unit detects optical module on the throne, read the corresponding bit of RX-LOS signal of this optical module with setpoint frequency; If the bit that the RX-LOS signal is corresponding is second state value; Then execution in step 203, if the corresponding bit of RX-LOS signal is a third state value, then execution in step 204.
In this step 202, second state value, third state value difference, itself and the first above-mentioned state value have no relation.
In addition, in this step 202, the bit that the RX-LOS signal is corresponding is second state value, representes that then optical module does not receive light signal, perhaps receives light signal but the power of this light signal is lower than the lowest power threshold value of setting; And the corresponding bit of RX-LOS signal is a third state value, representes that then optical module receives the light signal of power more than or equal to the lowest power threshold value.Preferably, among the present invention, second state value specifically can be 1, and third state value specifically can be 0.
Step 203, the corresponding bit of TX-disable signal of keeping this optical module is first state value.Can return the read operation in the step 202 afterwards.
Also promptly, the transmitting element that continues to keep this optical module is in closed condition, guarantees that optical module is in power saving and safe condition.
Step 204, the corresponding bit of TX-disable signal of revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects.Can return the read operation in the step 202 afterwards.
In this step 204, the four condition value is different with the first above-mentioned state value, but has no relation with above-mentioned second state value, third state value.
This step 204 is when the corresponding bit of RX-LOS signal is third state value, to carry out, and the bit corresponding based on the RX-LOS signal is third state value, and the expression optical module receives the light signal of power more than or equal to the lowest power threshold value; Therefore; Can find out that the present invention only when optical module receives power more than or equal to the light signal of lowest power threshold value, just can start its transmitting element; Carrying out normal light path connects; And in other cases, such as when communication device initiated, the perhaps communication device initiated back optical module that finishes does not receive light signal; Perhaps receive light signal but the power of this light signal when being lower than the lowest power threshold value of setting; Close its transmitting element, this is in starting state than prior art continues to keep optical module on this communication equipment after communication equipment powers on transmitting element, obviously reaches power saving, purpose of safety.
Need to prove; In step 203 and step 204 implementation; Do not influence optical module and carry out following the processing: optical module detects light signal; If it does not receive light signal, perhaps receive light signal but the power of this light signal is lower than the lowest power threshold value of setting, it is second state value that the corresponding bit of its RX-LOS signal then is set; And if receive the light signal of power more than or equal to the lowest power threshold value, it is third state value that the corresponding bit of its RX-LOS signal then is set.
So far, accomplish flow process shown in Figure 2.
Among the present invention, when the communication equipment operate as normal,, then carry out flow process shown in Figure 4 if in this communication equipment course of normal operation, newly insert an optical module:
Referring to Fig. 4, new flow chart when inserting optical module in the communication device works process that Fig. 4 provides for the embodiment of the invention.As shown in Figure 4, this flow process may further comprise the steps:
Step 401; The TX-disable signal and the RX-LOS signal of this new insertion optical module is corresponding with any two idle bit positions of register in the communication equipment respectively; And the corresponding bit of the TX-disable signal that this optical module is set is first state value, is in closed condition with the transmitting element of guaranteeing optical module.
Step 402; When device management unit has detected optical module and has newly inserted; Reading the corresponding bit of RX-LOS signal of this new insertion optical module with setpoint frequency, is second state value if be somebody's turn to do the new corresponding bit of RX-LOS signal that inserts optical module, and then execution in step 403; If should newly insert the corresponding bit of RX-LOS signal of optical module is third state value, then execution in step 404.
Step 403, the corresponding bit of TX-disable signal of keeping this new insertion optical module is first state value.Can return the read operation in the step 402 afterwards.
Step 404, the corresponding bit of TX-disable signal of revising this new insertion optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects.
Need to prove; In step 403 and step 404 implementation; Do not influence optical module and carry out following the processing: optical module detects light signal; If it does not receive light signal, perhaps receive light signal but the power of this light signal is lower than the lowest power threshold value of setting, it is second state value that the corresponding bit of its RX-LOS signal then is set; And if receive the light signal of power more than or equal to the lowest power threshold value, it is third state value that the corresponding bit of its RX-LOS signal then is set.
So far, accomplish flow process shown in Figure 4.Meaning based on above-described first state value to the four condition value representation; Can find out; Among the present invention; From newly insert the time period of optical module before device management unit detects new insertion optical module at communication equipment, the transmitting element of controlling this new insertion optical module is in closed condition, guarantees that should newly insert optical module is in power saving and safe condition; And; Even device management unit detects new insertion optical module; If this new insert module does not receive light signal; Perhaps receive light signal but the power of this light signal is lower than the lowest power threshold value of setting, also can close the transmitting element of this new insertion optical module, guarantee that further should newly insert optical module be in power saving and safe condition; And if this new insert module receives the light signal of power more than or equal to the lowest power threshold value, then start its transmitting element, carry out normal light path and connect, this does not delay the work of new insertion optical module.
Need to prove; Among the present invention; Adopting above-mentioned flow process shown in Figure 2 or flow process shown in Figure 4 to determine whether to start the transmitting element of optical module, the two ends communication equipment that the optical fiber connection may occur is waited for the phenomenon that can't in time connect mutually; For fear of this phenomenon, through flow process shown in Figure 5 method provided by the invention is described in detail below:
Referring to Fig. 5, the detail flowchart that Fig. 5 provides for the embodiment of the invention.As shown in Figure 5, this flow process can may further comprise the steps:
Step 501, when communication device initiated, the corresponding bit of TX-disable signal of device management unit control light module in communication equipment is first state value, is in closed condition with the transmitting element of representing optical module; Perhaps; When in the communication equipment course of normal operation, newly inserting an optical module; The TX-disable signal and the RX-LOS signal of this new insertion optical module is corresponding with any two idle bit positions of said register respectively; And the corresponding bit of the TX-disable signal that this optical module is set is first state value, is in closed condition with the transmitting element of guaranteeing optical module.
Find out that from step 501 situation when situation that flow process shown in Figure 5 has comprised flow process shown in Figure 2 is communication device initiated, the situation that has also comprised flow process shown in Figure 4 simultaneously i.e. new situation when inserting optical module in the communication equipment course of normal operation.
Step 502, behind communication device initiated finishing, device management unit detects optical module on the throne, and perhaps, device management unit has detected optical module when newly inserting, execution in step 503.
For ease of describing, below should the unification of the perhaps new insertion optical module of detected optical module on the throne be called optical module 1.
Step 503 reads the corresponding bit of RX-LOS signal of optical module 1 with setpoint frequency, and detecting this bit is that second state value still is a third state value, if second state value, then execution in step 504, if third state value, then execution in step 510.
Step 504, the corresponding bit of RX-LOS signal that detects optical module 1 is whether second state value keeps first setting-up time continuously, if then execution in step 506, if not, execution in step 505.
The bit value corresponding based on the RX-LOS signal is the meaning that second state value is represented; Then this step 504 is specially: the light signal that does not receive in the 1 continuous very first time at optical module or receive light signal but optical signal power is lower than the lowest power threshold value; Then execution in step 506; Otherwise, execution in step 505.
Step 505, the corresponding bit of TX-disable signal of keeping optical module 1 is first state value.Return step 503.
Initiatively that the TX-disable signal of optical module 1 is the corresponding bit of step 506, device management unit is revised as the four condition value, and in second setting-up time, to keep the corresponding bit of this TX-disable signal be the four condition value always.
This step 506; Why initiatively that the TX-disable signal of optical module 1 is corresponding bit is revised as the four condition value; Purpose makes optical module 1 operate as normal exactly, carries out normal light path and connects exploration, connects phenomenon to avoid the opposite end to wait for, can't set up light path.But, there is not the resource that avoids waste, it is free the restriction that this light path connects exploration, promptly only in second setting-up time, carries out.
Wherein, second setting-up time and above-described first setting-up time are irrelevant, and it all is provided with according to the practical experience situation.In this two setting-up time; If optical module 1 does not receive light signal; Perhaps receive light signal but the power of this light signal is lower than the lowest power threshold value of setting; Then still keeping the corresponding bit of its RX-LOS signal is second state value, and if receive the light signal of power more than or equal to the lowest power threshold value, then revising the corresponding bit of its RX-LOS signal is third state value.
The application inventor works out the value of above-mentioned first setting-up time and second setting-up time through repeatedly test, and is specifically as shown in table 1:
Table 1
Sequence number First setting-up time Second setting-up time
1 30 seconds 10 seconds
2 60 seconds 10 seconds
2 120 seconds 10 seconds
3 180 seconds 10 seconds
Step 507, device management unit detect the corresponding bit of RX-LOS signal of optical module 1, if this bit still is second state value, then execution in step 508, if be third state value, then execution in step 510.
Step 508 detects the light path that whether reaches setting and connects the exploration time, if, execution in step 509, otherwise, step 507 returned.
Wherein, the light path of the setting connection exploration time can be provided with according to the practical experience situation, can be irrelevant with above-mentioned first setting-up time, second setting-up time.
Step 509 stops light path and connects exploration, and confirms this optical module 1 for only inserting but obsolete optical module, and the bit that the TX-disable signal of optical module 1 is corresponding is revised as first state value.
Step 510, the corresponding bit of TX-disable signal of revising this optical module 1 is the four condition value, to start the transmitting element of this optical module 1, makes this optical module 1 carry out normal light path and connects.
So far, accomplish flow process shown in Figure 5.Can find out that from flow process shown in Figure 5 this flow process specifically can be four-stage shown in Figure 6, specifically as shown in Figure 6.
Need to prove; For the only insertion of confirming through step 509 in the flow process shown in Figure 5 but obsolete optical module; When certain prepares to use this optical module constantly afterwards; Just need manual intervention to change the state of this optical module,, make this optical module carry out normal light path and connect to start the transmitting element of this optical module.Wherein, Manual intervention can be once this optical module of the direct plug of site administrator; Its flow process according to new insertion optical module is handled, perhaps started the transmitting element of this optical module, make this optical module carry out normal light path and connect through the network management command direct control.
Also need explain the time; Among the present invention; Be not used if subsequent optical module 1 still is inserted on the communication equipment, also be to use flow process shown in Figure 5 with reach with the transmitting element of optical module 1 close, no longer power consumption and purpose of safety, and the prior art scheme will continue power consumption.
With first setting-up time under the sequence number in the table 11 and second setting-up time is example; If it is 60 minutes that the light path of then setting connects the exploration time; Then according to the prior art scheme; The transmitting element of optical module 1 was in starting state always in 60 minutes, and based on flow process shown in Figure 5, the time that the transmitting element of optical module 1 is in starting state is:
10 (second) * 60 minutes (these 60 minutes=60 seconds * 60 seconds)/(first setting-up time, 30 seconds+second setting-up time 10 seconds)=900 seconds promptly 15 minutes, is 1/4 of the total power consumption of optical module 1 transmitting element in the prior art scheme.
So far, accomplish method provided by the invention and describe, describe in the face of communication equipment provided by the invention down:
Referring to Fig. 7, the communication equipment structure chart that Fig. 7 provides for the embodiment of the invention.As shown in Figure 7, this communication equipment comprises: device management unit, register and optical module; Wherein,
Said register is arranged on the periphery of said device management unit, and any two bits wherein are corresponding respectively with the TX-disable signal of said optical module and RX-LOS signal;
Said optical module comprises transmitting element at least;
Said device management unit comprises:
Control unit is used for said when communication device initiated, and the corresponding bit of TX-disable signal of controlling said optical module is first state value, is in closed condition with the transmitting element of guaranteeing optical module;
Processing unit is used for behind said communication device initiated finishing, if detect optical module on the throne, then reads the corresponding bit of RX-LOS signal of this optical module with setpoint frequency,
If the bit that the RX-LOS signal is corresponding is second state value, the corresponding bit of TX-disable signal of then keeping this optical module is first state value; Wherein, the bit that the RX-LOS signal is corresponding is second state value, and the expression optical module does not receive light signal, perhaps receives light signal but the power of this light signal is lower than the lowest power threshold value of setting;
If the bit that this RX-LOS signal is corresponding is a third state value, the corresponding bit of TX-disable signal of then revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects; Wherein, the bit that the RX-LOS signal is corresponding is a third state value, and the expression optical module receives the light signal of power more than or equal to the lowest power threshold value.
Among the present invention; When said control unit further newly inserts an optical module in the communication equipment course of normal operation; The TX-disable signal and the RX-LOS signal of this new insertion optical module is corresponding with any two idle bit positions of said register respectively; And the corresponding bit of the TX-disable signal that this optical module is set is first state value, is in closed condition with the transmitting element of expression optical module;
Based on the operation that said control unit is further carried out, said processing unit reads the corresponding bit of RX-LOS signal of this optical module with setpoint frequency further when having detected optical module and newly insert,
If the bit that this RX-LOS signal is corresponding is second state value, the corresponding bit of TX-disable signal of then keeping this optical module is first state value;
If the bit value that this RX-LOS signal is corresponding is a third state value, the corresponding bit of TX-disable signal of then revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects.
Among the present invention; Said processing unit is before the corresponding bit of the TX-disable signal of keeping optical module is first state value; The corresponding bit of RX-LOS signal that detects optical module is whether second state value keeps first setting-up time continuously; If, then not keeping the corresponding bit of TX-disable signal of optical module is first state value.
Among the present invention, said processing unit is second state value when keeping first setting-up time continuously at the corresponding bit of the RX-LOS signal that detects optical module, further carries out following steps:
The bit that initiatively the TX-disable signal of optical module is corresponding is set to the four condition value; And in second setting-up time, to keep the corresponding bit of this TX-disable signal be the four condition value always, connects and sound out so that optical module is initiated light path at said second setting-up time; Wherein, Optical module connects in the exploration process in this light path; If do not receive light signal, perhaps receive light signal but the power of this light signal is lower than the lowest power threshold value of setting, then still keeping the corresponding bit of its RX-LOS signal is second state value; And if receive the light signal of power more than or equal to the lowest power threshold value, then revising the corresponding bit of its RX-LOS signal is third state value;
When the light path connection exploration time of setting arrives; Detect the corresponding bit of RX-LOS signal of optical module; If the bit that this RX-LOS signal is corresponding still is second state value; Then stop light path and connect exploration, and confirm this optical module for only inserting but obsolete optical module, the bit that the TX-disable signal of optical module is corresponding is revised as first state value.
So far, accomplish the communication equipment structrual description that the embodiment of the invention provides.
Can find out that by above technical scheme among the present invention, the present invention is only when optical module receives power more than or equal to the light signal of lowest power threshold value; Just can start its transmitting element, carry out normal light path and connect, and in other cases; Such as when communication device initiated; The perhaps communication device initiated back optical module that finishes does not receive light signal, perhaps receives light signal but the power of this light signal when being lower than the lowest power threshold value of setting, closes its transmitting element; This is in starting state than prior art continues to keep optical module on this communication equipment after communication equipment powers on transmitting element, obviously reaches power saving, purpose of safety;
Further, the present invention connects the exploration time through first setting-up time, second setting-up time and light path are set, and the two ends communication equipment that can avoid optical fiber to connect is waited for the phenomenon that can't in time connect mutually.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (9)

1. method of controlling light module in communication equipment, said communication equipment comprises device management unit and optical module at least, said optical module comprises transmitting element at least; It is characterized in that this method comprises:
In said device management unit periphery register is set, any two bits with said register are corresponding respectively with the TX-disable signal of said optical module and RX-LOS signal;
When communication device initiated, the corresponding bit of TX-disable signal of said device management unit control light module in communication equipment is first state value, is in closed condition with the transmitting element of guaranteeing optical module;
Behind communication device initiated finishing, when device management unit detects optical module on the throne, read the corresponding bit of RX-LOS signal of this optical module with setpoint frequency,
If the bit that the RX-LOS signal is corresponding is second state value, the corresponding bit of TX-disable signal of then keeping this optical module is first state value; Wherein, the bit that the RX-LOS signal is corresponding is second state value, and the expression optical module does not receive light signal, perhaps receives light signal but the power of this light signal is lower than the lowest power threshold value of regulation;
If the bit that this RX-LOS signal is corresponding is a third state value, the corresponding bit of TX-disable signal of then revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects; Wherein, the bit that the RX-LOS signal is corresponding is a third state value, and the expression optical module receives the light signal of power more than or equal to the lowest power threshold value.
2. method according to claim 1 is characterized in that, this method further comprises:
If in the communication equipment course of normal operation, newly insert an optical module; The TX-disable signal and the RX-LOS signal that then will be somebody's turn to do new insertion optical module are corresponding with any two idle bit positions of said register respectively; And the corresponding bit of the TX-disable signal that this optical module is set is first state value, is in closed condition with the transmitting element of guaranteeing this optical module;
When device management unit has detected optical module and has newly inserted, read the corresponding bit of RX-LOS signal of this optical module with setpoint frequency,
If the bit that this RX-LOS signal is corresponding is second state value, the corresponding bit of TX-disable signal of then keeping this optical module is first state value;
If the bit value that this RX-LOS signal is corresponding is a third state value, the corresponding bit of TX-disable signal of then revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects.
3. method according to claim 1 and 2 is characterized in that, the said corresponding bit of TX-disable signal of keeping optical module is that first state value comprises:
The corresponding bit of RX-LOS signal that detects optical module is whether second state value keeps first setting-up time continuously, if not, the corresponding bit of TX-disable signal of then keeping optical module is first state value.
4. method according to claim 3 is characterized in that, is that second state value is kept first setting-up time continuously if detect the corresponding bit of RX-LOS signal of optical module, and then this method further comprises:
The bit that initiatively the TX-disable signal of optical module is corresponding is set to the four condition value; And in second setting-up time, to keep the corresponding bit of this TX-disable signal be the four condition value always, connects exploration so that optical module is initiatively initiated light path in said second setting-up time; Wherein, Optical module connects in the exploration process in this light path; If do not receive light signal, perhaps receive light signal but the power of this light signal is lower than the lowest power threshold value of setting, then still keeping the corresponding bit of its RX-LOS signal is second state value; And if receive the light signal of power more than or equal to the lowest power threshold value, then revising the corresponding bit of its RX-LOS signal is third state value;
When device management unit arrived in the light path connection exploration time of setting; Detect the corresponding bit of RX-LOS signal of optical module; If the bit that this RX-LOS signal is corresponding still is second state value; Then stop light path and connect exploration, and confirm this optical module for only inserting but obsolete optical module, the bit that the TX-disable signal of optical module is corresponding is revised as first state value.
5. method according to claim 4 is characterized in that, this method further comprises:
In the communication equipment course of normal operation, use if desired to be confirmed as and only insert but obsolete optical module, then,
Through this optical module of direct plug, perhaps, directly start the transmitting element of this optical module through network management command in this communication equipment course of normal operation.
6. communication equipment, said communication equipment comprises device management unit and optical module at least, said optical module comprises transmitting element at least; It is characterized in that this communication equipment also comprises: register; Wherein,
Said register is arranged on the periphery of said device management unit, and any two bits wherein are corresponding respectively with the TX-disable signal of said optical module and RX-LOS signal;
Said device management unit comprises:
Control unit is used for said when communication device initiated, and the corresponding bit of TX-disable signal of controlling said optical module is first state value, is in closed condition with the transmitting element of guaranteeing optical module;
Processing unit is used for behind said communication device initiated finishing, if detect optical module on the throne, then reads the corresponding bit of RX-LOS signal of this optical module with setpoint frequency,
If the bit that the RX-LOS signal is corresponding is second state value, the corresponding bit of TX-disable signal of then keeping this optical module is first state value; Wherein, the bit that the RX-LOS signal is corresponding is second state value, and the expression optical module does not receive light signal, perhaps receives light signal but the power of this light signal is lower than the lowest power threshold value of regulation;
If the bit that this RX-LOS signal is corresponding is a third state value, the corresponding bit of TX-disable signal of then revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects; Wherein, the bit that the RX-LOS signal is corresponding is a third state value, and the expression optical module receives the light signal of power more than or equal to the lowest power threshold value.
7. communication equipment according to claim 6; It is characterized in that; When said control unit further newly inserts an optical module in the communication equipment course of normal operation; The TX-disable signal and the RX-LOS signal of this new insertion optical module is corresponding with any two idle bit positions of said register respectively, and the corresponding bit of TX-disable signal that this optical module is set is first state value, is in closed condition with the transmitting element of guaranteeing this optical module;
Said processing unit reads the corresponding bit of RX-LOS signal of this optical module with setpoint frequency further when having detected optical module and newly insert,
If the bit that this RX-LOS signal is corresponding is second state value, the corresponding bit of TX-disable signal of then keeping this optical module is first state value;
If the bit value that this RX-LOS signal is corresponding is a third state value, the corresponding bit of TX-disable signal of then revising this optical module is the four condition value, to start the transmitting element of this optical module, makes this optical module carry out normal light path and connects.
8. according to claim 6 or 7 described communication equipments; It is characterized in that; Said processing unit is before the corresponding bit of the TX-disable signal of keeping optical module is first state value; The corresponding bit of RX-LOS signal that detects optical module is whether second state value keeps first setting-up time continuously, if not, the corresponding bit of TX-disable signal of then keeping optical module is first state value.
9. communication equipment according to claim 8 is characterized in that, said processing unit is second state value when keeping first setting-up time continuously at the corresponding bit of the RX-LOS signal that detects optical module, further carries out following steps:
The bit that initiatively the TX-disable signal of optical module is corresponding is set to the four condition value; And in second setting-up time, to keep the corresponding bit of this TX-disable signal be the four condition value always, connects and sound out so that optical module is initiated light path at said second setting-up time; Wherein, Optical module connects in the exploration process in this light path; If do not receive light signal, perhaps receive light signal but the power of this light signal is lower than the lowest power threshold value of setting, then still keeping the corresponding bit of its RX-LOS signal is second state value; And if receive the light signal of power more than or equal to the lowest power threshold value, then revising the corresponding bit of its RX-LOS signal is third state value;
When the light path connection exploration time of setting arrives; Detect the corresponding bit of RX-LOS signal of optical module; If the bit that this RX-LOS signal is corresponding still is second state value; Then stop light path and connect exploration, and confirm this optical module for only inserting but obsolete optical module, the bit that the TX-disable signal of optical module is corresponding is revised as first state value.
CN201210192014.9A 2012-06-12 2012-06-12 Control method and communication device of optical module Active CN102723988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210192014.9A CN102723988B (en) 2012-06-12 2012-06-12 Control method and communication device of optical module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210192014.9A CN102723988B (en) 2012-06-12 2012-06-12 Control method and communication device of optical module

Publications (2)

Publication Number Publication Date
CN102723988A true CN102723988A (en) 2012-10-10
CN102723988B CN102723988B (en) 2015-06-03

Family

ID=46949670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210192014.9A Active CN102723988B (en) 2012-06-12 2012-06-12 Control method and communication device of optical module

Country Status (1)

Country Link
CN (1) CN102723988B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103688478A (en) * 2013-06-03 2014-03-26 华为技术有限公司 Method for inhibiting PCIe noise output through optical fiber communication, device and communication nodes
CN106227098A (en) * 2016-08-25 2016-12-14 许继集团有限公司 Protective relaying device and security isolation control method thereof and control device
WO2016201983A1 (en) * 2015-06-17 2016-12-22 中兴通讯股份有限公司 Method and device for managing enablement state of optical module
CN106506074A (en) * 2016-10-12 2017-03-15 杭州迪普科技股份有限公司 A kind of method and apparatus of detection optical port state
CN106992812A (en) * 2017-05-25 2017-07-28 成都优博创通信技术股份有限公司 A kind of unglazed monitoring method, optical module and controller
US9735871B2 (en) 2013-06-03 2017-08-15 Huawei Technologies Co., Ltd. Method, apparatus, and communication node for suppressing output noise of PCIe devices in optical fiber communication
CN107181524A (en) * 2017-07-26 2017-09-19 青岛海信宽带多媒体技术有限公司 A kind of control method and device of optical line terminal optical module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154996A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Optical network unit and its access method, optical line terminal and passive optical network system
CN101615954A (en) * 2009-07-27 2009-12-30 杭州华三通信技术有限公司 Fiber optic protecting method and equipment in a kind of PON system
CN102404047A (en) * 2010-09-17 2012-04-04 中兴通讯股份有限公司 Method and system for realizing energy-saving mechanism management between Optical Network Unit (ONU) and Optical Line Terminal (OLT)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154996A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Optical network unit and its access method, optical line terminal and passive optical network system
CN101615954A (en) * 2009-07-27 2009-12-30 杭州华三通信技术有限公司 Fiber optic protecting method and equipment in a kind of PON system
CN102404047A (en) * 2010-09-17 2012-04-04 中兴通讯股份有限公司 Method and system for realizing energy-saving mechanism management between Optical Network Unit (ONU) and Optical Line Terminal (OLT)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103688478A (en) * 2013-06-03 2014-03-26 华为技术有限公司 Method for inhibiting PCIe noise output through optical fiber communication, device and communication nodes
CN103688478B (en) * 2013-06-03 2015-10-07 华为技术有限公司 PCIe is suppressed to walk the method for optical fiber communication output noise, device and communication node
US9735871B2 (en) 2013-06-03 2017-08-15 Huawei Technologies Co., Ltd. Method, apparatus, and communication node for suppressing output noise of PCIe devices in optical fiber communication
WO2016201983A1 (en) * 2015-06-17 2016-12-22 中兴通讯股份有限公司 Method and device for managing enablement state of optical module
CN106330327A (en) * 2015-06-17 2017-01-11 中兴通讯股份有限公司 Method and device of managing enabling state of optical module
CN106330327B (en) * 2015-06-17 2020-06-30 中兴通讯股份有限公司 Method and device for managing enabling state of optical module
CN106227098A (en) * 2016-08-25 2016-12-14 许继集团有限公司 Protective relaying device and security isolation control method thereof and control device
CN106506074A (en) * 2016-10-12 2017-03-15 杭州迪普科技股份有限公司 A kind of method and apparatus of detection optical port state
CN106506074B (en) * 2016-10-12 2019-02-19 杭州迪普科技股份有限公司 A kind of method and apparatus detecting optical port state
CN106992812A (en) * 2017-05-25 2017-07-28 成都优博创通信技术股份有限公司 A kind of unglazed monitoring method, optical module and controller
CN107181524A (en) * 2017-07-26 2017-09-19 青岛海信宽带多媒体技术有限公司 A kind of control method and device of optical line terminal optical module
CN107181524B (en) * 2017-07-26 2021-02-26 青岛海信宽带多媒体技术有限公司 Control method and device for optical line terminal optical module

Also Published As

Publication number Publication date
CN102723988B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN102723988A (en) Control method and communication device of optical module
CN204029102U (en) A kind of electrical fire monitoring device based on modified two lines bus
US10177857B2 (en) Optical module and method for controlling optical module
CN103532541A (en) Light module power supply control method and system
CN106301803A (en) A kind of chip power supply control method, device and communication equipment
EP2940933B1 (en) Method for node device to enter or exit power-saving mode and node device
CN103227758B (en) A kind of fiber optic Ethernet switch and control method
WO2018041093A1 (en) Storage system and method for transmitting signal in storage system
CN104168520B (en) Optical link for remote control optical communication equipment selects device and method
CN103795458A (en) Optical fiber switching protection system and control method thereof
CN203645671U (en) Fiber switching protection system
CN104423530B (en) Mobile device electricity-saving control method, device and mobile device, host terminal
CN101977078A (en) Method and system for processing remote failure device in optical transfer network
CN102436413B (en) Debugging system and debugging method of board power supply
CN107276675A (en) A kind of USB3.0 HUB based on optical fiber long-distance transmissions
CN104270139B (en) A kind of GPON network OLT optical modules based on standard SFP encapsulation
CN104345850B (en) Intelligent auto power on device
CN101420309A (en) Ethernet power supply energy-saving device and control method thereof
CN107479611B (en) A kind of communication equipment and electrification control method
CN102118660A (en) Method and device for accessing optical module
CN201918995U (en) Electricity-saving optical network unit
CN103825650A (en) System and method for monitoring optical fibers
CN103885799A (en) Microprocessor delay start system and method based on power management
CN104427695A (en) Driving circuit for lighting device, and lighting device with the driving circuit
CN107294607A (en) A kind of USB3.1 Fiber Optic Extension cards based on PCI E

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant