Network device compatibility test method, apparatus, device, and storage medium

By forming a testing system with automated control modules and accompanying testing equipment, the problem of low efficiency in network equipment compatibility testing is solved, and efficient compatibility testing is achieved.

CN115988524BActive Publication Date: 2026-04-07SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-26
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing technologies for network device compatibility testing are inefficient, and manual correlation testing is cumbersome and resource-intensive.

Method used

By configuring the wireless information of the device under test, an association is established with the companion devices. The test application in the companion devices is called to perform compatibility testing. The automated control module and multiple companion devices form a test system, simplifying manual operation.

Benefits of technology

It improves the efficiency of network device compatibility testing, saves testing time, simplifies operation steps, and expands the coverage of compatibility testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115988524B_ABST
    Figure CN115988524B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and storage medium for network device compatibility testing. The method includes: configuring the wireless information of the device under test (DUT); configuring the terminal information of each companion device based on the wireless information, establishing an association between the DUT and each companion device; and calling the test application in each companion device to perform compatibility testing on the DUT with the established association, thereby obtaining multiple sets of compatibility test results between the DUT and the companion devices with the established association. This invention improves the efficiency of compatibility testing by associating the DUT and companion devices and controlling the companion devices to perform compatibility testing.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a network device compatibility testing method, device and storage medium. BACKGROUND

[0002] With the rapid development of society, the application of wireless local area networks is becoming more and more widespread, and the types of wireless terminals are also increasing. WiFi terminals such as mobile phones, tablets, notebooks and smart homes are almost everywhere, and the performance requirements of these terminal devices for wireless networks are also increasing. In order to meet the needs of flexible use of multiple terminals, the transmission capacity of wireless APs (Access Point) and the compatibility of different types of WiFi terminals also need to be enhanced.

[0003] Currently, the parameters of WiFi terminals are mainly set manually, and then the AP device is associated with each WiFi terminal to test the compatibility between the AP device and the WiFi terminal. Due to the large number of WiFi terminals that need to be tested in the network, the manual association test method leads to complicated test steps and consumes a large amount of network resources, thus resulting in low test efficiency. SUMMARY

[0004] The main purpose of the present application is to provide a network device compatibility testing method, device and storage medium, which aims to solve the problem of low compatibility test efficiency of network devices.

[0005] To achieve the above purpose, the present application provides a network device compatibility testing method, which comprises:

[0006] configuring wireless information of a to-be-tested device;

[0007] configuring terminal information of each test device according to the wireless information, and establishing an association relationship between the to-be-tested device and each test device;

[0008] invoking a test application in each test device to test the compatibility of the to-be-tested device with the test device having the association relationship, and obtaining a plurality of sets of compatibility test results between the to-be-tested device and the test device having the association relationship.

[0009] Optionally, the step of configuring wireless information of a to-be-tested device comprises:

[0010] obtaining a preset test case;

[0011] controlling the to-be-tested device through a first communication channel between the to-be-tested device and the test device, and configuring the wireless information of the to-be-tested device according to the test case.

[0012] Optionally, the step of configuring terminal information of each of the test devices according to the wireless information and establishing an association relationship between the test device and each of the test devices comprises:

[0013] connecting a second communication channel between the test device and each of the test devices;

[0014] controlling each of the test devices to configure the terminal information according to encryption information in the wireless information through the second communication channel, and forming a network connection between the test device and each of the test devices.

[0015] Optionally, the step of connecting a second communication channel between the test device and each of the test devices comprises:

[0016] identifying a terminal type of each of the test devices;

[0017] connecting a corresponding second communication channel according to the terminal type.

[0018] Optionally, the step of calling a test application in each of the test devices to perform a compatibility test on the test device existing in the association relationship to obtain a plurality of groups of compatibility test results between the test device and the test devices existing in the association relationship comprises:

[0019] connecting a service control module;

[0020] sending a test instruction to the service control module to control the test application in each of the test devices to perform a throughput test, a connectivity test and / or an application test on the test device existing in the association relationship according to the test instruction through the service control module to obtain each test result.

[0021] Optionally, after the step of sending a test instruction to the service control module to control the test application in each of the test devices to perform a throughput test, a connectivity test and / or an application test on the test device existing in the association relationship according to the test instruction through the service control module to obtain each test result, the method further comprises:

