CN114665965B - Light conversion device, storage medium and test system - Google Patents

Light conversion device, storage medium and test system Download PDF

Info

Publication number
CN114665965B
CN114665965B CN202210496342.1A CN202210496342A CN114665965B CN 114665965 B CN114665965 B CN 114665965B CN 202210496342 A CN202210496342 A CN 202210496342A CN 114665965 B CN114665965 B CN 114665965B
Authority
CN
China
Prior art keywords
attenuation
conversion module
light conversion
module
target
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.)
Active
Application number
CN202210496342.1A
Other languages
Chinese (zh)
Other versions
CN114665965A (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.)
Beijing Tasson Science and Technology Co Ltd
Original Assignee
Beijing Tasson Science and 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 Beijing Tasson Science and Technology Co Ltd filed Critical Beijing Tasson Science and Technology Co Ltd
Priority to CN202210496342.1A priority Critical patent/CN114665965B/en
Publication of CN114665965A publication Critical patent/CN114665965A/en
Application granted granted Critical
Publication of CN114665965B publication Critical patent/CN114665965B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/29Repeaters
    • H04B10/291Repeaters in which processing or amplification is carried out without conversion of the main signal from optical form
    • H04B10/293Signal power control
    • H04B10/2931Signal power control using AGC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission

Abstract

The application relates to a light conversion device, a storage medium and a test system, wherein the light conversion device comprises a processor and at least two light conversion modules, wherein each light conversion module comprises an attenuation submodule; the processor is respectively connected with each light conversion module, and each light conversion module is respectively connected with the coaxial interface of the communication equipment to be tested and the optical port of the testing equipment; and the processor is used for determining a target light conversion module from the plurality of light conversion modules according to the test parameters input by the user and configuring attenuation values of the attenuation sub-modules of the target light conversion module according to the test parameters. The light conversion module with the multipath adjustable attenuation value is arranged in the light conversion equipment, in the actual test process, an extra adjustable attenuator is not required to be introduced, and the function test of signal receiving and sending of the coaxial interface can be realized only by connecting the coaxial port of the FC communication equipment and the coaxial port of the light conversion equipment through the short coaxial cable, so that the test cost is low, the test process is simple and easy, and the test efficiency is high.

Description

