Method and system for automatically testing capacity of transmission equipment and electronic equipment

Through automated testing methods, the problem of complex and low efficiency of transmission equipment network access testing is solved, and efficient and accurate preservation of test results and improvement of equipment rigor is achieved.

CN119729260APending Publication Date: 2025-03-28BEIJING LONGDING TIANCHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411744018.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-30
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In the prior art, the network access test process of the transmission equipment is complex, low efficiency, high cost, and the test data cannot be saved, resulting in deviations in the equipment test results.

Method used

An automated testing method for transmission equipment capabilities is adopted. By building a test environment, obtaining interface commands, recalling preset scripts, configuring test instrument parameters, and executing preset scripts for automated testing, saving test results for viewing.

Benefits of technology

The testing efficiency has been improved, the automated testing efficiency has been increased by more than 10 times, the test data can be permanently preserved, and the rigor of equipment testing has been greatly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729260A_ABST
    Figure CN119729260A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of communication network transmission networks, and particularly relates to an automatic transmission equipment capacity testing method and system and electronic equipment, and the method comprises the steps: building a transmission equipment testing environment according to a working environment; based on the transmission equipment test environment, obtaining an interface command, and calling a preset script according to the interface command; configuring test instrument parameters according to the interface command; executing the preset script, automatically testing the transmission equipment, and storing a test result to form a test script log for checking; the new equipment is accessed to the network and electrified, and the test environment is configured, so that the user test configuration operation can be remotely realized in an office, the test is performed through the test script, and the test efficiency of the automatic test is improved by more than 10 times compared with a manual test scheme; each test item result and a test report can be effectively recorded and stored for later overall analysis and evaluation of existing network equipment; in the test process, manual voice communication is converted into automatic interactive output confirmation of a program interface, so that the preciseness of equipment test is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication network transmission network, and in particular relates to a transmission equipment capability automatic testing method, system and electronic equipment. Background Art

[0002] With the rapid development of science and technology, traditional SDH (Synchronous Digital Hierarchy) equipment is gradually being replaced by new equipment. When SDH is withdrawn from the network, the existing high-value private line services of government and enterprises are generally carried by PON (Passive Optical Network), PTN / IPRAN (PTN: Packet Transport Network; IPRAN: Internet Protocol Radio Access Network) and OTN (Optical Transport Network). However, the above types of replacement equipment carrying methods have their own shortcomings. For example, due to the characteristics of their own rigid pipelines, the security of bandwidth sharing packet services is poor, or they do not support the access of certain STM services, while traditional OTN equipment does not support the access of small-granular services or the cost is too high. It is in this context that in order to build high-quality private line networks, CPE OTN (Customer Premise Equipment Optical Transport Network, referred to as CPE) equipment came into being.

[0003] New transmission equipment is currently being commercialized on a large scale by various operators. After the new equipment is connected to the network and powered on, the operator will configure equipment maintenance personnel to hang an equipment test instrument in the machine room to access the equipment network. The maintenance personnel will configure the parameters in the instrument on site and request to call the equipment item by item, verifying whether the parameters of each function meet the configuration requirements (if not, the equipment maintenance personnel will make on-site adjustments or call the transmission expert to guide the commissioning or the equipment will be powered off and dismantled and returned to the manufacturer for processing. This test method has a cumbersome and time-consuming interactive process;), until all functional parameters of the equipment meet the standards. When a large number of transmission equipment are connected to the network at the same time, companies in each province will spend a lot of manpower and time on equipment network investment, and the efficiency of network testing is relatively low. Each test item of manual instrument testing needs to be manually configured and specified, and then the instrument output results are checked and analyzed to see whether they meet the standards. There is no complete set of test cases and test processes. There may be omissions and mismeasurements in the test process, so the final equipment test results may deviate from the actual results. Summary of the invention