[0022] performing a compatibility score on each of the test results according to a preset compatibility test standard to obtain a score result;

[0023] generating a compatibility test report of the test device according to the score result.

[0024] Optionally, before the step of configuring wireless information of the test device, the method further comprises:

[0025] performing an initialization process on each of the test devices, and receiving test device information fed back by each of the test devices based on the initialization process;

[0026] Determine the working state of each of the auxiliary measuring devices according to the auxiliary measuring device information.

[0027] In addition, to achieve the above object, the present application also provides a network device compatibility testing device, which comprises:

[0028] A configuration module is configured to configure wireless information of the device under test.

[0029] An association module is configured to configure terminal information of each auxiliary measuring device according to the wireless information, so as to associate the device under test with each auxiliary measuring device.

[0030] A testing module is configured to call a test application in each auxiliary measuring device to perform compatibility testing, and obtain compatibility testing results between the device under test and each auxiliary measuring device.

[0031] In addition, to achieve the above object, the present application also provides an electronic device, which comprises a memory, a processor, and a network device compatibility testing program stored in the memory and executable on the processor, and the network device compatibility testing program is configured to implement the steps of the network device compatibility testing method as described above.

[0032] In addition, to achieve the above object, the present application also provides a computer readable storage medium, which stores a network device compatibility testing program, and the network device compatibility testing program implements the steps of the network device compatibility testing method as described above when executed by a processor.

[0033] The network device compatibility testing method provided by the present application configures wireless information of a device under test, configures terminal information of each auxiliary measuring device according to the wireless information, establishes an association relationship between the device under test and each auxiliary measuring device, calls a test application in each auxiliary measuring device to perform compatibility testing on the device under test existing the association relationship, and obtains multiple groups of compatibility testing results between the device under test and the auxiliary measuring devices existing the association relationship. Different types and quantities of auxiliary measuring devices can be associated with the device under test through wireless information to form a testing system, and then compatibility testing is performed by controlling the auxiliary measuring devices in the testing system to obtain compatibility testing results between the device under test and multiple auxiliary measuring devices. The operation of manually associating each auxiliary measuring device by a tester is saved, and the compatibility testing efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS

[0034] Figure 1 A structural schematic diagram of an electronic device related to a hardware running environment of an embodiment of the present application;

[0035] Figure 2Flowchart of the network equipment compatibility test method according to the first embodiment of the present application;

[0036] Figure 3 A test environment topology related to the network equipment compatibility test method according to the present application;

[0037] Figure 4 Working schematic diagram of the first automatic control component related to the network equipment compatibility test method according to the present application;

[0038] Figure 5 Working schematic diagram of the second automatic control component related to the network equipment compatibility test method according to the present application;

[0039] Figure 6 Working schematic diagram of the third automatic control component related to the network equipment compatibility test method according to the present application;

[0040] Figure 7 Schematic diagram of the network equipment compatibility test device according to the present application.

[0041] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0042] It should be understood that the specific embodiments described herein merely set forth preferred combinations of components and / or other features according to the present application, and that the scope of the present application is not limited to these specific embodiments.

[0043] Reference Figure 1 , Figure 1 Schematic diagram of the electronic device structure of the hardware running environment related to the embodiment of the present application.

[0044] As Figure 1As shown, the electronic device can include a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between the components. The user interface 1003 can include a display, an input unit such as a keyboard, and can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 can be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.

[0045] Those skilled in the art can understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0046] As Figure 1 As shown, the memory 1005 as a storage medium can include an operating system, a network communication module, a user interface module, and a network device compatibility test program.

[0047] In Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present application can be arranged in the electronic device, and the electronic device calls the network device compatibility test program stored in the memory 1005 through the processor 1001, and executes the network device compatibility test method provided by the embodiment of the present application.

[0048] The embodiment of the present application provides a network device compatibility test method, which refers to Figure 2 , Figure 2 The flowchart of the first embodiment of the network device compatibility test method of the present application.

[0049] In this embodiment, the network device compatibility test method comprises:

[0050] Step S10, configuring the wireless information of the device to be tested;

