Script testing method and device
A script test and script technology, applied in the field of communication systems, can solve the problems of consuming a lot of manpower and material resources, a huge amount of query tasks, a huge number of equipment, etc., and achieve the effect of reducing the consumption of manpower and material resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] The embodiment of the present invention provides a script testing method, which is applied to a script testing device, and the script testing device is directly connected to the network equipment and the operation and maintenance system, such as figure 1 As shown, can include:
[0032] Step 101. Receive service request information sent by the operation and maintenance system, where the service request information includes device information of network devices and mode parameters used to indicate the service execution mode of the operation and maintenance system.
[0033] Step 102: Determine the first script corresponding to the device information of the network device according to the stored correspondence between the device information and the test script.
[0034] Step 103, if it is determined that the mode indicated by the mode parameter is a test mode, load and execute the first script.
[0035] Step 104: Determine the first simulation file corresponding to the dev...
Embodiment 2
[0048] The embodiment of the present invention provides another script test method, which is applied to test systems such as figure 2 As shown, the system may include a test system, an operation and maintenance system, a script test device and a plurality of network devices. In this system, the operation and maintenance system can directly communicate with the test system and the script test device, and the script test device is directly connected with each network device. The script testing device is used to test the scripts of the network equipment, and the script testing device can also save scripts and simulation files, and the scripts in the embodiment of the present invention are Javascript scripts supported by each network equipment.
[0049] Such as image 3 As shown, the method may include:
[0050] Step 201, the script testing device collects device information, instructions and return results of each network device.
[0051] When the test system tests the script...
Embodiment 3
[0092] The embodiment of the present invention provides a script test device 30, such as Figure 4 As shown, can include:
[0093]The receiving unit 301 is configured to receive service request information sent by the operation and maintenance system, where the service request information includes device information of network devices and mode parameters used to indicate the service execution mode of the operation and maintenance system.
[0094] The determining script unit 302 is configured to determine the first script corresponding to the device information of the network device according to the stored correspondence between the device information and the test script.
[0095] The execution unit 303 is configured to load and execute the first script if it is determined that the mode indicated by the mode parameter is a test mode.
[0096] Determine a simulation file unit 304, configured to determine a first simulation file corresponding to the device information of the net...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com