CN114665990B - Wireless repeater testing method and device, electronic equipment and medium - Google Patents

Wireless repeater testing method and device, electronic equipment and medium Download PDF

Info

Publication number
CN114665990B
CN114665990B CN202210235272.4A CN202210235272A CN114665990B CN 114665990 B CN114665990 B CN 114665990B CN 202210235272 A CN202210235272 A CN 202210235272A CN 114665990 B CN114665990 B CN 114665990B
Authority
CN
China
Prior art keywords
tested
transmission channel
test
equipment
determining
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.)
Active
Application number
CN202210235272.4A
Other languages
Chinese (zh)
Other versions
CN114665990A (en
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.)
Shenzhen Sinobry Electronic Ltd
Original Assignee
Shenzhen Sinobry Electronic 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 Shenzhen Sinobry Electronic Ltd filed Critical Shenzhen Sinobry Electronic Ltd
Priority to CN202210235272.4A priority Critical patent/CN114665990B/en
Publication of CN114665990A publication Critical patent/CN114665990A/en
Application granted granted Critical
Publication of CN114665990B publication Critical patent/CN114665990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a wireless repeater testing method, a wireless repeater testing device, electronic equipment and a wireless repeater testing medium, and relates to the technical field of equipment testing; determining a transmission channel; network connection test is carried out on the equipment to be tested based on the transmission channel, and a test result is determined; judging whether a transmission channel which is not tested exists or not; if the transmission channel which is not tested exists, the steps of determining the transmission channel, performing network connection test on the equipment to be tested based on the new transmission channel, determining the test result, and judging whether the transmission channel which is not tested exists or not until the transmission channel which is not tested does not exist; and if no transmission channel which is not tested exists, outputting a test result. The method has the effect of reducing the phenomenon of false detection and missing detection.

Description