[0051] Figure 3 A topology of a compatibility test environment is shown in FIG. 1. Figure 3 As shown in FIG. 1, the automation control module is the main control part of the test environment. The automation control module is connected with the DUT, and the number of the connected DUTs can be one or more. The connection mode can be wired connection. The automation control module can also be connected with multiple test devices through the switching control module. The switching control module can be a two-layer switch or a three-layer switch. The test devices can be Android terminals, IOS terminals and other terminals. The test devices have WiFi connection function and can be connected with the DUT through WiFi. The number of each type of test device can be multiple, and the switching control modules can be connected with each other. The automation control module can also be connected with various types of service control modules through wired or wireless mode, and control different types of WiFi terminals corresponding to the types of test devices. The types of service control modules can include Android service control module, IOS service control module and other service control module. The service control module can be a server.

[0052] Based on the above compatibility test environment, the execution subject of the embodiment can be the automation control module, which can be a desktop computer, a mobile phone, a tablet computer, a notebook computer and the like. The automation control module is taken as the execution subject for description below.

[0053] The DUT refers to the AP device for compatibility test, such as a router and a gateway. The purpose of the compatibility test is to test the compatibility between the AP device and the WiFi terminal, which is the test device. The wireless information refers to the information related to the connection of the AP device with the wireless network. Configuring the wireless information of the DUT can be regarded as the process of setting the network connection related information of the AP device. The embodiment does not limit the way of configuring the wireless information. In a feasible implementation, the automation control module can receive the wireless information uploaded by the tester and configure the wireless information of the DUT.

[0054] In a feasible implementation, before the step of configuring the wireless information of the DUT, the method can further include:

[0055] a. initializing each test device and receiving test device information fed back by each test device based on the initialization processing;

[0056] The initialization process can be regarded as a process of performing a factory reset operation on the test equipment, and the initialization process can clear residual data in the test equipment to avoid affecting subsequent tests. After the initialization process, the test equipment can feed back test equipment information to the automatic control module, and the automatic control module can distinguish multiple test equipment through the test equipment information. For example, the test equipment information can include device identification information, and different types of test equipment can be numbered according to the device identification information.

[0057] Step b, determining the working state of each test equipment according to the test equipment information.

[0058] The test equipment information can also include state information. After the initialization process of the test equipment, the test equipment generates state information according to whether the steps involved in the initialization process are successfully performed. After the test equipment information is fed back to the automatic control module, the automatic control module can determine the working state of the test equipment according to the state information. In the case where the state information indicates that all initialization steps are successfully performed, it is determined that the working state of the test equipment is normal, and it is ensured that the subsequent compatibility test can be successfully performed in the normal test equipment.

[0059] The object of the initialization process can also be other devices in the test environment, or the network connection between devices, so that each related device and the connection channel in the test environment after the initialization process work normally.

[0060] Step S20, configuring terminal information of each test equipment according to the wireless information, and establishing an association relationship between the test equipment and each test equipment;

[0061] The terminal information refers to the information used by the test equipment to associate with the test equipment, and the association relationship refers to the network connection relationship formed between the test equipment and the test equipment. The present embodiment does not limit the way of configuring the terminal information of the test equipment. For example, the automatic control module can send the wireless information to the test equipment, the test equipment identifies the wireless information, and then extracts the required terminal information to associate with the test equipment through the terminal information.

[0062] Step S30, calling a test application in each test equipment to perform a compatibility test on the test equipment existing in the association relationship, and obtaining multiple groups of compatibility test results between the test equipment and the test equipment existing in the association relationship.

[0063] The test application can be a network-based app or webpage installed on the test device, meaning it requires a network connection to access information, images, etc. Compatibility testing refers to testing the compatibility of the device under test (DUT) with different numbers and types of test devices. The compatibility test results are obtained upon completion of the test. Each DUT can establish associations with multiple test devices, and each DUT corresponds to a set of compatibility test results. This embodiment does not restrict the method of calling the test application for compatibility testing. For example, the automation control module can send test information to the test devices, and the test devices can start or run the test application based on the test information. The compatibility test results are obtained from the running status of the test application. If the test application runs normally, it indicates that the compatibility between the test device and the DUT is good.

[0064] In this embodiment, the wireless information of the device under test (DUT) is configured; the terminal information of each companion device is configured according to the wireless information, establishing an association between the DUT and each companion device; the test application in each companion device is invoked to perform compatibility testing on the DUT with the associated relationship, obtaining multiple sets of compatibility test results between the DUT and the associated companion devices. Different types and numbers of companion devices can be associated with the DUT via wireless information to form a test system. Compatibility testing is then performed by controlling the companion devices within the test system, obtaining compatibility test results between the DUT and multiple companion devices. This eliminates the need for testers to manually associate each companion device, saving testing time and improving compatibility testing efficiency.

