CN118118937A - Wireless device and router compatibility testing method and device - Google Patents

Wireless device and router compatibility testing method and device Download PDF

Info

Publication number
CN118118937A
CN118118937A CN202410356836.9A CN202410356836A CN118118937A CN 118118937 A CN118118937 A CN 118118937A CN 202410356836 A CN202410356836 A CN 202410356836A CN 118118937 A CN118118937 A CN 118118937A
Authority
CN
China
Prior art keywords
test
router
compatibility
wireless
wireless device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410356836.9A
Other languages
Chinese (zh)
Inventor
麻长存
杨荣祥
陆海坤
王梦雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Midea Group Shanghai Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Midea Group Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd, Midea Group Shanghai Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202410356836.9A priority Critical patent/CN118118937A/en
Publication of CN118118937A publication Critical patent/CN118118937A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for testing compatibility of wireless equipment and a router, which belong to the technical field of communication, and the wireless equipment is in communication connection with the electronic equipment through a USB interface of the electronic equipment, and comprises the following steps: receiving a compatibility test instruction; responding to the compatibility test instruction, and issuing a networking drive instruction to the wireless equipment, wherein the networking drive instruction at least comprises network allocation information; and receiving a test log fed back by the wireless device, wherein the test log at least comprises log information of the wireless device for responding to the networking driving instruction to establish communication connection with the target router. According to the method and the device for testing the compatibility of the wireless equipment and the router, provided by the invention, the simulation of the wireless networking equipment is realized by utilizing the USB interface provided by the electronic equipment, and the testing efficiency of the networking test of the wireless equipment is improved by accurately refining the testing point, so that the manpower resources are effectively saved, and the objectivity and the accuracy of the detection result are ensured.

Description