Light conversion device, storage medium and test system
Technical Field
The present application relates to the field of optical fiber communication and testing technologies, and in particular, to an optical fiber conversion device, a storage medium, and a testing system.
Background
The Fiber Channel (FC) bus technology has the characteristics of high transmission speed, low delay, long transmission distance, high reliability and the like, and is mainly applied to the technical field of communication networks of aerospace and military electronic systems. In practical applications, when the communication device communicates by using the FC bus technology, the communication performance requirement is high, and the communication performance of the FC communication device needs to be tested.
Conventional FC communication devices have two different forms of external ports, namely, an FC optical port and an FC coaxial port. Because the communication port of the test equipment is an optical port, when testing the FC communication equipment with a coaxial port, it is necessary to convert the coaxial signal output by the FC communication equipment into an optical signal by using the coaxial optical conversion equipment, and then input the optical signal into the test equipment for testing the FC communication equipment.
When the coaxial optical conversion device is used for testing the FC communication device at the coaxial port, there are many external devices connected to the FC communication device, for example, each coaxial port of the FC communication device needs to be connected to the coaxial port of the coaxial optical conversion device through a plurality of adjustable attenuators. Too many external devices are introduced in the testing process, so that the testing cost is increased, the testing process is complicated, and the testing efficiency of the FC communication device is low.
Disclosure of Invention
In view of the above, it is desirable to provide an optical converter, a storage medium, and a test system that can reduce the number of connections of external devices, reduce test costs, simplify test procedures, and further improve test efficiency in a test process for an FC communication device having a coaxial port.
In a first aspect, the present application provides a light conversion device comprising: the system comprises a processor and at least two light conversion modules, wherein each light conversion module comprises an attenuation submodule;
the processor is respectively connected with each optical conversion module, and each optical conversion module is respectively connected with the coaxial interface of the communication equipment to be tested and the optical port of the testing equipment;
and the processor is used for determining a target light conversion module from the plurality of light conversion modules according to the test parameters input by the user and configuring attenuation values of the attenuation sub-modules of the target light conversion module according to the test parameters.
In one embodiment, the user-inputted test parameters include a light conversion module to be configured and a target attenuation value;
the processor is specifically used for determining the target light conversion module and the attenuation value to be configured corresponding to the target light conversion module according to the target attenuation value and the attenuation value threshold of the light conversion module to be configured;
and according to the attenuation value to be configured corresponding to the target light conversion module, performing attenuation value configuration on the attenuation submodule of the target light conversion module.
In one embodiment, when the target attenuation value is not greater than the attenuation value threshold of the light conversion module to be configured, the light conversion module to be configured is determined to be the target light conversion module, and the target attenuation value is the attenuation value to be configured corresponding to the target light conversion module.
In one embodiment, when the target attenuation value is greater than the attenuation value threshold of the optical conversion module to be configured, determining the optical conversion module to be configured and the optical conversion module to be configured in cascade connection as the target optical conversion module;
and taking the attenuation value threshold of the optical conversion module to be configured as the attenuation value to be configured corresponding to the optical conversion module to be configured, and taking the difference between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured as the attenuation value to be configured corresponding to the optical conversion module cascaded by the optical conversion module to be configured.
In one embodiment, the processor is specifically configured to control the attenuation sub-module of the target light conversion module to be in an attenuation mode, and configure an attenuation value for the attenuation sub-module of the target light conversion module in the attenuation mode.
In one embodiment, the default mode of the attenuation submodule of each optical conversion module is a bypass mode, and the attenuation submodule is used as an unattenuated signal transmission module in the bypass mode.
In one embodiment, the light conversion device further includes: a display module connected with the processor;
and the display module is used for displaying the target light conversion module and the attenuation value of the target light conversion module under the control of the processor.
In one embodiment, the light conversion device further includes: the parameter setting module is connected with the processor;
and the parameter setting module is used for inputting the test parameters by a user.
In one embodiment, the parameter setting module comprises a light conversion selection module and an attenuation value setting module;
the optical conversion selection module is used for a user to select the optical conversion module to be configured;
and the attenuation value setting module is used for inputting a target attenuation value by a user.
In one embodiment, the light conversion device further includes: the control switching module is connected with the processor;
and the control switching module is used for controlling the processor to determine the target light conversion module according to the test parameters sent by the parameter setting module and to configure attenuation values of the attenuation sub-modules of the target light conversion module according to the test parameters.
In a second aspect, the present application further provides a method for controlling a light conversion device, which is applied to any one of the light conversion devices in the first aspect, and the method includes:
acquiring test parameters input by a user;
and determining a target light conversion module from the plurality of light conversion modules according to the test parameters, and configuring attenuation values of attenuation sub-modules in the target light conversion module according to the test parameters.
In a third aspect, the present application further provides a control device for a light conversion device, which is applied to any one of the light conversion devices in the first aspect, and the control device includes:
the acquisition module is used for acquiring the test parameters input by the user;
and the setting module is used for determining a target light conversion module from the plurality of light conversion modules according to the test parameters and configuring attenuation values of attenuation sub-modules in the target light conversion module according to the test parameters.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring test parameters input by a user;
and determining a target light conversion module from the plurality of light conversion modules according to the test parameters, and configuring attenuation values of attenuation sub-modules in the target light conversion module according to the test parameters.
In a fifth aspect, the present application further provides a test system, where the test system includes a communication device to be tested, any one of the light conversion devices in the first aspect, and a test device; the light conversion equipment comprises a processor and at least two light conversion modules, wherein each light conversion module comprises an attenuation submodule;
the communication equipment to be tested is connected with the testing equipment through the light conversion equipment.
The light conversion device comprises a processor and at least two light conversion modules, wherein each light conversion module comprises an attenuation submodule; the processor is respectively connected with each optical conversion module, and each optical conversion module is respectively connected with the coaxial interface of the communication equipment to be tested and the optical port of the testing equipment; and the processor is used for determining a target light conversion module from the plurality of light conversion modules according to the test parameters input by the user and configuring attenuation values of the attenuation sub-modules of the target light conversion module according to the test parameters. The optical conversion module with the multi-path adjustable attenuation values is arranged in the optical conversion equipment, an extra adjustable attenuator is not needed to be introduced in the actual test process, the function test of signal receiving and sending of the coaxial interface can be realized only by connecting the coaxial port of the FC communication equipment and the coaxial port of the optical conversion equipment through the short coaxial cable, the test cost is low, the test process is simple and easy, the connection is convenient, the flexible adjustment and setting of the attenuation values are also convenient, and the test efficiency of the coaxial communication equipment is greatly improved.
Drawings
FIG. 1 is a schematic diagram of a test topology of a prior art FC coaxial device;
fig. 2 is a schematic structural diagram of a light conversion device provided in an embodiment of the present application;
fig. 3 is another schematic structural diagram of a light conversion device provided in an embodiment of the present application;
fig. 4 is another schematic structural diagram of a light conversion device provided in an embodiment of the present application;
fig. 5 is another schematic structural diagram of a light conversion device provided in an embodiment of the present application;
fig. 6 is another schematic structural diagram of a light conversion device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a parameter setting module in a light conversion device according to an embodiment of the present application;
fig. 8 is a pin connection diagram of a light conversion device according to an embodiment of the present disclosure;
fig. 9 is another schematic structural diagram of a light conversion device provided in an embodiment of the present application;
fig. 10 is a flowchart illustrating a control method of the light conversion device according to an embodiment;
fig. 11 is a flowchart illustrating a control method of the light conversion device according to another embodiment;
fig. 12 is a block diagram showing a configuration of a control device of the light conversion device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The light conversion equipment provided by the embodiment of the application is suitable for the technical field of optical fiber communication and testing, and particularly relates to communication and testing technologies in the fields of aerospace and military industry.
In the prior art, for FC communication devices (hereinafter, may be referred to as FC coaxial devices) with coaxial ports, during a communication test, the FC communication devices need to be connected with a test device through a light conversion device; when a transmission index test (for example, a rise/fall time test, a transmission eye pattern test, a jitter test, and the like) of a coaxial interface of the FC coaxial device is performed, a short coaxial cable (for example, 0.5 m) may be used to connect with the light conversion device, and then the light conversion device and the test device are connected by an optical fiber line; when a receiving index test (such as receiving level, jitter, receiving eye pattern, etc.) of the coaxial interface is performed, a long coaxial cable (such as 30 meters, even 40 meters, etc.) can be used to connect the FC coaxial device and the optical conversion device, and further connect the optical conversion device and the test device through an optical fiber line.
It should be noted that the length of the long coaxial cable can be flexibly selected according to the receiving sensitivity of the coaxial interface, and if the receiving sensitivity of the coaxial interface is exactly within the boundary of the index, the attenuation of the coaxial cable needs to be relatively precise, so that the length control of the coaxial cable is required to be relatively high and is relatively troublesome, and the coaxial cable is relatively expensive. Therefore, for such a situation, a mode of externally connecting an adjustable attenuator can be adopted to replace the attenuation effect of the long coaxial cable, that is, the short coaxial cable and the adjustable attenuator are adopted to connect the FC coaxial device and the light conversion device; in addition, according to the attenuation granularity of the existing adjustable attenuator, the adjustable attenuator can be divided into a coarse adjustable attenuator (the attenuation granularity is 1 dB) and a fine adjustable attenuator (the attenuation granularity is 0.1 dB), based on which, the test topology of the coaxial interface of the FC coaxial device can be as shown in fig. 1, wherein, one coaxial interface of the FC coaxial device is connected with one coaxial port of the optical switching device sequentially through the coarse adjustable attenuator and the fine adjustable attenuator, and then, one optical port of the optical switching device is connected with one optical port of the test device through an optical fiber line; the FC coaxial equipment is provided with a plurality of coaxial interfaces, and a plurality of coarse-adjustment adjustable attenuators and fine-adjustment adjustable attenuators need to be connected, so that too many external equipment need to be introduced in the test process, the test cost is high, the test process is too complicated, and the test efficiency is low.
Therefore, the embodiment of the application provides a light conversion device, the FC communication device to be tested and the test device can be directly connected through the light conversion device, signal receiving and signal sending tests are performed on the FC communication device to be tested, no additional external device is needed to be added, the test cost can be reduced, the test process is simplified, and the test efficiency of the FC communication device can be further improved.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic structural diagram of a light conversion device provided in an embodiment of the present application. As shown in fig. 2, the light conversion device 10 includes: a processor 11 and at least two light conversion modules 12, wherein the light conversion modules 12 comprise an attenuation submodule 121; the processor 11 is respectively connected with each optical conversion module 12, and each optical conversion module 12 is respectively connected with a coaxial interface of the communication device 20 to be tested and an optical port of the testing device 30; and the processor 11 is configured to determine a target light conversion module from the plurality of light conversion modules 12 according to a test parameter input by a user, and configure an attenuation value of an attenuation submodule of the target light conversion module according to the test parameter.
Optionally, the processor 11 includes, but is not limited to, an MCU, a CPU, a DSP, an FPGA programmable logic device, and the like, which is not limited in this embodiment.
Optionally, as shown in fig. 3, the optical conversion module 12 may further include a coaxial transformer 122 and an FC optical module 123, where an attenuation submodule 121 in the optical conversion module 12 is sequentially connected to the coaxial transformer 122 and the FC optical module 123, an interface is led out from the attenuation submodule 121 to serve as a coaxial interface of the light conversion device 10, and an interface is led out from the FC optical module 123 to serve as an optical port of the light conversion device 10; that is, a signal path may be formed from the coaxial interface to the optical port through the attenuation submodule 121, the coaxial transformer 122, and the FC optical module 123 in this order. In addition, for the coaxial transformer 122, it can implement signal conversion between the high-speed differential interface and the coaxial single-ended interface, and the coaxial transformer is internally provided with functional modules such as driving, equalizing, and transformer, etc., which can implement different functional processing on signals, and this part is the prior art and will not be discussed in detail here. For the FC optical module 123, it can realize interconversion between electrical signals and optical signals, the electrical signals are connected with the coaxial transformer 122, and the coaxial transformer 122 and the FC optical module 123 are connected in a differential manner.
Further, as shown in fig. 4, the attenuation sub-modules 121 may be cascaded with each other, in which case, the plurality of attenuation sub-modules 121 cascaded with each other may attenuate the signal for a plurality of times; that is to say, under the condition that the cascade mode is not adopted, the signal may enter the attenuation sub-module 121 of the first optical conversion module 12 from the coaxial interface of the first optical conversion module 12, and after the signal attenuation processing, the signal is transmitted to the coaxial transformer 122 of the first optical conversion module 12, and is processed by the coaxial transformer 122 of the first optical conversion module 12, and then is output by the FC optical module 123 of the first optical conversion module 12; in the case of using the cascade mode, a signal may enter the attenuation submodule 121 of the first optical conversion module 12 from the coaxial interface of the first optical conversion module 12, be subjected to signal attenuation processing, be transmitted to the attenuation submodule 121 of the second optical conversion module 12 cascaded with the first optical conversion module 12, be subjected to signal attenuation processing again, be transmitted to the coaxial transformer 122 of the second optical conversion module 12, and be output through the FC optical module 123 of the second optical conversion module 12.
Optionally, the light conversion device 10 may include at least two light conversion modules 12, and may simultaneously implement a communication test on a plurality of coaxial interfaces of the communication device 20 to be tested; it should be noted that, the number of the optical conversion modules 12 is not limited in this embodiment, and the number of the optical conversion modules 12 may be the same as or different from the number of coaxial interfaces of the communication device to be tested 20.
In addition, for each light conversion module 12, the processor 11 may be connected to the attenuation submodule 121 in each light conversion module 12, and configured to perform attenuation value configuration on the attenuation submodule 121, so that the attenuation submodule 121 can perform signal attenuation processing of a certain attenuation value on a signal; alternatively, the attenuation sub-module 121 may be implemented by using an attenuation chip, and the attenuation chip may have an IIC interface, where the IIC interface of the processor 11 is connected to the IIC interface of the attenuation chip of each attenuation sub-module 121, and through the IIC interface, the processor 11 may configure the attenuation value of each attenuation chip. Optionally, the granularity of the attenuation value may be 0.1dB, or 0.01dB, etc., which is not limited in this application; in addition, inside the attenuation chip, registers corresponding to different granularities associated with attenuation value setting may also be included, such as: may include a first register for storing a 1dB granular attenuation value and a second register for storing a 0.1dB granular attenuation value; such as: processor 11 may set an attenuation value of 8.5dB for the attenuator chip via the IIC interface, and accordingly, the attenuator chip may write an attenuation value of 8dB to the first register and an attenuation value of 0.5dB to the second register.
Optionally, the processor 11 may also be connected to each attenuation chip for controlling the cascade state of the attenuation chips, for example: the cascade state between the attenuation chips and the cascade attenuation chips can be controlled through different level states by connecting different control pins (such as I/O pins) of the processor with at least one control pin of each attenuation chip; optionally, a switch circuit may be disposed between the two cascaded attenuation chips, and the processor 11 controls the cascade state between the two attenuation chips by controlling on/off of the switch circuit; the embodiment of the present application does not limit the manner of cascade control.
In the actual testing process, the coaxial interface of the communication device 20 to be tested and the coaxial interface of the light conversion device 10 are connected through a short coaxial cable, and the optical port of the light conversion device 10 and the optical port of the testing device 30 are connected through an optical fiber line, so as to form a testing path; when testing the received signal, a user may input corresponding test parameters, and the processor 11 determines a target light conversion module to be configured among the plurality of light conversion modules 12 of the light conversion device 10 according to the test parameters, and configures an attenuation value for an attenuation submodule of the target light conversion module.
Optionally, the light conversion device 10 may be connected to an external terminal device (e.g., an upper computer device, etc.) through a wired line (e.g., an ethernet line), and a user inputs a test parameter through the external terminal device, so that the external terminal device may send the test parameter input by the user to the processor 11 of the light conversion device 10, so that after acquiring the test parameter, the processor 11 determines a target optical conversion module according to the test parameter, and performs attenuation value configuration on an attenuation sub-module of the target optical conversion module. Optionally, the light conversion device 10 may further include a wireless communication module connected to the processor 11, and the wireless communication module may also be connected to an external terminal device (e.g., a mobile phone, a control terminal, etc.), so as to receive the test parameters sent by the external terminal device; the method for acquiring the test parameters input by the user by the processor is not particularly limited in the present application.
The light conversion device comprises a processor and at least two light conversion modules, wherein each light conversion module comprises an attenuation submodule; the processor is respectively connected with each light conversion module, and each light conversion module is respectively connected with the coaxial interface of the communication equipment to be tested and the optical port of the testing equipment; and the processor is used for determining a target light conversion module from the plurality of light conversion modules according to the test parameters input by the user and configuring attenuation values of the attenuation sub-modules of the target light conversion module according to the test parameters. The light conversion module of the adjustable attenuation value of multichannel is provided with to light conversion equipment inside promptly in this embodiment, in actual test process, need not to introduce extra adjustable attenuator again, only need through the coaxial port of short coaxial cable connection FC communication equipment and the coaxial port of light conversion equipment can realize the functional test to the signal transceiver of coaxial interface, the test cost is low, and the test procedure is simple and easy, be convenient for connect, also be convenient for carry out nimble adjustment and setting to the attenuation value, make the test degree of difficulty also lower, coaxial communication equipment's efficiency of software testing has been improved greatly.
In an optional embodiment of the present application, the user-inputted test parameters include an optical conversion module to be configured and a target attenuation value; the processor 11 is specifically configured to determine the target light conversion module and the attenuation value to be configured corresponding to the target light conversion module according to the target attenuation value and the attenuation value threshold of the light conversion module to be configured; next, the processor 11 configures the attenuation value of the attenuation submodule of the target light conversion module according to the attenuation value to be configured corresponding to the target light conversion module.
Optionally, a user may set an attenuation value of a target light conversion module of the light conversion device connected to a coaxial interface according to a signal test requirement of a coaxial interface of the communication device to be tested in an actual test process; that is, a user may input the current optical conversion module to be configured and the target attenuation value, so that the processor 11 may determine the target optical conversion module according to the optical conversion module to be configured and the target attenuation value input by the user, and perform attenuation value configuration on the attenuation submodule of the target optical conversion module.
Optionally, the processor 11 may determine attenuation values corresponding to the target light conversion module and the target light conversion module according to a magnitude relationship between a target attenuation value input by a user and an attenuation value threshold of the light conversion module to be configured; it should be noted that, due to the performance difference of the light conversion modules, the attenuation ranges that can be realized by each light conversion module may be the same or different, that is, the attenuation value thresholds of each light conversion module may be the same or different. Inside the processor 11, an attenuation value threshold corresponding to each light conversion module may be preset.
Alternatively, in a case that it is determined that the target attenuation value is not greater than the attenuation value threshold of the light conversion module to be configured, the processor 11 may determine that the light conversion module to be configured is the target light conversion module, and may use the target attenuation value as the attenuation value to be configured corresponding to the target light conversion module.
Optionally, the processor 11 may determine, when determining that the target attenuation value is greater than the attenuation value threshold of the optical conversion module to be configured, that the optical conversion module to be configured and the optical conversion module to be configured in cascade are the target optical conversion module; here, the number of cascaded optical conversion modules and the attenuation value to be configured corresponding to each cascaded optical conversion module may be determined according to the magnitude of the target attenuation value, the attenuation value threshold of the optical conversion module to be configured, and the attenuation value threshold of the optical conversion module to be configured cascaded. That is, the processor 11 takes the attenuation value threshold of the light conversion module to be configured as the attenuation value to be configured corresponding to the light conversion module to be configured when determining that the target attenuation value is greater than the attenuation value threshold of the light conversion module to be configured; then, the first difference between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured and the magnitude relation between the attenuation value thresholds of the first optical conversion modules cascaded by the optical conversion module to be configured can be continuously judged, if the first difference is not greater than the attenuation value threshold of the first optical conversion module, the first difference can be used as the attenuation value to be configured corresponding to the first optical conversion module, and the optical conversion module to be configured and the first optical conversion module cascaded by the optical conversion module to be configured are the target optical conversion module; if the first difference value is still larger than the attenuation value threshold of the first optical conversion module, further judging the magnitude relation between a second difference value of the first difference value and the attenuation value threshold of the first optical conversion module and the attenuation value threshold of a second optical conversion module cascaded with the first optical conversion module; and by analogy, gradually determining the attenuation values to be configured corresponding to each target light conversion module and each target light conversion module.
Finally, the processor 11 may sequentially perform attenuation value configuration on the attenuation sub-modules of each target light conversion module according to the determined attenuation values to be configured respectively corresponding to each target light conversion module and each target light conversion module.
In this embodiment, after receiving a to-be-configured optical conversion module and a target attenuation value input by a user, a processor determines the target optical conversion module and an attenuation value to be configured corresponding to the target optical conversion module according to the target attenuation value and an attenuation value threshold of the to-be-configured optical conversion module, and then configures an attenuation value for an attenuation submodule of the target optical conversion module according to the attenuation value to be configured corresponding to the target optical conversion module; that is, the light conversion device in this embodiment not only can implement signal attenuation within the attenuation range of the attenuation submodule, but also can implement signal attenuation outside the attenuation range of the attenuation submodule in a cascade manner, so that the attenuation value test range of the light conversion device is increased, and the comprehensive performance of the light conversion device is improved.
In an optional embodiment of the present application, each of the attenuation chips may further have two different control modes, that is, a bypass mode and an attenuation mode, and in the bypass mode, the attenuation chip has no attenuation, that is, signal transmission without attenuation may be performed; in the attenuation mode, the attenuation chip can attenuate the signal based on the attenuation value set by the processor through the IIC interface; optionally, for different control modes of the attenuation chip, control may be performed through an enable pin on the attenuation chip, for example: different I/O pins on the processor can be respectively connected with the enabling pins of different attenuation chips, so that the processor can flexibly control the different attenuation chips to switch control modes; such as: the enable pin may be an OE pin of the decay chip, which is in bypass mode when OE =0 and in decay mode when OE = 1.
Optionally, the default mode of the attenuation submodule of each optical conversion module may be a bypass mode, and the attenuation submodule is used as a non-attenuation signal transmission module in the bypass mode; under the condition that the processor determines that each target light conversion module and the attenuation value to be configured corresponding to each target light conversion module respectively, the attenuation value configuration can be carried out on each target light conversion module respectively; when the attenuation value of the target light conversion module is configured, the level state of the enable pin of the target light conversion module can be controlled to be switched to the level state corresponding to the attenuation mode, that is, the default bypass mode of the attenuation sub-module of the target light conversion module is switched to the attenuation mode, the attenuation sub-module of the target light conversion module is configured with the attenuation value in the attenuation mode, and the attenuation value to be configured corresponding to the target light conversion module can be written into the target light conversion module through the IIC interface.
In this embodiment, the processor may control the attenuation submodule of each optical conversion module to be in a bypass mode or an attenuation mode, that is, the attenuation submodule may be used as a signal transmission module without attenuation or a signal attenuation module with an attenuation function.
In an alternative embodiment of the present application, as shown in fig. 5, the light conversion device 10 further includes: a display module 13 connected to the processor; the display module 13 is configured to display the target light conversion module and the attenuation value of the target light conversion module under the control of the processor 11. Optionally, the display module 13 may be a liquid crystal display, and the liquid crystal display may be connected to the processor 11 through an SPI interface, and is configured to display attenuation values of the currently set target light conversion module and the target light conversion module, or, when there are a plurality of target light conversion modules, that is, when there is cascade connection, the target light conversion modules belonging to the same signal path may also be specially displayed according to the cascade connection state, so that a user can specify a specific flow direction of a signal, and a test experience of the user is improved.
In an alternative embodiment of the present application, as shown in fig. 6, the light conversion device 10 further includes: a parameter setting module 14 connected with the processor; the parameter setting module 14 is used for inputting the test parameters by the user. Optionally, the parameter setting module 14 may be a touch-sensitive display screen or a touch key; through the parameter setting module 14, a user can input a current optical conversion module to be configured and a target attenuation value; in addition, the parameter setting module 14 may be integrated on the light conversion device, or may be an external parameter setting device connected through a wire or a wireless connection, and the specific form of the parameter setting module is not limited in the present application.
Alternatively, as shown in fig. 7, the parameter setting module 14 may include a light conversion selection module 141 and an attenuation value setting module 142; a light conversion selection module 141, configured to allow a user to select a light conversion module to be configured; and an attenuation value setting module 142 for inputting a target attenuation value by a user. Optionally, the light conversion selection module 141 and/or the attenuation value setting module 142 may be a touch-sensitive display screen or a touch-sensitive key; in addition, the light conversion selection module 141 may include 0-9 numeric keys and special character keys (e.g., "#"), which are connected to different I/O pins of the processor 11; the number keys 0-9 can be used to select the optical conversion module to be configured, and the "#" key can be used to set the control mode of the attenuation sub-module of the optical conversion module to be configured.
Alternatively, as shown in FIG. 8, the number keys 1-9 of the light conversion selection module 141 (i.e., the port selection button U6 in FIG. 8) may be connected to the IOB1-IOB9 pins of the processor 11 (i.e., the MCU in FIG. 8), the number key 0 may be connected to the IOB10 pin of the processor 11, and the special character key "#" may be connected to the IOB11 pin of the processor; part of pins in the IOC1-IOCn of the processor 11 may be connected to enable pins (e.g., OE pins of an attenuator chip) of attenuation sub-modules of different optical conversion modules, and IIC pins of the processor 11 are connected to IIC pins of attenuation sub-modules of different optical conversion modules; inside the processor 11, a first correspondence relationship between part of IOC pins of the IOC1-IOCn representing the enable pins of the attenuation sub-module and the IOB1-IOB11 may be preset, and after a valid signal of a relevant pin of the IOB is detected (i.e., a user selects an optical conversion module to be configured through the optical conversion selection module), the IOC pin corresponding to the optical conversion module to be configured may be determined according to the first correspondence relationship, and the control mode of the attenuation sub-module of the optical conversion module to be configured may be modified through the IOC pin.
In addition, the number keys 1-9 of the attenuation value setting module 142 (i.e., the attenuation setting button U7 in fig. 8) may be connected to the IOA1-IOA9 pins of the processor 11 (MCU), respectively, the number key 0 may be connected to the IOA10 pin of the processor 11, and the decimal point ". the IOA11 pin of the processor may be connected to the number key". inside the processor 11, a second correspondence between different attenuation value values (0-9 and decimal point) and the IOA1-IOA11 pins may be preset, and after a valid signal of the relevant pin of the IOA is detected, a target attenuation value of the to-be-configured light conversion module currently input by the user may be determined based on the second correspondence; and in combination with the above-mentioned situation that the optical conversion module to be configured, which is set 141 by the optical conversion selection module, is in the attenuation mode, the target attenuation value is written into the attenuation submodule of the optical conversion module to be configured through the IIC interface, so as to complete the configuration of the attenuation value of the optical conversion module to be configured.
Furthermore, for cascade control among each attenuation chip, cascade or non-cascade control of the attenuation chips may be implemented in a channel selection manner, and optionally, for each attenuation chip, channel selection ports (such as ctr1, ctr2, and ctr3 pins of the attenuation chip shown in fig. 8) may be set to be respectively connected to a part of IOC pins of the MCU, and the MCU may control different signal states of the channel selection ports through the part of IOC pins to implement cascade or non-cascade states of the attenuation chips; alternatively, the relationship between the setting value of the channel selection port of the attenuator chip and the channel selection of the attenuator chip may be as shown in table 1:
TABLE 1
Figure 798979DEST_PATH_IMAGE002
The following describes a specific example of the channel selection port setting and the transmission channel of the test signal in the cascade and non-cascade states.
For example: when the user selects to test the signal of channel 1, the user selects button 1 via port select button U6 to instruct the MUC to set attenuation chip 1 to attenuation mode (i.e. control IOC1 port output high, OE =1 for attenuation chip 1); next, the user inputs a target attenuation value corresponding to the attenuation chip 1 through the attenuation setting button U7; assuming that the target attenuation value input by the user is less than or equal to the preset threshold of the attenuation chip 1, the MCU controls the channel selection signals of the attenuation chip 1 to be 000 (i.e., 1_ RX1 → 1_ TX 1) and 100 (i.e., 2_ RX1 → 2_ TX 1), that is, the test signal is transmitted through the attenuation chip 1, the coaxial transformer 1 and the FC optical module 1.
Assuming that the target attenuation value input by the user is greater than the preset threshold value of the attenuation chip 1, the MCU controls the channel selection signals of the attenuation chip 1 to be 001 (i.e., 1_ RX1 → 1_ TX 2) and 110 (i.e., 2_ RX2 → 2_ TX 1) and controls the channel selection signals of the attenuation chip 2 cascaded with the attenuation chip 1 to be 010 (i.e., 1_ RX2 → 1_ TX 1) and 101 (i.e., 2_ RX1 → 2_ TX 2), that is, the test signal is transmitted through the attenuation chip 1, the attenuation signal 2, the coaxial transformer 2 and the FC optical module 2. Meanwhile, the MCU determines a first attenuation value to be set of the attenuation chip 1 and a second attenuation value to be set of the attenuation chip 2 according to a target attenuation value input by a user and a preset threshold value of the attenuation chip 1; optionally, the first attenuation value to be set may be a preset threshold of the attenuation chip 1, and the second attenuation value to be set is a difference value between a target attenuation value input by a user and the preset threshold of the attenuation chip 1; the first attenuation value to be set and the second attenuation value to be set can be one half of a target attenuation value input by a user; the distribution mode of the attenuation values to be set of each cascaded attenuation chip is not limited in the application. After determining the first attenuation value to be set and the second attenuation value to be set, the MCU may control the attenuation chip 2 to be in the attenuation mode, that is, control the IOC2 port to output a high level, so that OE =1 of the attenuation chip 2; next, attenuation values of the attenuation chips 1 and 2 may be set, respectively.
In this embodiment, through setting up the parameter setting module on light conversion equipment, can be convenient for the user to carry out the field test, improve the convenience and the feasibility of user operation.
In an alternative embodiment of the present application, as shown in fig. 9, the light conversion device 10 further includes: a control switching module 15 connected to the processor; the control switching module 15 is configured to control the processor 11 to determine the target optical conversion module according to the test parameter sent by the parameter setting module 14, and perform attenuation value configuration on the attenuation submodule of the target optical conversion module according to the test parameter. Alternatively, the control switching module 15 may be a switch (the connection relationship between the switch and the processor may refer to fig. 8 described above), and in a default case, the processor 11 may determine a target optical conversion module according to the test parameters sent by the external terminal device; when a user needs to perform a field test, the user can switch the remote control to the field control through the control switching module 15, so that the user can set the optical conversion module to be configured and the target attenuation value based on the parameter setting module 14 (the optical conversion selection module 141 and the attenuation value setting module 142) on the optical conversion device 10, a plurality of different test modes can be provided for the user, the user can conveniently perform a communication function test on the FC communication device in different scenes, and the test experience and the test efficiency of the user are greatly improved.
In an embodiment, as shown in fig. 10, a method for controlling a light conversion device is provided, which is described by taking as an example that the method is applied to the light conversion device 10 or the processor 11 of the light conversion device 10, and includes the following steps:
step 1001, obtaining a test parameter input by a user.
Optionally, the processor may detect a trigger instruction of the user on the parameter setting module, and obtain the test parameter input by the user according to the trigger instruction.
Step 1002, determining a target light conversion module from the plurality of light conversion modules according to the test parameter, and configuring an attenuation value of an attenuation submodule in the target light conversion module according to the test parameter.
For a specific implementation process, reference may be made to the related discussion above, and details are not described herein again.
In the control method of the light conversion equipment, a processor of the light conversion equipment acquires a test parameter input by a user, then determines a target light conversion module from a plurality of light conversion modules according to the test parameter, and configures an attenuation value of an attenuation submodule in the target light conversion module according to the test parameter; that is to say, the light conversion module with multiple paths of adjustable attenuation values is arranged in the light conversion device in this embodiment, in the actual test process, an additional adjustable attenuator is not required to be introduced, the function test of signal transceiving of the coaxial interface can be realized only by connecting the coaxial port of the FC communication device and the coaxial port of the light conversion device through the short coaxial cable, the test cost is low, the test process is simple and easy, the connection is convenient, the flexible adjustment and setting of the attenuation values are also convenient, and the test efficiency of the coaxial communication device is greatly improved.
In one embodiment, as shown in fig. 11, the user-inputted test parameters may include a light conversion module to be configured and a target attenuation value; optionally, the processor may detect a first trigger instruction of a user on the optical conversion selection module, acquire the optical conversion module to be configured selected by the user according to the first trigger instruction, detect a second trigger instruction of the user on the attenuation value setting module, and acquire a target attenuation value input by the user according to the second trigger instruction; in this case, the step 1002 may include:
step 1101, determining a target light conversion module and an attenuation value to be configured corresponding to the target light conversion module according to the target attenuation value and the attenuation value threshold of the light conversion module to be configured.
Optionally, in a case that the target attenuation value is not greater than the attenuation value threshold of the optical conversion module to be configured, it may be determined that the optical conversion module to be configured is the target optical conversion module, and the target attenuation value is the attenuation value to be configured corresponding to the target optical conversion module.
Optionally, when the target attenuation value is greater than the attenuation value threshold of the optical conversion module to be configured, the optical conversion module to be configured and the optical conversion module to be configured in cascade connection with the optical conversion module to be configured may be determined as the target optical conversion module; then, the attenuation value threshold of the optical conversion module to be configured may be used as the attenuation value to be configured corresponding to the optical conversion module to be configured, and the difference between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured may be used as the attenuation value to be configured corresponding to the optical conversion module to be configured in cascade.
Step 1102, configuring an attenuation value of an attenuation submodule of the target light conversion module according to the attenuation value to be configured corresponding to the target light conversion module.
Optionally, the processor may control the attenuation sub-module of the target light conversion module to be in an attenuation mode, and configure an attenuation value of the attenuation sub-module of the target light conversion module in the attenuation mode.
Optionally, the default mode of the attenuation submodule of each optical conversion module is a bypass mode, and the attenuation submodule is used as a non-attenuated signal transmission module in the bypass mode.
In one embodiment, the method may further include: and sending the attenuation values of the target light conversion module and the target light conversion module to a display module so as to instruct the display module to display the attenuation values of the target light conversion module and the target light conversion module.
In one embodiment, the method may further include: and receiving a control instruction sent by the control switching module, acquiring a test parameter sent by the parameter setting module based on the control instruction, then determining the target light conversion module according to the test parameter, and configuring an attenuation value of an attenuation submodule of the target light conversion module according to the test parameter.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a control device of a light conversion device for implementing the control method of the light conversion device. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the above method, so specific limitations in the following embodiments of the control apparatus for one or more light conversion devices may refer to the limitations in the foregoing control method for the light conversion device, and are not described herein again.
In one embodiment, as shown in fig. 12, there is provided a control apparatus of a light conversion device, including: an obtaining module 1201 and a setting module 1202, wherein:
an obtaining module 1201, configured to obtain a test parameter input by a user;
the setting module 1202 is configured to determine a target light conversion module from the plurality of light conversion modules according to the test parameters, and configure attenuation values of attenuation sub-modules in the target light conversion module according to the test parameters.
In one embodiment, the user-inputted test parameters include a light conversion module to be configured and a target attenuation value; the setting module 1202 is specifically configured to determine the target light conversion module and the attenuation value to be configured corresponding to the target light conversion module according to the target attenuation value and the attenuation value threshold of the light conversion module to be configured; and according to the attenuation value to be configured corresponding to the target light conversion module, performing attenuation value configuration on the attenuation submodule of the target light conversion module.
In one embodiment, the setting module 1202 is specifically configured to determine that the optical conversion module to be configured is the target optical conversion module when the target attenuation value is not greater than the attenuation value threshold of the optical conversion module to be configured, where the target attenuation value is the attenuation value to be configured corresponding to the target optical conversion module.
In one embodiment, the setting module 1202 is specifically configured to determine, when the target attenuation value is greater than an attenuation value threshold of the optical conversion module to be configured, that the optical conversion module to be configured and the optical conversion module to be configured in cascade are the target optical conversion module; and taking the attenuation value threshold of the optical conversion module to be configured as the attenuation value to be configured corresponding to the optical conversion module to be configured, and taking the difference between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured as the attenuation value to be configured corresponding to the optical conversion module cascaded by the optical conversion module to be configured.
In one embodiment, the apparatus further comprises a control module; the control module is used for controlling the attenuation submodule of the target light conversion module to be in an attenuation mode, and the setting module is used for carrying out attenuation value configuration on the attenuation submodule of the target light conversion module in the attenuation mode.
In one embodiment, the default mode of the attenuation submodule of each optical conversion module is a bypass mode, and the attenuation submodule is used as an unattenuated signal transmission module in the bypass mode.
In one embodiment, the apparatus further comprises an output display module; the output display module is used for displaying the target light conversion module and the attenuation value of the target light conversion module.
In one embodiment, the obtaining module is specifically configured to detect a trigger instruction of a user on the parameter setting module, and obtain the test parameter input by the user according to the trigger instruction.
In one embodiment, the obtaining module is specifically configured to detect a first trigger instruction of a user on the optical conversion selecting module, obtain the optical conversion module to be configured selected by the user according to the first trigger instruction, detect a second trigger instruction of the user on the attenuation value setting module, and obtain the target attenuation value input by the user according to the second trigger instruction.
In one embodiment, the apparatus further comprises a receiving module; the receiving module is used for receiving a control instruction sent by the control switching module, based on the control instruction, the obtaining module obtains a test parameter sent by the parameter setting module, then the setting module determines the target light conversion module according to the test parameter, and performs attenuation value configuration on an attenuation submodule of the target light conversion module according to the test parameter.
For specific limitations of the control device of the light conversion device, reference may be made to the above limitations on the control method of the light conversion device, which are not described herein again. All or part of the modules in the control device of the light conversion device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring test parameters input by a user;
and determining a target light conversion module from the plurality of light conversion modules according to the test parameters, and configuring attenuation values of attenuation sub-modules in the target light conversion module according to the test parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of: the test parameters input by the user comprise an optical conversion module to be configured and a target attenuation value; determining a target light conversion module and an attenuation value to be configured corresponding to the target light conversion module according to the target attenuation value and the attenuation value threshold of the light conversion module to be configured; and according to the attenuation value to be configured corresponding to the target light conversion module, performing attenuation value configuration on the attenuation submodule of the target light conversion module.
In one embodiment, the computer program when executed by the processor further performs the steps of: and under the condition that the target attenuation value is not greater than the attenuation value threshold of the optical conversion module to be configured, determining the optical conversion module to be configured as a target optical conversion module, wherein the target attenuation value is the attenuation value to be configured corresponding to the target optical conversion module.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining the optical conversion module to be configured and an optical conversion module cascaded with the optical conversion module to be configured as a target optical conversion module under the condition that the target attenuation value is greater than the attenuation value threshold of the optical conversion module to be configured; and taking the attenuation value threshold of the optical conversion module to be configured as the attenuation value to be configured corresponding to the optical conversion module to be configured, and taking the difference between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured as the attenuation value to be configured corresponding to the optical conversion module cascaded by the optical conversion module to be configured.
In one embodiment, the computer program when executed by the processor further performs the steps of: and controlling the attenuation submodule of the target light conversion module to be in an attenuation mode, and configuring an attenuation value of the attenuation submodule of the target light conversion module in the attenuation mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: the default mode of the attenuation submodule of each optical conversion module is a bypass mode, and the attenuation submodule is used as a non-attenuation signal transmission module in the bypass mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: and controlling the display module to display the target light conversion module and the attenuation value of the target light conversion module.
In one embodiment, the computer program when executed by the processor further performs the steps of: and acquiring the test parameters detected by the parameter setting module.
In one embodiment, the computer program when executed by the processor further performs the steps of: and acquiring a target attenuation value detected by the attenuation value setting module.
In one embodiment, the computer program when executed by the processor further performs the steps of: and receiving a control instruction sent by the control switching module, determining the target light conversion module according to the test parameter sent by the parameter setting module based on the control instruction, and configuring the attenuation value of the attenuation submodule of the target light conversion module according to the test parameter.
In one embodiment, as shown in the above fig. 2, a test system is provided, which comprises a communication device to be tested 20, any of the above light converting devices 10 of the first aspect, and a test device 30; wherein, the light conversion device 10 comprises a processor 11 and at least two light conversion modules 12, and the light conversion modules 12 comprise an attenuation submodule 121; the communication device to be tested 20 is connected with the testing device 30 through the light conversion device 10. For a specific implementation process, reference may be made to the above description about the light conversion device 10, and details are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as 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 invention. 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 application shall be subject to the appended claims.

