CN114665990A - Wireless repeater test method, device, electronic equipment and medium - Google Patents

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

Info

Publication number
CN114665990A
CN114665990A CN202210235272.4A CN202210235272A CN114665990A CN 114665990 A CN114665990 A CN 114665990A CN 202210235272 A CN202210235272 A CN 202210235272A CN 114665990 A CN114665990 A CN 114665990A
Authority
CN
China
Prior art keywords
tested
transmission channel
test
determining
equipment
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.)
Granted
Application number
CN202210235272.4A
Other languages
Chinese (zh)
Other versions
CN114665990B (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

Images

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 test method, a wireless repeater test device, electronic equipment and a medium, and relates to the technical field of equipment test, wherein the method comprises the steps of connecting the wireless repeater with 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, determining the transmission channel in a circulating execution mode, carrying out 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. The method and the device have the effect of reducing the phenomenon of false detection and missing detection.

Description

Wireless repeater test method, 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 the living standard of residents, the area of a house of a family is large, and the traditional wireless network is difficult to cover all houses. The wireless repeater can increase the distance of network transmission by retransmitting or forwarding the signal, and improves the wireless coverage capability.
Due to the increased demand for wireless repeater applications, wireless device providers are required to test the performance of wireless repeaters in a more versatile manner. At present, the test of the wireless repeater is manual, the test process is complicated, and the phenomenon of false testing and missing testing may occur.
Disclosure of Invention
In order to reduce the phenomenon of false detection and missing detection, the application provides a wireless repeater test method, a wireless repeater test 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 solutions:
a wireless repeater test method, comprising:
connecting with 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, determining the transmission channel in a circulating mode, carrying out 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 device to be tested is connected with the device to be tested, the transmission channel is determined, the network connection test is carried out on the device to be tested on the basis of the transmission channel, and then the network connection state of the device to be tested on the current transmission channel is determined. And testing all the transmission channels to obtain the network connection states of the equipment to be tested in different transmission channels. When the transmission channels are switched in the testing process, the transmission channels which are not tested can be automatically identified, and the situations of missing test or error test caused by insufficient experience of working personnel are effectively reduced. After all the transmission channels are tested, 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, the test is more accurate compared with manual test, 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 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 determining any one of the transmission channels based on the test region and the network frequency band includes:
determining any one of the transmission channels 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 is tested already exists or not;
if the transmission channel which is tested 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 channels which are already tested exist, determining a second channel based on the channel labels, wherein the second channel is a transmission channel corresponding to the next channel label with the maximum value in the channel labels of the transmission channels which are already tested.
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 through random selection, so that the scene that a user uses the equipment to be tested to carry out network connection can be simulated, and the test result is more practical. Judging whether a transmission channel which has finished the test exists in a second preset mode, and if not, determining the transmission channel corresponding to the minimum value in the channel labels; if the channel number of the transmission channel is the maximum value, determining the transmission channel corresponding to the next channel number of the maximum value in the channel numbers of the transmission channels which are tested. The transmission channel is determined according to the channel label of the transmission channel, so that the current test progress is convenient for workers to know.
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 between the transmission channel and the equipment to be tested within first preset time or not;
if the network connection with the equipment to be tested is carried out within the first preset time, calculating the connection time based on the current moment, and determining that the test result is successful in connection;
and if the network connection with the equipment to be tested is not carried out within the first preset time, determining that the test result is a 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 within the first preset time is judged, if the network connection is carried out with the equipment to be tested within 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 as to embody the performance of the equipment to be tested through the connection time. If the network connection with the equipment to be tested is not carried out within the first preset time, it is indicated that the current transmission channel cannot be associated, and the test result is connection failure, so that the worker can further detect the transmission channel with the connection failure or debug the equipment to be tested.
In another possible implementation manner, the outputting the test result further includes:
changing the transmission 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 strength and the throughput when the signal is transmitted;
judging whether the frequency of changing the transmitting power reaches a first preset frequency or not;
if the first preset times are not reached, circularly executing the steps of changing the transmitting power for transmitting signals to the equipment to be tested based on the transmission channel, generating test data, and judging whether the times for changing the transmitting power reach the first preset times or not until the first preset times are reached;
and if the first preset times is reached, outputting the test data.
By adopting the technical scheme, the transmitting power of the signal transmitted to the equipment to be tested based on the transmission channel is changed, and the test data is generated. And judging whether the frequency of changing the transmitting power reaches a first preset frequency, if not, continuing to change the transmitting power and generating test data until the frequency of changing the transmitting power reaches the first preset frequency, and effectively reducing the phenomenon that errors occur in the test process and further influence the test result through the setting of the first preset frequency. If the first preset times is reached, the test data is output, so that the worker can determine whether the equipment to be tested has abnormal data or not based on the test data, and the worker can debug or overhaul the equipment to be tested conveniently.
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, performing network connection test on the equipment to be tested based on the transmission channel, and determining a test result; judging whether the frequency of stopping transmitting the signals reaches a second preset frequency or not;
if the second preset times are not reached, circularly executing the step of stopping transmitting signals to the equipment to be tested so as to disconnect the network connection with the equipment to be tested, after the second preset time, performing connection test on the equipment to be tested based on the transmission channel, determining a test result, and judging whether the times of stopping transmitting signals reach the second preset times or not until the second preset times are reached;
and if the second preset times is reached, calculating the reconnection success rate based on the test result and the second preset times.
By adopting the technical scheme, the signal is stopped being transmitted to the equipment to be tested, so that the network connection with the equipment to be tested is disconnected, and the condition of power failure or network connection disconnection in the actual life is simulated. And after the second preset time, performing 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 further simulate the phenomenon that in actual life, the equipment is powered on or needs to be connected with the network again after the second preset time. And judging whether the frequency of stopping transmitting the signals reaches a second preset frequency, if not, continuing to stop transmitting the signals to the equipment to be tested until the frequency of stopping transmitting the signals reaches the second preset frequency. The phenomenon that errors occur in the testing process and further the testing result is influenced is effectively reduced through the setting of the second preset times. If the second preset times is reached, calculating the reconnection success rate based on the test result and the second preset times, so that the worker can conveniently determine the performance of the equipment to be tested based on the reconnection success rate, and if the reconnection success rate is low, 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:
sending a data packet to the equipment to be tested within a third preset time, and determining the number of times of sending the data packet within 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 packets and the times of receiving the receipt information.
By adopting the technical scheme, the data packet is sent to the equipment to be tested within the third preset time, the transmission effect of the equipment to be tested on the data packet is further known by sending the data packet, and the times of sending the data packet within the third preset time is determined. After the data packet is sent to the device to be tested, the device to be tested sends the receipt information, and the times of receiving the receipt information are determined. And calculating the packet loss rate based on the times of sending the data packets and the times of receiving the response piece information. The phenomenon that the equipment to be tested runs for a long time in the actual situation is simulated through the setting of the third preset time, and the performance of the equipment to be tested during the long-time running 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 solutions:
a wireless repeater test apparatus, comprising:
the connection module is used for connecting with equipment to be tested;
a determining module for determining 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;
a first circulation module, configured to, when the untested transmission channel exists, cyclically execute a step of determining a transmission channel, perform a network connection test on the device to be tested based on a new transmission channel, determine a test result, and determine whether the untested transmission channel exists until the untested transmission channel 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 connection module is connected with the equipment to be tested, the determination module is used for determining the 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 then the network connection state of the equipment to be tested on the current transmission channel is determined. And testing all the transmission channels to obtain the network connection states of the equipment to be tested in different transmission channels. When the transmission channels are switched in the testing process, the transmission channels which are not tested can be automatically identified, and the situations of missing test or error test caused by insufficient experience of working personnel are effectively reduced. After all transmission channels are tested, the 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, the test is more accurate compared with manual test, and the condition that the test result is inaccurate due to recording errors of the worker is effectively reduced.
In another possible implementation manner, when determining the transmission channel, the determining module is specifically configured to:
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 region and the network frequency band:
determining any one of the transmission channels 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 is tested already exists or not;
if the transmission channel which is tested 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 channels which are already tested exist, determining a second channel based on the channel labels, wherein the second channel is a transmission channel corresponding to the next channel label with the maximum value in the channel labels of the transmission channels which are already tested.
In another possible implementation manner, when the first test module performs a network connection test on the device to be tested based on the transmission channel and determines a test result, the first test module is specifically configured to:
judging whether network connection is carried out between the transmission channel and the equipment to be tested within preset time or not;
if the 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;
and if the network connection with the equipment to be tested is not carried out within the preset time, determining that the test result is the connection failure.
In another possible implementation manner, the apparatus further includes:
a power changing module for changing the transmission power of the signal transmitted to the device under test based on the transmission channel and generating test data, wherein the test data comprises the signal strength and throughput when the signal is transmitted;
the second judging module is used for judging whether the times of changing the transmitting power reaches a first preset time or not;
the second circulating 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, generating test data and judging whether the frequency of changing the transmitting power reaches the first preset frequency or not until the first preset frequency is reached;
and the second output module is used for outputting the test data when the first preset times is reached.
In another possible implementation manner, the apparatus 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 second preset time and determining a testing result;
the third judging module is used for judging whether the frequency of stopping transmitting the signals reaches a second preset frequency or not;
a third circulation module, configured to, when the second preset number of times is not reached, cyclically execute a step of stopping transmitting signals to the device to be tested so as to disconnect a network connection with the device to be tested, perform a connection test on the device to be tested based on the transmission channel after a second preset time, determine a test result, and determine whether the number of times of stopping transmitting signals reaches the second preset number of times until the second preset number of times is reached;
and the first calculating module is used for calculating the reconnection success rate based on the test result and the second preset times when the second preset times are reached.
In another possible implementation manner, the apparatus further includes:
the sending module is used for sending a data packet to the equipment to be tested within a third preset time and determining the times of sending the data packet within the third preset time;
the receiving module is used for receiving the receipt information sent by the equipment to be tested and determining the times of receiving the receipt information;
and the second calculating 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 solutions:
an electronic device, comprising:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs configured to: a method of testing a wireless repeater 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 solutions:
a computer-readable storage medium, comprising: there is stored a computer program that can be loaded by a processor and executed 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 on the current transmission channel. And testing all the transmission channels to obtain the network connection states of the equipment to be tested in different transmission channels. When the transmission channels are switched in the testing process, the transmission channels which are not tested can be automatically identified, and the situations of missing test or error test caused by insufficient experience of working personnel are effectively reduced. After all the transmission channels are tested, 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, the test result is more accurate compared with a manual test, and the condition that the test result is inaccurate due to errors in recording of the worker is effectively reduced;
2. the transmission power of a signal transmitted to the device under test based on the transmission channel is changed, and test data is generated. And judging whether the frequency of changing the transmitting power reaches a first preset frequency, if not, continuing to change the transmitting power and generating test data until the frequency of changing the transmitting power reaches the first preset frequency, and effectively reducing the phenomenon that errors occur in the test process and further influence the test result through the setting of the first preset frequency. If the first preset times is reached, test data are output, so that a worker can determine whether abnormal data occur to the equipment to be tested based on discharge urine data, and the worker can conveniently debug or overhaul the equipment to be tested.
Drawings
Fig. 1 is a flowchart illustrating a method for testing a wireless repeater according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating 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 with reference to figures 1-3.
A person skilled in the art, after reading the present description, may make modifications as required without inventive contribution to the present embodiments, but shall be protected by the patent laws within the scope of the claims of the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in 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 obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In addition, the term "and/or" herein is only one kind of association relationship describing the association object, and means that there may be three kinds of relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship, unless otherwise specified.
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
The embodiment of the application provides a wireless repeater test method, which is executed by electronic equipment, wherein the electronic equipment can be a server or terminal equipment, the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud computing service. The terminal device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but is not limited thereto, the terminal device and the server may be directly or indirectly connected through a wired or wireless communication manner, and the embodiment of the present application is not limited thereto, as shown in fig. 1, the method includes step S101, step S102, step S103, step S104, step S105, and step S106, wherein,
and step S101, connecting with the equipment to be tested.
For the embodiment of the application, the device to be tested may be a wireless repeater to be tested, a default 2G SSID and a default 5G SSID exist in the electronic device, and the SSID is a wireless WiFi name identifier of the electronic device. The electronic equipment sends the 2G SSID and the 5G SSID to the wireless repeater to be tested, when the wireless repeater to be tested is connected with 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 connection is successful, connection of the electronic equipment and the device to be tested is completed. The electronic equipment records the MAC address (media access control address) of the wireless repeater to be tested, and since each wireless repeater has a specific MAC address, which wireless repeater is specifically tested can be known 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 equipment and the repeater to transmit signals mutually, and the electronic equipment determines the transmission channel so that the electronic equipment can transmit the signals through the transmission channel to realize communication with the wireless repeater to be tested. There are a number of transmission channels, for example: there are 13 transport channels in a 2G network.
Step S103, network connection test is carried out on the device 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 is in network connection with the wireless repeater to be tested through the transmission channel, the electronic device transmits a signal to the wireless repeater to be tested through the transmission channel, and then whether the network connection between the wireless repeater to be tested and the electronic device is successful is tested, and the electronic device determines the test result.
Step S104, judging whether a transmission channel which is not tested exists.
For the embodiment of the application, the electronic device determines whether there are transmission channels that are not tested, may determine the number of total transmission channels and the number of transmission channels that are tested, and determines whether the number of transmission channels that are tested is equal to the number of total transmission channels, if so, it indicates that there are no transmission channels that are not tested, and if not, it indicates that there are transmission channels that are not tested.
The electronic device may also mark the transmission channels that have been tested, and determine whether there are transmission channels that have not been marked among all the transmission channels, thereby obtaining whether there are transmission channels that have not been tested. The electronic equipment can also judge through the label of the transmission channel, record the label of the transmission channel which is tested, judge whether the label of the transmission channel which is not tested exists, and further obtain whether the transmission channel which is not tested exists.
And S105, if the transmission channel which is not tested exists, determining the transmission channel in a circulating mode, testing the network connection of 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.
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, and the electronic device determines that there are No. 12 and No. 13 transmission channels that have not been tested, the electronic device determines the No. 12 transmission channel, performs a network connection test on the to-be-tested repeater based on the No. 12 transmission channel, and determines a test result, and the electronic device determines whether there is a transmission channel that has not been tested; the electronic equipment judges that the transmission channel No. 13 which is not tested exists, the electronic equipment determines the transmission channel No. 13, performs network connection test on the repeater to be tested based on the transmission channel No. 13, determines a test result, and judges whether the transmission channel which is not tested exists or not; the electronic device determines that there is no transmission channel that has not been tested. And circularly judging whether the transmission channels which are not tested exist or not by the electronic equipment so as to test all the transmission channels and obtain the network connection states of the equipment to be tested in different transmission channels.
And step S106, if no transmission channel which is not tested exists, outputting a test result.
For the embodiment of the application, if the electronic device determines that no transmission channel which is not tested exists, the electronic device outputs a test result, and the electronic device can generate a test result table through Python (computer programming language) and further output the test result table through a display screen of the electronic device; the output of the test result may also be text information that the electronic device sends the test result to the terminal device of the worker, or voice information that the electronic device controls the speaker device to send the test result, or other forms, which is not limited herein. By outputting the test result, the staff can know the network connection condition of the equipment to be tested based on the test result. For example:
transmission channel 1 2 3
Result of connection Connection success Connection is successful Connection failure
Connection time 3 minutes 3 minutes 0
In a possible implementation manner of the embodiment of the present application, the determining the transmission channel in step S102 specifically includes step S1021 (not shown), step S1022 (not shown), and step S1023 (not shown), wherein step S1021 acquires the test area.
For the embodiment of the application, the electronic device acquires the test area selected by the user, the electronic device may acquire the test area selected by the user through the touch screen, and may also acquire the test area selected by the user through the keys, 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 in different areas are different, the wireless repeater to be tested can be tested only by acquiring the test area.
Step S1022, determine the network frequency band connected to the device under test.
The network frequency band comprises a plurality of transmission channels.
For the embodiment of the application, the electronic device determines the connected network frequency band of the wireless repeater to be tested, the electronic device sends the 2G SSID and the 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 band.
For the embodiment of the present application, the electronic device determines any transmission channel based on the test area and the network frequency band, for example:
the electronic device obtains a test area in China, and the available transmission channels of China in the 2.4GHz frequency band are as follows: channel number 1 to channel number 13; the available transmission channels in the 5GHz band in china are: channel number 36, channel number 40, channel number 44, channel number 48, channel number 52, channel number 56, channel number 60, channel number 64, channel number 149, channel number 153, channel number 157, and channel number 161. If the electronic equipment determines that the network frequency band is a 2.4GHz frequency band, determining a transmission channel in available transmission channels of the 2.4GHz frequency band; and if the electronic equipment determines that the network frequency band is the 5GHz frequency band, determining a transmission channel in the available transmission channels of the 5GHz frequency band.
In a possible implementation manner of this embodiment of the present application, the determining the transmission channel based on the test area and the network frequency band in step S1023 specifically includes step S10231 (not shown in the figure), wherein,
step S10231, any transmission channel is determined through a first preset mode or a second preset mode based on the test area and the network frequency band.
Wherein the transmission channel includes a channel label;
the first preset mode includes:
selecting one transmission channel from transmission channels which are not tested;
the second preset mode includes:
judging whether a transmission channel which is tested already exists or not;
if the transmission channel which is tested 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 channels which are already tested exist, determining a second channel based on the channel labels, 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 already tested.
For the embodiment of the present application, the electronic device determines the transmission channel through a first preset method, taking step S1023 as an example: the electronic equipment determines that the frequency range of a network connected with the wireless repeater to be tested is 2.4GHz, and if the tested channels are No. 1 channel, No. 4 channel and No. 6 channel, the transmission channels which are not tested are No. 2 channel, No. 3 channel, No. 5 channel, No. 7 channel, No. 8 channel, No. 9 channel, No. 10 channel, No. 11 channel, No. 12 channel and No. 13 channel. The transmission channel on which the electronic device is not tested is selected from one of the transmission channels, for example: transport channel number 8. The transmission channel is determined by random selection, so that the scene that a user uses the equipment to be tested for network connection can be simulated, and the test result is more practical.
The electronic device determines the transmission channel through a second preset method, taking step S1023 as an example:
and if the electronic equipment determines that the network frequency band connected with the wireless repeater to be tested is 5GHz, the electronic equipment judges whether a transmission channel which is tested already exists, and if the transmission channel which is tested already does not exist, the electronic equipment selects the No. 36 channel.
It is assumed that there are transport channels for which the test has been completed, and the transport channels for which the test has been completed are channel No. 36, channel No. 40, channel No. 44, channel No. 48, and channel No. 52. The electronic device selects a transmission channel corresponding to a next channel label of the maximum value of the channel labels in the transmission channels which have been tested, the transmission channel corresponding to the maximum value of the channel labels is the number 52 channel, the next channel label of the number 52 transmission channel is the number 56 transmission channel, and therefore the electronic device selects the number 56 transmission channel. The transmission channel is determined according to the channel label of the transmission channel, so that the current test progress is convenient for workers to know.
In a possible implementation manner of the embodiment of the present application, in step S103, a network connection test is performed on the device to be tested based on the 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), wherein,
and step S1031, judging whether to perform network connection with the equipment to be tested based on the transmission channel within 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 within 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 wireless repeater to be tested performs network connection with the wireless repeater to be tested based on the transmission channel at the current time is executed in a circulating mode until the connection time reaches the first preset time or the wireless repeater to be tested performs network connection with the wireless repeater to be tested at the current time. The first preset time can be any value within 0 to 10 minutes to meet the test requirement.
Step S1032, if the network connection is carried out with the device to be tested within the first preset time, the connection time is calculated based on the current moment, and the test result is determined to be successful.
For the embodiment of the 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, and if not to perform network connection with the wireless repeater to be tested at 8:00, calculates connection time based on 8:00, where the connection time is 0 minute; the electronic equipment judges whether the connection time of 0 minute reaches a first preset time of 10 minutes or not, and the first preset time is not reached; if the current time is 8:01, the electronic equipment judges whether the wireless repeater to be tested is in network connection with the wireless repeater to be tested based on a transmission channel at the time of 8:01, if the wireless repeater to be tested is not in network connection with the wireless repeater to be tested at the time of 8:01, the connection time is calculated based on the time of 8:01, the connection time is 1 minute, and the electronic equipment judges whether the connection time of 1 minute reaches a first preset time of 10 minutes or not and does not reach the first preset time; assuming that the current time is 8:02, the electronic equipment judges whether the network connection is carried out between the electronic equipment and the wireless repeater to be tested at 8:02 based on a transmission channel; 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, and calculates connection time based on 8:02, wherein the connection time is 2 minutes.
Step S1033, if the network connection with the device under test is not performed within the first preset time, determining that the connection fails as a test result.
For the embodiment of the 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 not to perform network connection with the wireless repeater to be tested at 8:10, calculates the connection time based on 8:10, where the connection time is 10 minutes, and the electronic device determines whether the connection time 10 minutes reaches a first preset time 10 minutes, and determines that the test result is failure if the connection time reaches the first preset time.
In a 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 in step S107, the transmission power of the signal transmitted to the device under test based on the transmission channel is changed, and the test data is generated.
Wherein the test data includes signal strength and throughput at the time the signal is transmitted.
For the embodiment of the application, the electronic equipment obtains the performance of the wireless repeater through the test data by changing the power of the transmitting 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 the electronic device may further change the transmission power by presetting a plurality of power values, which is not limited herein. In the absence of interfering signals, the higher the transmit power, the stronger the signal strength and the greater the throughput, the interfering signals including the presence of other terminal devices in the transmission channel, so that the transmission channel is congested, resulting in a reduced signal strength. The test data also comprises ping (network diagnosis tool) success rate and ping delay, a ping5 minute statistics result, the larger the ping success rate is, the more stable the network connection of the wireless repeater to be tested is; a smaller ping delay indicates a better network connection quality for the wireless repeater.
Step S108, determining whether the number of times of changing the transmission power reaches a first preset number of times.
For the embodiment of the present application, it is assumed that the electronic device changes the transmission power by increasing the power percentage, and the transmission power is 10%, 30%, 50%, 70%, and 100%, so that the first preset number is 5 times. The electronic device determines whether the number of times of changing the transmission power reaches 5 times.
Step S109, if the first preset number of times is not reached, cyclically executing the step of changing the transmission power of the transmission signal to the device to be tested based on the transmission channel, generating the test data, and determining whether the number of times of changing the transmission power reaches the first preset number of times until the first preset number of times is reached.
For the embodiment of the present application, taking step S108 as an example, assuming that the electronic device currently has 50% of transmission power, the number of times of changing the transmission power is 3, and the electronic device determines that the number of times of changing the transmission power does not reach 5; the electronic equipment changes the transmission power to 70%, generates test data, changes the transmission power for the 4 th time, and judges that the transmission power is changed for less than 5 times; the electronic device changes the transmission power to 100% and generates test data, the number of times of changing the transmission power is 5 th, and the electronic device judges that the number of times of changing the transmission power reaches 5 times.
In step S110, if the first preset number of times is reached, the test data is output.
For the embodiment of the application, if the electronic device judges that the number of times of changing the transmission power reaches a first preset number of times, the electronic device outputs test data, and the electronic device can generate a test data table through Python (computer programming language) and further output the test data table through a display screen of the electronic device; the output of the test data may also be text information that the electronic device sends the test result to the terminal device of the worker, or voice information that the electronic device controls the speaker device to send the test data, or other forms, which is not limited herein. By outputting the test data, the staff can know the network connection condition of the equipment to be tested based on the test result. For example:
transmission channel 36 44 149
Signal strength DB -30 -29 -28
Throughput (Mbps) 500 501 620
Ping success rate (5 minutes) 100% 100% 100%
ping delay (5 minutes) 3ms 3ms 2ms
In a 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), wherein,
and step S111, stopping transmitting signals to the equipment to be tested so as to disconnect the network connection with the equipment to be tested.
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 that the situation of power failure or network connection disconnection in actual life is simulated.
And step S112, after a second preset time, performing 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 minute to 30 minutes. And if the second preset time is 20 minutes, the electronic equipment transmits a signal to the wireless repeater to be tested again after 20 minutes, so as to test whether the network connection between the wireless repeater to be tested and the electronic equipment is successful, and the electronic equipment determines a test result.
And step S113, judging whether the frequency of stopping transmitting the signal reaches a second preset frequency.
For the embodiment of the present application, assuming that the wireless repeater is to be powered off for 5 times, the second preset number is 5 times, the electronic device determines whether the number of times of stopping transmitting signals reaches 5 times,
step S114, if the second preset frequency is not reached, the step of stopping transmitting signals to the device to be tested so as to disconnect the network connection with the device to be tested, after the second preset time, performing connection test on the device to be tested based on the transmission channel, determining a test result, and judging whether the frequency of stopping transmitting signals reaches the second preset frequency or not until the second preset frequency is reached.
For the embodiment of the present application, taking step S113 and step S112 as an example, assuming that the number of times of currently stopping transmitting signals is 3, and the electronic device determines that the number of times is not up to 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 the transmission channel, and determines a test result; the electronic equipment stops transmitting signals to the wireless repeater to be tested if the electronic equipment judges that the times of stopping transmitting signals are less than 5 times for 4 times, the electronic equipment performs connection test on the wireless repeater to be tested based on a transmission channel after 20 minutes, and a test result is determined; the electronic device judges that the number of times of stopping transmitting the signal reaches 5 times.
And step S115, if the second preset times is reached, calculating the reconnection success rate based on the test result and the second preset 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 success rate based on the test result and the second preset number of times. Because the test result includes the connection time, the electronic device may generate a test result table through Python (computer programming language) and then output the test result table through a display screen of the electronic device, thereby calculating the reconnection success rate based on the test result. For example:
number of power-off times 1 2 3 4 5
Reconnection of results Successful Successful Successful Successful Successful
Reconnection time (minutes) 1 2 3 4 5
The number of times the electronic device determines that the reconnection result is successful is 5, and therefore,
the reconnection success rate is 5 times/100%: 100%
In a 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), wherein,
step S116, sending a data packet to the device to be tested within a third preset time, and determining the number of times of sending the data packet within the third preset time.
For the embodiment of the application, the electronic device sends the data packet to the device to be tested within the third preset time to perform the aging test on the wireless repeater to be tested, 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 the TCP data packets and the UDP data packets for one day, records the times of sending the data packets to the wireless repeater to be tested by the electronic equipment, and determines that the times of sending the TCP data packets are 100 times by the electronic equipment if the electronic equipment sends 100 TCP data packets to the wireless repeater to be tested in one day.
Step S117, receiving the receipt information sent by the device under test, and determining the number of times of receiving the receipt information.
For the embodiment of the present application, taking step S116 as an example, the electronic device sends a TCP data packet and a UDP data packet to the wireless relay device to be tested in an alternating manner, the wireless relay device to be tested will send receipt information to the electronic device after receiving the data packet, the electronic device receives the receipt information sent by the device to be tested, and if the electronic device receives 99 pieces of receipt information about the TCP data packet sent by the wireless relay device to be tested, the electronic device receives the receipt information 99 times.
In 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, step S116 and step S117 are taken as examples:
the packet loss rate (100 times-99 times)/100 times 100% ═ 1%.
The smaller the packet loss rate of the wireless repeater to be tested is, the better the performance of the wireless repeater is.
The above embodiments describe a wireless repeater test method from the perspective of method flow, and the following embodiments describe a wireless repeater test apparatus from the perspective of a virtual module or a virtual unit, and are described in detail in the following embodiments.
An embodiment of the present application provides a wireless repeater testing apparatus 20, as shown in fig. 2, where the wireless repeater testing apparatus 20 specifically includes:
the connection module 201 is used for connecting 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 the device to be tested based on the transmission channel and determine a test result;
a first determining module 204, configured to determine whether a transmission channel that is not tested exists;
a first loop module 205, configured to, when there is a transmission channel that is not tested, loop to execute the steps of determining the transmission channel, performing a network connection test on the device to be tested based on the new transmission channel, determining a test result, and determining whether there is a transmission channel that is not tested, until there is no transmission channel that is not tested;
a first output module 206, configured to output a test result when there is no transmission channel that is not tested.
In a possible implementation manner of the embodiment of the present application, when determining the transmission channel, the determining module 202 is specifically configured to:
acquiring a test area;
determining a network frequency band connected with a 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 band.
In a possible implementation manner of the embodiment of the present application, the transmission channel includes a channel label, and when determining any transmission channel based on the test area and the network frequency band, 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 includes:
selecting one transmission channel from transmission channels which are not tested;
the second preset mode includes:
judging whether a transmission channel which is tested already exists or not;
if the transmission channel which is tested 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 channels which are already tested exist, determining a second channel based on the channel labels, 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 already tested.
In a possible implementation manner of the embodiment of the present application, when the first testing module 203 performs a network connection test on the device to be tested based on the transmission channel and determines a test result, the method is specifically configured to:
judging whether network connection is carried out on the equipment to be tested based on the transmission channel or not within preset time;
if the 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 the test result as the connection success;
and if the network connection with the equipment to be tested is not carried out within the preset time, determining that the test result is the connection failure.
In a 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, and 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 times of changing the transmitting power reaches a first preset time or not;
the second circulating 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, generating test data and judging whether the frequency of changing the transmitting power reaches the first preset frequency or not until the first preset frequency is reached;
and the second output module is used for outputting the test data when the first preset times are reached.
In a 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 second preset time and determining a testing result;
the third judging module is used for judging whether the frequency of stopping transmitting the signals reaches a second preset frequency or not;
the third circulating module is used for circularly executing the steps of stopping transmitting signals to the equipment to be tested when the second preset times are not reached so as to disconnect the network connection with the equipment to be tested, performing connection test on the equipment to be tested based on the transmission channel after second preset time, determining a test result, and judging whether the times of stopping transmitting the signals reach the second preset times or not until the second preset times are reached;
and the first calculating module is used for calculating the reconnection success rate based on the test result and the second preset times when the second preset times are reached.
In a possible implementation manner of the embodiment of the present application, the apparatus 20 further includes:
the sending module is used for sending a data packet to the equipment to be tested within a third preset time and determining the times of sending the data packet within 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 calculating 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, the first testing module 203 and the second testing module may be the same testing module or different testing modules. The first determining module 204, the second determining module, and the third determining module may be the same determining module, may be different determining modules, or may be partially the same determining 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 is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In an embodiment of the present application, an electronic device is provided, and as shown in fig. 3, an electronic device 30 shown in fig. 3 includes: a processor 301 and a memory 303. Wherein processor 301 is coupled to memory 303, such as via bus 302. Optionally, the electronic device 30 may also include a transceiver 304. It should be noted that the transceiver 304 is not limited to one in practical applications, 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), a general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 301 may also be a combination implementing a computing function. E.g., a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, etc.
Bus 302 may include a path that transfers information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The 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 this does not mean only one bus or one type of bus.
The Memory 303 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium or other magnetic storage device, 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, but is not limited to these.
The memory 303 is used for storing application program codes for executing the scheme of the application, and the processor 301 controls the execution. The processor 301 is configured to execute application program code stored in the memory 303 to implement the aspects illustrated 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., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. But also a server, etc. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments. Compared with the prior art, the electronic equipment and the equipment to be tested are connected and the transmission channel is determined, the electronic equipment conducts network connection test on the equipment to be tested based on the transmission channel, and then the network connection state of the equipment to be tested on the current transmission channel is determined. The electronic equipment tests all the transmission channels to obtain the network connection states 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 test is missed or mistested due to insufficient experience of workers is effectively reduced. After the electronic equipment completes the test of all 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, the test result is more accurate compared with manual test, and the condition that the test result is inaccurate due to the fact that the worker makes mistakes in recording 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, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (10)