[0004] The purpose of the present invention is to provide a method, system and electronic device for automated testing of transmission equipment capabilities, so as to solve the technical problems in the prior art of on-site adjustment by equipment maintenance personnel or remote telephone request for transmission expert guidance testing, which are complex, inefficient, and costly, and the test data cannot be saved.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present application discloses a method for automated testing of transmission equipment capabilities, comprising: Build a transmission equipment test environment according to the working environment; Based on the transmission equipment test environment, obtain interface commands, call preset scripts according to interface commands; configure test instrument parameters according to interface commands; Execute preset scripts, test instruments automatically test transmission equipment, and save test results as test script logs for review.

[0006] Preferably, the working environment includes a laboratory environment and a live network production environment; A transmission equipment test environment is built in the laboratory environment, specifically including: two client devices, a test instrument, a switch, a test server and a test terminal; the two client devices, the test server and the test terminal are respectively connected to the switch, the two client devices are connected to each other, and are respectively connected to the test instrument.

[0007] Preferably, a transmission equipment test environment is built under the existing network production environment, specifically including: a test meter, a switch, a client device, an OTN test line and a test terminal; the client device is connected to the test meter, and the client device and the test meter are connected to the OTN test line through the switch, and the test terminal is connected to the OTN test line through the switch.

[0008] Preferably, the preset script includes: a program connected to a transmission device via a southbound interface and a program connected to an operating instrument device via a loading instruction.

[0009] Preferably, configuring the test instrument parameters according to the interface command specifically includes: configuring the instrument test parameters so that when verifying the southbound test and the southbound interface test, the instrument command can operate in real time and receive the instrument parameter indicators.

[0010] Preferably, the test scenarios of the test instrument for automatically testing the transmission equipment include: equipment signaling intercommunication test, equipment port query and collection test, service creation and deletion test, network element configuration management test and custom test items.

[0011] In a second aspect, the present application discloses a transmission equipment capability automated testing system, comprising: An environment building unit, used to build a transmission equipment test environment according to the working environment; A command calling unit is used to obtain interface commands based on the transmission equipment test environment, call preset scripts according to the interface commands, and configure test instrument parameters according to the interface commands; The execution unit is used to execute the preset script, test the instrument to automatically test the transmission equipment, and save the test results to form a test script log for viewing.

[0012] Preferably, the preset script in the command calling unit includes: a program connecting to a transmission device via a southbound interface and a program connecting to an operating instrument device via a loading instruction.

[0013] In a third aspect, the present application discloses an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned methods for automated testing of transmission equipment capabilities when executing the computer program.

[0014] In a fourth aspect, the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods for automated testing of transmission equipment capabilities are implemented.

[0015] Compared with the prior art, the present invention has the following beneficial effects: The present invention discloses an automated testing method for transmission equipment capacity. During the testing process, engineers in a computer room connect new equipment to the network and power on the equipment, and configure the instrument testing environment. User test configuration operations can be implemented remotely in the office, and multiple test scripts can be written for testing. In each test task, several test items can be combined for verification in a sequential execution mode. The southbound interface of each test result equipment is fed back to the test script log for the tester to view. Compared with the manual testing scheme, the automated test improves the test efficiency by more than 10 times. The test process data can be permanently saved, and the result of each test item and the test report can be effectively recorded and saved for the overall analysis and evaluation of the existing network equipment later. The automated test only requires the equipment operation and maintenance personnel to configure the basic parameters such as the power supply and IP in the computer room. The subsequent equipment test operation transmission expert can be implemented remotely in the office through tools or script writing combined with the southbound interface message. The feedback message of each test item of the equipment and the instrument flow result can be obtained in real time through the test script. The entire test process is converted from the original manual voice communication to the automatic interactive output confirmation of the program interface, and the rigor of the equipment test is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 is a flow chart of the method of the present invention; Figure 2 A diagram of a transmission equipment test environment built in a laboratory environment according to an embodiment of the present invention; Figure 3 This is a diagram of a transmission equipment test environment built in a live network production environment according to an embodiment of the present invention.