Claims (10)

1. A light conversion device, comprising: the device comprises a processor and at least two light conversion modules, wherein each light conversion module comprises an attenuation submodule, a coaxial transformer and an FC (fiber channel) light module; the attenuation submodule is sequentially connected with the coaxial transformer and the FC optical module; the attenuation submodule comprises a coaxial interface of the light conversion equipment; the attenuation submodule comprises an attenuation chip, the attenuation chip is provided with a bypass mode and an attenuation mode, wherein the attenuation submodule is used for carrying out non-attenuation transmission on a received signal in the bypass mode, and the attenuation submodule is used for carrying out attenuation transmission on the received signal in the attenuation mode;
the processor is respectively connected with each light conversion module, and each light conversion module is respectively connected with a coaxial interface of the communication equipment to be tested and an optical port of the testing equipment;
the processor is configured to determine, according to a magnitude relationship between a target attenuation value input by a user and an attenuation value threshold of a to-be-configured optical conversion module, that the to-be-configured optical conversion module and an optical conversion module cascaded with the to-be-configured optical conversion module are target optical conversion modules if the target attenuation value is greater than the attenuation value threshold of the to-be-configured optical conversion module, and perform attenuation value configuration on an attenuation submodule of the target optical conversion module according to the to-be-configured attenuation value corresponding to the target optical conversion module; the attenuation value to be configured corresponding to the optical conversion module to be configured in the target optical conversion module is an attenuation value threshold of the optical conversion module to be configured, and the attenuation value to be configured corresponding to the optical conversion module to be configured in the target optical conversion module in cascade connection with the optical conversion module to be configured is a difference between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured.
2. The light conversion device of claim 1, wherein the processor is connected to the attenuation chips in the attenuation sub-module for controlling a cascade state of the attenuation chips.
3. The light conversion device of claim 2, wherein the processor is further configured to determine the optical conversion module to be configured as a target optical conversion module when it is determined that the target attenuation value is not greater than the attenuation value threshold of the optical conversion module to be configured; and the target attenuation value is an attenuation value to be configured corresponding to the target light conversion module.
4. The light conversion device according to claim 2, wherein the processor controls a level state of an enable pin of the target light conversion module to be switched to a level state corresponding to the attenuation mode when the attenuation sub-module of the target light conversion module is configured with the attenuation value.
5. Light conversion device according to any one of claims 1 to 4,
the processor is specifically configured to control the attenuation sub-module of the target light conversion module to be in an attenuation mode, and configure an attenuation value for the attenuation sub-module of the target light conversion module in the attenuation mode.
6. A light conversion device as recited in claim 1, further comprising: a display module connected with the processor;
the display module is used for displaying the target light conversion module and the attenuation value of the target light conversion module under the control of the processor.
7. A light conversion device as claimed in claim 2, characterized in that the light conversion device further comprises: the parameter setting module is connected with the processor;
and the parameter setting module is used for inputting the test parameters by a user.
8. The light conversion device according to claim 7, wherein the parameter setting module comprises a light conversion selection module and an attenuation value setting module;
the light conversion selection module is used for the user to select the light conversion module to be configured;
the attenuation value setting module is used for the user to input the target attenuation value.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of:
acquiring a target attenuation value input by a user and an optical conversion module to be configured;
according to the magnitude relation between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured, if the target attenuation value is larger than the attenuation value threshold of the optical conversion module to be configured, determining that the optical conversion module to be configured and the optical conversion module to be configured in cascade are the target optical conversion module, and configuring the attenuation value of the attenuation submodule in the target optical conversion module according to the attenuation value to be configured corresponding to the target optical conversion module; the attenuation value to be configured corresponding to the optical conversion module to be configured in the target optical conversion module is an attenuation value threshold of the optical conversion module to be configured, and the attenuation value to be configured corresponding to the optical conversion module to be configured in the target optical conversion module in cascade connection with the optical conversion module to be configured is a difference between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured;
the optical conversion module comprises an attenuation submodule, a coaxial transformer and an FC optical module; the attenuation submodule is sequentially connected with the coaxial transformer and the FC optical module; the attenuation submodule comprises a coaxial interface of the light conversion equipment; the attenuation submodule comprises an attenuation chip, the attenuation chip is provided with a bypass mode and an attenuation mode, the attenuation submodule is used for carrying out non-attenuation transmission on a received signal in the bypass mode, and the attenuation submodule is used for carrying out attenuation transmission on the received signal in the attenuation mode; the processor is respectively connected with each light conversion module, each light conversion module is respectively connected with a coaxial interface of the communication equipment to be tested and an optical port of the testing equipment, and the coaxial interface of each light conversion module is connected with the coaxial interface of the communication equipment to be tested through a short coaxial cable.
10. A test system, characterized in that the test system comprises a communication device to be tested, a light conversion device according to any one of the preceding claims 1 to 8 and a test device; the light conversion equipment comprises a processor and at least two light conversion modules, wherein each light conversion module comprises an attenuation sub-module, a coaxial transformer and an FC (fiber channel) light module; the attenuation submodule is sequentially connected with the coaxial transformer and the FC optical module; the attenuation submodule comprises a coaxial interface of the light conversion equipment; the attenuation submodule comprises an attenuation chip, the attenuation chip is provided with a bypass mode and an attenuation mode, wherein the attenuation submodule is used for carrying out non-attenuation transmission on a received signal in the bypass mode, and the attenuation submodule is used for carrying out attenuation transmission on the received signal in the attenuation mode;
the processor is respectively connected with each light conversion module, each light conversion module is respectively connected with a coaxial interface of the communication equipment to be tested and an optical port of the testing equipment, and the coaxial interface of each light conversion module is connected with the coaxial interface of the communication equipment to be tested through a short coaxial cable;
the processor is configured to determine, according to a magnitude relationship between a target attenuation value input by a user and an attenuation value threshold of a to-be-configured optical conversion module, that the to-be-configured optical conversion module and an optical conversion module cascaded with the to-be-configured optical conversion module are target optical conversion modules if the target attenuation value is greater than the attenuation value threshold of the to-be-configured optical conversion module, and perform attenuation value configuration on an attenuation submodule of the target optical conversion module according to the to-be-configured attenuation value corresponding to the target optical conversion module; the attenuation value to be configured corresponding to the optical conversion module to be configured in the target optical conversion module is an attenuation value threshold of the optical conversion module to be configured, and the attenuation value to be configured corresponding to the optical conversion module to be configured in the target optical conversion module in cascade connection with the optical conversion module to be configured is a difference between the target attenuation value and the attenuation value threshold of the optical conversion module to be configured.
CN202210496342.1A 2022-05-09 2022-05-09 Light conversion device, storage medium and test system Active CN114665965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210496342.1A CN114665965B (en) 2022-05-09 2022-05-09 Light conversion device, storage medium and test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210496342.1A CN114665965B (en) 2022-05-09 2022-05-09 Light conversion device, storage medium and test system