[0065] Based on the first embodiment described above, a second embodiment of the network device compatibility testing method of the present invention is proposed. In this embodiment, the method includes:

[0066] Step S11: Obtain the preset test cases;

[0067] Pre-defined test cases refer to descriptions of test tasks determined based on actual testing needs, including test items, test environment, test steps, and test scripts. Test cases can be uploaded to the automated testing module by testers, or they can be written by testers using the automated testing module.

[0068] Step S12: Control the device under test through the first communication channel with the device under test, and configure the wireless information of the device under test according to the test case.

[0069] The first communication channel refers to the communication connection channel between the device under test (DUT) and the automation control module. The automation control module can control the DUT through the first communication channel. The first communication channel can be an HTTP (Hypertext Transfer Protocol) channel or a TCP (Transmission Control Protocol) channel. The automation control module can consist of multiple automation control components, where the first automation control component uses the first communication channel to control the DUT. Figure 4 This is a schematic diagram of the operation of the first automated control component, as shown below. Figure 4 As shown, the device under test and the accompanying device can communicate via an HTTP channel or a TCP channel. The first automation control component uses the first communication to configure the wireless information of the device under test.

[0070] The wireless information of the device under test (DUT) may include wireless operating mode, frequency band, channel, encryption method, etc. Wireless operating modes may include Router mode, AP (Access Point) mode, Repeater mode, Bridge mode, and Client mode. Frequency band refers to the frequency band in which the DUT operates, which can be 2.4 GHz and / or 5 GHz. Channel is the path through which signals are transmitted in a communication system, consisting of the transmission medium through which signals travel from the transmitter to the receiver. In this embodiment, it can refer to the channel for wireless data transmission. Channel is related to frequency band; both the 2.4 GHz and 5 GHz bands contain multiple usable channels. Encryption methods may include WEP (Wired Equivalent Privacy) and WPA (Wi-Fi Protected Access), with WPA also updated to WPA2 and WPA3. The first automated control component can configure the above wireless information of the DUT according to the test cases to test the DUT's operation under different conditions.

[0071] In this embodiment, the device under test is controlled through the first communication channel, and the wireless information of the device under test is configured according to the test cases, so that the testing process of the device under test can be automated according to the test cases.

[0072] Based on the first and / or second embodiments described above, a third embodiment of the network device compatibility testing method of the present invention is proposed. In this embodiment, the method includes:

[0073] Step S21: Connect the second communication channel with each of the accompanying testing devices;

[0074] The second communication channel serves as the communication channel between the automation control module and the accompanying testing devices. The automation control module can control each accompanying testing device through the second communication channel. The automation control module may include a second automation control component, which connects to the second communication channel with the accompanying testing devices.

[0075] In one feasible implementation, the step of connecting the second communication channel with each of the accompanying testing devices may include:

[0076] Step c: Identify the terminal type of each of the accompanying testing devices;

[0077] There are many types of WiFi terminals available for testing. The testing system can identify the operating system used by the terminal and classify the terminal type into Android terminals, iOS terminals, and other terminals.

[0078] Step d: Connect the corresponding second communication channel according to the terminal type.

[0079] Figure 5 This is a schematic diagram of the operation of the second automation control component, such as... Figure 5 As shown, the second automated control component can control the test devices and configure their terminal information using channels such as ADB, Xcode, HTTP, and TCP. Android terminals can correspond to the ADB (Android Debug Bridge) channel, iOS terminals to the Xcode channel, and other terminals to the HTTP or TCP channel. ADB is a tool in the Android SDK (Software Development Kit), which allows for direct and convenient operation and management of Android devices. Xcode is an integrated development environment (IDE) that runs on the Mac OS X operating system, facilitating the development of iOS applications. Connecting to different second communication channels based on the type of terminal device facilitates the control of the test devices.

[0080] Step S22: Control each of the companion devices to configure the terminal information according to the encryption information in the wireless information through the second communication channel, and form a network connection between the device under test and each of the companion devices.