[0018] Among them, 1-test server; 2-test terminal; 3-switch; 4-client device; 5-test instrument; 6-OTN test line. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0020] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0022] In the description of the embodiments of the present invention, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, it is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0023] In addition, if the term "horizontal" appears, it does not mean that the component is required to be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0024] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0025] The present invention is further described in detail below in conjunction with the accompanying drawings: See also Figure 1 The present application discloses a transmission equipment capability automation testing method, comprising: S1: Build a transmission equipment test environment according to the working environment; S2: Based on the transmission equipment test environment, obtain the interface command, call the preset script according to the interface command; configure the test instrument parameters according to the interface command; S3: Execute the preset script, the test instrument automatically tests the transmission equipment, and saves the test results as a test script log for viewing.

[0026] During the test, engineers in the computer room will connect the new equipment to the network, power it on, and configure the instrument environment. User test configuration operations can be implemented remotely in the office, and multiple test scripts can be written for testing. In each test task, several test items can be combined to be verified in a sequential execution mode. The southbound interface of the device for each test result is fed back to the test script log for testers to view. Compared with the manual test solution, the test efficiency of automated testing is improved by more than 10 times; and the test process data can be permanently saved, and each test item result and test report can be effectively recorded and saved for subsequent overall analysis and evaluation of the existing network equipment; this application for automated testing only requires equipment operation and maintenance personnel to power on and configure IP and other basic parameters in the computer room. Subsequent equipment test operations and transmission experts can be implemented remotely in the office through tools or scripting combined with southbound interface messages. The feedback messages of each test item of the device and the instrument flow results can be obtained in real time through the test script. The entire test process is converted from the original manual voice communication to automatic interactive output confirmation of the program interface, and the rigor of the equipment test is greatly improved.

[0027] In some embodiments, the working environment includes a laboratory environment and a live network production environment; See also Figure 2 A transmission equipment test environment is built in the laboratory environment, specifically including: two client devices 4, a test instrument 5, a switch 3 (SWITCH), a test server 1 and a test terminal 2; the two client devices 4, the test server 1 and the test terminal 2 are respectively connected to the switch 3, the two client devices 4 are connected to each other, and are respectively connected to the test instrument 5.

[0028] In some embodiments, see Figure 3 The transmission equipment test environment is built under the existing network production environment, specifically including: test instrument 5, switch 3, client device 4, OTN test line 6 and test terminal 2; the client device 4 is connected to the test instrument 5, and the client device 4 and the test instrument 5 are connected to the OTN test line 6 through the switch 3 (SWITCH), and the test terminal 2 is connected to the OTN test line 6 through the switch 3.

[0029] The Optical Transport Network (OTN) is a new generation transport network based on DWDM (Dense Wavelength Division Multiplexing) technology and SONET / SDH (Synchronous Optical Network / Synchronous Digital Hierarchy) management functions. It is oriented towards IP services and adapts to the development of multiple services in the future.

[0030] In some embodiments, the preset script includes: the program connects to the transmission device through the southbound interface and the program connects to the instrument device through the loading instruction. The program connects to the transmission device through the southbound interface and issues various instructions to operate the device. This part of the operation has been relatively successful. Equipment manufacturers generally have the ability to implement the southbound control system through the netconf protocol.

[0031] In some embodiments, configuring the test instrument parameters according to the interface command specifically includes: configuring the instrument test parameters so that when verifying the southbound test and the southbound interface test, the instrument command can operate in real time and receive the instrument parameter indicators.

[0032] In some embodiments, the test scenarios of the test instrument for automatically testing the transmission equipment include: equipment signaling intercommunication test, equipment port query and collection test, service creation and deletion test, network element configuration management test and custom test items.

