A mesh networking test method, device, apparatus and storage medium

By combining the BCM2835 chip control core with OpenCV image recognition technology, automated testing of mesh networking was achieved, solving the problem of wasted personnel caused by multiple people dividing up the testing work, and improving testing efficiency and fault location speed.

CN113938899BActive Publication Date: 2026-02-03ZTE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010602205.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-29
Publication Date
2026-02-03
Estimated Expiration
2040-06-29

AI Technical Summary

Technical Problem

Mesh network testing requires multiple people to perform the tasks, resulting in repetitive roaming and wasting manpower and increasing workload.

Method used

Design an automated testing system for mesh networking. Utilize a BCM2835 chip to control a roaming robot for automatic roaming. Combine this with OpenCV image recognition technology to identify paths and collect data and generate test reports via a USB connection to a mobile phone.

Benefits of technology

It achieves automated testing, saves manpower, improves testing efficiency, enables rapid fault location, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113938899B_ABST
    Figure CN113938899B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a mesh networking test method, device and equipment and a storage medium, and belong to the field of communication technology. The method comprises the following steps: a roaming device connected to a mobile terminal detects a signal of a currently accessed router during roaming according to a predetermined path marking; and if it is determined that roaming switching of the mobile terminal fails, the roaming device collects roaming data of the mobile terminal and generates a test report according to the collected roaming data.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The embodiment of the present application relates to the technical field of communication, in particular to a mesh networking test method, device and equipment and storage medium of wireless network. BACKGROUND

[0002] In the new era of Internet of Everything, the home terminal router has gone through the era of power cat and repeater, and the seamless roaming experience of mesh networking is increasingly popular. Major manufacturers are launching mesh products, and currently domestic and international are trying to commercialize. Major manufacturers have invested a lot of manpower in development, testing, analysis and positioning of problems. Due to the shortcomings of mesh networking, multiple people are needed to test, and a large amount of repetitive walking roaming is needed, which brings a lot of workload to the later testing, causing waste of personnel. SUMMARY

[0003] The main purpose of the embodiment of the present application is to provide a mesh networking test method, device, equipment and storage medium, which aims to improve the test efficiency and avoid a lot of personnel waste.

[0004] To achieve the above purpose, the embodiment of the present application provides a mesh networking test method, which comprises the following steps:

[0005] The roaming device connected to the mobile terminal roams according to the predetermined path mark, and the signal of the currently accessed router is detected during roaming;

[0006] If it is judged that the roaming switching of the mobile terminal fails, the roaming data of the mobile terminal is collected by the roaming device, and a test report is generated according to the collected roaming data.

[0007] To achieve the above purpose, the embodiment of the present application provides a mesh networking test device, which comprises:

[0008] The detection module is used for detecting the signal of the currently accessed router during roaming of the roaming device connected to the mobile terminal according to the predetermined path mark;

[0009] The test module is used for collecting the roaming data of the mobile terminal by the roaming device if it is judged that the roaming switching of the mobile terminal fails, and generating a test report according to the collected roaming data.

[0010] To achieve the above purpose, the embodiment of the present application further provides a mesh networking test device, which comprises a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing the connection and communication between the processor and the memory. The program is executed by the processor to realize the steps of the foregoing method.

[0011] To achieve the above objectives, embodiments of the present invention provide a computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the aforementioned method.

[0012] The present invention provides a mesh networking testing method, apparatus, device, and storage medium. Its automated testing system can significantly save manpower, improve testing efficiency, and quickly and accurately locate faults. Attached Figure Description

[0013] Figure 1 This is a flowchart of a mesh networking testing method provided in Embodiment 1 of the present invention.

[0014] Figure 2 This is a schematic diagram of a mesh networking test device provided in Embodiment 2 of the present invention.

[0015] Figure 3 This is a diagram of the core module for controlling roaming devices provided in an embodiment of the present invention.

[0016] Figure 4 This is a flowchart of the roaming device testing process provided in an embodiment of the present invention.