[0081] Encrypted information refers to information in the wireless signal related to the encryption method of the device under test (DUT). By configuring the terminal information of the companion device, it can receive the WiFi signal provided by the DUT and establish a network connection. The encrypted information may include the SSID (Service Set Identifier), WiFi account information, and WiFi password information. After configuring the terminal information, the companion device and the DUT can transmit data wirelessly. Different types of companion devices can be associated with the DUT, and the companion devices are relatively independent and do not interfere with each other.

[0082] In this embodiment, different types of auxiliary testing devices are configured through the second communication channel, which associates the auxiliary testing devices with the device under test. This eliminates the need for testers to manually associate the auxiliary testing devices, simplifying the compatibility testing process and improving testing efficiency.

[0083] Based on the first, second, and / or third embodiments described above, a fourth embodiment of the network device compatibility testing method of the present invention is proposed. In this embodiment, the method includes:

[0084] Step S31: Connect to the service control module;

[0085] The service control module is a module that can control the test equipment. Data can be transmitted between the service control module and the test equipment through the exchange control module.

[0086] Step S32: Send a test command to the service control module so that the test application in each of the companion devices can perform throughput testing, connectivity testing and / or application testing on the devices under test with the associated relationship according to the test command, and obtain the test results.

[0087] Figure 6 This is a schematic diagram of the operation of the third automation control component, such as... Figure 6As shown, the third automated control component can connect to various service control modules, including Android service control modules, iOS service control modules, and other service control modules. These service control modules call the test applications in the test device to perform various tests. Compatibility testing items can include throughput testing, connectivity testing, and / or application testing. Throughput represents the amount of data transmitted through the device under test per unit time. Connectivity represents the smoothness of the network signal connecting the test device to the device under test; under normal connectivity, data packets can be transmitted between the device under test and the test device. Application testing refers to testing the network usage of apps or web pages in the test device. Currently, most apps can access online resources through network connections; therefore, application testing reflects whether the network connection of the test device is functioning correctly.

[0088] During testing, the automation control module can send test commands to the service control module. The service control module then activates the test application in the test device according to the test commands, configures the test application for testing, controls its operation, and performs various tests. After the tests are completed, the automation control module records the test results. In this embodiment, compatibility testing is represented by the results of the aforementioned test items. However, actual compatibility testing can include more test items and can be adjusted according to actual testing needs.

[0089] In one feasible implementation, after sending a test command to the service control module to control the test applications in each of the companion devices to perform throughput testing, connectivity testing, and / or application testing on the devices under test with the associated relationship according to the test command, and obtaining the test results, the method may further include:

[0090] Step e: Calculate the compatibility score of each test result according to the preset compatibility test standard, and obtain the score result;

[0091] The compatibility testing standard includes various compatibility test items and corresponding standard data, which can be adjusted according to actual needs. The compatibility score can be considered a score based on the degree of matching between the compatibility testing standard and the test results. For example, if the tested throughput is close to the throughput in the compatibility testing standard, the throughput test score is 10 points, and the sum of the scores for other test items is the final total score. Alternatively, each item can be scored individually, with a score threshold set for each item. If the score result does not reach the score threshold, the test item is considered unqualified.

[0092] Step f: Generate a compatibility test report for the device under test based on the scoring results.

[0093] The automated control module can automatically integrate the scoring results into a compatibility test report. This report allows testers to evaluate the compatibility of the device under test and analyze compatibility issues. Understandably, the compatibility test report can directly display the scoring results or provide analysis of them. If the score is below the threshold, the test item is displayed as a failure. The compatibility test report provides a clear overview of the test items and results, helping testers quickly understand the testing status of the device under test.

[0094] In this embodiment, the automation control module controls the test equipment to perform various compatibility tests through the service control module. The service control module and the test equipment can correspond to each other, realizing the testing of different types of test equipment and expanding the coverage of compatibility testing.

[0095] This invention also provides a network device compatibility testing apparatus, such as... Figure 7 As shown, the network device compatibility testing device includes:

[0096] Configuration module 101 is used to configure the wireless information of the device under test;

[0097] The association module 102 is used to configure the terminal information of each companion device according to the wireless information and establish the association relationship between the device under test and each companion device.

[0098] The test module 103 is used to call the test application in each of the companion test devices to perform compatibility tests on the device under test that has the relationship, and obtain multiple sets of compatibility test results between the device under test and the companion test devices that have the relationship.

[0099] Optionally, the configuration module 101 is also used for:

[0100] Obtain preset test cases;