[0033] [Example 1] Figure 2 As shown: Building a transmission equipment test environment in a laboratory environment as an example The CPE automation test solution in the laboratory environment is as follows: Step 1: Test environment preparation: a.>Two client devices 4; b.> One test instrument; c.>One switch 3; d.>One test server 1; e.> One test terminal 2 (PC, Personal Computer); f.>Test command script Step 2: Build a test environment: Connect two client devices 4 to the switch 3 and the test instrument 5 respectively, connect the test server 1 to the switch 3, and connect the test terminal 2 to the switch 3 to build a LAN test network; Step 3: Arrange the automatic test script according to the interface command: There are two parts of the automated script involved: The first part is that the program connects to the transmission device through the southbound interface and issues various commands to operate the device. This part of the operation has been relatively successful. Equipment manufacturers generally have the ability to implement southbound control systems through the Netconf protocol, so I will not go into details. The second part is the program connecting and operating the instrument equipment by loading instructions, as follows: Organize the automation script for interaction with the instrument according to the TELNET command: 1. Establish connection with the instrument: *REM or *REM visible full 2. Read the basic information of the module: *IDN? 3. Exit remotely: *GUI 4. Start operating instrument test: :INIT 5. Exit test: :ABOR 6. Check if there is any error message: :SYST:ERR? 7. Exit the current application: :EXIT 8. Check whether the module is powered on and working: MOD:FUNC:SEL? BOTH,BASE,"BERT" 9. Check the module TCP / IP connection (remote connection) port: MOD:FUNC:PORT? BOTH,BASE,"BERT" 10. Check the number of TCP / IP Socket connection ports on the module: :SYST:FUNC:READY? BOTH,BASE,"BERT" 11. Check the TCP / IP remote control port on the module: :SYST:FUNC:PORT? BOTH,BASE,"BERT" 12. Create a test application: --Example 1: Create a 1G L2 layer traffic terminal test on port 1 :SYST:APPL:LAUN TermEth1GL2Traffic 1 --Example 2: Create a 100M L2 layer traffic terminal test on port 1 :SYST:APPL:LAUN TermEth100ML2Traffic 1 13. Check the execution of SCPI commands: *OPC? 14. View the currently running processes: :SYST:APPL:CAPP? 15. Select the test application: :SYST:APPL:SEL TermEth1GL2Traffic_101 16. Create a Session: :SESS:CRE 17. Close the Session: :SESS:END 18. Start a Session thread: :SESS:STAR 19. Start the laser: :OUTPUT:OPTIC ON 20. Flow switch: :SOURCE:MAC:TRAFFIC ON 21. Start the test :INIT 22. Get the instrument performance index parameter value: --Example 1: Get the number of sent frames :SENSe:DATA? COUNT:MAC:ETH:TX:FRAME --Example 2: Get the number of lost frames :SENSe:DATA? ECOUNT:MAC:PACKET:LOST --Example 3: Get the number of error frames :SENSe:DATA? ECOUNT:MAC:ETH:FRAME --Example 4: Get the peak value of packet jitter :SENSe:DATA? FLOAT:MAC:ETH:FILTER:PACKET:JITTER:PEAK --Example 5: Get layer 1 RX traffic :SENSe:DATA? RATE:MAC:ETH:FILTER:MBPS --Example 6: Get Layer 2 RX traffic value :SENSe:DATA? RATE:MAC:ETH:FILTER:MBPS:DATA If the above instructions are all TELNET instructions, you can choose JAVA, PYTHON, C++ and other languages ​​to write a script to load these instructions, and then connect to the instrument to realize the automation of various instructions of the instrument; Step 4: Debug the device network test environment Configure instrument test parameters, verify that instrument commands can receive instrument parameter indicators in real time during southbound testing and southbound interface testing; Step 5: Automated test scenario verification Automated test scenario 1: Device signaling interoperability test According to the southbound interface message, write a test script and execute it on the test PC. At the same time, the test items in the script can be used to call the operation instrument to monitor the flow of the CPE port through the script to achieve interoperability testing with the CPE device; Automated test scenario 2: Device port query collection test According to the port collection message, write a test script and call the southbound interface of the CPE device. At the same time, the test items in the script can be used to realize whether to call the operation instrument to monitor the flow of the CPE port through the script, so as to realize the device port collection test verification; Automated test scenario three: business creation and deletion test According to the service creation message, write a test script and call the southbound interface of the specified CPE device. At the same time, the test items in the script can be used to realize whether to call the operation instrument to monitor the flow of the CPE port, and realize the service creation, query, deletion, and protection switching test verification on the device; Automated test scenario 4: Network element configuration management test According to the network element configuration class (single board multiplexing, laser configuration, etc.) message, write a test script and call the southbound interface of the specified CPE device. The test items in the script can be realized through the script to call the operation instrument to monitor the flow of the CPE port, and realize the test verification of the CPE network element configuration management operation; Automated testing scenario 5: custom test items According to the southbound interface messages of multiple different test items of the device, a test script can be written, which can be combined to generate a specified test script according to the actual test objectives. Each test item can be implemented through the script to call the operation instrument to monitor the flow of the CPE port, which is used to test and verify the CPE device.