[0017] Figure 5 This is a flowchart of the log acquisition process provided in an embodiment of the present invention.

[0018] Figure 6 This is a flowchart of the message acquisition process provided in an embodiment of the present invention.

[0019] Figure 7 This is a test scenario diagram of the roaming device provided in an embodiment of the present invention.

[0020] Figure 8 This is a schematic diagram of a customer demonstration scenario provided in an embodiment of the present invention. Detailed Implementation

[0021] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0022] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no inherent meaning. Therefore, "module," "part," or "unit" may be used interchangeably.

[0023] Example 1

[0024] like Figure 1 As shown, this embodiment provides a method for testing mesh networking, which includes the following steps:

[0025] Step S110: During the roaming process of the roaming device connected to the mobile terminal according to the predetermined path marking, the signal of the currently accessed router is detected;

[0026] Specifically, the roaming robot based on the BCM2835 chip control core roams according to a roaming path, which includes: waking up the roaming robot (roaming device) by a specified word, controlling the roaming robot based on the BCM2835 chip, and controlling the roaming robot's omnidirectional wheels through two-way drive; using OpenCV image recognition technology to identify the roaming robot's path to simulate human roaming; the roaming robot based on the BCM2835 chip control core connects to a mobile phone via USB, allowing for passive data reading tests from the mobile phone; and the roaming robot based on the BCM2835 chip control core saves the read data as roaming presets.

[0027] Step S120: If it is determined that the roaming handover of the mobile terminal has failed, the roaming device collects the roaming data of the mobile terminal and generates a test report based on the collected roaming data.

[0028] Furthermore, data extraction during roaming is achieved by the mobile terminal passively reading and collecting data through a USB connection to the roaming device.

[0029] Information is collected at the designated roaming points. Voice announcements are made for successful or failed roaming transitions. The BCM2835 chip control core saves the read data as a roaming preset value, compares it with the set roaming value, and then uses the BCM2835 chip control core to perform voice announcements and indicator light processing. A green light illuminates upon successful roaming, and a roaming success message is displayed.

[0030] After a specified roaming session, an output report is generated, including: the switching delay at each point, roaming time, etc. Key logs and packet captures from roaming failures are also obtained; the results are automatically compared with standard protocol flow graphs, and an analysis report is output.

[0031] The roaming process of the roaming device connected to the mobile terminal during roaming according to a predetermined path marker includes: the roaming device identifying the predetermined path marker to obtain a running path; and the roaming device roaming according to the running path. Specifically, the roaming path is identified using OpenCV image recognition technology to identify the path of the black tape.

[0032] The mesh network includes one main router and N secondary routers. The roaming device's operating path starts from the main router and ends at the N secondary routers in sequence.

[0033] This embodiment of the invention, after detecting the currently accessed router signal, further includes: when a switch from the currently accessed router signal to the next router signal is detected, determining whether the roaming handover of the mobile terminal is successful. Specifically, determining whether the roaming handover of the mobile terminal is successful when a switch from the currently accessed router signal to the next router signal is detected includes: when the roaming device detects a switch from the currently accessed router signal to the next router signal, the next router sends a handover command to the mobile terminal, causing the mobile terminal to switch from the currently accessed router to the next router; when the roaming device reads that the access router signal of the mobile terminal is the next router signal, it determines that the roaming handover of the mobile terminal is successful; when the roaming device reads that the access router signal of the mobile terminal is not the next router signal, it determines that the roaming handover of the mobile terminal has failed.

[0034] Example 2

[0035] Figure 2 This is a schematic diagram of a mesh networking test device provided in Embodiment 2 of the present invention, as shown below. Figure 2 As shown, it includes: detection module 201 and test module 202.

[0036] The detection module 201 is used to detect the signal of the currently accessed router during roaming by the roaming device connected to the mobile terminal according to the predetermined path marking; the test module 202 is used to collect the roaming data of the mobile terminal if it is determined that the roaming handover of the mobile terminal has failed, and generate a test report based on the collected roaming data.