[0101] The device under test is controlled through a first communication channel, and wireless information is configured for the device under test according to the test cases.

[0102] Optionally, the association module 102 is also used for:

[0103] A second communication channel is established between the test equipment and each of the aforementioned auxiliary test devices;

[0104] The second communication channel controls each of the companion devices to configure the terminal information according to the encrypted information in the wireless information, thereby forming a network connection between the device under test and each of the companion devices.

[0105] Optionally, the association module 102 is also used for:

[0106] Identify the terminal type of each of the aforementioned companion testing devices;

[0107] Connect to the corresponding second communication channel according to the terminal type.

[0108] Optionally, the test module 103 is also used for:

[0109] Connection service control module;

[0110] A test command is sent to the service control module so that the test application in each of the companion devices can perform throughput testing, connectivity testing, and / or application testing on the devices under test that have the associated relationship according to the test command, and obtain the test results.

[0111] Optionally, the test module 103 is also used for:

[0112] The test results are scored according to the preset compatibility test standards to obtain the score results;

[0113] A compatibility test report for the device under test is generated based on the scoring results.

[0114] Optionally, the network equipment compatibility testing apparatus further includes an initialization module for:

[0115] The accompanying testing devices are initialized, and the accompanying testing device information fed back by each of the accompanying testing devices based on the initialization process is received.

[0116] The working status of each of the accompanying testing devices is determined based on the information of the accompanying testing devices.

[0117] This invention also provides an electronic device, comprising: a memory, a processor, and a network device compatibility testing program stored in the memory and executable on the processor. The network device compatibility testing program is configured to implement the steps of the network device compatibility testing method described above. Specific implementation details of the electronic device of this invention can be found in the various embodiments of the network device compatibility testing method described above, and will not be repeated here.

[0118] This invention also provides a computer-readable storage medium storing a network device compatibility testing program. When executed by a processor, the network device compatibility testing program implements the steps of the network device compatibility testing method described above. Specific implementation details of the computer-readable storage medium are found in the various embodiments of the network device compatibility testing method described above, and will not be repeated here.

[0119] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0120] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0121] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0122] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A method for testing network device compatibility, characterized in that, The network device compatibility testing method is applied to an automated control module, which connects to various types of service control modules. The service control module establishes a connection with the test devices through a switching control module. The communication channel between the automated control module and the test devices is a second communication channel. Different types of test devices use different second communication channels. A service control module of the same type controls multiple test devices of the same terminal type. The various types of service control modules include Android service control modules, iOS service control modules, and other service control modules. The terminal types of the accompanying testing devices include Android terminals, iOS terminals, and other terminals. The automation control module, the Android service control module, the exchange control module, and the Android terminal are connected in sequence. The automation control module, the iOS service control module, the exchange control module, and the iOS terminal are connected in sequence. The automation control module, the other service control modules, the exchange control module, and the other terminals are connected in sequence. The network device compatibility testing method includes the following steps: Configure the wireless information of the device under test; Configure the terminal information of each companion device according to the wireless information, and establish the association relationship between the device under test and each companion device. The test applications in each of the aforementioned companion devices are invoked to perform compatibility tests on the device under test that has the aforementioned relationship, thereby obtaining multiple sets of compatibility test results between the device under test and the companion devices that have the relationship. The second communication channel for the Android terminal is the ADB channel, the second communication channel for the iOS terminal is the Xcode channel, and the second communication channel for the other terminals is the HTTP or TCP channel. The step of configuring the terminal information of each companion device according to the wireless information and establishing the association between the device under test and each companion device includes: For the test device whose terminal type is Android, the wireless information is sent to the Android service control module. The Android service control module controls multiple test devices whose terminal type is Android through the ADB channel, configures the terminal information according to the encrypted information in the wireless information, and establishes network connections between the device under test and each test device whose terminal type is Android. For the test device whose terminal type is iOS, the wireless information is sent to the iOS service control module. The iOS service control module controls multiple test devices whose terminal type is iOS through the Xcode channel, configures the terminal information according to the encryption information in the wireless information, and establishes network connections between the device under test and each test device whose terminal type is iOS. For the companion devices whose terminal type is other, the wireless information is sent to the other service control module. The other service control module controls multiple companion devices whose terminal type is other through the HTTP or TCP channel, configures the terminal information according to the encryption information in the wireless information, and establishes network connections between the device under test and each companion device whose terminal type is other.