[0034] [Example 2] Figure 3 As shown in the figure: Building a transmission equipment test environment in the existing network production environment as an example The automated testing solution in the current production environment is as follows: Step 1: Test environment preparation: a.>The teacher in the transmission room assisted in creating a dedicated line for automated testing, namely OTN test dedicated line 6 for testing; b.>Client device 4 c.>Switch 3 d.> One or two test terminals 2; e.> One test instrument; f.>Automatic test scripts generated according to interface commands; Step 2: Build a test environment: In the existing network environment, the client equipment 4 (CPE) and the test instrument 5 are configured with the OTN test line 6, that is, the intranet IP segment of the existing network is connected to the network, and the network connection is adjusted. The test process is consistent with the laboratory environment. The teachers in the transmission room of the provincial and municipal companies construct the required test item messages through the southbound interface messages and instrument operation commands for testing. Finally, they check the message data returned by the equipment and instrument interface to confirm whether the test results meet the requirements.

[0035] Step 3: Arrange the automatic test script according to the interface command: There are two parts of the automated script involved: The first part is that the program connects to the transmission device through the southbound interface and issues various commands to operate the device. This part of the operation has been relatively successful. Equipment manufacturers generally have the ability to implement southbound control systems through the Netconf protocol, so I will not go into details. The second part is the program connecting and operating the instrument equipment by loading instructions, as follows: Organize the automation script for interaction with the instrument according to the TELNET command: 1. Establish connection with the instrument: *REM or *REM visible full 2. Read the basic information of the module: *IDN? 3. Exit remotely: *GUI 4. Start operating instrument test: :INIT 5. Exit test: :ABOR 6. Check if there is any error message: :SYST:ERR? 7. Exit the current application: :EXIT 8. Check whether the module is powered on and working: MOD:FUNC:SEL? BOTH,BASE,"BERT" 9. Check the module TCP / IP connection (remote connection) port: MOD:FUNC:PORT? BOTH,BASE,"BERT" 10. Check the number of TCP / IP Socket connection ports on the module: :SYST:FUNC:READY? BOTH,BASE,"BERT" 11. Check the TCP / IP remote control port on the module: :SYST:FUNC:PORT? BOTH,BASE,"BERT" 12. Create a test application: --Example 1: Create a 1G L2 layer traffic terminal test on port 1 :SYST:APPL:LAUN TermEth1GL2Traffic 1 --Example 2: Create a 100M L2 layer traffic terminal test on port 1 :SYST:APPL:LAUN TermEth100ML2Traffic 1 13. Check the execution of SCPI commands: *OPC? 14. View the currently running processes: :SYST:APPL:CAPP? 15. Select the test application: :SYST:APPL:SEL TermEth1GL2Traffic_101 16. Create a Session: :SESS:CRE 17. Close the Session: :SESS:END 18. Start a Session thread: :SESS:STAR 19. Start the laser: :OUTPUT:OPTIC ON 20. Flow switch: :SOURCE:MAC:TRAFFIC ON 21. Start the test :INIT 22. Get the instrument performance index parameter value: --Example 1: Get the number of sent frames :SENSe:DATA? COUNT:MAC:ETH:TX:FRAME --Example 2: Get the number of lost frames :SENSe:DATA? ECOUNT:MAC:PACKET:LOST --Example 3: Get the number of error frames :SENSe:DATA? ECOUNT:MAC:ETH:FRAME --Example 4: Get the peak value of packet jitter :SENSe:DATA? FLOAT:MAC:ETH:FILTER:PACKET:JITTER:PEAK --Example 5: Get layer 1 RX traffic :SENSe:DATA? RATE:MAC:ETH:FILTER:MBPS --Example 6: Get Layer 2 RX traffic value :SENSe:DATA? RATE:MAC:ETH:FILTER:MBPS:DATA If the above instructions are all TELNET instructions, you can choose JAVA, PYTHON, C++ and other languages ​​to write a script to load these instructions, and then connect to the instrument to realize the automation of various instructions of the instrument; Step 4: Debug the device network test environment Configure instrument test parameters, verify that instrument commands can receive instrument parameter indicators in real time during southbound testing and southbound interface testing; Step 5: Automated test scenario verification Automated test scenario 1: Device signaling interoperability test According to the southbound interface message, write a test script and execute it on the test PC. At the same time, the test items in the script can be used to call the operation instrument to monitor the flow of the CPE port through the script to achieve interoperability testing with the CPE device; Automated test scenario 2: Device port query collection test According to the port collection message, write a test script and call the southbound interface of the CPE device. At the same time, the test items in the script can be used to realize whether to call the operation instrument to monitor the flow of the CPE port through the script, so as to realize the device port collection test verification; Automated test scenario three: business creation and deletion test According to the service creation message, write a test script and call the southbound interface of the specified CPE device. At the same time, the test items in the script can be used to realize whether to call the operation instrument to monitor the flow of the CPE port, and realize the service creation, query, deletion, and protection switching test verification on the device; Automated test scenario 4: Network element configuration management test According to the network element configuration class (single board multiplexing, laser configuration, etc.) message, write a test script and call the southbound interface of the specified CPE device. The test items in the script can be realized through the script to call the operation instrument to monitor the flow of the CPE port, and realize the test verification of the CPE network element configuration management operation; Automated testing scenario 5: custom test items According to the southbound interface messages of multiple different test items of the device, a test script can be written, which can be combined to generate a specified test script according to the actual test objectives. Each test item can be implemented through the script to call the operation instrument to monitor the flow of the CPE port, which is used to test and verify the CPE device.