1. A method for testing a wireless repeater, comprising:
connecting with 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, determining the transmission channel in a circulating mode, carrying out 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.
2. The method of claim 1, wherein the determining the transmission channel comprises:
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.
3. The method of claim 2, wherein the transmission channel includes a channel label, and wherein determining any of the transmission channels based on the test region and the network frequency band comprises:
determining any one of the transmission channels 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 is tested already exists or not;
if the transmission channel which is tested 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 channels which are already tested exist, determining a second channel based on the channel labels, wherein the second channel is a transmission channel corresponding to the next channel label with the maximum value in the channel labels of the transmission channels which are already tested.
4. The method according to claim 1, wherein the performing a network connection test on the device under test based on the transmission channel and determining a test result comprises:
judging whether network connection is carried out between the transmission channel and the equipment to be tested within first preset time or not;
if the network connection with the equipment to be tested is carried out within the first preset time, calculating the connection time based on the current moment, and determining that the test result is successful in connection;
and if the network connection with the equipment to be tested is not carried out within the first preset time, determining that the test result is a connection failure.
5. The method of claim 1, wherein outputting the test result further comprises:
changing the transmission 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 strength and the throughput when the signal is transmitted;
judging whether the frequency of changing the transmitting power reaches a first preset frequency or not;
if the first preset times are not reached, circularly executing the steps of changing the transmitting power for transmitting signals to the equipment to be tested based on the transmission channel, generating test data, and judging whether the times for changing the transmitting power reach the first preset times or not until the first preset times are reached;
and if the first preset times is reached, outputting the test data.
6. The method of claim 1, wherein 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, performing network connection test on the equipment to be tested based on the transmission channel, and determining a test result;
judging whether the frequency of stopping transmitting the signals reaches a second preset frequency or not;
if the second preset times are not reached, circularly executing the step of stopping transmitting signals to the equipment to be tested so as to disconnect the network connection with the equipment to be tested, after the second preset time, performing connection test on the equipment to be tested based on the transmission channel, determining a test result, and judging whether the times of stopping transmitting signals reach the second preset times or not until the second preset times are reached;
and if the second preset times is reached, calculating the reconnection success rate based on the test result and the second preset times.
7. The method of claim 1, wherein outputting the test result further comprises:
sending a data packet to the equipment to be tested within a third preset time, and determining the number of times of sending the data packet within 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 packets and the times of receiving the receipt information.
8. A wireless repeater test apparatus, comprising:
the connection module is used for connecting with equipment to be tested;
a determining module for determining 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;
a first circulation module, configured to, when the untested transmission channel exists, cyclically execute a step of determining a transmission channel, perform a network connection test on the device to be tested based on a new transmission channel, determine a test result, and determine whether the untested transmission channel exists until the untested transmission channel 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.
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: performing a method of testing a wireless repeater according to any of claims 1 to 7.
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 test 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 true CN114665990A (en) 2022-06-24
CN114665990B 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 (9)

