SUMMERY OF THE UTILITY MODEL
The application provides an optical module, can solve artifical detection optical module and have the lower problem of efficiency of dysfunction. The application provides the following technical scheme: the optical module includes:
a housing;
at least one light hole provided in the housing front panel;
at least one indicator light in one-to-one correspondence with the at least one light hole;
a controller connected to the at least one indicator light; and the number of the first and second groups,
and the function detector is used for detecting whether the specified function of the optical module is normal or not and sending a detection result to the controller so that the controller controls the working state of the at least one indicator lamp according to the detection result.
Optionally, the at least one indicator light, the controller and the function detector are mounted on a circuit board, the circuit board being mounted within the housing.
Optionally, the at least one indicator light is connected to an optical fiber, and the optical fiber extends to the at least one light hole, and each indicator light corresponds to one optical fiber, and each indicator light corresponds to one designated function, and the colors of different indicator lights are different.
Optionally, each indicator light is connected to the corresponding optical fiber by UV glue.
Optionally, the at least one indicator light comprises a first indicator light;
the function detector is used for detecting whether the photocurrent of the optical module is smaller than a first preset value; when the photocurrent is smaller than a first preset value, sending a detection result of the photocurrent to the controller; the controller controls the first indicator light to emit light according to the detection result of the photocurrent.
Optionally, the at least one indicator light comprises a second indicator light;
the function detector is used for detecting whether the temperature of the optical module is greater than a second preset value; when the temperature is higher than the second preset value, the detection result of the temperature is sent to the controller; and the controller controls the second indicator light to emit light according to the detection result of the temperature.
Optionally, the at least one indicator light comprises a third indicator light;
the function detector is used for detecting whether the optical power of the optical module is smaller than a third preset value; when the optical power is smaller than the third preset value, the detection result of the optical power is sent to the controller; and the controller controls the third indicator lamp to emit light according to the detection result of the optical power.
Optionally, the function detector is a chip for implementing monitoring and recording functions.
Optionally, the function detection chip is a U4 or U5 chip.
Optionally, the optical module is an SFP optical module.
The beneficial effect of this application lies in: through at least one light hole provided in the front panel of the housing; at least one indicator light in one-to-one correspondence with the at least one light hole; a controller connected to the at least one indicator light; the function detector is connected with the controller and is used for detecting whether the specified function of the optical module is normal or not and sending the detection result to the controller so that the controller controls the working state of at least one indicator lamp according to the detection result; the problem that the efficiency of artificially detecting whether the optical module has abnormal functions is low can be solved; the optical module can realize self-checking whether the function is abnormal or not, and the function is displayed through the corresponding indicator lamp when the function is abnormal, so that the efficiency of positioning the optical module with the function abnormality can be improved.
The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical solutions of the present application more clear and clear, and to implement the technical solutions according to the content of the description, the following detailed description is made with reference to the preferred embodiments of the present application and the accompanying drawings.
Detailed Description
The following detailed description of embodiments of the present application will be described in conjunction with the accompanying drawings and examples. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
Fig. 1 to fig. 3 are schematic structural diagrams of an optical module according to an embodiment of the present application, where the optical module at least includes:
a housing 1;
at least one light hole 2 provided in a front panel of the housing 1;
at least one indicator light 3 in one-to-one correspondence with the at least one light hole 2;
a controller (not shown) connected to at least one indicator light 3; and the number of the first and second groups,
and a function detector (not shown in the figure) connected to the controller, the function detector being configured to detect whether a specified function of the light module is normal or not and send a detection result to the controller, so that the controller controls an operating state of the at least one indicator light 3 according to the detection result.
In one example, the at least one indicator light 3, controller and function detector are mounted on a circuit board 4, the circuit board 4 being mounted within the housing 1.
At least one indicator light 3 is connected with optical fiber 5, and optical fiber 5 extends to at least one unthreaded hole 2, and each indicator light 3 corresponds an optical fiber 5, and each indicator light 3 corresponds an instruction function, and the colour of different indicator lights 3 is different.
Optionally, each indicator light 3 is connected to the corresponding optical fiber 5 by means of an Ultraviolet Rays (UV) glue. Due to the good light-gathering property of the UV glue, it can be ensured that more light rays emitted by the indicator light 3 enter the optical fiber 5 to be transmitted to the light hole 2 through the optical fiber 5.
In another example, at least one indicator light 3 is mounted on the light hole 2, and the at least one indicator light 3 is connected to the controller through an electric wire.
Optionally, the diameter of the optical aperture is 1 mm or 2 mm, and the size of the optical aperture is not limited in this embodiment.
In this application, whether the designated function of the optical module is normal or not is the prior art, and this embodiment is not described herein in detail.
In one example, the at least one indicator light 3 comprises a first indicator light; the function detector is used for detecting whether the photocurrent of the optical module is smaller than a first preset value; when the photocurrent is smaller than a first preset value, the detection result of the photocurrent is sent to a controller; the controller emits light according to the detection result of the photocurrent.
In another example, the at least one indicator light 3 comprises a second indicator light; the function detector is used for detecting whether the temperature of the optical module is greater than a second preset value or not; when the temperature is higher than a second preset value, the detection result of the temperature is sent to a controller; the controller controls the second indicating lamp to emit light according to the detection result of the temperature.
In yet another example, the at least one indicator light 3 comprises a third indicator light; the function detector is used for detecting whether the optical power of the optical module is smaller than a third preset value; when the optical power is smaller than a third preset value, the detection result of the optical power is sent to a controller; the controller controls the third indicator light to emit light according to the detection result of the optical power.
In the above example, the first indicator light, the second indicator light and the third indicator light emit light with different colors, such as: the first indicator light is yellow, the second indicator light is red, and the third indicator light is green, and only two indicator lights 3 are illustrated in the figure, and in actual implementation, the number of indicator lights 3 may be 1 or more, and the number of indicator lights 3 is not limited in this embodiment.
It should be noted that, in the above example, only the current, the temperature and the optical power of the optical module are taken as examples for description, and in actual implementation, other functions of the optical module may be detected and indicated by the indicator lamp 3.
In one example, the controller implements control of the indicator lights through logic circuitry such as: the received input signal is 001, which indicates that the photocurrent is greater than or equal to a first preset value (normal), the temperature is less than or equal to a second preset value (normal), and the optical power is less than a third preset value (abnormal), and a third indicator lamp is triggered to be connected with the light-emitting power supply and is turned on.
In another example, the controller implements control of the indicator lights via an instruction set.
Alternatively, the optical module may be an SFP optical module; alternatively, other types of optical modules may be used, and the present embodiment does not limit the type of the optical module.
Alternatively, different designated functions are indicated by the display manner of the indicator lamp 3. Such as: indicating photocurrent abnormality in a normally-on display manner, indicating temperature abnormality in a blinking display manner, and the like.
Alternatively, in the present application, the controller may be a Micro Controller Unit (MCU).
Optionally, in this application, the function detector may be a chip for implementing monitoring and recording functions, such as a U4 chip, a U5 chip, and the like, and the present embodiment does not limit the type of the function detector.
Optionally, in this application, the indicator light may be an LED or the like, and of course, may also be of other types, and the type of the indicator light is not limited in this embodiment.
It should be added that the optical module shown in the figures is only schematic, and in actual implementation, the optical module may further include more components, such as: optical transceiver module, socket module, etc., which are not listed in this embodiment.
In summary, the optical module provided in this embodiment is configured to pass through at least one optical hole disposed on the front panel of the housing; at least one indicator light in one-to-one correspondence with the at least one light hole; a controller connected to the at least one indicator light; the function detector is connected with the controller and is used for detecting whether the specified function of the optical module is normal or not and sending the detection result to the controller so that the controller controls the working state of at least one indicator lamp according to the detection result; the problem that the efficiency of artificially detecting whether the optical module has abnormal functions is low can be solved; the optical module can realize self-checking whether the function is abnormal or not, and the function is displayed through the corresponding indicator lamp when the function is abnormal, so that the efficiency of positioning the optical module with the function abnormality can be improved.
In addition, a designated function is correspondingly indicated through different indicator lamps, and the colors of the different indicator lamps are different, so that a technician can position which designated function of the light emitting module is abnormal through the colors of the indicator lamps, and the efficiency of the designated function with abnormal functions in the positioning light module can be improved.
In addition, the light of the indicator light is guided out to the light hole through the light; the loss in the light transmission process can be reduced, and the intensity of the light emitted by the light hole is improved.
Fig. 4 is a flowchart of a function indication method for an optical module according to an embodiment of the present application, and this embodiment takes the application of the method to the optical module shown in fig. 1 to 3 as an example for description. The method at least comprises the following steps:
step 401, detecting whether the designated function of the optical module is normal through a function detector to obtain a detection result; and sending the detection result to the controller.
And 402, controlling the working state of at least one indicator light according to the detection result through the controller.
Optionally, the specified functions include: a photocurrent of the optical module, a temperature of the optical module, and/or an optical power of the optical module. Accordingly, the at least one indicator lamp includes a first indicator lamp for indicating whether the photocurrent is normal, a second indicator lamp for indicating whether the temperature is normal, and a third indicator lamp for indicating whether the optical power is normal.
In a first example, detecting, by a function detector, whether a photocurrent of a light module is less than a first preset value; and when the photocurrent is less than a first preset value, sending the detection result of the photocurrent to a controller.
Accordingly, the first indicator light is controlled to emit light by the controller according to the detection result of the photocurrent.
In a second example, detecting, by the function detector, whether the temperature of the light module is greater than a second preset value; and when the temperature is greater than a second preset value, sending the detection result of the temperature to the controller.
And correspondingly, the second indicator lamp is controlled to emit light by the controller according to the detection result of the temperature.
In a third example, whether the optical power of the optical module is less than a third preset value is detected by the function detector; and when the optical power is smaller than a third preset value, the detection result of the optical power is sent to the controller.
And correspondingly, controlling the third indicator lamp to emit light according to the detection result of the optical power through the controller.
For related description, reference is made to the above embodiments of the optical module, and details of the embodiment are not repeated herein.
In summary, in the method for indicating a function of an optical module provided in this embodiment, a function detector is used to detect whether a specified function of the optical module is normal, so as to obtain a detection result; sending the detection result to a controller; controlling the working state of at least one indicator light through the controller according to the detection result; the problem that the efficiency of artificially detecting whether the optical module has abnormal functions is low can be solved; the optical module can realize self-checking whether the function is abnormal or not, and the function is displayed through the corresponding indicator lamp when the function is abnormal, so that the efficiency of positioning the optical module with the function abnormality can be improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the utility model. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.