[0036] In summary, the transmission equipment testing method in the present invention is mainly implemented by constructing a test script method based on the southbound instructions of the equipment and the instrument operation instructions. During the test process, the engineer in the computer room connects the new equipment to the network and powers it on and configures the instrument environment. The user test configuration operation can be implemented remotely in the office. Multiple test scripts can be written for testing. In each test task, several test items can be combined in a sequential execution mode for verification. The southbound interface of each test result device is fed back to the test script log for the tester to view. Compared with the manual test solution, the automated test improves the test efficiency by more than 10 times; secondly, the test process data can be permanently saved, and each test item result and test report can be effectively recorded and saved for the overall analysis and evaluation of the existing network equipment later; thirdly, the automated test only requires the equipment operation and maintenance personnel to power on and configure the basic parameters such as IP in the computer room. The subsequent equipment test operation transmission expert can be implemented remotely in the office through tools or script writing combined with the southbound interface message. The feedback message of each test item of the device and the instrument flow result can be obtained in real time through the test script. The entire test process is converted from the original manual voice communication to the automatic interactive output confirmation of the program interface, and the rigor of the equipment test is greatly improved.

[0037] The present application also discloses a transmission equipment capability automated testing system, comprising: An environment building unit, used to build a transmission equipment test environment according to the working environment; A command calling unit is used to obtain interface commands based on the transmission equipment test environment, call preset scripts according to the interface commands, and configure test instrument parameters according to the interface commands; Execute preset scripts to automatically test transmission equipment and save the test results as test script logs for review.

[0038] In some embodiments, the preset script in the command calling unit includes: the program connects the transmission device through the southbound interface and the program connects the operation instrument device through the loading instruction The present application also discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned methods for automated testing of transmission equipment capabilities when executing the computer program.

[0039] The present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods for automated testing of transmission equipment capabilities are implemented.