2. The network device compatibility testing method as described in claim 1, characterized in that, The steps for configuring the wireless information of the device under test include: Obtain preset test cases; The device under test is controlled through a first communication channel, and wireless information is configured for the device under test according to the test cases.

3. The network device compatibility testing method as described in claim 1, characterized in that, The step of calling the test applications in each of the accompanying test devices to perform compatibility tests on the device under test with the associated relationship, and obtaining multiple sets of compatibility test results between the device under test and the associated accompanying test devices includes: Connect to the service control module; A test command is sent to the service control module so that the test application in each of the companion devices can perform throughput testing, connectivity testing, and / or application testing on the devices under test that have the associated relationship according to the test command, and obtain the test results.

4. The network device compatibility testing method as described in claim 3, characterized in that, After the step of sending test instructions to the service control module to control the test applications in each of the companion devices to perform throughput testing, connectivity testing, and / or application testing on the devices under test with the associated relationship according to the test instructions, and obtaining the test results, the method further includes: The test results are scored according to the preset compatibility test standards to obtain the score results; A compatibility test report for the device under test is generated based on the scoring results.

5. The network device compatibility testing method according to any one of claims 1-4, characterized in that, Prior to the step of configuring the wireless information of the device under test, the following steps are also included: The accompanying testing devices are initialized, and the accompanying testing device information fed back by each of the accompanying testing devices based on the initialization process is received. The working status of each of the accompanying testing devices is determined based on the information of the accompanying testing devices.

6. A network device compatibility testing device, characterized in that, The network device compatibility testing device is located within the automated control module. This automated control module connects to various types of service control modules. The service control module establishes a connection with the test devices via a switching control module. The communication channel between the automated control module and the test devices is a second communication channel. Different types of test devices use different second communication channels. A service control module of the same type controls multiple test devices of the same terminal type. The various types of service control modules include Android service control modules, iOS service control modules, and other service control modules. The terminal types of the accompanying testing devices include Android terminals, iOS terminals, and other terminals. The automation control module, the Android service control module, the exchange control module, and the Android terminal are connected in sequence. The automation control module, the iOS service control module, the exchange control module, and the iOS terminal are connected in sequence. The automation control module, the other service control modules, the exchange control module, and the other terminals are connected in sequence. The network device compatibility testing device includes: The configuration module is used to configure the wireless information of the device under test. The association module is used to configure the terminal information of each companion device according to the wireless information, so that the device under test is associated with each companion device; wherein, the second communication channel corresponding to the Android terminal is the ADB channel, the second communication channel corresponding to the iOS terminal is the Xcode channel, and the second communication channel corresponding to other terminals is the HTTP or TCP channel; the step of configuring the terminal information of each companion device according to the wireless information and establishing the association relationship between the device under test and each companion device includes: for the companion device whose terminal type is Android terminal, sending the wireless information to the Android service control module, and the Android service control module controlling multiple companion devices whose terminal type is Android terminal through the ADB channel, configuring the terminal information according to the encrypted information in the wireless information, and associating the device under test with each companion device. Network connections are established between the Android-type test devices. For the iOS-type test devices, the wireless information is sent to the iOS service control module. The iOS service control module controls multiple iOS-type test devices through the Xcode channel, configures the terminal information according to the encryption information in the wireless information, and establishes network connections between the device under test and each iOS-type test device. For other-type test devices, the wireless information is sent to other service control modules. The other service control modules control multiple other-type test devices through the HTTP or TCP channel, configure the terminal information according to the encryption information in the wireless information, and establish network connections between the device under test and each other-type test device. The testing module is used to call the testing applications in each of the accompanying testing devices to perform compatibility testing and obtain the compatibility test results between the device under test and each of the accompanying testing devices.

7. An electronic device, characterized in that, The electronic device includes: a memory, a processor, and a network device compatibility testing program stored in the memory and executable on the processor, the network device compatibility testing program being configured to implement the steps of the network device compatibility testing method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a network device compatibility test program, which, when executed by a processor, implements the steps of the network device compatibility test method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and system for testing router compatibility

    CN107864067A

  • Terminal Wi-Fi compatibility test method, device, system, equipment and medium

    CN113038499A

  • Wireless AP equipment testing method and device, computer equipment and readable storage medium

    CN113873567A