Publications (2)

Publication Number Publication Date
CN114665965A CN114665965A (en) 2022-06-24
CN114665965B true CN114665965B (en) 2022-09-20

Family

ID=82037305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210496342.1A Active CN114665965B (en) 2022-05-09 2022-05-09 Light conversion device, storage medium and test system

Country Status (1)

Country Link
CN (1) CN114665965B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1681227A (en) * 2004-04-06 2005-10-12 华为技术有限公司 Light module of light time domain reflector, light time domain reflector and fibre-optical testing method
CN104717006A (en) * 2015-01-09 2015-06-17 北京奥普维尔科技有限公司 System and method for testing multiple optical modules at the same time
WO2016062059A1 (en) * 2014-10-21 2016-04-28 中兴通讯股份有限公司 Optical module and optical module inputting optical power adjustment method
CN109861758A (en) * 2019-03-29 2019-06-07 广州芯泰通信技术有限公司 A kind of the 5G forward pass system and equipment of novel low-cost low delay
CN209488585U (en) * 2019-03-14 2019-10-11 Comlab(北京)通信系统设备有限公司 A kind of radio-frequency module for repeater digital synthesis test macro
WO2022048467A1 (en) * 2020-09-03 2022-03-10 华为技术有限公司 Optical signal detection apparatus and method and related device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006017777A1 (en) * 2006-04-15 2007-10-18 Mühlbauer Ag Test system for classifying a transponder
TWI315146B (en) * 2006-05-19 2009-09-21 Hon Hai Prec Ind Co Ltd System, apparatus, and method for testing roaming functions
CN101483880B (en) * 2008-01-09 2010-08-25 大唐移动通信设备有限公司 Method, system and apparatus for testing performance of mobile communication system
US10256921B2 (en) * 2016-11-11 2019-04-09 Skyworks Solutions, Inc. Reducing impedance discontinuities on a shared medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1681227A (en) * 2004-04-06 2005-10-12 华为技术有限公司 Light module of light time domain reflector, light time domain reflector and fibre-optical testing method
WO2016062059A1 (en) * 2014-10-21 2016-04-28 中兴通讯股份有限公司 Optical module and optical module inputting optical power adjustment method
CN104717006A (en) * 2015-01-09 2015-06-17 北京奥普维尔科技有限公司 System and method for testing multiple optical modules at the same time
CN209488585U (en) * 2019-03-14 2019-10-11 Comlab(北京)通信系统设备有限公司 A kind of radio-frequency module for repeater digital synthesis test macro
CN109861758A (en) * 2019-03-29 2019-06-07 广州芯泰通信技术有限公司 A kind of the 5G forward pass system and equipment of novel low-cost low delay
WO2022048467A1 (en) * 2020-09-03 2022-03-10 华为技术有限公司 Optical signal detection apparatus and method and related device