Wireless device and router compatibility testing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for testing compatibility between a wireless device and a router.
Background
Home wireless networks, such as WIFI networks, have become one of the most popular networking modes currently, and more electronic devices support networking and telecommunications over WIFI connections. With the rise of intelligent devices, more and more electronic devices with WIFI modules (hereinafter referred to as "WIFI devices") are required to access a network. The WIFI protocol is a protocol which is continuously updated in an iterative mode, so that a WIFI router continuously enters the market with new products, but due to the variety of communication chips of the WIFI router and the WIFI equipment and the diversity of protocol implementation, the situation that the WIFI router and the WIFI equipment are incompatible with each other possibly occurs, and the WIFI equipment cannot be connected with the WIFI router.
For WIFI equipment which is already in the market or is about to enter the market, compatibility tests need to be carried out on routers such as mainstream brands, models, configurations and the like in the current market to ensure that the routers can be successfully connected in a standard protocol framework. The test is usually mainly performed manually, and each time, a designated WIFI router needs to be found and designated distribution network information needs to be configured. Verifying the reliability of networking, etc., thus consuming very much manpower and material resources.
Therefore, how to accurately refine the test points through the technical means improves the test efficiency of the networking compatibility of the WIFI equipment and the WIFI router, and saves human resources becomes a topic to be solved urgently.
Disclosure of Invention
The invention provides a method and a device for testing compatibility of wireless equipment and a router, which are used for solving the defects existing in the prior art when the compatibility test of the wireless equipment and the router is carried out manually, realizing automatic test, improving test efficiency and test precision and saving human resources.
In a first aspect, the present invention provides a method for testing compatibility between a wireless device and a router, which is applied to an electronic device, where the wireless device is communicatively connected to the electronic device through a USB interface of the electronic device; the test method comprises the following steps:
Receiving a compatibility test instruction, wherein the compatibility test instruction carries test information for carrying out compatibility test on the wireless equipment connected with at least one target router;
responding to the compatibility test instruction, and sending a networking drive instruction to the wireless device, wherein the networking drive instruction at least comprises network distribution information, and the network distribution information is determined based on networking requirements connected to the target router;
and receiving a test log fed back by the wireless device, wherein the test log at least comprises log information of the wireless device for responding to the networking driving instruction to establish communication connection with the target router.
According to the method for testing the compatibility of the wireless device and the router, before responding to the compatibility testing instruction and issuing a networking driving instruction to the wireless device, the method further comprises the following steps:
A first driving instruction is sent to a programmable power supply distribution unit, wherein the first driving instruction carries an identity mark of the target router and is used for driving the programmable power supply distribution unit to power on the target router to be detected;
the identity comprises one of a power distribution unit address or a power distribution unit port number of the target router.
According to the compatibility testing method for the wireless equipment and the router, under the condition that a plurality of target routers exist, the compatibility testing instructions carry a testing list for traversing all the target routers for the wireless equipment;
Correspondingly, after receiving the compatibility test instruction and issuing a networking drive instruction to the wireless device, the wireless device completes testing of a first target router according to the test list, acquires log information fed back by the wireless device and used for establishing communication connection with the target router, and issues the networking drive instruction to a next target router in the test list until traversal of all target routers in the test list is completed.
According to the method for testing compatibility between wireless equipment and router provided by the invention, after testing any target router in the test list is completed, the method further comprises the following steps:
A second driving instruction is sent to the programmable power distribution unit, wherein the second driving instruction carries the identity of any target router and the identity of the next router of any target router;
The second driving instruction is used for driving the programmable power distribution unit to power off any one of the target routers and power on the next router of the any one of the target routers.
According to the method for testing the compatibility of the wireless equipment and the router, the test terminal is connected to the network communication port of the electronic equipment through the server, and the compatibility test instruction is sent by the test terminal.
According to the method for testing compatibility between the wireless device and the router, after receiving the test log fed back by the wireless device, the method further comprises the following steps:
And sending the test log to the test terminal through the server end so as to enable the test terminal to visually display and/or analyze the test log.
According to the compatibility testing method of the wireless equipment and the router, the target router is a mesh router, and a plurality of target routers form a wireless distributed network; the compatibility test instruction includes test information for compatibility testing of the wireless device connection to the wireless distributed network.
According to the compatibility testing method of the wireless equipment and the router provided by the invention, the compatibility testing instruction carries the testing information for carrying out the compatibility test on the wireless equipment connected with the wireless local area network, and the wireless local area network at least comprises a wireless Access Point (AP) and a wireless controller (AC).
The method for testing the compatibility of the wireless equipment and the router provided by the invention further comprises the following steps:
Calling an application programming interface of any target router;
the wireless protocol configuration of the target router is checked and/or reconfigured by the application programming interface.
According to the method for testing the compatibility of the wireless equipment and the router, the log information comprises at least one of a distribution network result, a repeated distribution network success rate, a repeated power failure network success rate and a distribution network duration.
According to the method for testing the compatibility of the wireless device and the router, the wireless device is in communication connection with the electronic device through the USB interface of the electronic device, and the communication mode of the wireless device comprises at least one of serial port connection, AP mode broadcasting mode and Bluetooth mode.
In a second aspect, the invention also provides a device for testing compatibility of the wireless equipment and the router, an electronic device and the wireless equipment;
The wireless device is in communication connection with a USB interface of the electronic device;
the processor of the electronic device is configured to perform the following operations:
Receiving a compatibility test instruction, wherein the compatibility test instruction carries test information for carrying out compatibility test on the wireless equipment connected with at least one target router;
responding to the compatibility test instruction, and sending a networking drive instruction to the wireless device, wherein the networking drive instruction at least comprises network distribution information, and the network distribution information is determined based on networking requirements connected to the target router;
and receiving a test log fed back by the wireless device, wherein the test log at least comprises log information of the wireless device for responding to the networking driving instruction to establish communication connection with the target router.
According to the device for testing the compatibility of the wireless equipment and the router, which is provided by the invention, the electronic equipment is raspberry pie.
In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method of testing compatibility of a wireless device with a router as described in any one of the above when executing the program.
In a fourth aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of testing compatibility of a wireless device with a router as any one of the above.
In a fifth aspect, the present aspect also provides a computer program product comprising a computer program which, when executed by a processor, implements a method of testing compatibility of a wireless device with a router as any one of the above.
According to the method and the device for testing the compatibility of the wireless equipment and the router, provided by the invention, the simulation of the wireless networking equipment is realized by utilizing the USB interface provided by the electronic equipment, and the testing efficiency of the networking test of the wireless equipment is improved by accurately refining the testing point, so that the manpower resources are effectively saved, and the objectivity and the accuracy of the detection result are ensured.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for testing compatibility between a wireless device and a router according to the present invention;
Fig. 2 is a signaling diagram of a method for testing compatibility between a wireless device and a router according to the present invention;
fig. 3 is a schematic structural diagram of a device for testing compatibility between a wireless device and a router according to the present invention;
Fig. 4 is a second schematic structural diagram of a device for testing compatibility between a wireless device and a router according to the present invention;
Fig. 5 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that in the description of the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Unless specifically stated or limited otherwise, the terms "mounted," "connected," and "coupled" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
The terms "first," "second," and the like in this specification are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present invention may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. In addition, "and/or" indicates at least one of the connected objects, and the character "/", generally indicates that the associated object is an "or" relationship.
The method and apparatus for testing compatibility between a wireless device and a router according to the present invention are described below with reference to fig. 1 to 5.
The most common method for testing the networking compatibility between the wireless device and the router is mainly implemented by manual testing, wherein the networking compatibility test between the wireless device and the router is a relatively wide field, and relates to various wireless technologies and device types. In addition to WIFI devices, bluetooth devices, zigbee devices, NFC devices, wireless USB devices, satellite communication devices, etc. may be included. These devices use different wireless communication technologies. For convenience of explanation, the following embodiments of the present invention mainly take testing of networking compatibility between WIFI devices and WIFI routers as an example, and are not considered as specific limitation of the protection scope of the present invention.
According to the method for testing the compatibility of the wireless equipment and the router, the execution main body can be the electronic equipment, and the wireless equipment (such as WIFI equipment) is in communication connection with the electronic equipment through the USB interface of the electronic equipment.
The electronic device may be a device preloaded with an operating system, capable of performing a certain data processing independently, and having a wireless communication capability. As an alternative embodiment, raspberry group may be chosen as the execution body for the wireless device and router compatibility test method.
The raspberry pie is a microcomputer based on ARM architecture, has very small volume and credit card size, but has complete computer function, can run Linux and other operating systems, and supports multiple programming languages. The hardware configuration of the raspberry group comprises: ARM processor, GPU, memory, USB interface, ethernet interface, HDMI interface, audio output interface, GPIO etc. and support wireless communication interfaces such as WIFI and bluetooth. Namely, the method and the device can realize compatibility test of the WIFI router of the WIFI equipment networking by utilizing the USB interface provided by the raspberry group.
Fig. 1 is a flow chart of a method for testing compatibility between a wireless device and a router, as shown in fig. 1, wherein the method mainly includes, but is not limited to, the following steps:
Step 101: and receiving a compatibility test instruction. The compatibility test instruction carries test information for carrying out compatibility test on the wireless equipment connected with at least one target router;
the raspberry pie is taken as an execution main body and is responsible for receiving and analyzing the compatibility test instruction. These instructions are typically sent by a tester or an automated test system to trigger a compatibility test for a particular WIFI device with a WIFI router. The test information carried in the instruction is critical to the subsequent test flow and is used for indicating the raspberry group to carry out which compatibility test items on which WIFI routers and the implementation flow of the specific compatibility test items.
The specific implementation steps can be as follows:
The user sends a compatibility test instruction to the raspberry through a user interface or an API interface of a test system of the control terminal, wherein the compatibility test instruction comprises test information of a WIFI device and a target WIFI router to be tested for compatibility test, such as an MAC address, a device name and the like of the WIFI device, and information of the target WIFI router to be tested, such as a service set identifier (SERVICE SET IDENTIFIER, SSID), a password, an encryption mode of a wireless network, a Channel and the like.
After receiving the compatibility test instruction, the raspberry group analyzes the test information to obtain the related information required by the compatibility test.
Step 102: and responding to the compatibility test instruction, and issuing a networking drive instruction to the wireless equipment. Wherein the networking driver instructions include at least distribution network information determined based on networking requirements for connection to the target router.
After receiving the compatibility test instruction, the raspberry group needs to send a networking drive instruction to the WIFI equipment to drive the WIFI equipment to try to connect to the target WIFI router. The distribution network information in the networking driving instruction is key and is used for indicating how the WIFI equipment is connected to the WIFI router. Through the process, the scene that the WIFI equipment is connected with the WIFI router in actual use can be simulated, so that the compatibility of the WIFI router is tested.
The specific implementation steps comprise:
(1) And generating a networking driving instruction by the raspberry group according to the analyzed test information.
(2) The networking driving instruction comprises networking information, such as SSID (service set identifier), password and the like of the WIFI router, and the information is that the WIFI equipment is connected to the target raspberry group to generate the networking driving instruction according to the test information obtained through analysis.
The networking driving instruction contains network allocation information, such as SSID, password and the like of the WIFI router, which are necessary for the WIFI device to connect to the target router.
(3) The raspberry group sends networking drive instructions to the WIFI device via an appropriate communication protocol (e.g., WIFI direct, bluetooth, etc.).
Of course, in the method for testing compatibility between the wireless device and the router provided by the invention, the network allocation parameters of the WIFI device can be set, modified or reset in real time through the raspberry group according to actual detection needs, and the method mainly comprises the following steps: the method comprises the steps of equipment parameters of WIFI equipment, a network distribution mode of the WIFI equipment, WIFI access parameters of a WIFI router, background login parameters of the WIFI router, a power control unit address and a port number of the WIFI router and the like.
The network distribution parameters of the WIFI equipment are set to realize network connection and remote management of the WIFI equipment. In particular, this includes the following aspects:
Setting WIFI access parameters generally refers to a series of parameters required to configure a WIFI device network connection so that the WIFI device can connect to and use the wireless network, and these parameters mainly include: SSID, security type, password, channel, IP address assignment, subnet mask, default gateway, DNS server, etc.
The SSID requires an identification to be used when searching for and selecting wireless networks. The security type refers to the encryption mode of the wireless network, such as WPA, WPA2, WEP, etc. The password refers to a password or key required to connect to the encrypted wireless network. The frequency channel refers to an operating frequency channel of a wireless signal, and sometimes needs to be adjusted according to surrounding wireless network environments to avoid interference. The IP address allocation means that the IP address of the device is statically allocated or automatically acquired through DHCP. Subnet mask, default gateway, DNS server, these network parameters determine how WIFI devices communicate with other devices and how to access the internet.
Further, the purpose of setting the WIFI access parameters is to ensure that the device is able to properly connect to the wireless network and communicate with other network devices. This is the basic setting for WIFI devices to conduct network communications. Setting background login parameters, namely authentication information required for accessing a WIFI router background management interface, generally comprises the following steps: the IP address of the WIFI router, an administrator account number, an administrator password and the like.
The IP address of the router refers to an address for accessing the router management interface through the browser. The administrator account number refers to a user name of a login router background management interface. The administrator password is a password corresponding to an administrator account number.
The purpose of setting the background login parameters is to protect the management interface of the router from unauthorized users, while allowing authorized users to configure and manage the router.
In summary, the access parameters of the WIFI device are set to enable the WIFI device to connect to the wireless network and perform data communication, and the background login parameters are set to protect the security of the management interface of the router and to implement remote management of the router. Both are important aspects of network configuration, but the focus of attention is different. The former focuses on the network connection of the devices, and the latter focuses on the security and management of the routers themselves.
Further, the background login parameters of the WIFI router may include an IP address of the router, an administrator account number, and a password. Through the parameters, the router can remotely log in to a management interface of the router to perform configuration and maintenance work. For example, the SSID and password of the wireless network may be changed, firmware updated, network settings modified, or the like.
The address and port number of the power control unit of the WIFI router means that if the WIFI router is connected to an intelligent power control unit (e.g. a program PDU), the address and port number are the interfaces for remote control of the router power. Through this interface, switching operations on the router power supply can be implemented, which is very useful when it is necessary to remotely restart the router or to control the power supply on a timed basis.
In summary, the present invention can set the network allocation parameters of the WIFI device through the raspberry group, and mainly can realize remote access management, that is, allow an administrator to perform configuration and management without physically contacting with a router, especially in a large network environment or a distributed network.
Meanwhile, the automatic network configuration of the WIFI equipment is realized, namely, network parameters can be automatically set and modified through scripts or management software, so that the efficiency is improved, and human errors are reduced.
In addition, the network distribution parameters of the WIFI equipment are set through the raspberry pie, so that fault recovery and remote restarting of the WIFI equipment can be realized, and when a router has a problem, the router can be restarted remotely, and service can be recovered quickly. Energy saving and cost control, and is beneficial to safety control.
Furthermore, the remote setting of the distribution network parameters of the WIFI equipment is realized by utilizing the raspberry group, and the router power supply can be turned off in off-peak time, so that energy and cost are saved. And when a network security event occurs, the router power supply can be remotely disconnected, so that security risk diffusion is prevented.
Step 103: a test log fed back by the wireless device is received. The test log at least comprises log information of the wireless device responding to the networking driving instruction to establish communication connection with the target router.
The test log is an important basis for evaluating the compatibility of the WIFI equipment and the target WIFI router. In the process that the WIFI device tries to connect to the target WIFI router, it records various information, such as connection state, signal strength, connection speed, and the like. This information is critical to judging the compatibility of the device and router. By receiving and analyzing the test logs, the raspberry group can evaluate the compatibility of the WIFI equipment and the WIFI router in the connection establishment process and find possible problems or defects.
The specific implementation steps comprise:
(1) After receiving the networking driving instruction, the WIFI equipment can try to connect to the target WIFI router and record relevant log information.
(2) The WIFI device sends the test log back to the raspberry group through the same communication protocol.
(3) After the raspberry group receives the test log, the test log is parsed and stored for subsequent analysis and processing.
According to the method for testing the compatibility of the wireless equipment and the router, provided by the invention, the simulation of the wireless networking equipment is realized by utilizing the USB interface provided by the electronic equipment, and the testing efficiency of the networking test of the wireless equipment is improved by accurately refining the test points, so that the manpower resources are effectively saved, and the objectivity and the accuracy of the detection result are ensured.
Fig. 2 is a signaling diagram of a method for testing compatibility between a wireless device and a router, where in an alternative embodiment, the method further includes, before issuing a networking driving instruction to the wireless device in response to the compatibility testing instruction:
And sending a first driving instruction to a programmable power supply distribution unit (Programmable Power Distribution Unit, PDU), wherein the first driving instruction carries an identity of the target router and is used for driving the programmable power supply distribution unit to power on the target router to be detected. The identity mark comprises one of a power distribution unit address or a power distribution unit port number of the target router.
According to the invention, all WIFI routers to be tested can be installed in a cabinet mode in advance, cluster deployment and management and control are carried out, equipment management is enhanced, and equipment confusion and random configuration change of parameters are avoided.
Furthermore, the WIFI router deployed by the cluster is precisely controlled by the remote control method of the raspberry-dispatching program-controlled PDU, and the interference of coexistence of a plurality of WIFI routers can be effectively avoided while energy conservation and emission reduction are achieved by controlling the opening and closing of the WIFI router.
As an optional embodiment, the present invention provides a specific embodiment for controlling all WIFI routers to be detected in the process of implementing compatibility test through PDU.
Generally, the PDU is provided with a built-in Web server, and a user accesses the IP address of the PDU through a browser to enter a management interface by operating the raspberry, so that operations such as switching on and switching off the power supply of the WIFI router, scheduling tasks, checking the power supply state of the power supply WIFI router and the like can be performed according to the identity of each WIFI router.
The PDUs provided in this aspect may also support simple network management protocols (Simple Network Management Protocol, SNMP) allowing an administrator to centrally monitor and control power states via SNMP management tools. Through SNMP, a user may obtain status information of the PDU and send a control command to turn on or off a power port connected to each WIFI router.
Of course, the PDUs provided by the present invention provide an application programming interface (Application Programming Interface, API) that allows a developer to write custom scripts or integrate into existing system management platforms to implement more complex power management logic. For example, the detection logic for performing compatibility detection on all WIFI routes to be detected may be preset, and then the power management logic of the brother power port of the PDU may be determined according to the detection logic.
When the compatibility test is carried out, when the raspberry group receives the compatibility test instruction forwarded by the server, the raspberry group sends a first driving instruction to the PDU according to the identity of the target router which needs to carry out the compatibility test. And opening a corresponding power port for supplying power to the PDU according to the identity of the target router carried by the received first driving instruction so as to electrify the target router to be detected.
After the PDU is powered on to the target router to be detected, the PDU sends a feedback router a power-on notice to the raspberry group, and after the raspberry group receives the power-on notice, the target router can send a networking driving instruction.
As an alternative embodiment, in the case that there are a plurality of target routers, the compatibility test instruction carries a test list for the wireless device to traverse all the target routers;
Correspondingly, after receiving the compatibility test instruction and issuing a networking drive instruction to the wireless device, the wireless device completes testing of a first target router according to the test list, acquires log information fed back by the wireless device and used for establishing communication connection with the target router, and issues the networking drive instruction to a next target router in the test list until traversal of all target routers in the test list is completed.
Compared with the existing most common test method for the compatibility of the WIFI equipment and the WIFI router, the test method for the compatibility by means of the raspberry pie provided by the invention is characterized in that the test of a plurality of WIFI routers is highlighted, because the test time is increased along with the increase of the number of the WIFI routers to be tested, and the network allocation steps are the same, and the repeated work for a long time can cause tiredness and influence the accuracy of the result. The method and the device can sort test items of all the WIFI routers to be tested in advance to generate a test list. After the raspberry group receives the compatibility test instruction, firstly, reading a test item of a first WIFI router in a test list, and powering on the first WIFI router by sending a first driving instruction to the PDU. And then, issuing a networking driving instruction to the WIFI equipment, wherein the networking driving instruction carries configuration information of the WIFI equipment and a first WIFI router for network distribution, and finally the WIFI equipment feeds back a test log in the network distribution process to the raspberry group. The raspberry group can analyze or store the test log as required or upload the test log to the control end through the server end.
According to the wireless device and router compatibility testing method, the WIFI device is connected to the USB interface of the raspberry group, the network distribution instruction is automatically input and connected to the WIFI router, and the raspberry group can operate related compatibility detection items in an unattended mode for 24 hours after receiving the compatibility testing instruction sent by a user, and the network distribution testing work is not required to be manually repeated and the network distribution testing result is recorded, so that the testing efficiency and the testing precision are greatly improved.
On the basis of the foregoing embodiment, as an optional embodiment, after completing the test on any target router in the test list, the method further includes:
sending a second driving instruction to the PDU, wherein the second driving instruction carries the identity of any target router and the identity of the next router of any target router;
the second driving instruction is used for driving the PDU to power off any target router and powering on the next router of the any target router.
According to the invention, all the WIFI routers to be tested are installed in a cabinet mode, clustered deployment and management are performed, after compatibility testing of a certain WIFI router is completed according to a test list, a raspberry group sends a second driving instruction to the PDU, and mainly the remote control PDU cuts off the power supply of the WIFI router with the compatibility testing completed, and meanwhile, powering-on operation is performed for the next WIFI router recorded in the test list, so that the raspberry group drives the WIFI equipment to develop the compatibility testing with the next WIFI router.
And iteratively executing the steps until compatibility tests of all the WIFI routers in the test list are completed.
According to the method, through the remote control method of the program-controlled PDU, accurate control of the WIFI routers deployed in the cluster is achieved, energy is saved, emission is reduced, and the occurrence of interference situations of coexistence of multiple routers can be avoided. Meanwhile, due to the editability of the test list, a user can flexibly make different detection plans according to actual detection needs.
Based on the foregoing embodiment, as an alternative embodiment, the test terminal is connected to the network communication port of the electronic device through a server, and the compatibility test instruction is sent by the test terminal.
As one of the network communication ports, in the method for testing compatibility between the wireless device and the router provided by the present invention, the network communication port of the raspberry group may use an encrypted network transmission protocol (SSH) port, which refers to an interface in the raspberry group operating system that allows a user to remotely log in and manage the raspberry group through the SSH protocol. SSH is an encrypted network protocol that can be used to securely connect remotely to another computer and perform commands or operations.
After enabling the SSH interface on the raspberry Pi, the user can connect to the raspberry Pi remotely using SSH client software on any device and perform various operations, such as installing software packages, configuring network settings, running scripts, and so forth. Through the SSH interface, a user can easily remotely manage and control the raspberry group without physically touching the raspberry group.
The SSH interface is off by default and requires a setup in the raspberry-style operating system to be enabled. After enabling the SSH interface, the user may remotely connect and manage the raspberry group within a local area network or on the internet using SSH client software, such as PuTTY, openSSH. Notably, because the SSH protocol has cryptographic functionality, using the SSH interface for telnet and management is relatively secure, suggesting that the user enable and use that functionality.
The invention can realize the networking control of the WIFI equipment for automatically traversing all target routers through the SSH interface control of the raspberry group. Referring to fig. 2, the method for testing compatibility between a wireless device and a router provided by the present invention may include the following implementation steps:
And editing the compatibility test content by the user at the control end according to the test requirement, and sending the compatibility test content to the server end. And the server generates and sends a compatibility test instruction to the raspberry group according to the compatibility test content. The WIFI device has previously established communication between the WIFI device and the raspberry group through the USB interface of the raspberry group, and executes the compatibility test procedure provided in the foregoing embodiment after the compatibility test instruction received by the raspberry group, which is not described herein.
Based on the foregoing embodiment, as an alternative embodiment, after receiving the test log fed back by the wireless device, the method further includes:
And sending the test log to the test terminal through the server end so as to enable the test terminal to visually display and/or analyze the test log.
Referring to fig. 2, after the raspberry group receives the test log fed back by the test server after the compatibility test is completed by a certain WIFI router, the test log is uploaded to the test server.
Wherein. The test log is used for judging results and recording big data in the whole network distribution process of the WIFI router connected with the WIFI equipment.
The control end can call the test log of the WIFI router with compatibility test completed in any batch from the server end, and the network distribution result analysis and result archiving of each WIFI router are completed according to the test log. The control end can also carry out comprehensive analysis according to test logs related to all WIFI routers in a certain batch or in a historical period.
Finally, the test log and some of the results analyzed by the test log may also be visually presented.
The compatibility testing method for the wireless equipment and the router provided by the invention can realize the following typical scenes including but not limited to:
(1) The WIFI equipment is connected with a common single WIFI router;
(2) The WIFI equipment is connected with the WIFI relay amplifier;
(3) The WIFI equipment is connected with a plurality of mesh routers;
(4) And the WIFI equipment is connected with the AC+AP router.
The connection between the WIFI device and the common single WIFI router has been described in the above embodiments, and will not be described herein.
As an optional embodiment, the router to be tested is a mesh router, and a plurality of target routers form a wireless distributed network.
The compatibility test instruction comprises test information for carrying out compatibility test on the connection of the WIFI equipment to the wireless distributed network.
The compatibility testing step comprises the following steps:
(1) Preparing a test environment:
firstly, a plurality of WIFI routers need to be ensured, and the WIFI routers form a wireless distributed network, namely a mesh network, so as to connect to the mesh network by using WIFI equipment to perform compatibility test.
(2) Setting a mesh network:
and configuring a plurality of WIFI routers into a wireless distributed network according to the setting guidelines of the mesh routers. This usually involves steps of pairing routers, setting up the network, optimizing configuration, and the like, so as to ensure that the mesh network can work stably.
(3) Formulating a compatibility test instruction:
And formulating a compatibility test instruction according to the compatibility test requirement. These instructions should contain detailed test information for compatibility testing of the WIFI device connected to the mesh network, such as the type of device tested, the scenario of the test (e.g., different distances, different signal strengths, etc.), the parameters of the test (e.g., connection speed, stability, signal quality, etc.), and the expected test results, etc.
(4) Performing a compatibility test:
And using the appointed WIFI equipment, connecting to the mesh network one by one for testing according to the steps in the compatibility testing instruction, and obtaining a test log fed back by the WIFI equipment.
(5) Analyzing the test result:
after the test is completed, analyzing the collected test log, and judging the compatibility condition of the WIFI equipment and the mesh network. If the actual test result accords with the expected result, the compatibility is good; if there is a difference, further analysis of the cause is required, and an improvement is proposed.
As an optional embodiment, the compatibility test instruction carries test information for performing compatibility test on a WIFI device connected to a wireless local area network, where the wireless local area network at least includes a wireless access point AP and a wireless controller AC, and the specific implementation steps include:
(1) Preparing a test environment and equipment:
First, a wireless local area network environment including a wireless access point AP and a wireless controller AC is built. The AP and the AC are ensured to be configured correctly, and the network is stable and can work normally. Meanwhile, a WIFI device for compatibility test is prepared.
(2) Formulating a compatibility test instruction:
And generating a compatibility test instruction by the server side according to the compatibility test requirement designed by the user, and sending the compatibility test instruction to the raspberry group. The compatibility test instructions comprise test information for carrying out compatibility test on the WIFI equipment connected with the wireless local area network, such as test scenes, test parameters, test steps, expected test results and the like. The test parameters may include connection speed, signal strength, stability, delay, etc.
(3) Configuring WIFI equipment: and setting test parameters of the WIFI equipment for connecting to the wireless local area network according to the test information carried by the compatibility test instruction.
(4) Performing a compatibility test:
And connecting the WIFI equipment to the wireless local area network according to the step of the compatibility test instruction, and testing one by one. In the test process, the actual test result needs to be recorded, including abnormal conditions, connection speed, signal quality and the like in the connection process.
(5) Analyzing the test result:
After the test is completed, analyzing the collected test log, and evaluating the compatibility of the WIFI equipment and the wireless local area network. If the actual test result accords with the expected result, the compatibility is good; if there is a significant difference, further analysis of the cause is required and improvement is considered.
Correspondingly, the connection compatibility test of the WIFI equipment and the WIFI relay amplifier can be performed through the compatibility test method provided by the invention, so that whether the WIFI equipment can normally and stably establish connection with the WIFI relay amplifier is verified, and the coverage range of a WIFI signal is effectively expanded through the relay amplifier. The following is an analytical illustration of this test procedure:
(1) Preparing a test environment and equipment:
First, a WIFI network environment is built, which comprises one or more WIFI relay amplifiers. The relay amplifier is ensured to be correctly configured, can work normally, and is connected with the main WIFI network. Then, an attempt is made to connect to the WIFI network through the relay amplifier using the WIFI device.
(2) Setting a WIFI relay amplifier: according to the using instruction of the relay amplifier, the working mode (such as a relay mode, a bridge mode and the like), the channel setting, the safe encryption mode and the like of the relay amplifier are configured, so that the compatibility of the relay amplifier with a main WIFI network and the stability of signal transmission are ensured.
(3) Configuring WIFI equipment: the WIFI device is configured to be able to scan and connect to the WIFI signal sent by the repeater amplifier. This may involve setting WIFI connection parameters of the device, such as SSID, password, etc.
(4) Performing a compatibility test:
The WIFI device is started to attempt to connect to the WIFI network through the relay amplifier. In the test process, indexes such as connection speed, signal strength, connection stability and the like of the WIFI equipment are recorded, and a test log is generated. Meanwhile, tests can be tried at different positions and at different distances to evaluate the expansion effect of the relay amplifier on the signal coverage range.
(5) Testing data transmission performance:
Once the WIFI device is successfully connected to the relay amplifier, a data transmission test is performed. The speed and stability of data transmission are evaluated by uploading and downloading files, performing operations such as web browsing and video playing.
(6) Analyzing the test result:
After the test is completed, the collected test log is analyzed. And evaluating whether the connection stability, the signal quality and the data transmission performance of the WIFI equipment and the relay amplifier meet the expected requirements. If the test result is not ideal, the configuration of the relay amplifier, signal interference and other factors need to be further checked, and corresponding optimization adjustment is performed.
As an optional embodiment, the log information includes at least one of a network configuration result, a repeated network configuration success rate, a repeated power failure network connection success rate, and a network configuration duration.
According to the wireless device and router compatibility testing method provided by the invention, the WIFI device is in communication connection with the raspberry group through the USB interface of the electronic device, and the communication mode comprises at least one of serial port connection, AP mode broadcasting mode and Bluetooth mode.
To use the USB interface of the raspberry group to control the WIFI device to connect to the WIFI router in a variety of ways, including serial connection, AP mode broadcast mode, bluetooth mode, etc., the raspberry group needs to be programmed to interact with the WIFI device through different communication means. The following steps are specific:
(1) Preparing hardware and software environments:
Selecting raspberry pie, generally selecting a model with built-in WIFI and Bluetooth, such as raspberry pie 3B/3B+/4 and the like; the latest Raspberry Pi OS or other Linux distribution; selecting proper WIFI equipment, and supporting serial ports, AP modes, bluetooth distribution networks and the like; and if the WIFI equipment communicates through the serial port, selecting a USB-to-serial port adapter.
(2) Setting a Raspberry Pi operating system, including burning a Raspberry Pi OS to a microSD card and starting a Raspberry Pi; and performing basic configuration, such as setting WIFI connection, updating a system and the like.
(3) Serial port communication:
The USB-to-serial port adapter is connected to a USB interface of the raspberry group, and the other end of the USB-to-serial port adapter is connected to a serial port of the WIFI equipment. A serial communication software package, such as minicom or screen, is installed on the raspberry party. And configuring serial port communication parameters (baud rate and the like) and communicating with the WIFI equipment through the serial port.
(4) AP mode broadcast, including creating a wireless hotspot (AP mode) using built-in WIFI of the raspberry group, may refer to the step of setting the raspberry group to AP mode in the previous answer. And broadcasting a specific network SSID through the AP mode, so that the WIFI equipment can search and connect.
(5) Bluetooth distribution network, including ensuring that bluetooth functions of raspberry group are enabled and installing necessary bluetooth management tools such as bluetoothctl, bluez, etc. The raspberry group is set to discoverable mode and bluetooth pairing and connection is established with the WIFI device. And exchanging network allocation information, such as WIFI SSID and password, with the WIFI equipment through Bluetooth.
(6) Writing scripts or programs includes writing scripts or programs as needed to automate the network deployment process. This may involve writing code in Python, bash or other languages to send commands and receive responses over serial, AP mode or bluetooth. For a serial distribution network, it may be necessary to send AT instructions or other specific command sequences to configure WIFI devices. For AP mode, a Web interface or other mechanism needs to be provided to allow the user to enter WIFI credentials. For bluetooth distribution networks, the details of bluetooth service discovery, pairing, and data transmission need to be handled.
(7) And (3) testing: each distribution network mode is tested respectively, so that the raspberry group can successfully control the WIFI equipment to be connected to the router. Comprehensive testing is performed to ensure that the distribution network process is reliable in all cases.
As an optional embodiment, the method for testing compatibility between a wireless device and a router provided by the present invention further includes:
calling an Application Programming Interface (API) of any target router;
and checking and/or reconfiguring the wireless protocol configuration of the target router through the API.
Specifically, the method and the device can utilize the raspberry group to call the API interface provided by the WIFI router, realize remote change of the WIFI protocol configuration of the WIFI router, and realize configuration networking traversing a single WIFI router.
The raspberry group device is used for calling an API interface provided by the router, and the WIFI protocol configuration of the router can be changed in a remote mode so as to realize configuration traversal and networking of a single router.
In particular, the raspberry group can use programming language or script and other modes to realize remote management and control of the router by calling the API interface provided by the WIFI router. The API interface provided by the router includes a series of functions that can be invoked, such as obtaining and modifying WIFI protocol configuration, restarting the router, viewing network information, and the like.
By calling the router's API interface, the raspberry Pi can remotely access the router and change its WIFI protocol configuration, e.g., change SSID, password, encryption, etc. In addition, the raspberry Pi can also utilize the router API interface to realize the traversal and control of the router, and is quickly connected to the network and realize the networking.
It should be noted that in order to ensure security, corresponding authentication and security measures are required when using the raspberry-style remote management router to prevent potential network attacks and data leakage.
The invention can designate the router to be set into a certain fixed configuration or to be traversed by various configurations according to the requirement through the earlier-stage type selection of the WIFI router, and simultaneously realize the wireless configuration of the automatic remote control router and the parameterized periodic point inspection of the router through the API interface of the raspberry party to the WIFI router, thereby ensuring the consistency of the test, avoiding manual modification and eliminating human errors.
Fig. 3 is a schematic structural diagram of a device for testing compatibility between a wireless device and a router, where, as shown in fig. 3, the device mainly includes: an electronic device 31 and a wireless device 32;
The wireless device may be a WIFI device, and the electronic device may be a raspberry group. The WIFI equipment is in communication connection with a USB interface of the raspberry group;
The processor of the raspberry group is used for executing the following operations:
Receiving a compatibility test instruction, wherein the compatibility test instruction carries test information for carrying out compatibility test on the WIFI equipment connected with at least one WIFI router 33;
Issuing a networking driving instruction to the WIFI equipment in response to the compatibility testing instruction, wherein the networking driving instruction at least comprises network distribution information, and the network distribution information is determined based on networking requirements connected to the WIFI router 33;
and receiving a test log fed back by the WIFI equipment, wherein the test log at least comprises log information of the WIFI equipment responding to the networking driving instruction and establishing communication connection with the WIFI router 33.
It should be noted that the electronic device related to the compatibility testing apparatus provided by the present invention may also be a server, a computer device, such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
The device for testing the compatibility of the wireless device and the router provided by the invention can execute the method for testing the compatibility of the wireless device and the router described in any embodiment when the device is specifically operated, and the description of the embodiment is omitted.
According to the device for testing the compatibility of the wireless equipment and the router, provided by the invention, the simulation of the wireless networking equipment is realized by utilizing the USB interface provided by the electronic equipment, the testing efficiency of the networking test of the wireless equipment is improved by accurately refining the testing point, the manpower resources are effectively saved, and the objectivity and the accuracy of the detection result are ensured.
Fig. 4 is a second schematic structural diagram of a device for testing compatibility between a wireless device and a router, as shown in fig. 4, mainly including an electronic device 31 and a wireless device 32, and further including a PDU33, a wireless router 34 to be tested, a control end 35 and a server end 36, where the device for testing compatibility performs the following testing steps when in specific operation:
The user edits the test content through the test system of the control terminal 35, and sends the test content to the server 36, and the server 36 generates a compatibility test instruction according to the test content and sends the compatibility test instruction to the electronic device 31. Since the wireless device 31 is communicatively connected to the wireless device 32, a networking drive instruction can be issued to the wireless device 32 according to the compatibility test instruction.
After receiving the networking driver instructions, the wireless device 32 will attempt to connect to the wireless router 34 under test, record networking-related log information, and send the test log back to the wireless device 31 via the same communication protocol.
After receiving the test log, the wireless device 31 parses and stores it for subsequent analysis and processing. Meanwhile, the wireless device 31 may also send the test log to the control terminal 35 through the server 36, so that the user may analyze and collect the test log.
In addition, before the electronic device 31 responds to the compatibility test instruction and issues a networking drive instruction to the wireless device 32, a first drive instruction is sent to the PDU33 to drive the PDU33 to power up the wireless router 34 to be detected.
It should be noted that, the compatibility testing device for the wireless device and the router provided by the invention can realize all the steps related to the compatibility testing method realized by the method embodiment, and can achieve the same technical effects, and the parts and beneficial effects same as those of the method embodiment in the embodiment are not described in detail.
Fig. 5 is a schematic structural diagram of an electronic device according to the present invention, and as shown in fig. 5, the electronic device may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform a wireless device and router compatibility test method comprising: receiving a compatibility test instruction, wherein the compatibility test instruction carries test information for carrying out compatibility test on the wireless equipment connected with at least one target router; responding to the compatibility test instruction, and sending a networking drive instruction to the wireless device, wherein the networking drive instruction at least comprises network distribution information, and the network distribution information is determined based on networking requirements connected to the target router; and receiving a test log fed back by the wireless device, wherein the test log at least comprises log information of the wireless device for responding to the networking driving instruction to establish communication connection with the target router.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a wireless device and router compatibility testing method, the method comprising: receiving a compatibility test instruction, wherein the compatibility test instruction carries test information for carrying out compatibility test on the wireless equipment connected with at least one target router; responding to the compatibility test instruction, and sending a networking drive instruction to the wireless device, wherein the networking drive instruction at least comprises network distribution information, and the network distribution information is determined based on networking requirements connected to the target router; and receiving a test log fed back by the wireless device, wherein the test log at least comprises log information of the wireless device for responding to the networking driving instruction to establish communication connection with the target router.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a wireless device and router compatibility testing method, the method comprising: receiving a compatibility test instruction, wherein the compatibility test instruction carries test information for carrying out compatibility test on the wireless equipment connected with at least one target router; responding to the compatibility test instruction, and sending a networking drive instruction to the wireless device, wherein the networking drive instruction at least comprises network distribution information, and the network distribution information is determined based on networking requirements connected to the target router; and receiving a test log fed back by the wireless device, wherein the test log at least comprises log information of the wireless device for responding to the networking driving instruction to establish communication connection with the target router.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. The method for testing the compatibility of the wireless equipment and the router is characterized by being applied to electronic equipment, and the wireless equipment is in communication connection with the electronic equipment through a USB interface of the electronic equipment; the test method comprises the following steps:
Receiving a compatibility test instruction, wherein the compatibility test instruction carries test information for carrying out compatibility test on the wireless equipment connected with at least one target router;
responding to the compatibility test instruction, and sending a networking drive instruction to the wireless device, wherein the networking drive instruction at least comprises network distribution information, and the network distribution information is determined based on networking requirements connected to the target router;
and receiving a test log fed back by the wireless device, wherein the test log at least comprises log information of the wireless device for responding to the networking driving instruction to establish communication connection with the target router.
2. The method of claim 1, further comprising, prior to issuing networking driver instructions to the wireless device in response to the compatibility test instructions:
A first driving instruction is sent to a programmable power supply distribution unit, wherein the first driving instruction carries an identity mark of the target router and is used for driving the programmable power supply distribution unit to power on the target router to be detected;
the identity comprises one of a power distribution unit address or a power distribution unit port number of the target router.
3. The method according to claim 2, wherein in the case that there are a plurality of target routers, the compatibility test instruction carries a test list for traversing all the target routers for the wireless device;
Correspondingly, after receiving the compatibility test instruction and issuing a networking drive instruction to the wireless device, the wireless device completes testing of a first target router according to the test list, acquires log information fed back by the wireless device and used for establishing communication connection with the target router, and issues the networking drive instruction to a next target router in the test list until traversal of all target routers in the test list is completed.
4. The method for testing compatibility of a wireless device with a router according to claim 3, further comprising, after completing the test of any target router in the test list:
A second driving instruction is sent to the programmable power distribution unit, wherein the second driving instruction carries the identity of any target router and the identity of the next router of any target router;
The second driving instruction is used for driving the programmable power distribution unit to power off any one of the target routers and power on the next router of the any one of the target routers.
5. The method according to any one of claims 1 to 4, wherein a test terminal is connected to a network communication port of the electronic device through a server side, and the compatibility test instruction is transmitted by the test terminal.
6. The method of claim 5, further comprising, after receiving a test log fed back by the wireless device:
And sending the test log to the test terminal through the server end so as to enable the test terminal to visually display and/or analyze the test log.
7. The method for testing compatibility of wireless devices and routers according to any one of claims 1 to 6, wherein said target router is a mesh router, and a plurality of said target routers form a wireless distributed network; the compatibility test instruction includes test information for compatibility testing of the wireless device connection to the wireless distributed network.
8. The method for testing compatibility of wireless device and router according to any one of claims 1-6, wherein the compatibility testing instruction carries testing information for testing compatibility of the wireless device with a wireless local area network, and the wireless local area network at least includes a wireless access point AP and a wireless controller AC.
9. The wireless device and router compatibility testing method of any one of claims 1-8, further comprising:
Calling an application programming interface of any target router;
the wireless protocol configuration of the target router is checked and/or reconfigured by the application programming interface.
10. The method of any of claims 1-9, wherein the log information includes at least one of a distribution result, a repeated distribution success rate, a repeated power failure success rate, and a distribution duration.
11. The method for testing compatibility of a wireless device with a router according to any one of claims 1-10, wherein the communication mode in which the wireless device is communicatively connected to the electronic device through a USB interface of the electronic device includes at least one of a serial connection, an AP mode broadcast mode, and a bluetooth mode.
12. A wireless device and router compatibility testing apparatus, comprising: electronic devices and wireless devices;
The wireless device is in communication connection with a USB interface of the electronic device;
the processor of the electronic device is configured to perform the following operations:
Receiving a compatibility test instruction, wherein the compatibility test instruction carries test information for carrying out compatibility test on the wireless equipment connected with at least one target router;
responding to the compatibility test instruction, and sending a networking drive instruction to the wireless device, wherein the networking drive instruction at least comprises network distribution information, and the network distribution information is determined based on networking requirements connected to the target router;
and receiving a test log fed back by the wireless device, wherein the test log at least comprises log information of the wireless device for responding to the networking driving instruction to establish communication connection with the target router.
13. The wireless device-router compatibility test apparatus of claim 12, wherein the electronic device is a raspberry group.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the wireless device and router compatibility testing method of any one of claims 1 to 11 when the computer program is executed.
15. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the wireless device and router compatibility testing method of any of claims 1 to 11.
16. A computer program product comprising a computer program which, when executed by a processor, implements a method of testing compatibility of a wireless device with a router according to any one of claims 1 to 11.
CN202410356836.9A 2024-03-26 2024-03-26 Wireless device and router compatibility testing method and device Pending CN118118937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410356836.9A CN118118937A (en) 2024-03-26 2024-03-26 Wireless device and router compatibility testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410356836.9A CN118118937A (en) 2024-03-26 2024-03-26 Wireless device and router compatibility testing method and device