[0037] The detection module 201 includes: a roaming unit for identifying the predetermined path marker, obtaining the running path, and roaming according to the running path; and a detection unit for detecting the signal of the currently accessed router.

[0038] The mesh network includes one main router and N secondary routers. The roaming device's operating path starts from the main router and ends at the N secondary routers in sequence.

[0039] Embodiment 3 of this invention proposes a mesh networking test device. The device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for establishing communication between the processor and the memory. The program is executed by the processor to achieve the following: Figure 1 The specific steps are shown below.

[0040] Embodiment 4 of the present invention provides a computer-readable storage medium that stores one or more programs, which can be executed by one or more processors to achieve, for example... Figure 1 The specific steps are shown below.

[0041] like Figure 3 As shown, the automated robot roaming method proposed in this embodiment of the invention includes a path tracking module, a data collection module, a voice module, and a report generation module based on an automated control core board with a BCM2835 chip.

[0042] The proposed method in this invention is as follows: First, for mesh testing requiring multi-person collaboration, an unmanned vehicle designed based on the control core of the BCM2835 chip is used. Second, for the roaming path, based on OpenCV image recognition technology, different colored tapes are applied to the required path, and the image recognition technology is used for binarization to track the roaming path and enable the roaming device to move. Third, roaming data synchronization: the test device (mobile phone) is connected to the control core of the BCM2835 chip via USB to collect roaming data, and a test report is generated after one round of roaming.

[0043] In conclusion, this invention constructs a mesh automated testing system, which consists of an automated roaming robot body (roaming device), a path recognition method, and a data acquisition system.

[0044] Figure 4 This is a flowchart of the roaming vehicle testing process provided in an embodiment of the present invention, such as... Figure 4 As shown, it includes:

[0045] 4.1 Set up the test network environment;

[0046] 4.2. Voice wake-up activates the roaming robot, which then begins roaming along the designated path.

[0047] 4.3 Record key parameters of the roaming device via USB;

[0048] 4.4 Determine if the roaming was successful;

[0049] 4.5. Voice broadcast of roaming status;

[0050] 4.6 Continue roaming until the straight section ends;

[0051] 4.7. Query the number of roaming trips required and determine whether to continue roaming;

[0052] 4.8 After roaming ends, generate a roaming report, synchronize the time, capture key time node logs and packet captures, compare them with standard protocols, and generate an analysis and test report.

[0053] Example 5

[0054] Test environment: In a 120 square meter environment, a star network and a tree network are formed by a main router controller and two secondary routers agent1 and agent2. The distance between the controller and agent1 and agent2 is determined by the attenuation of -65dB. The running path of the roaming device is the main router controller as the starting point and the ending point, and then passes through the running paths of agent1 and agent2 in sequence.

[0055] like Figure 7 As shown.

[0056] The embodiments of this invention are mainly based on the automated testing scenario of mesh roaming, and can also be provided to customers for mesh demonstration, education and training and other scenarios.

[0057] This embodiment primarily illustrates the following application scenario: system testing and preliminary investigation to quickly identify basic problems. After using the wireless network signal scanning tool Insider to scan and determine the location, first press the controller's WIFI protection settings (WPS), then press agent1's WPS to enable agent1 to form a network. The same method is used to enable agent2 to form a network. Each controller and agent needs to be connected to a serial port so that the vehicle can obtain logs. Log acquisition is accomplished through socket connections. After network setup, the roaming vehicle is voice-activated and roams along a designated trajectory. During operation, the vehicle continuously records signal strength. When approaching a signal switch, it slows down to a normal walking speed. Upon reaching the critical point for switching between the controller and agent1, agent1 sends a phone switching command. The vehicle connects to the phone via USB and records whether the switch was successful. If roaming is successful, packet capture and log recording are unnecessary. If roaming fails, the vehicle actively captures packet capture files at the corresponding time points from the packet capture laptop located on the vehicle's layer, along with logs from the laptop connected to agent1. Figure 5 and Figure 6 As shown. Then, the robot continues its roaming journey to point Agnt2. The same method is used to record relevant information. If the robot finally switches to the controller, the roaming is considered complete. If the roaming from Agnt2 to the controller fails, the roaming cannot be considered complete, and the robot waits for one minute before returning to the starting point along the track. Successful and unsuccessful roaming events are announced via the voice module. Due to the limited performance of the robot's single-board unit, after collecting information at the end of the roaming journey, the information is sent back to the PC for data analysis and report generation.