Also Published As

Publication number Publication date
CN114665965A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
US20080114580A1 (en) Mimo channel simulator
CN111856258B (en) Method, device, storage medium and corresponding chip for testing chip
CN108387878B (en) Automatic test device and method for phased array radar TR component
CN104113856A (en) Equipment performance testing system and testing method applicable to WLAN (Wireless Local Area Network) network
US6438357B1 (en) Air interface simulator and method thereof
CN111624478B (en) Clock signal control circuit and equipment
CN103888970A (en) Test equipment
CN114665965B (en) Light conversion device, storage medium and test system
CN107566056A (en) A kind of multichannel T/R components phase conformance testing device and method
CN112782567B (en) Chip testing system, method, device, medium and equipment
CN209858645U (en) Data acquisition system based on scattering parameter cascade
WO2014149427A1 (en) System and method for testing a data packet signal transceiver
CN109547646A (en) A kind of mobile terminal and its interference processing method
CN111157881B (en) Test circuit and circuit test method
CN111431596B (en) Signal speed-up method and circuit
CN111224723B (en) Calibration method and system of radio frequency front-end module, electronic equipment and storage medium
CN110133481B (en) Test method and test circuit for IO bridge short circuit
EP1449316A1 (en) Method and apparatus for simulating radio channel
CN216313058U (en) Multi-path digital adjustable attenuator device
CN215067112U (en) Application circuit of serial port chip test system
CN116567687B (en) Control method based on electronic attenuator
CN103227763A (en) Variable inter symbol interference generator
CN215005741U (en) Multi-port high-power testing device
US10417169B1 (en) Methods and apparatus for high-speed serial interface link assist
CN113922789A (en) Multi-path digital adjustable attenuator device and attenuation control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 701, 7th Floor, Building 6, Courtyard 8, Kegu 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing, 100176

Patentee after: Beijing Tasson Technology Ltd.

Address before: Room 701, 7 / F, building 6, courtyard 8, KEGU 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing 100176

Patentee before: BEIJING TASSON TECHNOLOGY Ltd.

CP03 Change of name, title or address