[0040] In summary, the present invention belongs to the field of communication network transmission network, and specifically relates to a transmission equipment capacity automated testing method, system and electronic device, the method comprising: building a transmission equipment test environment according to a working environment; based on the transmission equipment test environment, obtaining an interface command, and calling a preset script according to the interface command; configuring the test instrument parameters according to the interface command; executing the preset script, automatically testing the transmission equipment, and saving the test results to form a test script log for viewing; by connecting the new equipment to the network and powering on and configuring the test environment, the user test configuration operation can be implemented remotely in the office, and the test is performed through the test script. Compared with the manual test scheme, the automated test improves the test efficiency by more than 10 times; each test item result and test report can be effectively recorded and saved for the subsequent overall analysis and evaluation of the existing network equipment; the automated test of this application only requires the equipment operation and maintenance personnel to power on and configure the basic parameters such as IP in the computer room, and the subsequent equipment test operation transmission expert can be remotely implemented in the office through tools or script writing combined with the southbound interface message, and can obtain and see the feedback message of each test item of the equipment and the instrument flow result in real time through the test script, and the entire test process is converted from the original manual voice communication to the automatic interactive output confirmation of the program interface, and the rigor of the equipment test is greatly improved.

[0041] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0042] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0043] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0044] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0045] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A transmission equipment capability automated testing method, characterized in that: include: Build a transmission equipment test environment according to the working environment; Based on the transmission equipment test environment, obtain the interface command and call the preset script according to the interface command; Configure test instrument parameters according to interface commands; Execute preset scripts, test instruments automatically test transmission equipment, and save test results as test script logs for review.

2. The method for automated testing of transmission equipment capability according to claim 1, characterized in that: The working environment includes a laboratory environment and a live network production environment; The transmission equipment test environment is constructed in the laboratory environment, specifically comprising: two client devices (4), a test instrument (5), a switch (3), a test server (1) and a test terminal (2); the two client devices (4), the test server (1) and the test terminal (2) are respectively connected to the switch (3), and the two client devices (4) are connected to each other and are respectively connected to the test instrument (5).

3. A transmission equipment capability automated testing method according to claim 2, characterized in that: The transmission equipment test environment is constructed in the existing network production environment, specifically comprising: a test instrument (5), a switch (3), a client device (4), an OTN test dedicated line (6) and a test terminal (2); the client device (4) is connected to the test instrument (5), and the client device (4) and the test instrument (5) are connected to the OTN test dedicated line (6) through the switch (3), and the test terminal (2) is connected to the OTN test dedicated line (6) through the switch (3).

4. The method for automated testing of transmission equipment capability according to claim 1, characterized in that: The preset script includes: a program connecting a transmission device via a southbound interface and a program connecting an operating instrument device via a loading instruction.

5. The method for automated testing of transmission equipment capability according to claim 1, characterized in that: The configuring of the test instrument parameters according to the interface command specifically includes: configuring the instrument test parameters so that when verifying the southbound test and the southbound interface test, the instrument command can be operated in real time and the instrument parameter indicators can be received.

6. The method for automated testing of transmission equipment capability according to claim 1, characterized in that: The test scenarios of the test instrument for automatically testing the transmission equipment include: equipment signaling intercommunication test, equipment port query and collection test, service creation and deletion test, network element configuration management test and custom test items.

7. A transmission equipment capability automated testing system, characterized in that: include: An environment building unit, used to build a transmission equipment test environment according to the working environment; A command calling unit, used to obtain an interface command based on a transmission device test environment, and call a preset script according to the interface command; Configure test instrument parameters according to interface commands; The execution unit is used to execute the preset script, test the instrument to automatically test the transmission equipment, and save the test results to form a test script log for viewing.

8. The transmission equipment capability automatic testing system according to claim 7, characterized in that: The preset script in the command calling unit includes: a program connecting to a transmission device via a southbound interface and a program connecting to an operating instrument device via a loading instruction.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for automated testing of transmission equipment capabilities as described in any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for automated testing of transmission equipment capabilities according to any one of claims 1 to 6.