Wireless repeater testing method and device, electronic equipment and medium
Technical Field
The present disclosure relates to the field of device testing technologies, and in particular, to a method and an apparatus for testing a wireless repeater, an electronic device, and a medium.
Background
With the popularization of wireless and the improvement of living standard of residents, the area of many families is larger, and the traditional wireless network is difficult to cover all houses. The wireless repeater can enlarge the distance of network transmission by retransmitting or forwarding the signal, thereby improving the wireless coverage capability.
Due to the increasing demands for wireless repeater applications, wireless device providers need to perform multi-directional testing of the performance of wireless repeaters. The current test of the wireless repeater is manual test, the test process is complicated, and the phenomenon of false detection and missing detection can occur.
Disclosure of Invention
In order to reduce the phenomenon of false detection and missing detection, the application provides a wireless repeater testing method, a device, electronic equipment and a medium.
In a first aspect, the present application provides a method for testing a wireless repeater, which adopts the following technical scheme:
a wireless repeater testing method, comprising:
connecting with the equipment to be tested;
determining a transmission channel;
performing network connection test on the equipment to be tested based on the transmission channel, and determining a test result;
judging whether a transmission channel which is not tested exists or not;
if the transmission channel which is not tested exists, the steps of determining the transmission channel, performing network connection test on the equipment to be tested based on the new transmission channel, determining a test result, and judging whether the transmission channel which is not tested exists or not until the transmission channel which is not tested does not exist;
And if the transmission channel which is not tested does not exist, outputting the test result.
By adopting the technical scheme, the network connection testing device is connected with the device to be tested, the transmission channel is determined, and the network connection testing is carried out on the device to be tested based on the transmission channel, so that the network connection state of the device to be tested in the current transmission channel is determined. And testing all the transmission channels to obtain the network connection state of the equipment to be tested in different transmission channels. When the transmission channel is switched in the test process, the transmission channel which is not tested can be automatically identified, and the condition that the operator is in missing or mistesting due to insufficient experience is effectively reduced. After all the transmission channels are tested, a test result is output, so that a worker can know the network connection condition of the equipment to be tested based on the test result, and compared with manual test, the test method is more accurate, and the condition that the test result is inaccurate due to error recording of the worker is effectively reduced.
In another possible implementation manner, the determining a transmission channel includes:
acquiring a test area;
determining a network frequency band connected with the device to be tested, wherein the network frequency band comprises a plurality of transmission channels;
And determining any transmission channel based on the test area and the network frequency band.
By adopting the technical scheme, the test area is obtained, the network frequency band connected with the equipment to be tested is determined, and any transmission channel is determined based on the test area and the network frequency band, so that the test condition of the equipment to be tested is met.
In another possible implementation manner, the transmission channel includes a channel label, and the determining any one of the transmission channels based on the test area and the network frequency band includes:
determining any transmission channel through a first preset mode or a second preset mode based on the test area and the network frequency band;
the first preset mode comprises the following steps:
optionally selecting one transmission channel from the transmission channels which are not tested;
the second preset mode comprises the following steps:
judging whether a transmission channel which has finished testing exists or not;
if the transmission channel which has completed the test does not exist, determining a first channel based on the channel label, wherein the first channel is the transmission channel corresponding to the minimum value in the channel label;
and if the transmission channel which is finished in the test exists, determining a second channel based on the channel label, wherein the second channel is the transmission channel corresponding to the next channel label with the maximum value in the channel labels of the transmission channels which are finished in the test.
By adopting the technical scheme, one transmission channel is selected from the transmission channels which are not tested in the first preset mode, and the transmission channel is determined by random selection, so that the scene that a user uses the device to be tested to conduct network connection can be simulated, and the test result is more practical. Judging whether a transmission channel which has finished testing exists in a second preset mode, if not, determining a transmission channel corresponding to the minimum value in the channel label; if so, determining the transmission channel corresponding to the next channel label of the maximum value in the channel labels of the transmission channels which have been tested. The transmission channel is determined according to the channel label of the transmission channel, so that a worker can know the current test progress conveniently.
In another possible implementation manner, the performing a network connection test on the device under test based on the transmission channel, and determining a test result includes:
judging whether network connection is carried out with the equipment to be tested based on the transmission channel in a first preset time;
if network connection is carried out with the equipment to be tested within the first preset time, calculating the connection time based on the current moment, and determining that the test result is successful connection;
And if the network connection with the equipment to be tested is not performed within the first preset time, determining that the test result is connection failure.
By adopting the technical scheme, whether the network connection is carried out with the equipment to be tested based on the transmission channel in the first preset time is judged, if the network connection is carried out with the equipment to be tested in the first preset time, the current transmission channel can be normally associated, and the test result is that the connection is successful. And calculating the connection time based on the current moment so that the performance of the device to be tested can be reflected through the connection time. If the network connection with the equipment to be tested is not carried out within the first preset time, the fact that the current transmission channel cannot be associated is indicated, the test result is that the connection fails, and further detection of the transmission channel with the connection failure or debugging of the equipment to be tested can be conveniently carried out by staff.
In another possible implementation manner, the outputting the test result further includes:
changing the transmitting power of a signal transmitted to the equipment to be tested based on the transmission channel, and generating test data, wherein the test data comprises the signal strength and the throughput when the signal is transmitted;
judging whether the number of times of changing the transmitting power reaches a first preset number of times;
If the first preset times are not reached, circularly executing the steps of changing the transmitting power of the signals transmitted to the equipment to be tested based on the transmission channel, generating test data, and judging whether the times of changing the transmitting power reach the first preset times or not until the first preset times are reached;
and outputting the test data if the first preset times are reached.
By adopting the technical scheme, the transmitting power of transmitting signals to the equipment to be tested based on the transmission channel is changed, and test data are generated. Judging whether the number of times of changing the transmitting power reaches a first preset number of times, if the number of times of changing the transmitting power does not reach the first preset number of times, continuously changing the transmitting power and generating test data until the number of times of changing the transmitting power reaches the first preset number of times, and effectively reducing the phenomenon that errors occur in the test process and the test result are influenced through the arrangement of the first preset number of times. If the first preset times are reached, outputting test data so that a worker can determine whether abnormal data exist in the equipment to be tested based on the test data, and the worker can conveniently debug or overhaul the equipment to be tested.
In another possible implementation manner, the outputting the test result further includes:
Stopping transmitting signals to the equipment to be tested so as to disconnect the network connection with the equipment to be tested;
after a second preset time, carrying out network connection test on the equipment to be tested based on the transmission channel, and determining a test result; judging whether the number of times of stopping transmitting signals reaches a second preset number of times or not;
if the second preset times are not reached, the step of stopping transmitting signals to the equipment to be tested is executed circularly, so that the network connection with the equipment to be tested is disconnected, connection test is carried out on the equipment to be tested based on the transmission channel after the second preset time, a test result is determined, and whether the times of stopping transmitting signals reach the second preset times or not is judged until the second preset times are reached;
and if the second preset times are reached, calculating reconnection power based on the test result and the second preset times.
By adopting the technical scheme, the signal transmission to the equipment to be tested is stopped, so that the network connection with the equipment to be tested is disconnected, and the condition of power failure or network connection disconnection in actual life is simulated. And after the second preset time, carrying out network connection test on the equipment to be tested based on the transmission channel, determining a test result, and setting the second preset time to simulate the phenomenon that the power is turned on or the network needs to be connected again after the second preset time in actual life. And judging whether the times of stopping transmitting the signals reach the second preset times or not, if the times of stopping transmitting the signals do not reach the second preset times, continuing to stop transmitting the signals to the equipment to be tested, and until the times of stopping transmitting the signals reach the second preset times. Through the setting of the second preset times, the phenomenon that errors occur in the testing process and then the testing result is influenced is effectively reduced. If the second preset times are reached, the reconnection power is calculated based on the test result and the second preset times, the worker can conveniently determine the performance of the equipment to be tested based on the reconnection power, and if the reconnection power is lower, the worker can conveniently debug or overhaul the equipment to be tested based on the test result.
In another possible implementation manner, the outputting the test result further includes:
transmitting a data packet to the equipment to be tested in a third preset time, and determining the times of transmitting the data packet in the third preset time;
receiving receipt information sent by the equipment to be tested, and determining the times of receiving the receipt information;
and calculating the packet loss rate based on the times of sending the data packet and the times of receiving the receipt information.
By adopting the technical scheme, the data packet is sent to the device to be tested in the third preset time, the transmission effect of the device to be tested on the data packet is further known by sending the data packet, and the times of sending the data packet in the third preset time are determined. After the data packet is sent to the device to be tested, the device to be tested sends receipt information, and the times of receiving the receipt information are determined. And calculating the packet loss rate based on the number of times of sending the data packet and the number of times of receiving the receipt information. Through setting of the third preset time, the phenomenon that the equipment to be tested runs for a long time in the actual situation is simulated, and the performance of the equipment to be tested in the long-time running process can be judged through the packet loss rate.
In a second aspect, the present application provides a wireless repeater testing apparatus, which adopts the following technical scheme:
A wireless repeater testing apparatus, comprising:
the connecting module is used for connecting with the equipment to be tested;
a determining module, configured to determine a transmission channel;
the first test module is used for carrying out network connection test on the equipment to be tested based on the transmission channel and determining a test result;
the first judging module is used for judging whether a transmission channel which is not tested exists or not;
the first circulation module is used for circularly executing the steps of determining the transmission channel when the transmission channel which is not tested exists, carrying out network connection test on the equipment to be tested based on a new transmission channel, determining a test result, and judging whether the transmission channel which is not tested exists or not until the transmission channel which is not tested does not exist;
and the first output module is used for outputting the test result when the transmission channel which is not tested does not exist.
By adopting the technical scheme, the device to be tested is connected with the device to be tested through the connecting module, the transmission channel is determined through the determining module, the network connection test is carried out on the device to be tested through the first testing module based on the transmission channel, and then the network connection state of the device to be tested in the current transmission channel is determined. And testing all the transmission channels to obtain the network connection state of the equipment to be tested in different transmission channels. When the transmission channel is switched in the test process, the transmission channel which is not tested can be automatically identified, and the condition that the operator is in missing or mistesting due to insufficient experience is effectively reduced. After all transmission channels are tested, a test result is output through the first output module, so that a worker can know the network connection condition of the equipment to be tested based on the test result, and compared with manual test, the test method is more accurate, and the condition that the test result is inaccurate due to recording errors of the worker is effectively reduced.
In another possible implementation manner, the determining module is specifically configured to, when determining the transmission channel:
acquiring a test area;
determining a network frequency band connected with the device to be tested, wherein the network frequency band comprises a plurality of transmission channels;
and determining any transmission channel based on the test area and the network frequency band.
In another possible implementation manner, the transmission channel includes a channel label, and the determining module is specifically configured to, when determining any one of the transmission channels based on the test area and the network frequency band:
determining any transmission channel through a first preset mode or a second preset mode based on the test area and the network frequency band;
the first preset mode comprises the following steps:
optionally selecting one transmission channel from the transmission channels which are not tested;
the second preset mode comprises the following steps:
judging whether a transmission channel which has finished testing exists or not;
if the transmission channel which has completed the test does not exist, determining a first channel based on the channel label, wherein the first channel is the transmission channel corresponding to the minimum value in the channel label;
and if the transmission channel which is finished in the test exists, determining a second channel based on the channel label, wherein the second channel is the transmission channel corresponding to the next channel label with the maximum value in the channel labels of the transmission channels which are finished in the test.
In another possible implementation manner, the first test module is specifically configured to, when performing a network connection test on the device under test based on the transmission channel and determining a test result:
judging whether network connection is carried out with the equipment to be tested based on the transmission channel in preset time;
if network connection is carried out with the equipment to be tested within the preset time, calculating connection time based on the current moment, and determining that the test result is successful connection;
and if the network connection with the equipment to be tested is not performed within the preset time, determining that the test result is connection failure.
In another possible implementation, the apparatus further includes:
the power changing module is used for changing the transmitting power of a signal transmitted to the equipment to be tested based on the transmission channel and generating test data, wherein the test data comprises the signal strength and the throughput when the signal is transmitted;
the second judging module is used for judging whether the number of times of changing the transmitting power reaches a first preset number of times;
the second circulation module is used for circularly executing the steps of changing the transmitting power of the signals transmitted to the equipment to be tested based on the transmission channel and generating test data when the first preset times are not reached, and judging whether the times of changing the transmitting power reach the first preset times or not until the first preset times are reached;
And the second output module is used for outputting the test data when the first preset times are reached.
In another possible implementation, the apparatus further includes:
a stopping module, configured to stop transmitting a signal to the device under test, so as to disconnect a network connection with the device under test;
the second testing module is used for carrying out network connection testing on the equipment to be tested based on the transmission channel after a second preset time and determining a testing result;
the third judging module is used for judging whether the times of stopping transmitting the signals reach a second preset times or not;
the third circulation module is used for circularly executing the step of stopping transmitting signals to the equipment to be tested when the second preset times are not reached, so that the network connection with the equipment to be tested is disconnected, the connection test is carried out on the equipment to be tested based on the transmission channel after the second preset time is passed, the test result is determined, and whether the times of stopping transmitting signals reach the second preset times or not is judged until the second preset times are reached;
and the first calculation module is used for calculating reconnection power based on the test result and the second preset times when the second preset times are reached.
In another possible implementation, the apparatus further includes:
the sending module is used for sending a data packet to the equipment to be tested in a third preset time and determining the times of sending the data packet in the third preset time;
the receiving module is used for receiving receipt information sent by the equipment to be tested and determining the times of receiving the receipt information;
and the second calculation module is used for calculating the packet loss rate based on the times of sending the data packet and the times of receiving the receipt information.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device, the electronic device comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: a wireless repeater testing method according to any one of the possible implementations of the first aspect is performed.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer-readable storage medium, comprising: a computer program is stored that can be loaded and executed by a processor to implement a method of testing a wireless repeater as shown in any one of the possible implementations of the first aspect.
In summary, the present application includes at least one of the following beneficial technical effects:
1. and connecting with the equipment to be tested, determining a transmission channel, and performing network connection test on the equipment to be tested based on the transmission channel, so as to determine the network connection state of the equipment to be tested in the current transmission channel. And testing all the transmission channels to obtain the network connection state of the equipment to be tested in different transmission channels. When the transmission channel is switched in the test process, the transmission channel which is not tested can be automatically identified, and the condition that the operator is in missing or mistesting due to insufficient experience is effectively reduced. After all the transmission channels are tested, a test result is output, so that a worker can know the network connection condition of the equipment to be tested based on the test result, and compared with manual test, the network connection condition is more accurate, and the condition that the test result is inaccurate due to recording errors of the worker is effectively reduced;
2. and changing the transmitting power of transmitting signals to the device to be tested based on the transmission channel, and generating test data. Judging whether the number of times of changing the transmitting power reaches a first preset number of times, if the number of times of changing the transmitting power does not reach the first preset number of times, continuously changing the transmitting power and generating test data until the number of times of changing the transmitting power reaches the first preset number of times, and effectively reducing the phenomenon that errors occur in the test process and the test result are influenced through the arrangement of the first preset number of times. If the first preset times are reached, outputting test data so that a worker can determine whether abnormal data appear on the equipment to be tested based on discharge faeces data, and the equipment to be tested can be conveniently debugged or overhauled by the worker.
Drawings
Fig. 1 is a flow chart of a wireless repeater testing method according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a wireless repeater testing apparatus according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below in conjunction with figures 1-3.
Modifications of the embodiments which do not creatively contribute to the invention may be made by those skilled in the art after reading the present specification, but are protected by patent laws only within the scope of claims of the present application.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
Embodiments of the present application are described in further detail below with reference to the drawings attached hereto.
The embodiment of the application provides a wireless repeater testing method, which is executed by electronic equipment, wherein the electronic equipment can be a server or terminal equipment, and the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server for providing cloud computing service. The terminal device may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., and the terminal device and the server may be directly or indirectly connected through wired or wireless communication, which is not limited herein, and as shown in fig. 1, the method includes step S101, step S102, step S103, step S104, step S105, and step S106, where,
step S101, connecting with the device to be tested.
For the embodiment of the application, the device to be tested may be a wireless repeater to be tested, and the electronic device has a default 2G SSID and 5G SSID, where the SSID is a wireless WiFi name identifier of the electronic device. The electronic equipment sends a 2G SSID and a 5G SSID to the wireless repeater to be tested, when the wireless repeater to be tested is connected to the 2G SSID or the 5G SSID of the electronic equipment, the SSID of the wireless repeater to be tested is input into a management page of the electronic equipment, and after the connection is successful, the connection between the electronic equipment and the equipment to be tested is further completed. The electronic device records the MAC addresses (medium access control addresses) of the wireless repeaters to be tested, and since each wireless repeater has a specific MAC address, it can know which wireless repeater is specifically tested by recording the MAC address.
Step S102, determining a transmission channel.
For the embodiment of the application, the transmission channel is used for the electronic device and the repeater to mutually transmit signals, and the electronic device determines the transmission channel so that the electronic device can transmit signals through the transmission channel to realize communication with the wireless repeater to be tested. There are a plurality of transmission channels, for example: there are 13 transport channels for a 2G network.
Step S103, network connection test is carried out on the equipment to be tested based on the transmission channel, and a test result is determined.
For the embodiment of the application, after the electronic device determines the transmission channel, the electronic device performs network connection with the wireless repeater to be tested through the transmission channel, and the electronic device transmits signals to the wireless repeater to be tested through the transmission channel, so as to test whether the wireless repeater to be tested is successfully connected with the electronic device in a network manner, and the electronic device determines a test result.
Step S104, judging whether there is a transmission channel which is not tested.
For the embodiment of the application, the electronic device determines whether there are transmission channels which are not tested, the electronic device can determine the number of total transmission channels and the number of transmission channels which are finished being tested, determine whether the number of transmission channels which are finished being tested is equal to the number of total transmission channels, if so, it indicates that there are no transmission channels which are not tested, and if not, it indicates that there are transmission channels which are not tested.
The electronic device may also mark the transmission channels that have been tested, and determine whether transmission channels that have not been marked exist in all the transmission channels, so as to obtain whether transmission channels that have not been tested exist. The electronic equipment can also judge through the self-carried label of the transmission channel, record the label of the transmission channel which is finished being tested, judge whether the label of the transmission channel which is not being tested exists, and further obtain whether the transmission channel which is not being tested exists.
Step S105, if there is a transmission channel which is not tested, the steps of determining the transmission channel, performing network connection test on the device to be tested based on the new transmission channel, determining the test result, and judging whether there is a transmission channel which is not tested until there is no transmission channel which is not tested.
For the embodiment of the present application, taking step S102 as an example, assuming that the transmission channels that have been tested are No. 1 to No. 11, the electronic device determines that there are No. 12 and No. 13 transmission channels that have not been tested, then the electronic device determines No. 12 transmission channels, performs a network connection test on the repeater to be tested based on the No. 12 transmission channels, and determines a test result, and the electronic device determines whether there are any transmission channels that have not been tested; the electronic equipment judges that a No. 13 transmission channel which is not tested exists, the electronic equipment determines the No. 13 transmission channel, performs network connection test on the repeater to be tested based on the No. 13 transmission channel, determines a test result, and judges whether the transmission channel which is not tested exists or not; the electronic device determines that there are no transmission channels that are not tested. And circularly judging whether transmission channels which are not tested exist or not through the electronic equipment so as to realize testing of all the transmission channels, thereby obtaining the network connection state of the equipment to be tested in different transmission channels.
Step S106, if there is no transmission channel which is not tested, outputting a test result.
For the embodiment of the application, if the electronic equipment judges that the transmission channel which is not tested does not exist, the electronic equipment outputs a test result, and the electronic equipment can generate a test result table through a Python (computer programming language) and then output the test result table through a display screen of the electronic equipment; the output test result may be text information of the test result sent by the electronic device to the terminal device of the staff, or speech information of the test result sent by the electronic device to control the speaker device, or other forms, which are not limited herein. The network connection condition of the equipment to be tested can be known based on the test result by outputting the test result. For example:
transmission channel 1 2 3
Connection result Successful connection Successful connection Connection failure
Connection time 3 minutes 3 minutes 0
In one possible implementation manner of the embodiment of the present application, the determining a transmission channel in step S102 specifically includes step S1021 (not shown in the figure), step S1022 (not shown in the figure), and step S1023 (not shown in the figure), where step S1021 acquires a test area.
For the embodiment of the application, the electronic device acquires the test area selected by the user, and the electronic device can acquire the test area selected by the user through the touch screen, and also can acquire the test area selected by the user through the key, which is not limited herein. The electronic device may store a list of test areas for selection by a user, where the test areas may include china, the united states, the united kingdom, and the like. Because the transmission channels of different areas are different, the test area needs to be acquired first so that the wireless repeater to be tested can be tested.
In step S1022, the network frequency band connected to the device under test is determined.
Wherein the network band includes a plurality of transmission channels.
For the embodiment of the application, the electronic device determines the network frequency band of the connection of the wireless repeater to be tested, the electronic device sends a 2G SSID and a 5G SSID to the wireless repeater to be tested, the frequency band of the 2G is 2.4GHz, the frequency band of the 5G is 5GHz, and whether the wireless repeater to be tested is connected with the 2G SSID or the 5G SSID is judged by identifying the frequency band. Because the transmission channels of different frequency bands are different, the frequency band of the wireless repeater to be tested needs to be identified first.
Step S1023, determining any transmission channel based on the test area and the network frequency band.
For the embodiment of the application, the electronic device determines any transmission channel based on the test area and the network frequency band, for example:
the electronic equipment obtains the test area to be China, and the available transmission channels of China in the frequency band of 2.4GHz are as follows: channels 1 to 13; the available transmission channels in 5GHz frequency band in China are as follows: channel No. 36, channel No. 40, channel No. 44, channel No. 48, channel No. 52, channel No. 56, channel No. 60, channel No. 64, channel No. 149, channel No. 153, channel No. 157, and channel No. 161. If the electronic equipment determines that the network frequency band is the 2.4GHz frequency band, determining a transmission channel in the available transmission channels in the 2.4GHz frequency band; if the electronic equipment determines that the network frequency band is the 5GHz frequency band, determining a transmission channel in available transmission channels in the 5GHz frequency band.
In one possible implementation manner of the embodiment of the present application, the determining a transmission channel in step S1023 based on the test area and the network frequency band specifically includes step S10231 (not shown in the figure), where,
step S10231, determining any transmission channel by a first preset mode or a second preset mode based on the test area and the network frequency band.
Wherein the transmission channel comprises a channel label;
the first preset mode comprises the following steps:
Selecting one transmission channel from the transmission channels which are not tested;
the second preset mode comprises the following steps:
judging whether a transmission channel which has finished testing exists or not;
if no transmission channel which has finished the test exists, determining a first channel based on the channel label, wherein the first channel is the transmission channel corresponding to the minimum value in the channel label;
if the transmission channel which has finished being tested exists, a second channel is determined based on the channel label, wherein the second channel is the transmission channel corresponding to the next channel label of the maximum value in the channel labels of the transmission channels which have finished being tested.
For the embodiment of the present application, the electronic device determines the transmission channel in the first preset manner, taking step S1023 as an example: the electronic device determines that the network frequency band connected with the wireless repeater to be tested is 2.4GHz, and the transmission channels which are not tested are a No. 2 channel, a No. 3 channel, a No. 5 channel, a No. 7 channel, a No. 8 channel, a No. 9 channel, a No. 10 channel, a No. 11 channel, a No. 12 channel and a No. 13 channel on the assumption that the channels which are tested are the No. 1 channel, the No. 4 channel and the No. 6 channel. The transmission channel that the electronic device is not testing is optionally a transmission channel, for example: transmission channel number 8. The transmission channel is determined through random selection, so that a scene of network connection of a user when using the device to be tested can be simulated, and the test result is more practical.
The electronic device determines the transmission channel in a second preset manner, taking step S1023 as an example:
and the electronic equipment determines that the network frequency band connected with the wireless repeater to be tested is 5GHz, judges whether a transmission channel which is tested is existed, and selects a No. 36 channel if the transmission channel which is tested is not existed.
It is assumed that there are transmission channels for which the test has been completed, and the transmission channels for which the test has been completed are 36 # channel, 40 # channel, 44 # channel, 48 # channel, and 52 # channel. The electronic device selects a transmission channel corresponding to the next channel number of the maximum value of the channel numbers in the transmission channels which have been tested, the transmission channel corresponding to the maximum value of the channel numbers is a 52 # channel, and the next channel number of the 52 # transmission channel is a 56 # transmission channel, so the electronic device selects the 56 # transmission channel. The transmission channel is determined according to the channel label of the transmission channel, so that a worker can know the current test progress conveniently.
In one possible implementation manner of the embodiment of the present application, in step S103, a network connection test is performed on a device under test based on a transmission channel, and a test result is determined, which specifically includes step S1031 (not shown in the figure), step S1032 (not shown in the figure), and step S1033 (not shown in the figure), where,
Step S1031, determining whether to perform network connection with the device under test based on the transmission channel in the first preset time.
For the embodiment of the application, the electronic device may calculate the connection time based on the current time, and determine whether to perform network connection with the wireless repeater to be tested based on the transmission channel in the first preset time by determining whether the connection time reaches the first preset time. If the connection time does not reach the first preset time, the step of judging whether the network connection is performed with the wireless repeater to be tested based on the transmission channel at the current moment is circularly executed until the connection time reaches the first preset time, or the network connection is performed with the wireless repeater to be tested at the current moment. The first preset time may be any value within 0 minutes to 10 minutes to meet the test requirements.
Step S1032, if the network connection is performed with the device to be tested within the first preset time, the connection time is calculated based on the current time, and the test result is determined as successful connection.
For the embodiment of the present application, taking step S1031 as an example, assuming that the current time is 8:00, the electronic device determines whether to perform network connection with the wireless repeater to be tested based on the transmission channel at 8:00, if no network connection is performed with the wireless repeater to be tested at 8:00, calculating a connection time based on 8:00, where the connection time is 0 minutes; the electronic equipment judges whether the connection time of 0 min reaches the first preset time of 10 min and does not reach the first preset time; assuming that the current time is 8:01, the electronic equipment judges whether the network connection is performed with the wireless repeater to be tested based on a transmission channel at 8:01, if the network connection is not performed with the wireless repeater to be tested at 8:01, the connection time is calculated based on 8:01, the connection time is 1 minute, and the electronic equipment judges whether the connection time is 1 minute to reach the first preset time for 10 minutes and does not reach the first preset time; assuming that the current time is 8:02, the electronic equipment judges whether network connection is carried out between the electronic equipment and the wireless repeater to be tested based on a transmission channel at 8:02; assuming that network connection is performed with the wireless repeater to be tested at 8:02, the electronic device determines that the test result is successful, calculates the connection time based on 8:02, and the connection time is 2 minutes.
Step S1033, if the network connection with the device to be tested is not performed within the first preset time, determining that the test result is connection failure.
For the embodiment of the present application, taking step S1031 as an example, assuming that the current time is 8:10, the electronic device determines whether to perform network connection with the wireless repeater to be tested based on the transmission channel at 8:10, if no network connection is performed with the wireless repeater to be tested at 8:10, the connection time is calculated based on 8:10, the connection time is 10 minutes, the electronic device determines whether the connection time is 10 minutes up to the first preset time and reaches the first preset time, and the electronic device determines that the test result is failure.
In one possible implementation manner of the embodiment of the present application, the method further includes step S107 (not shown in the figure), step S108 (not shown in the figure), step S109 (not shown in the figure), and step S110 (not shown in the figure), where step S107 changes the transmission power of the signal transmitted to the device under test based on the transmission channel, and generates the test data.
Wherein the test data includes signal strength and throughput when the signal is transmitted.
For the embodiment of the application, the electronic device learns the performance of the wireless repeater through the test data by changing the power of the transmission channel to the wireless repeater to be tested. The electronic device may change the transmission power by increasing the power percentage or decreasing the power percentage, and may further change the transmission power by presetting a plurality of power values, which is not limited herein. In the absence of an interfering signal, the higher the transmit power, the stronger the signal strength and the greater the throughput, the interfering signal including the presence of other terminal devices in the transmission channel, such that the transmission channel is crowded, resulting in a reduced signal strength. The test data also comprises a ping (network diagnostic tool) success rate and a ping delay, the result is counted once in 5 minutes, and the larger the ping success rate is, the more stable the network connection of the wireless repeater to be tested is; the smaller the ping delay, the better the network connection quality of the wireless repeater.
Step S108, judging whether the number of times of changing the transmission power reaches a first preset number of times.
For the embodiments of the present application, it is assumed that the electronic device changes the transmission power by increasing the power percentage, the transmission power is 10%, 30%, 50%, 70%, and 100%, and thus the first preset number of times is 5. The electronic device determines whether the number of times of changing the transmission power reaches 5 times.
Step S109, if the first preset times are not reached, the steps of changing the transmitting power of the transmitting signal to the device to be tested based on the transmission channel and generating test data are circularly executed, and whether the times of changing the transmitting power reach the first preset times or not is judged until the first preset times are reached.
For the embodiment of the present application, taking step S108 as an example, assuming that the electronic device is currently 50% of the transmission power, the number of times of changing the transmission power is 3 rd, and the electronic device determines that the number of times of changing the transmission power does not reach 5 times; the electronic equipment changes the transmitting power into 70%, generates test data, changes the transmitting power for the 4 th time, and judges that the changing frequency of the transmitting power is not up to 5 times; the electronic equipment changes the transmitting power into 100%, generates test data, changes the transmitting power for the 5 th time, and judges that the changing frequency of the transmitting power reaches 5 times.
Step S110, if the first preset times are reached, outputting test data.
For the embodiment of the application, if the electronic device judges that the number of times of changing the transmitting power reaches the first preset number of times, the electronic device outputs test data, and the electronic device can generate a test data table through a Python (computer programming language) and then output the test data table through a display screen of the electronic device; the output test data may be text information of the test result sent by the electronic device to the terminal device of the staff, or speech information of the test data sent by the electronic device to control the speaker device, or other forms, which are not limited herein. The network connection condition of the equipment to be tested can be known based on the test result by outputting the test data. For example:
transmission channel 36 44 149
Signal intensity DB -30 -29 -28
Throughput (Mbps) 500 501 620
Success rate of ping (5 minutes) 100% 100% 100%
ping time-delay (5 minutes) 3ms 3ms 2ms
One possible implementation manner of the embodiment of the present application, the method further includes step S111 (not shown in the figure), step S112 (not shown in the figure), step S113 (not shown in the figure), step S114 (not shown in the figure), and step S115 (not shown in the figure), where,
step S111, stopping transmitting the signal to the device under test so that the network connection with the device under test is disconnected.
For the embodiment of the application, the electronic device selects any transmission channel in the current test frequency band, stops transmitting signals to the device to be tested, and can silence the 2G SSID or the 5G SSID to disconnect the network connection with the device to be tested, so as to simulate the situation of power failure or disconnection in actual life.
And step S112, after a second preset time, carrying out network connection test on the device to be tested based on the transmission channel, and determining a test result.
For the embodiment of the present application, the second preset time is an analog power-off time, and the second preset time may be 1 to 30 minutes. And if the second preset time is 20 minutes, the electronic equipment transmits signals to the wireless repeater to be tested again after 20 minutes, so that whether the wireless repeater to be tested is successfully connected with the electronic equipment through a network is tested, and the electronic equipment determines a test result.
Step S113, judging whether the number of times of stopping transmitting the signal reaches a second preset number of times.
For the embodiment of the application, assuming that the wireless repeater is to be subjected to power-off simulation 5 times, the second preset number of times is 5 times, the electronic device determines whether the number of times of stopping transmitting the signal reaches 5 times,
step S114, if the second preset times are not reached, the step of stopping transmitting signals to the equipment to be tested is circularly executed, so that the network connection with the equipment to be tested is disconnected, the equipment to be tested is subjected to connection test based on the transmission channel after the second preset time passes, the test result is determined, and whether the times of stopping transmitting signals reach the second preset times or not is judged until the second preset times are reached.
For the embodiment of the application, taking step S113 and step S112 as examples, assuming that the number of times of stopping transmitting signals is 3, if the electronic device determines that the number of times of stopping transmitting signals is not 5, the electronic device stops transmitting signals to the wireless repeater to be tested, and after 20 minutes, the electronic device performs connection test on the wireless repeater to be tested based on a transmission channel, and determines a test result; the electronic equipment judges that the number of times of stopping transmitting the signal is 4 and is not 5, the electronic equipment stops transmitting the signal to the wireless repeater to be tested, and after 20 minutes, the electronic equipment performs connection test on the wireless repeater to be tested based on a transmission channel and determines a test result; the electronic device judges that the number of times of stopping transmitting the signal reaches 5 times.
In step S115, if the second preset number of times is reached, the reconnection power is calculated based on the test result and the second preset number of times.
For the embodiment of the present application, taking step S114 as an example, if the electronic device determines that the number of times of stopping transmitting the signal reaches 5 times, the electronic device calculates the reconnection power based on the test result and the second preset number of times. Because the test result includes the connection time, the electronic device can generate a test result table through Python (computer programming language) and output the test result table through a display screen of the electronic device, and further calculate reconnection power based on the test result. For example:
Number of power failure 1 2 3 4 5
Heavy-duty fruit Successful Successful Successful Successful Successful
Reconnection time (minutes) 1 2 3 4 5
The electronic device determines that the reconnection result is successful 5 times, and therefore,
reconnection power = 5/5 x 100% = 100%
One possible implementation manner of the embodiment of the present application, the method further includes step S116 (not shown in the figure), step S117 (not shown in the figure), and step S118 (not shown in the figure), where,
step S116, data packets are sent to the device to be tested in a third preset time, and the number of times of sending the data packets in the third preset time is determined.
For the embodiment of the application, the electronic device sends the data packet to the device to be tested within a third preset time, the wireless repeater to be tested is subjected to the aging test, the third preset time can be 1 day, and the electronic device tests the transmission effect of different data packets. For example:
the electronic equipment alternately sends TCP data packets and UDP data packets at one day, and records the times of sending the data packets to the wireless repeater to be tested, and if the electronic equipment sends 100 TCP data packets to the wireless repeater to be tested in one day, the electronic equipment determines that the times of sending the TCP data packets are 100 times.
Step S117, receiving receipt information sent by the device to be tested, and determining the times of receiving the receipt information.
For the embodiment of the present application, taking step S116 as an example, the electronic device sends the TCP data packet and the UDP data packet to the wireless repeater to be tested, and then the wireless repeater to be tested sends receipt information to the electronic device after receiving the data packet, and the electronic device receives the receipt information sent by the device to be tested, and if the electronic device receives 99 receipt information about the TCP data packet sent by the wireless repeater to be tested, the number of times that the electronic device receives the receipt information is 99.
Step S118, the packet loss rate is calculated based on the number of times of sending the data packet and the number of times of receiving the receipt information.
For the embodiment of the present application, taking step S116 and step S117 as examples:
packet loss rate= (100 times-99 times)/100 times 100% = 1%.
The smaller the packet loss rate of the wireless repeater to be tested, the better the performance of the wireless repeater.
The above embodiments describe a wireless repeater testing method from the viewpoint of a method flow, and the following embodiments describe a wireless repeater testing apparatus from the viewpoint of a virtual module or a virtual unit, which is described in detail in the following embodiments.
The embodiment of the present application provides a wireless repeater testing apparatus 20, as shown in fig. 2, the wireless repeater testing apparatus 20 may specifically include:
A connection module 201, configured to connect with a device to be tested;
a determining module 202, configured to determine a transmission channel;
the first testing module 203 is configured to perform a network connection test on a device to be tested based on a transmission channel, and determine a test result;
a first judging module 204, configured to judge whether there is an untested transmission channel;
a first circulation module 205, configured to, when there is an untested transmission channel, perform a step of determining a transmission channel in a circulation manner, perform a network connection test on a device to be tested based on a new transmission channel, and determine a test result, and determine whether there is an untested transmission channel until there is no untested transmission channel;
the first output module 206 is configured to output a test result when there is no transmission channel that is not tested.
In one possible implementation manner of the embodiments of the present application, the determining module 202 is specifically configured to, when determining a transmission channel:
acquiring a test area;
determining a network frequency band connected with the device to be tested, wherein the network frequency band comprises a plurality of transmission channels;
any transmission channel is determined based on the test area and the network frequency band.
In one possible implementation manner of the embodiment of the present application, the transmission channel includes a channel label, and the determining module 202 is specifically configured to:
Determining any transmission channel through a first preset mode or a second preset mode based on the test area and the network frequency band;
the first preset mode comprises the following steps:
selecting one transmission channel from the transmission channels which are not tested;
the second preset mode comprises the following steps:
judging whether a transmission channel which has finished testing exists or not;
if no transmission channel which has finished the test exists, determining a first channel based on the channel label, wherein the first channel is the transmission channel corresponding to the minimum value in the channel label;
if the transmission channel which has finished being tested exists, a second channel is determined based on the channel label, wherein the second channel is the transmission channel corresponding to the next channel label of the maximum value in the channel labels of the transmission channels which have finished being tested.
In one possible implementation manner of the embodiment of the present application, when the first test module 203 performs a network connection test on a device to be tested based on a transmission channel and determines a test result, the first test module is specifically configured to:
judging whether network connection is carried out with the equipment to be tested based on a transmission channel in a preset time;
if network connection is carried out with the equipment to be tested within the preset time, calculating the connection time based on the current moment, and determining that the test result is successful connection;
If the network connection with the equipment to be tested is not carried out within the preset time, determining that the test result is connection failure.
In one possible implementation manner of the embodiment of the present application, the apparatus 20 further includes:
the power changing module is used for changing the transmitting power of a signal transmitted to the device to be tested based on the transmission channel and generating test data, wherein the test data comprises the signal intensity and the throughput when the signal is transmitted;
the second judging module is used for judging whether the number of times of changing the transmitting power reaches a first preset number of times;
the second circulation module is used for circularly executing the steps of changing the transmitting power of the transmitting signal to the equipment to be tested based on the transmission channel and generating test data when the first preset times are not reached, and judging whether the times of changing the transmitting power reach the first preset times or not until the first preset times are reached;
and the second output module is used for outputting test data when the first preset times are reached.
In one possible implementation manner of the embodiment of the present application, the apparatus 20 further includes:
the stopping module is used for stopping transmitting signals to the equipment to be tested so as to disconnect the network connection with the equipment to be tested;
the second testing module is used for carrying out network connection testing on the equipment to be tested based on the transmission channel after a second preset time and determining a testing result;
The third judging module is used for judging whether the times of stopping transmitting the signals reach a second preset times or not;
the third circulation module is used for circularly executing the step of stopping transmitting signals to the equipment to be tested when the second preset times are not reached, so that the network connection with the equipment to be tested is disconnected, the equipment to be tested is subjected to connection test based on a transmission channel after the second preset time is passed, the test result is determined, and whether the times of stopping transmitting the signals reach the second preset times or not is judged until the second preset times are reached;
and the first calculation module is used for calculating reconnection power based on the test result and the second preset times when the second preset times are reached.
In one possible implementation manner of the embodiment of the present application, the apparatus 20 further includes:
the sending module is used for sending the data packet to the equipment to be tested in the third preset time and determining the times of sending the data packet in the third preset time;
the receiving module is used for receiving receipt information sent by the equipment to be tested and determining the times of receiving the receipt information;
and the second calculation module is used for calculating the packet loss rate based on the times of sending the data packets and the times of receiving the receipt information.
In this embodiment of the present application, the first test module 203 and the second test module may be the same test module or may be different test modules. The first judgment module 204, the second judgment module, and the third judgment module may be the same judgment module, may be different judgment modules, or may be partially the same judgment module. The first circulation module 205, the second circulation module, and the third circulation module may be the same circulation module, may be different circulation modules, or may be partially the same circulation module. The first output module 206 and the second output module may be the same output module or different output modules. The first computing module and the second computing module may be the same computing module or different computing modules.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In an embodiment of the present application, as shown in fig. 3, an electronic device 30 shown in fig. 3 includes: a processor 301 and a memory 303. Wherein the processor 301 is coupled to the memory 303, such as via a bus 302. Optionally, the electronic device 30 may also include a transceiver 304. It should be noted that, in practical applications, the transceiver 304 is not limited to one, and the structure of the electronic device 30 is not limited to the embodiment of the present application.
The processor 301 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. Processor 301 may also be a combination of implementing computing functions. For example, comprising one or more combinations of microprocessors, a combination of a DSP and a microprocessor, and the like.
Bus 302 may include a path to transfer information between the components. Bus 302 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect Standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. Bus 302 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or one type of bus.
The Memory 303 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (Electrically Erasable Programmable Read Only Memory ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired application code in the form of instructions or data structures and that can be accessed by a computer.
The memory 303 is used for storing application program codes for executing the present application and is controlled to be executed by the processor 301. The processor 301 is configured to execute the application code stored in the memory 303 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices include, but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. But may also be a server or the like. The electronic device shown in fig. 3 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above. Compared with the related art, in the embodiment of the application, the electronic equipment is connected with the equipment to be tested and determines the transmission channel, and the electronic equipment performs network connection test on the equipment to be tested based on the transmission channel, so that the network connection state of the equipment to be tested in the current transmission channel is determined. And the electronic equipment tests all the transmission channels to obtain the network connection state of the equipment to be tested in different transmission channels. When the electronic equipment switches the transmission channel in the test process, the transmission channel which is not tested can be automatically identified, and the condition that the worker leaks or misdetects due to insufficient experience is effectively reduced. After the electronic equipment tests all the transmission channels, the test result is output, so that a worker can know the network connection condition of the equipment to be tested based on the test result, and compared with manual test, the test method is more accurate, and the condition that the test result is inaccurate due to error recording of the worker is effectively reduced.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for a person skilled in the art, several improvements and modifications can be made without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for testing a wireless repeater, comprising:
connecting with the equipment to be tested;
Determining a transmission channel;
performing network connection test on the equipment to be tested based on the transmission channel, and determining a test result;
judging whether a transmission channel which is not tested exists or not;
if the transmission channel which is not tested exists, the steps of determining the transmission channel, performing network connection test on the equipment to be tested based on the new transmission channel, determining a test result, and judging whether the transmission channel which is not tested exists or not until the transmission channel which is not tested does not exist;
if the transmission channel which is not tested does not exist, outputting the test result;
the determining a transmission channel includes:
acquiring a test area of a user based on a test area list, wherein the test area comprises China, the United states and the United kingdom;
determining a network frequency band connected with equipment to be tested, wherein the network frequency band comprises a plurality of transmission channels; the plurality of transmission channels include a 2G frequency band and a 5G frequency band, the 2G frequency band is 2.4GHz, and the 5G frequency band is 5GHz.
2. The method for testing a wireless repeater according to claim 1, wherein the determining a transmission channel further comprises:
and determining any transmission channel based on the test area and the network frequency band.
3. The method according to claim 2, wherein the transmission channel includes a channel number, and wherein determining any one of the transmission channels based on the test area and the network frequency band includes:
determining any transmission channel through a first preset mode or a second preset mode based on the test area and the network frequency band;
the first preset mode comprises the following steps:
optionally selecting one transmission channel from the transmission channels which are not tested;
the second preset mode comprises the following steps:
judging whether a transmission channel which has finished testing exists or not;
if the transmission channel which has completed the test does not exist, determining a first channel based on the channel label, wherein the first channel is the transmission channel corresponding to the minimum value in the channel label;
and if the transmission channel which is finished in the test exists, determining a second channel based on the channel label, wherein the second channel is the transmission channel corresponding to the next channel label with the maximum value in the channel labels of the transmission channels which are finished in the test.
4. The method for testing a wireless repeater according to claim 1, wherein the network connection test is performed on the device under test based on the transmission channel, and the test result is determined, comprising:
Judging whether network connection is carried out with the equipment to be tested based on the transmission channel in a first preset time;
if network connection is carried out with the equipment to be tested within the first preset time, calculating the connection time based on the current moment, and determining that the test result is successful connection;
and if the network connection with the equipment to be tested is not performed within the first preset time, determining that the test result is connection failure.
5. The method of claim 1, wherein the outputting the test result further comprises:
changing the transmitting power of a signal transmitted to the equipment to be tested based on the transmission channel, and generating test data, wherein the test data comprises the signal strength and the throughput when the signal is transmitted;
judging whether the number of times of changing the transmitting power reaches a first preset number of times;
if the first preset times are not reached, circularly executing the steps of changing the transmitting power of the signals transmitted to the equipment to be tested based on the transmission channel, generating test data, and judging whether the times of changing the transmitting power reach the first preset times or not until the first preset times are reached;
And outputting the test data if the first preset times are reached.
6. The method of claim 1, wherein the outputting the test result further comprises:
stopping transmitting signals to the equipment to be tested so as to disconnect the network connection with the equipment to be tested;
after a second preset time, carrying out network connection test on the equipment to be tested based on the transmission channel, and determining a test result;
judging whether the number of times of stopping transmitting signals reaches a second preset number of times or not;
if the second preset times are not reached, the step of stopping transmitting signals to the equipment to be tested is executed circularly, so that the network connection with the equipment to be tested is disconnected, connection test is carried out on the equipment to be tested based on the transmission channel after the second preset time, a test result is determined, and whether the times of stopping transmitting signals reach the second preset times or not is judged until the second preset times are reached;
and if the second preset times are reached, calculating reconnection power based on the test result and the second preset times.
7. The method of claim 1, wherein the outputting the test result further comprises:
Transmitting a data packet to the equipment to be tested in a third preset time, and determining the times of transmitting the data packet in the third preset time;
receiving receipt information sent by the equipment to be tested, and determining the times of receiving the receipt information;
and calculating the packet loss rate based on the times of sending the data packet and the times of receiving the receipt information.
8. A wireless repeater testing apparatus, comprising:
the connecting module is used for connecting with the equipment to be tested;
a determining module, configured to determine a transmission channel;
the first test module is used for carrying out network connection test on the equipment to be tested based on the transmission channel and determining a test result;
the first judging module is used for judging whether a transmission channel which is not tested exists or not;
the first circulation module is used for circularly executing the steps of determining the transmission channel when the transmission channel which is not tested exists, carrying out network connection test on the equipment to be tested based on a new transmission channel, determining a test result, and judging whether the transmission channel which is not tested exists or not until the transmission channel which is not tested does not exist;
the first output module is used for outputting the test result when the transmission channel which is not tested does not exist;
The determining module is further specifically configured to obtain a test area of the user based on the test area list, where the test area includes china, the united states and the united kingdom; determining a network frequency band connected with equipment to be tested, wherein the network frequency band comprises a plurality of transmission channels; the plurality of transmission channels include a 2G frequency band and a 5G frequency band, the 2G frequency band is 2.4GHz, and the 5G frequency band is 5GHz.
9. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: a wireless repeater testing method according to any one of claims 1 to 7 is performed.
10. A computer readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements a wireless repeater testing method according to any one of claims 1 to 7.
CN202210235272.4A 2022-03-10 2022-03-10 Wireless repeater testing method and device, electronic equipment and medium Active CN114665990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210235272.4A CN114665990B (en) 2022-03-10 2022-03-10 Wireless repeater testing method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210235272.4A CN114665990B (en) 2022-03-10 2022-03-10 Wireless repeater testing method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN114665990A CN114665990A (en) 2022-06-24
CN114665990B true CN114665990B (en) 2024-03-22

Family

ID=82028489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210235272.4A Active CN114665990B (en) 2022-03-10 2022-03-10 Wireless repeater testing method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114665990B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB767568A (en) * 1953-08-21 1957-02-06 Post Office Improvements in or relating to communication systems
GB1326430A (en) * 1970-01-30 1973-08-15 Licentia Gmbh Repeater stations and communications systems incorporating the same
US4658435A (en) * 1984-09-17 1987-04-14 General Electric Company Radio trunking system with transceivers and repeaters using special channel acquisition protocol
JP2007295134A (en) * 2006-04-21 2007-11-08 Icom Inc Radio communication system and method of changing channel automatically
CN103716201A (en) * 2013-12-12 2014-04-09 中国科学院信息工程研究所 Open wireless sensing network performance test method and open wireless sensing network performance test system
CN106130674A (en) * 2016-06-12 2016-11-16 广州杰赛科技股份有限公司 A kind of repeater band intercarrier leak suppressing method of testing and device
CN107332591A (en) * 2016-04-29 2017-11-07 北京展讯高科通信技术有限公司 Repeater and its echo interference removing method, device
CN110839288A (en) * 2018-08-17 2020-02-25 上海诺基亚贝尔股份有限公司 Communication method, apparatus and computer-readable storage medium in home wireless network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2626895C (en) * 2005-11-11 2013-11-05 Lg Electronics Inc. Method of controlling relay communication

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB767568A (en) * 1953-08-21 1957-02-06 Post Office Improvements in or relating to communication systems
GB1326430A (en) * 1970-01-30 1973-08-15 Licentia Gmbh Repeater stations and communications systems incorporating the same
US4658435A (en) * 1984-09-17 1987-04-14 General Electric Company Radio trunking system with transceivers and repeaters using special channel acquisition protocol
JP2007295134A (en) * 2006-04-21 2007-11-08 Icom Inc Radio communication system and method of changing channel automatically
CN103716201A (en) * 2013-12-12 2014-04-09 中国科学院信息工程研究所 Open wireless sensing network performance test method and open wireless sensing network performance test system
CN107332591A (en) * 2016-04-29 2017-11-07 北京展讯高科通信技术有限公司 Repeater and its echo interference removing method, device
CN106130674A (en) * 2016-06-12 2016-11-16 广州杰赛科技股份有限公司 A kind of repeater band intercarrier leak suppressing method of testing and device
CN110839288A (en) * 2018-08-17 2020-02-25 上海诺基亚贝尔股份有限公司 Communication method, apparatus and computer-readable storage medium in home wireless network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
An Echo Measurement Method for Wireless Repeater with ICS Function;Qiang Hua 等;《2012 8th International Conference on Wireless Communications, Networking and Mobile Computing》;第1-4页 *
基于超级节点MAC中继的复域分布检测非正交网络编码;黄成兵 等;《计算机应用》;第36卷(第12期);第3256-3261+3273页 *
多用途K接口用户线路中继器的设计与实现;巫忠跃;《通信技术》;第47卷(第1期);第 115-118 页 *

Also Published As

Publication number Publication date
CN114665990A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN107566053B (en) Method and system for testing radio frequency index and computer readable storage medium
JP6271520B2 (en) Efficient parallel test method for time division duplex (TDD) communication systems
TWI513210B (en) Achieving greater test efficiencies using acknowledgement signal suppression
CN108028707A (en) Method for testing low-power radio frequency (RF) data packet signal transceiver
CN103249069B (en) The test macro of the method for testing of mobile terminal and testing equipment, mobile terminal
CN110519779B (en) Mobile terminal testing method, device, system and storage medium
US20230259432A1 (en) Testing method and testing device
CN111431772B (en) Network delay measuring method, system, readable storage medium and terminal equipment
CN110650042A (en) Electric power communication network health degree evaluation method and terminal equipment
CN111274153A (en) Automatic testing method and device and electronic equipment
CN108141388A (en) For testing the method for low-power radio frequency (RF) data packet signal transceiver
CN108111367A (en) Performance test methods and device
CN110831049B (en) Network performance testing method and device
CN113207146B (en) Wireless communication network quality monitoring system and method
US9250673B2 (en) Power over Ethernet parameter storage
CN114665990B (en) Wireless repeater testing method and device, electronic equipment and medium
CN112988489A (en) Method, device, equipment and storage medium for testing radio frequency chip
CN112782567A (en) Chip testing system, method, device, medium and equipment
US20180288633A1 (en) Method for testing a radio communication device to be tested of a gateway in a set of gateways
CN115580359A (en) Method and system for detecting passive intermodulation of base station
CN115616372A (en) Fault injection test method and system
CN113179533B (en) Network problem positioning method, device, equipment, storage medium and program product
CN114595848A (en) Equipment supervision method and device
CN105722216B (en) Distance detection method, terminal device and storage medium
CN110750088A (en) Data detection method and related product

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
GR01 Patent grant
GR01 Patent grant