Publications (1)

Publication Number Publication Date
CN118118937A true CN118118937A (en) 2024-05-31

Family

ID=91210597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410356836.9A Pending CN118118937A (en) 2024-03-26 2024-03-26 Wireless device and router compatibility testing method and device

Country Status (1)

Country Link
CN (1) CN118118937A (en)

Similar Documents

Publication Publication Date Title
US11652918B2 (en) Using automatically collected device problem information to route and guide users' requests
US11169867B2 (en) System and method for identifying operational disruptions in mobile computing devices via a monitoring application that repetitively records multiple separate consecutive files listing launched or installed applications
CN112600716B (en) Equipment configuration method, configuration device and management equipment
US10038594B2 (en) Centralized management of access points
US9730085B2 (en) Method and apparatus for managing wireless probe devices
US9369357B2 (en) Method, system, and computer readable medium for remote device management
EP3048759B1 (en) Fault diagnosis method, device and system
WO2016202013A1 (en) Method of acquiring log, and device and network management server utilizing same
CN103812726A (en) Automated testing method and device for data communication equipment
EP3382942A1 (en) Network service configuration method and network management device
CN107395385A (en) Method for upgrading software and device
CN105388861A (en) Method and system for controlling devices in internet of things
WO2017016386A1 (en) Method and device for implementing radio remote unit fault analysis
CN104684015A (en) Equipment maintenance method and equipment
US10334461B2 (en) System, device and method for testing app performance
CN104601679B (en) Equipment soft method, mobile terminal and server
CN118118937A (en) Wireless device and router compatibility testing method and device
US20130165099A1 (en) Enhanced System and Method for Custom Programming of Large Groups of Phones Without Requiring Additional Equipment
WO2014101025A1 (en) Terminal debugging method, device, and equipment
CN111065153B (en) MDAS (management data System) opening method and device for multi-service digital distributed access system
CN114189424B (en) Intelligent device control method, intelligent device control device, electronic device, medium and program product
CN114157570A (en) Wireless network bridge network distribution method and device, wireless network bridge and storage medium
CN115767576A (en) Method and device for detecting network connection of equipment, storage medium and electronic device
KR20050020026A (en) Apparatus and Method for Automatic Verification of Mobile Communication System and Recording Medium Therefor
CN117750319A (en) WAPI-based substation terminal wireless access communication management system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination