CN110557194A - Multithreading-based modular light wave parameter testing system and method - Google Patents

Multithreading-based modular light wave parameter testing system and method Download PDF

Info

Publication number
CN110557194A
CN110557194A CN201910697787.4A CN201910697787A CN110557194A CN 110557194 A CN110557194 A CN 110557194A CN 201910697787 A CN201910697787 A CN 201910697787A CN 110557194 A CN110557194 A CN 110557194A
Authority
CN
China
Prior art keywords
module
test
testing
thread
optical
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.)
Pending
Application number
CN201910697787.4A
Other languages
Chinese (zh)
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.)
China Electronics Technology Instruments Co Ltd CETI
Original Assignee
China Electronics Technology Instruments Co Ltd CETI
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 China Electronics Technology Instruments Co Ltd CETI filed Critical China Electronics Technology Instruments Co Ltd CETI
Priority to CN201910697787.4A priority Critical patent/CN110557194A/en
Publication of CN110557194A publication Critical patent/CN110557194A/en
Pending legal-status Critical Current

Links

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/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • 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
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • H04B10/07955Monitoring or measuring power

Abstract

the invention discloses a multithreading-based modular lightwave parameter testing system and method, which comprises a lightwave testing platform and a function testing module, wherein the function testing module is divided into a light source module, an optical power meter module, an optical attenuation module, an optical switch module, an optical return loss module and a spectrum analysis module, the lightwave testing platform is provided with a plurality of module slots, and one function testing module can be inserted into each module slot. And designing a corresponding test thread for each function test module, wherein the test threads independently control and test the corresponding function test modules. A test method meeting the requirements of all functional tests is designed in a multithreading mode, can be suitable for each plug-in module, automatically generates a corresponding thread mode, independently completes the control test of the functional module, and achieves the effect of simultaneously controlling and testing a light source module, an optical power meter module, an optical attenuation module, an optical switch module, an optical return loss module and a spectrum analysis module.

Description

Multithreading-based modular light wave parameter testing system and method
Technical Field
The invention relates to the field of light wave parameter testing, in particular to a modular light wave parameter testing system and method based on multithreading.
Background
the light wave test system is composed of a light wave test platform and various function test modules, wherein the function test modules mainly comprise a light source module, a light power meter module, a light attenuation module, a light switch module, a light return loss module and a spectrum analysis module, and the various test modules realize various functions under the unified control of the test platform, and have the characteristics of slot type, reconstruction, multi-channel, independent repeated test, parallel test and the like. All functional modules of the optical wave test system need to be tested under a unified test platform, which requires that the system has a reconfigurable, multi-concurrent, arbitrary combination and high-performance test method. Due to the fact that the types of the test modules are multiple, the requirements of the modules on test data volume, test speed, test parameters and the like are different, and the compatibility, the reconfigurability and the test efficiency of the test platform on the modules are low.
the prior art has the following disadvantages:
the optical wave parameter test can only realize single function test at the same time, or can only realize the test at the same time of few functions, such as the combination mode of a light source, a power meter and an attenuator; the existing scheme has few slots, can not be inserted and pulled randomly and can not be reconstructed.
disclosure of Invention
Aiming at the problems of single function test and the like of the conventional optical wave test system, the invention provides a multithreading-based modular optical wave parameter test system.
the invention adopts the following technical scheme:
A modular lightwave parameter testing system based on multithreading comprises a lightwave testing platform and a function testing module, wherein the function testing module comprises a light source module, an optical power meter module, an optical attenuation module, an optical switch module, an optical return loss module and a spectrum analysis module, the lightwave testing platform is provided with a plurality of module slots, and one function testing module can be inserted into each module slot.
Preferably, there are 18 module slots.
The invention also provides a test method of the modular lightwave parameter test system based on multithreading.
a test method of a modular lightwave parameter test system based on multithreading is characterized in that a corresponding test thread is designed for each function test module, and the test threads independently control and test the corresponding function test modules.
Preferably, the method specifically comprises the following steps:
Step 1: designing a functional module test thread, wherein the functional module test thread comprises a light source test thread, an optical power meter test thread, an optical attenuation test thread, an optical switch test thread, an optical return loss test thread and a spectrum test thread;
The system comprises a light source testing thread management light source module, an optical power meter testing thread management optical power meter module, an optical attenuation testing thread management optical attenuation module, an optical switch testing thread management optical switch module, an optical return loss testing thread management optical return loss module and a spectrum testing thread management spectrum analysis module;
step 2: after the main control program is started, scanning and reading all the module slots, and identifying the module types in the module slots;
And step 3: copying and calling the functional module testing thread to manage the functional testing module in the corresponding module slot;
And 4, step 4: the functional module testing thread runs independently and controls and tests the corresponding functional testing module;
And 5: and (5) finishing the test.
Preferably, step 2 is specifically: the main control program starts scanning from the first module slot to determine whether the module slot has a functional test module inserted, if not, the main control program continues scanning the next module slot; and if the functional test module is inserted, reading the information of the functional test module, identifying the type of the functional test module, and continuing to scan the next module slot until the scanning of all the module slots is finished.
preferably, the control test in step 4 includes instruction parsing, parameter issuing, test process control, test data read-back, and display information uploading of the main control program.
The invention has the beneficial effects that:
1. The test system can realize the unified platform test of a light source, an optical power test, optical power attenuation, an optical switch, an optical return loss test and a spectrum test, and has a plurality of test items.
2. The test platform can perform multi-module, multi-channel, reconfigurable, repeated independent test and parallel test.
3. The method has the advantages that the test platform has 18 module slots, each slot can be inserted with one function test module at will, the test platform can be inserted with any number of function test modules at the same time, and each module is ensured to be tested independently.
Drawings
Fig. 1 is a schematic diagram of a testing method of a multi-thread based modular lightwave parameter testing system.
Fig. 2 is a flowchart of a testing method of a multi-thread based modular lightwave parameter testing system.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings:
example 1
A modular lightwave parameter testing system based on multithreading comprises a lightwave testing platform and a function testing module, wherein the function testing module comprises a light source module, an optical power meter module, an optical attenuation module, an optical switch module, an optical return loss module and a spectrum analysis module, the lightwave testing platform is provided with 18 module slots, and one function testing module can be inserted into each module slot.
The 18 module slots may be fully inserted or not fully inserted according to actual needs.
Example 2
With reference to fig. 1 and 2, a testing method of a multi-thread-based modular lightwave parameter testing system designs a corresponding testing thread for each function testing module, and the testing threads independently control and test the corresponding function testing modules, so as to achieve the control and test effects on a light source module, an optical power meter module, an optical attenuation module, an optical switch module, an optical return loss module, and a spectrum analysis module at the same time.
The method specifically comprises the following steps:
Step 1: and designing a functional module test thread, wherein the functional module test thread comprises a light source test thread, an optical power meter test thread, an optical attenuation test thread, an optical switch test thread, an optical return loss test thread and a spectrum test thread.
The system comprises a light source testing thread management light source module, an optical power meter testing thread management optical power meter module, an optical attenuation testing thread management optical attenuation module, an optical switch testing thread management optical switch module, an optical return loss testing thread management optical return loss module and a spectrum testing thread management spectrum analysis module.
Step 2: after the main control program is started, all the module slots are scanned and read, and the module types in the module slots are identified.
The method specifically comprises the following steps: the main control program starts scanning from the first module slot to determine whether the module slot has a functional test module inserted, if not, the main control program continues scanning the next module slot; and if the functional test module is inserted, reading the information of the functional test module, identifying the type of the functional test module, and continuing to scan the next module slot until the scanning of all the module slots is finished.
And step 3: and copying and calling the functional module testing thread to manage the functional testing modules in the corresponding module slots.
And 4, step 4: and the functional module testing thread runs independently and controls and tests the corresponding functional testing module.
The control test comprises instruction analysis, parameter issuing, test process control, test data read-back, display information uploading of a main control program and the like.
And 5: and (5) finishing the test.
the method automatically starts corresponding types of threads according to self-adaptive test contents of a light source module, an optical power meter module, an optical attenuation module, an optical switch module, an optical return loss module and an optical spectrum module, the threads of different types completely independently and simultaneously test parameters, test speed, test data volume and the like, and simultaneously complete the unified management test of the light source, the optical power, the optical attenuation, the optical switch, the optical return loss and the optical spectrum.
It is to be understood that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make modifications, alterations, additions or substitutions within the spirit and scope of the present invention.

Claims (6)

1. the modular lightwave parameter testing system based on multithreading comprises a lightwave testing platform and a function testing module, wherein the function testing module comprises a light source module, an optical power meter module, an optical attenuation module, an optical switch module, an optical return loss module and a spectrum analysis module.
2. the modular lightwave parameter testing system based on multithreading of claim 1, wherein there are 18 module slots.
3. The method for testing the multithreading-based modular lightwave parameter testing system according to claim 1 or 2, wherein a corresponding test thread is designed for each functional test module, and the test thread performs control test on the corresponding functional test module independently.
4. The method for testing the multithreading-based modular lightwave parameter testing system according to claim 3, comprising the following steps:
Step 1: designing a functional module test thread, wherein the functional module test thread comprises a light source test thread, an optical power meter test thread, an optical attenuation test thread, an optical switch test thread, an optical return loss test thread and a spectrum test thread;
the system comprises a light source testing thread management light source module, an optical power meter testing thread management optical power meter module, an optical attenuation testing thread management optical attenuation module, an optical switch testing thread management optical switch module, an optical return loss testing thread management optical return loss module and a spectrum testing thread management spectrum analysis module;
Step 2: after the main control program is started, scanning and reading all the module slots, and identifying the module types in the module slots;
And step 3: copying and calling the functional module testing thread to manage the functional testing module in the corresponding module slot;
And 4, step 4: the functional module testing thread runs independently and controls and tests the corresponding functional testing module;
And 5: and (5) finishing the test.
5. The method for testing the multithreading-based modular lightwave parameter testing system according to claim 4, wherein the step 2 is specifically as follows: the main control program starts scanning from the first module slot to determine whether the module slot has a functional test module inserted, if not, the main control program continues scanning the next module slot; and if the functional test module is inserted, reading the information of the functional test module, identifying the type of the functional test module, and continuing to scan the next module slot until the scanning of all the module slots is finished.
6. the method as claimed in claim 4, wherein the control test in step 4 comprises instruction parsing, parameter issuing, test process control, test data read-back, and display information upload main control program.
CN201910697787.4A 2019-07-31 2019-07-31 Multithreading-based modular light wave parameter testing system and method Pending CN110557194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910697787.4A CN110557194A (en) 2019-07-31 2019-07-31 Multithreading-based modular light wave parameter testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910697787.4A CN110557194A (en) 2019-07-31 2019-07-31 Multithreading-based modular light wave parameter testing system and method

Publications (1)

Publication Number Publication Date
CN110557194A true CN110557194A (en) 2019-12-10

Family

ID=68736841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910697787.4A Pending CN110557194A (en) 2019-07-31 2019-07-31 Multithreading-based modular light wave parameter testing system and method

Country Status (1)

Country Link
CN (1) CN110557194A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916208A (en) * 2010-08-30 2010-12-15 芯通科技(成都)有限公司 System and method for calling driver module in multithreading
CN102158277A (en) * 2011-02-22 2011-08-17 东莞市铭普实业有限公司 Automatic optical module send-receive integrated test system
CN104333415A (en) * 2014-09-26 2015-02-04 武汉光迅科技股份有限公司 Multi-channel automatic test method used for testing optical modules and system thereof
CN105429699A (en) * 2015-12-11 2016-03-23 中国电子科技集团公司第四十一研究所 Optical network parameter testing and diagnosing device and method
CN109445342A (en) * 2018-11-07 2019-03-08 珠海派诺科技股份有限公司 Open port automatic recognition system, method and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916208A (en) * 2010-08-30 2010-12-15 芯通科技(成都)有限公司 System and method for calling driver module in multithreading
CN102158277A (en) * 2011-02-22 2011-08-17 东莞市铭普实业有限公司 Automatic optical module send-receive integrated test system
CN104333415A (en) * 2014-09-26 2015-02-04 武汉光迅科技股份有限公司 Multi-channel automatic test method used for testing optical modules and system thereof
CN105429699A (en) * 2015-12-11 2016-03-23 中国电子科技集团公司第四十一研究所 Optical network parameter testing and diagnosing device and method
CN109445342A (en) * 2018-11-07 2019-03-08 珠海派诺科技股份有限公司 Open port automatic recognition system, method and storage medium

Similar Documents

Publication Publication Date Title
JP6488244B2 (en) Method for simultaneous testing of semiconductor devices, manufacturing method, and computer storage medium
US5223788A (en) Functional avionic core tester
CN1573707A (en) Method of testing hard disk drive
EP0067496A2 (en) Automatic test system
US10557886B2 (en) Test system supporting multiple users using different applications
CN102546012A (en) Optical module test device and method
US10451668B2 (en) Test program flow control
CN107219472A (en) A kind of method and system of automatic test voltage-stablizer
CN110275833B (en) Universal test equipment and use method
CN102868464B (en) Consistency testing system and method of communication terminals
CN111445840A (en) L ED display module debugging method, receiving card and L ED display screen
CN104932875A (en) Image processing device, managing system, and managing method
CN109491847A (en) A kind of server high/low temperature method for testing reliability and device
CN110557194A (en) Multithreading-based modular light wave parameter testing system and method
CN110633462A (en) Excel two-dimensional table importing method
CN116973729A (en) Board card testing method, testing jig, testing equipment and medium
CN112732556A (en) Automatic testing method, device, equipment and storage medium for distributed system
CN207337650U (en) A kind of test optical fiber data intelligence transmission equipment
CN110708794A (en) LED dimming method and device and LED lighting lamp
CN105389236A (en) FIO based method for automated test of HBA card
CN115982982A (en) Simulation method and system supporting multi-source model joint operation
CN100397359C (en) Automatic control testing system and method for host board
CN112766719A (en) Task allocation method and device
CN108874635A (en) A kind of double indicator light parameter module control methods of more hard disks based on CPLD/FPGA
CN104978250A (en) Iozone-based HBA card performance test 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191210

RJ01 Rejection of invention patent application after publication