* 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
US20090219852A1 (en) * 2005-11-11 2009-09-03 Youn Ae Ran Method of controlling relay communication
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

Patent Citations (9)

* 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
US20090219852A1 (en) * 2005-11-11 2009-09-03 Youn Ae Ran Method of controlling relay communication
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
QIANG HUA 等: "An Echo Measurement Method for Wireless Repeater with ICS Function", 《2012 8TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING》, pages 1 - 4 *
巫忠跃: "多用途K接口用户线路中继器的设计与实现", 《通信技术》, vol. 47, no. 1, pages 115 - 118 *
黄成兵 等: "基于超级节点MAC中继的复域分布检测非正交网络编码", 《计算机应用》, vol. 36, no. 12, pages 3256 - 3261 *

Also Published As

Publication number Publication date
CN114665990B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
WO2017113527A1 (en) Method and device for switching virtual sim card, and terminal
US7272394B2 (en) Location estimation of wireless terminals in a multi-story environment
TWI513210B (en) Achieving greater test efficiencies using acknowledgement signal suppression
US8811194B2 (en) Method for testing wireless devices using predefined test segments initiated by over-the-air signal characteristics
JP6271520B2 (en) Efficient parallel test method for time division duplex (TDD) communication systems
US11711154B2 (en) Method of reporting RSSI measurements in an unlicensed band and related apparatus
CN108028707A (en) Method for testing low-power radio frequency (RF) data packet signal transceiver
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
CN111884875A (en) Offline device determination method and device
JP2018533270A (en) Method for testing a low power radio frequency (RF) data packet signal transceiver
JP2018533267A (en) Method for testing a low power radio frequency (RF) data packet signal transceiver
CN113207146B (en) Wireless communication network quality monitoring system and method
CN110831049B (en) Network performance testing method and device
US9250673B2 (en) Power over Ethernet parameter storage
CN105050123A (en) Load control method for wireless network and terminal
CN114665990B (en) Wireless repeater testing method and device, electronic equipment and medium
CN111757371B (en) Statistical method of transmission delay, server and storage medium
US9692685B2 (en) Heterogeneous network system, network apparatus, and rendezvous path selection method thereof
CN111010724B (en) Terminal access method and device based on WLAN
CN114710801A (en) Processing method, device, storage medium and equipment for evaluation parameters of network performance
US10993179B2 (en) Wireless communication method and system including wireless relay devices that determine information about presence and absence of a response signal from a wireless terminal
CN105722216B (en) Distance detection method, terminal device and storage medium
CN103583062B (en) Network settings change method and system thereof and the terminal being used together with described system

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