[0058] Embodiments of the present invention are also applied to marketing display scenarios, such as... Figure 8 As shown, the network consists of a main router (controller) and a secondary router (agent1).

[0059] 1) In marketing scenarios, set up circular roaming tracks.

[0060] 2) Within a relatively close range, the signal strength value of the access point (AP) is lowered, and the AP is placed on the side of the track. The networking method is the same as the mesh automated networking scenario.

[0061] 3) When the mesh roaming is successful, the car flashes a green light; when the mesh roaming fails, the car flashes a red light.

[0062] This invention proposes a method, apparatus, device, and storage medium for testing mesh networking. To avoid wasting manpower, a roaming robot is designed, which is low-cost, saves manpower, enables rapid testing, quickly analyzes and locates basic problems, and can be embedded in any automated scenario to implement integrated testing.

[0063] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0064] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0065] The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, but this does not limit the scope of the invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and spirit of the present invention should be within the scope of the present invention.

Claims

1. A method for testing mesh networking, characterized in that, The method includes: During the roaming process of a mobile terminal connected to a roaming device, the signal of the currently accessed router is detected according to the predetermined path marking. When a switch from the currently accessed router signal to the next router signal is detected, the next router sends a switching command to the mobile terminal, causing the mobile terminal to switch from the currently accessed router to the next router. When the roaming device reads that the access router signal of the mobile terminal is not the signal of the next router, it determines that the roaming handover of the mobile terminal has failed. The roaming device collects the roaming data of the mobile terminal and generates a test report based on the collected roaming data.

2. The method according to claim 1, characterized in that, The roaming process of the roaming device connected to the mobile terminal according to the predetermined path marking includes: The roaming device identifies the predetermined path markers to obtain the running path; The roaming device roams according to the described operating path.

3. The method according to claim 2, characterized in that, The mesh network includes one main router and N secondary routers. The roaming device's operating path starts from the main router and ends at the N secondary routers in sequence.

4. The method according to claim 1, characterized in that, When the roaming device reads the access router signal of the mobile terminal as the signal of the next router, it determines that the roaming handover of the mobile terminal is successful.

5. A testing device for mesh networking, characterized in that, include: The detection module is used to detect the signal of the currently accessed router during the roaming process of the roaming device connected to the mobile terminal according to the predetermined path marking; When a switch from the currently accessed router signal to the next router signal is detected, the next router sends a switching command to the mobile terminal, causing the mobile terminal to switch from the currently accessed router to the next router; if the roaming device reads that the access router signal of the mobile terminal is not the signal of the next router, it determines that the roaming handover of the mobile terminal has failed. The testing module is used to collect roaming data of the mobile terminal if the roaming handover of the mobile terminal is determined to be unsuccessful, and to generate a test report based on the collected roaming data.

6. The apparatus according to claim 5, characterized in that, The detection module includes: The roaming unit is used to identify the predetermined path markers, obtain the running path, and roam according to the running path; The detection unit is used to detect the signal of the currently accessing router.

7. The apparatus according to claim 6, characterized in that, The mesh network includes one main router and N secondary routers. The roaming device's operating path starts from the main router and ends at the N secondary routers in sequence.

8. A test device for mesh networking, characterized in that, The device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for establishing communication between the processor and the memory. When the program is executed by the processor, it implements the steps of the mesh networking test method as described in any one of claims 1-4.

9. A computer-readable storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of the mesh networking test method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • A WIFI roaming automated test method and system

    CN109041107A