WO2019071546A1 - WiFi信号测试方法、终端及计算机可读存储介质 - Google Patents

WiFi信号测试方法、终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2019071546A1
WO2019071546A1 PCT/CN2017/105965 CN2017105965W WO2019071546A1 WO 2019071546 A1 WO2019071546 A1 WO 2019071546A1 CN 2017105965 W CN2017105965 W CN 2017105965W WO 2019071546 A1 WO2019071546 A1 WO 2019071546A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
preset
wifi
signal source
wifi signal
Prior art date
Application number
PCT/CN2017/105965
Other languages
English (en)
French (fr)
Inventor
任权
许阳
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/105965 priority Critical patent/WO2019071546A1/zh
Publication of WO2019071546A1 publication Critical patent/WO2019071546A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a WiFi signal testing method, a terminal, and a computer readable storage medium.
  • a wireless router is a router that is used for users to access the Internet and has wireless coverage.
  • the wireless router can be seen as a transponder that forwards broadband network signals from the user's home wall to nearby terminal devices, such as mobile phones with tablets, tablets, and other WiFi-enabled devices.
  • terminal devices such as mobile phones with tablets, tablets, and other WiFi-enabled devices.
  • wireless routers have been widely used in people's lives and work.
  • WiFi signal detection is a key test technique.
  • the existing detection of the WiFi signal generally uses the relevant meter measurement, and then the user needs to manually record the measurement result, and analyze the performance and stability of the WiFi signal according to the measurement result, which is easy to make an error, resulting in inaccurate measurement results.
  • the main purpose of the present invention is to provide a WiFi signal testing method, a terminal, and a computer readable storage medium, which are intended to solve the technical problem that the WiFi signal detecting process is not sufficiently automated and the detection result is inaccurate in the prior art.
  • the present invention provides a WiFi signal testing method, and the WiFi signal testing method includes:
  • the terminal When the terminal is in the preset scenario, the terminal is configured to collect the RSSI signal strength indication value of the WiFi signal sent by the signal source in the preset scenario;
  • Receiving a viewing instruction determining a target signal source corresponding to the viewing instruction, and acquiring respective RSSIs of the WiFi signal sent by the target signal source within a preset duration;
  • the prompt information corresponding to the change of the signal is output.
  • the signal change of the target signal source according to each RSSI of the WiFi signal sent by the target signal source in the preset duration includes:
  • the frequency conversion frequency is greater than the preset frequency conversion threshold, it is determined that the signal change of the target signal source in the preset time period is an unstable state.
  • the determining, according to each RSSI of the WiFi signal sent by the target signal source in the preset duration, the signal change of the target signal source further includes:
  • a corresponding signal jump variable is generated each time a signal transition occurs within a preset duration, corresponding to each time a signal transition occurs within a preset duration
  • the signal jump variable obtains an average value of a signal jump variable of the WiFi signal sent by the target signal source within a preset duration
  • the average value of the signal jump variable is greater than the preset threshold value average threshold value, it is determined that the signal change of the target signal source in the preset duration is an unstable state.
  • the prompt information corresponding to the outputting the signal change situation includes:
  • the prompt information corresponding to the change of the signal is output by means of light and/or text and/or audio.
  • the method for testing the WiFi signal further includes:
  • the present invention further provides a terminal, the terminal comprising: a memory, a processor, and a WiFi signal test program stored on the memory and operable on the processor, the WiFi signal
  • a terminal comprising: a memory, a processor, and a WiFi signal test program stored on the memory and operable on the processor, the WiFi signal
  • the steps of the WiFi signal test method as described above are implemented when the test program is executed by the processor.
  • the present invention also provides a computer readable storage medium having a WiFi signal test program stored thereon, the WiFi signal test program being executed by a processor to implement the above The steps of the WiFi signal test method.
  • the RSSI signal strength indication value of the WiFi signal sent by the signal source in the preset scene is collected; the viewing instruction is received, and the target signal source corresponding to the viewing instruction is determined, and the preset time period is obtained.
  • Each RSSI of the WiFi signal sent by the target signal source obtains a signal change of the target signal source according to each RSSI of the WiFi signal sent by the target signal source within a preset duration; and outputs prompt information corresponding to the change of the signal .
  • the WiFi signal sent by the target signal source in the preset scene is measured, and the change of the WiFi signal sent by the target signal source can be accurately determined and output according to the measurement result, without the measurement personnel manually recording the measurement result and reducing the measurement. Staff workload to improve measurement accuracy.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a first embodiment of a WiFi signal testing method according to the present invention
  • FIG. 3 is a schematic diagram of a scenario of a first embodiment of a preset scenario of a WiFi signal test method according to the present invention
  • FIG. 4 is a schematic diagram of a scenario of an embodiment of displaying terminal router information on a terminal interface
  • FIG. 5 is a schematic diagram of a scenario of a second embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • FIG. 6 is a schematic diagram of a scenario of a third embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • FIG. 7 is a schematic diagram of a scenario of a fourth embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • FIG. 8 is a schematic diagram of a scenario of a fifth embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • FIG. 9 is a schematic diagram of a scenario of a sixth embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • Figure 10 is a schematic illustration of an embodiment of a variation trend diagram of the present invention.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
  • the terminal may be a PC, or may be a terminal device such as a smart phone, a tablet computer, or a portable computer.
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • sensors such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • an operating system may be included in the memory 1005 as a computer storage medium.
  • a network communication module may be included in the memory 1005 as a computer storage medium.
  • a user interface module may be included in the memory 1005 as a computer storage medium.
  • a WiFi signal test program may be included in the memory 1005 as a computer storage medium.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
  • the processor 1001 can be used to call the WiFi signal test program stored in the memory 1005 and perform the following operations:
  • the terminal When the terminal is in the preset scenario, the terminal is configured to collect the RSSI signal strength indication value of the WiFi signal sent by the signal source in the preset scenario;
  • Receiving a viewing instruction determining a target signal source corresponding to the viewing instruction, and acquiring respective RSSIs of the WiFi signal sent by the target signal source within a preset duration;
  • the prompt information corresponding to the change of the signal is output.
  • the processor 1001 can call the WiFi signal test program stored in the memory 1005, and also perform the following operations:
  • the frequency conversion frequency is greater than the preset frequency conversion threshold, it is determined that the signal change of the target signal source in the preset time period is an unstable state.
  • the processor 1001 can call the WiFi signal test program stored in the memory 1005, and also perform the following operations:
  • a corresponding signal jump variable is generated each time a signal transition occurs within a preset duration, corresponding to each time a signal transition occurs within a preset duration
  • the signal jump variable obtains an average value of a signal jump variable of the WiFi signal sent by the target signal source within a preset duration
  • the average value of the signal jump variable is greater than the preset threshold value average threshold value, it is determined that the signal change of the target signal source in the preset duration is an unstable state.
  • the processor 1001 can call the WiFi signal test program stored in the memory 1005, and also perform the following operations:
  • the prompt information corresponding to the change of the signal is output by means of light and/or text and/or audio.
  • the processor 1001 can call the WiFi signal test program stored in the memory 1005, and also perform the following operations:
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of a WiFi signal testing method according to the present invention.
  • the WiFi signal testing method includes:
  • Step S10 When the terminal is in the preset scenario, the terminal is configured to collect the RSSI signal strength indication value of the WiFi signal sent by the signal source in the preset scenario;
  • the Wi-Fi signal test is a key test technology for verifying Wi-Fi performance and stability. Because Wi-Fi connection strategy, rate selection, and anti-interference need to be performed according to different user scenarios. Matching, in order to achieve better performance and better user experience. Therefore, in this embodiment, multiple user scenarios can be set.
  • FIG. 3 is a schematic diagram of a scenario of a first embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • the scene is a strong signal + strong interference scene.
  • a strong signal means that the terminal is close to each signal source (ie, a wireless router) (for example, 5 meters, the value can be freely set according to actual conditions).
  • Strong interference means that there are multiple sources in this scenario, for example, eight routers (the value can be freely set according to actual needs).
  • the terminal turns on the WiFi function. If the wireless router is not connected, the information of the surrounding eight wireless routers is collected, including the name of each wireless router, the Mac address, the channel, and the RSSI value (Received).
  • FIG. 4 is a schematic diagram of a scenario in which a terminal interface displays router information.
  • the terminal can also connect to the designated router. For example, if the router 1 is connected, the information of the router 1 is collected, and the RSSI value of the WiFi signal sent by the router 1 is mainly collected, and the interference information is recorded. For example, the interference information at this time is: a strong signal. 7 sources of interference.
  • FIG. 5 is a schematic diagram of a second embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • the scenario is a strong signal + weak interference scenario.
  • the terminal is close to each wireless router (for example, 5 meters, the value can be freely set according to actual conditions), and weak interference refers to this.
  • the terminal turns on the WiFi function. If the wireless router is not connected, the information of the surrounding three wireless routers is collected, including the name of each wireless router, the Mac address, the channel, and the RSSI value (Received).
  • FIG. 4 is a schematic diagram of a scenario in which a terminal interface displays router information.
  • the terminal can also connect to the designated router. For example, if the router 1 is connected, the information of the router 1 is collected, and the RSSI value of the WiFi signal sent by the router 1 is mainly collected, and the interference information is recorded.
  • the interference information at this time is: a strong signal. 2 sources of interference.
  • FIG. 6 is a schematic diagram of a scenario of a third embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • the scenario is a weak signal + strong interference scenario.
  • the terminal is far away from each wireless router (for example, 30 meters, the value can be freely set according to actual needs).
  • the wireless router The number is large, for example, eight wireless routers are configured.
  • the terminal turns on the WiFi function. If the wireless router is not connected, the information of the surrounding eight wireless routers is collected, including the name of each wireless router, the Mac address, the channel, and the RSSI value (Received).
  • FIG. 4 is a schematic diagram of a scenario in which a terminal interface displays router information.
  • the terminal can also connect to the designated router. For example, if the router 1 is connected, the information of the router 1 is collected, and the RSSI value of the WiFi signal sent by the router 1 is mainly collected, and the interference information is recorded.
  • the interference information at this time is: a weak signal. 7 sources of interference.
  • FIG. 7 is a schematic diagram of a scenario of a fourth embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • the scenario is a weak signal + weak interference scenario.
  • the terminal is far away from each wireless router (for example, 30 meters, the value can be freely set according to actual needs).
  • the wireless router The number is small, for example, three wireless routers are configured.
  • the terminal turns on the WiFi function. If the wireless router is not connected, the information of the surrounding three wireless routers is collected, including the name of each wireless router, the Mac address, the channel, and the RSSI value (Received).
  • FIG. 4 is a schematic diagram of a scenario in which a terminal interface displays router information.
  • the terminal can also connect to the designated router. For example, if the router 1 is connected, the information of the router 1 is collected, and the RSSI value of the WiFi signal sent by the router 1 is mainly collected, and the interference information is recorded.
  • the interference information at this time is: a weak signal. 2 sources of interference.
  • FIG. 8 is a schematic diagram of a scenario of a fifth embodiment of a preset scenario of a WiFi signal test method according to the present invention. As shown in Figure 8, the signal coverage area of the wireless router in this scenario is placed at 270° from the terminal.
  • FIG. 9 is a schematic diagram of a scenario of a sixth embodiment of a preset scenario of a WiFi signal test method according to the present invention.
  • the wireless router and the terminal are placed at approximately 180°, and a plurality of obstacles, for example, three, may be disposed between the router and the terminal.
  • the setting of the preset scene can be freely adjusted according to actual needs, and the embodiment of the preset scene does not constitute a limitation on the preset scene.
  • Step S20 receiving a viewing instruction, determining a target signal source corresponding to the viewing instruction, and acquiring respective RSSIs of the WiFi signal sent by the target signal source within a preset duration;
  • the terminal when the terminal is not connected to the designated wireless router, if the view command is received, the name of the router to be viewed in the view command is obtained, and the corresponding target router is determined according to the router name, and the WiFi sent by the target router in the preset duration is obtained.
  • the individual RSSI values of the signal If the terminal is connected to the designated wireless router, after receiving the viewing command, obtain the RSSI values of the WiFi signals sent by the designated wireless router.
  • the preset duration can be freely set, for example, set to 1 minute, that is, the time period from the receipt of the viewing command and the subsequent one minute delay is the preset duration. Since the RSSI value of the WiFi signal sent by the router may change with time, there may be multiple RSSIs of the WiFi signal sent by the target router within 1 minute, for example, from the time of counting (the time when the viewing command is received) to At the end of 1 minute, the RSSI value of the WiFi signal sent by the target wireless router is: -30db, corresponding time 0s; -25db, corresponding time 0 minutes 6s; -27db, corresponding time 0 minutes 16s; -31db, corresponding time 0 minutes 22s; -24db, corresponding time 0 minutes 25s; -25db, corresponding time 0 minutes 29s;-24db, corresponding time 0 minutes 36s; -27db, corresponding time 0 minutes 38s; -29db, corresponding time 0 minutes 46s; -25
  • Step S30 Obtain a signal change of the target signal source according to each RSSI of the WiFi signal sent by the target signal source within a preset duration;
  • the RSSI value of the WiFi signal sent by the target signal source has 11 in a preset time period of 1 minute, that is, the RSSI value of the WiFi signal sent by the target signal source is within 1 minute.
  • the hopping frequency is 10 times, and the hopping frequency of the WiFi signal sent by the target signal source within 1 minute of the preset duration is: the number of hops/preset duration (times/min), that is, the target signal source is sent within the preset duration.
  • the WiFi signal has a frequency conversion of 10 times/min.
  • the preset hopping frequency threshold is 8 times/min (the hop frequency conversion threshold is set according to the actual situation, the value is the hopping frequency reference value of the WiFi signal sent by the target signal source in a normal network condition, if the detected target is obtained If the hopping frequency of the WiFi signal sent by the signal source is greater than the value, it indicates that the WiFi signal sent by the terminal receiving the target signal source is unstable. If the hopping frequency of the WiFi signal sent by the detected target signal source is less than or equal to the value, The terminal receives the WiFi signal from the target signal source to be stable). At this time, the frequency of the jump frequency is 10 times/min, which is greater than the preset jump frequency threshold of 8 times/min, indicating that the WiFi signal sent by the terminal receiving target signal source is unstable.
  • the RSSI value of the WiFi signal sent by the target signal source is 11 in a preset time period of 1 minute, respectively: -30 db, corresponding to time 0 s; 25db, corresponding time 0 minutes 6s; -27db, corresponding time 0 minutes 16s; -31db, corresponding time 0 minutes 22s; -24db, corresponding time 0 minutes 25s; -25db, corresponding time 0 minutes 29s; -24db, corresponding time 0 36s; -27db, corresponding time 0 minutes 38s; -29db, corresponding time 0 minutes 46s; -25db, corresponding time 0 minutes 50s; -27db, corresponding time 1 minute 0s.
  • the jitter value of the RSSI value is: 5, 2, 4, 7, 1, 1, 3, 2, 4, 2 every two adjacent moments, and the WiFi signal sent by the target signal source within a preset duration
  • the default value of the preset jump variable is 2.8 db (the average value of the jump variable is set according to the actual situation, the value is the average value of the jump variable of the WiFi signal sent by the target signal source in a normal network condition, if the detected value is obtained If the average value of the hopping variable of the WiFi signal sent by the target signal source is greater than the value, it indicates that the WiFi signal sent by the terminal receiving the target signal source is unstable, and if the average value of the hopping variable of the WiFi signal sent by the detected target signal source is less than or equal to the value, , indicating that the terminal receives the WiFi signal from the target signal source is stable). At this time, the average value of the jump variable is 3.1db, which is greater than the average threshold value of the preset jump variable of 2.8db, indicating that the WiFi signal sent by the terminal receiving target signal source is unstable.
  • Step S40 output prompt information corresponding to the signal change situation.
  • the manner of outputting the prompt information may be a flashing light, an audio prompt, a text prompt, and the like.
  • the signal change is that the WiFi signal sent by the target signal source is unstable
  • the red light flashes
  • the green signal flashes when the WiFi signal from the target signal source is stable
  • the signal change is the target signal source.
  • the audio "WiFi signal is unstable” when the WiFi signal from the target signal source is stable, the audio "WiFi signal is stable” is issued; or when the signal change condition is that the WiFi signal sent by the target signal source is unstable
  • the text “WiFi signal is unstable” is displayed on the terminal, and when the WiFi signal sent from the target signal source is stable, the text “WiFi signal stabilization” is displayed on the terminal.
  • the RSSI signal strength indication value of the WiFi signal sent by the signal source in the preset scenario is collected; receiving the viewing instruction, determining the target signal source corresponding to the viewing instruction, and obtaining the preset duration Each RSSI of the WiFi signal sent by the target signal source; obtaining a signal change of the target signal source according to each RSSI of the WiFi signal sent by the target signal source within a preset duration; and outputting a prompt corresponding to the change of the signal information.
  • the WiFi signal sent by the target signal source in the preset scene is measured, and the change of the WiFi signal sent by the target signal source can be accurately determined and output according to the measurement result, without the measurement personnel manually recording the measurement result, reducing Measure the workload of the personnel and improve the measurement accuracy.
  • step S30 includes:
  • the frequency conversion frequency is greater than the preset frequency conversion threshold, it is determined that the signal change of the target signal source in the preset time period is an unstable state.
  • the RSSI value of the WiFi signal sent by the target signal source has 11 in a preset time period of 1 minute, that is, the RSSI value of the WiFi signal sent by the target signal source is within 1 minute.
  • the hopping frequency is 10 times, and the hopping frequency of the WiFi signal sent by the target signal source within 1 minute of the preset duration is: the number of hops/preset duration (times/min), that is, the target signal source is sent within the preset duration.
  • the WiFi signal has a frequency conversion of 10 times/min.
  • the preset hopping frequency threshold is 8 times/min (the hop frequency conversion threshold is set according to the actual situation, the value is the hopping frequency reference value of the WiFi signal sent by the target signal source in a normal network condition, if the detected target is obtained If the hopping frequency of the WiFi signal sent by the signal source is greater than the value, it indicates that the WiFi signal sent by the terminal receiving the target signal source is unstable. If the hopping frequency of the WiFi signal sent by the detected target signal source is less than or equal to the value, The terminal receives the WiFi signal from the target signal source to be stable). At this time, the frequency of the jump frequency is 10 times/min, which is greater than the preset jump frequency threshold of 8 times/min, indicating that the WiFi signal sent by the terminal receiving target signal source is unstable.
  • step S30 further includes:
  • a corresponding signal jump variable is generated each time a signal transition occurs within a preset duration, corresponding to each time a signal transition occurs within a preset duration
  • the signal jump variable obtains an average value of a signal jump variable of the WiFi signal sent by the target signal source within a preset duration
  • the average value of the signal jump variable is greater than the preset threshold value average threshold value, it is determined that the signal change of the target signal source in the preset duration is an unstable state.
  • the RSSI value of the WiFi signal sent by the target signal source is 11 in a preset time period of 1 minute, respectively: -30 db, corresponding time 0 s; -25 db Corresponding time 0 minutes 6s; -27db, corresponding time 0 minutes 16s; -31db, corresponding time 0 minutes 22s; -24db, corresponding time 0 minutes 25s; -25db, corresponding time 0 minutes 29s; -24db, corresponding time 0 minutes 36s; -27db, corresponding time 0 minutes 38s; -29db, corresponding time 0 minutes 46s; -25db, corresponding time 0 minutes 50s; -27db, corresponding time 1 minute 0s.
  • the jitter value of the RSSI value is: 5, 2, 4, 7, 1, 1, 3, 2, 4, 2 every two adjacent moments, and the WiFi signal sent by the target signal source within a preset duration
  • the default value of the preset jump variable is 2.8 db (the average value of the jump variable is set according to the actual situation, the value is the average value of the jump variable of the WiFi signal sent by the target signal source in a normal network condition, if the detected value is obtained If the average value of the hopping variable of the WiFi signal sent by the target signal source is greater than the value, it indicates that the WiFi signal sent by the terminal receiving the target signal source is unstable, and if the average value of the hopping variable of the WiFi signal sent by the detected target signal source is less than or equal to the value, , indicating that the terminal receives the WiFi signal from the target signal source is stable). At this time, the average value of the jump variable is 3.1db, which is greater than the average threshold value of the preset jump variable of 2.8db, indicating that the WiFi signal sent by the terminal receiving target signal source is unstable.
  • step S40 includes:
  • the prompt information corresponding to the change of the signal is output by means of light and/or text and/or audio.
  • the manner of outputting the prompt information may be a flashing light, an audio prompt, a text prompt, and the like.
  • the signal change is that the WiFi signal sent by the target signal source is unstable
  • the red light flashes
  • the green signal flashes when the WiFi signal from the target signal source is stable
  • the signal change is the target signal source.
  • the audio "WiFi signal is unstable” when the WiFi signal from the target signal source is stable, the audio "WiFi signal is stable” is issued; or when the signal change condition is that the WiFi signal sent by the target signal source is unstable
  • the text “WiFi signal is unstable” is displayed on the terminal, and when the WiFi signal sent from the target signal source is stable, the text “WiFi signal stabilization” is displayed on the terminal.
  • the WiFi signal testing method further includes:
  • the RSSI value of the WiFi signal sent by the target signal source has 11 values, respectively: -30 db, corresponding time 0 s; -25 db, corresponding time 0 minutes 6 s; -27 db, corresponding Time 0 minutes 16s; -31db, corresponding time 0 minutes 22s; -24db, corresponding time 0 minutes 25s; -25db, corresponding time 0 minutes 29s; -24db, corresponding time 0 minutes 36s; -27db, corresponding time 0 minutes 38s; -29db, corresponding time 0 minutes 46s; -25db, corresponding time 0 minutes 50s; -27db, corresponding time 1 minute 0s.
  • FIG. 10 is a schematic diagram of an embodiment of a change trend diagram of the present invention.
  • an embodiment of the present invention further provides a computer readable storage medium, where the WiFi signal test program is stored, and the WiFi signal test program is executed by the processor to implement the WiFi signal test as described above. The steps of the method.
  • portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

本发明公开了一种WiFi信号测试方法、终端及计算机可读存储介质,所述WiFi信号测试方法包括:当终端处于预置场景时,开启终端采集所述预置场景中信号源发出的WiFi信号的RSSI信号强度指示值的功能;接收查看指令,确定所述查看指令对应的目标信号源,获取预设时长内所述目标信号源发出的WiFi信号的各个RSSI;根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况;输出所述信号变化情况对应的提示信息。通过本发明,对预置场景中的目标信号源发出的WiFi信号进行测量,可以自动根据测量结果准确判断并输出目标信号源发出的WiFi信号的变化情况,无需测量人员手动记录测量结果,减少测量人员工作量,提升测量精确度。

Description

WiFi信号测试方法、终端及计算机可读存储介质
技术领域
本发明涉及无线通讯领域,尤其涉及WiFi信号测试方法、终端及计算机可读存储介质。
背景技术
无线路由器是应用于用户上网、带有无线覆盖功能的路由器。无线路由器可以看作是一个转发器,它将用户家中墙上接出的宽带网络信号通过天线转发给附近的终端设备,例如带有WiFi的手机、平板电脑以及其他带有WiFi功能的设备等。目前,无线路由器已经广泛应用于人们的生活、工作之中。
为了检验无线路由器发出的WiFi信号的性能和稳定性,WiFi信号检测是一项关键测试技术。现有的对WiFi信号进行检测一般使用相关仪表测量,然后需要用户手动记录测量结果,根据测量结果分析WiFi信号的性能和稳定性,容易出错,导致测量结果不准确。
发明内容
本发明的主要目的在于提供一种WiFi信号测试方法、终端及计算机可读存储介质,旨在解决现有技术中WiFi信号检测过程不够自动化及检测结果不精确的技术问题。
为实现上述目的,本发明提供一种WiFi信号测试方法,所述WiFi信号测试方法包括:
当终端处于预置场景时,开启终端采集所述预置场景中信号源发出的WiFi信号的RSSI信号强度指示值的功能;
接收查看指令,确定所述查看指令对应的目标信号源,获取预设时长内所述目标信号源发出的WiFi信号的各个RSSI;
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况;
输出所述信号变化情况对应的提示信息。
可选的,所述根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况包括:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变次数,根据所述信号跳变次数及预设时长,得到预设时长内所述目标信号源发出的WiFi信号的跳变频度;
检测所述跳变频度是否大于预设跳变频度阈值;
若所述跳变频度大于预设跳变频度阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
可选的,所述根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况还包括:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内每次发生信号跳变时对应的信号跳变量,根据预设时长内每次发生信号跳变时对应的信号跳变量,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变量平均值;
检测所述信号跳变量平均值是否大于预设跳变量平均值阈值;
若所述信号跳变量平均值大于预设跳变量平均值阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
可选的,所述输出所述信号变化情况对应的提示信息包括:
通过灯光和/或文字和/或音频的方式,输出所述信号变化情况对应的提示信息。
可选的,所述WiFi信号测试方法还包括:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI及各个RSSI对应的时间信息,绘制预设时长内所述目标信号源发出的WiFi信号的变化趋势图,在预设界面显示所述变化趋势图。
此外,为实现上述目的,本发明还提供一种终端,所述终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的WiFi信号测试程序,所述WiFi信号测试程序被所述处理器执行时实现如上所述的WiFi信号测试方法的步骤。
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有WiFi信号测试程序,所述WiFi信号测试程序被处理器执行时实现如上所述的WiFi信号测试方法的步骤。
本发明中,当终端处于预置场景时,采集该预置场景中信号源发出的WiFi信号的RSSI信号强度指示值;接收查看指令,确定该查看指令对应的目标信号源,获取预设时长内所述目标信号源发出的WiFi信号的各个RSSI;根据预设时长内该目标信号源发出的WiFi信号的各个RSSI,得到该目标信号源的信号变化情况;输出所述信号变化情况对应的提示信息。通过本发明,对预置场景中的目标信号源发出的WiFi信号进行测量,可以自动根据测量结果准确判断并输出目标信号源发出的WiFi信号的变化情况,无需测量人员手动记录测量结果,减少测量人员工作量,提升测量精确度。
附图说明
图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图;
图2为本发明WiFi信号测试方法第一实施例的流程示意图;
图3为本发明WiFi信号测试方法预置场景第一实施例的场景示意图;
图4为终端界面显示路由器信息一实施例的场景示意图;
图5为本发明WiFi信号测试方法预置场景第二实施例的场景示意图;
图6为本发明WiFi信号测试方法预置场景第三实施例的场景示意图;
图7为本发明WiFi信号测试方法预置场景第四实施例的场景示意图;
图8为本发明WiFi信号测试方法预置场景第五实施例的场景示意图;
图9为本发明WiFi信号测试方法预置场景第六实施例的场景示意图;
图10为本发明变化趋势图一实施例的示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图。
本发明实施例终端可以是PC,也可以是智能手机、平板电脑、便携计算机等终端设备。
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及WiFi信号测试程序。
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的WiFi信号测试程序,并执行以下操作:
当终端处于预置场景时,开启终端采集所述预置场景中信号源发出的WiFi信号的RSSI信号强度指示值的功能;
接收查看指令,确定所述查看指令对应的目标信号源,获取预设时长内所述目标信号源发出的WiFi信号的各个RSSI;
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况;
输出所述信号变化情况对应的提示信息。
进一步地,处理器1001可以调用存储器1005中存储的WiFi信号测试程序,还执行以下操作:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变次数,根据所述信号跳变次数及预设时长,得到预设时长内所述目标信号源发出的WiFi信号的跳变频度;
检测所述跳变频度是否大于预设跳变频度阈值;
若所述跳变频度大于预设跳变频度阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
进一步地,处理器1001可以调用存储器1005中存储的WiFi信号测试程序,还执行以下操作:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内每次发生信号跳变时对应的信号跳变量,根据预设时长内每次发生信号跳变时对应的信号跳变量,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变量平均值;
检测所述信号跳变量平均值是否大于预设跳变量平均值阈值;
若所述信号跳变量平均值大于预设跳变量平均值阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
进一步地,处理器1001可以调用存储器1005中存储的WiFi信号测试程序,还执行以下操作:
通过灯光和/或文字和/或音频的方式,输出所述信号变化情况对应的提示信息。
进一步地,处理器1001可以调用存储器1005中存储的WiFi信号测试程序,还执行以下操作:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI及各个RSSI对应的时间信息,绘制预设时长内所述目标信号源发出的WiFi信号的变化趋势图,在预设界面显示所述变化趋势图。
基于上述终端结构提出本发明WiFi信号测试方法实施例。
参照图2,图2为本发明WiFi信号测试方法第一实施例的流程示意图。
在一实施例中,WiFi信号测试方法包括:
步骤S10,当终端处于预置场景时,开启终端采集所述预置场景中信号源发出的WiFi信号的RSSI信号强度指示值的功能;
本实施例中,Wi-Fi信号测试是检验Wi-Fi性能和稳定性的一项关键测试技术,由于Wi-Fi的连接策略、速率选择和抗干扰性需要根据不同的用户场景来做相应的匹配,这样才能达到更好的性能更好的用户体验效果。因此,本实施例中,可设置多种用户场景。
参照图3,图3为本发明WiFi信号测试方法预置场景第一实施例的场景示意图。如图3所示的场景,该场景为强信号+强干扰场景,强信号指终端与各个信号源(即无线路由器)的距离很近(例如5米,该值可根据实际情况自由设置),强干扰指在这个场景中存在多个信号源,例如配置8个(该值可根据实际需要自由设置)无线路由器。当终端处于该场景下时,终端开启WiFi功能,若不连接无线路由器,则采集周围8个无线路由器的信息,该信息包括各个无线路由器的名称、Mac地址,信道、RSSI值(Received Signal Strength Indication接收的信号强度指示,无线发送层的可选部分,用来判定链接质量,以及是否增大广播发送强度)。这些信息可显示于终端界面。如图4所示,图4为终端界面显示路由器信息一实施例的场景示意图。当然,终端也可连接指定路由器,例如连接路由器1,则采集路由器1的信息,主要采集路由器1发出的WiFi信号的RSSI值的信息,并记录干扰信息,例如此时的干扰信息为:强信号干扰源7个。
参照图5,图5为本发明WiFi信号测试方法预置场景第二实施例的场景示意图。如图5所示的场景,该场景为强信号+弱干扰场景,该场景中,终端与各个无线路由器距离很近(例如5米,该值可根据实际情况自由设置),弱干扰指在这个场景中存在较少的信号源,例如配置3个(该值可根据实际需要自由设置)无线路由器。当终端处于该场景下时,终端开启WiFi功能,若不连接无线路由器,则采集周围3个无线路由器的信息,该信息包括各个无线路由器的名称、Mac地址,信道、RSSI值(Received Signal Strength Indication接收的信号强度指示,无线发送层的可选部分,用来判定链接质量,以及是否增大广播发送强度)。这些信息可显示于终端界面。如图4所示,图4为终端界面显示路由器信息一实施例的场景示意图。当然,终端也可连接指定路由器,例如连接路由器1,则采集路由器1的信息,主要采集路由器1发出的WiFi信号的RSSI值的信息,并记录干扰信息,例如此时的干扰信息为:强信号干扰源2个。
参照图6,图6为本发明WiFi信号测试方法预置场景第三实施例的场景示意图。如图6所示的场景,该场景为弱信号+强干扰场景,该场景中,终端与各个无线路由器距离较远(例如30米,该值可根据实际需要自由设置),这个场景中无线路由器的数目较多,例如配置8个无线路由器。当终端处于该场景下时,终端开启WiFi功能,若不连接无线路由器,则采集周围8个无线路由器的信息,该信息包括各个无线路由器的名称、Mac地址,信道、RSSI值(Received Signal Strength Indication接收的信号强度指示,无线发送层的可选部分,用来判定链接质量,以及是否增大广播发送强度)。这些信息可显示于终端界面。如图4所示,图4为终端界面显示路由器信息一实施例的场景示意图。当然,终端也可连接指定路由器,例如连接路由器1,则采集路由器1的信息,主要采集路由器1发出的WiFi信号的RSSI值的信息,并记录干扰信息,例如此时的干扰信息为:弱信号干扰源7个。
参照图7,图7为本发明WiFi信号测试方法预置场景第四实施例的场景示意图。如图7所示的场景,该场景为弱信号+弱干扰场景,该场景中,终端与各个无线路由器距离较远(例如30米,该值可根据实际需要自由设置),这个场景中无线路由器的数目较少,例如配置3个无线路由器。当终端处于该场景下时,终端开启WiFi功能,若不连接无线路由器,则采集周围3个无线路由器的信息,该信息包括各个无线路由器的名称、Mac地址,信道、RSSI值(Received Signal Strength Indication接收的信号强度指示,无线发送层的可选部分,用来判定链接质量,以及是否增大广播发送强度)。这些信息可显示于终端界面。如图4所示,图4为终端界面显示路由器信息一实施例的场景示意图。当然,终端也可连接指定路由器,例如连接路由器1,则采集路由器1的信息,主要采集路由器1发出的WiFi信号的RSSI值的信息,并记录干扰信息,例如此时的干扰信息为:弱信号干扰源2个。
参照图8,图8为本发明WiFi信号测试方法预置场景第五实施例的场景示意图。如图8所示的场景,该场景中无线路由器的信号覆盖区与终端成270°摆放。
参照图9,图9为本发明WiFi信号测试方法预置场景第六实施例的场景示意图。如图9所示的场景,该场景中无线路由器与终端约成180°摆放,路由器与终端之间还可以设置若干个障碍物,例如3个。
本实施例中,通过预置不同的场景,可以测量不同因素对终端接收路由器发出的WiFi信号的RSSI值的影响。
本实施例中,预置场景的设置可根据实际需要自由调整,上述预置场景的实施例不构成对预置场景的限定。
步骤S20,接收查看指令,确定所述查看指令对应的目标信号源,获取预设时长内所述目标信号源发出的WiFi信号的各个RSSI;
本实施例中,当终端不连接指定无线路由器时,若接收到查看指令,则获取查看指令中待查看路由器的名称,根据路由器名称确定对应的目标路由器,获取预设时长内目标路由器发出的WiFi信号的各个RSSI值。若终端连接有指定无线路由器,则在接收到查看指令后,获取该指定无线路由器发出的WiFi信号的各个RSSI值。
本实施例中,预设时长可自由设置,例如设置为1分钟,即从接收到查看指令开始,往后顺延1分钟的时间段,为预设时长。由于路由器发出的WiFi信号的RSSI值是可能随着时间变化发生改变的,1分钟内,目标路由器发出的WiFi信号的RSSI可能有多个,例如,从计时开始(接收到查看指令的时刻)到1分钟结束,获取的目标无线路由器发出的WiFi信号的RSSI值为: -30db,对应时刻0s;-25db,对应时刻0分6s;-27db,对应时刻0分16s;-31db,对应时刻0分22s;-24db,对应时刻0分25s;-25db,对应时刻0分29s;-24db,对应时刻0分36s;-27db,对应时刻0分38s;-29db,对应时刻0分46s;-25db,对应时刻0分50s;-27db,对应时刻1分0s;在预设时长内目标信号源发出的WiFi信号的RSSI值有11个。
步骤S30,根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况;
本实施例中,如步骤S20的实施例,在预设时长1分钟内,目标信号源发出的WiFi信号的RSSI值有11个,即该目标信号源发出的WiFi信号的RSSI值在1分钟内跳变了10次,得到预设时长1分钟内该目标信号源发出的WiFi信号的跳变频度为:跳变次数/预设时长(次/min),即预设时长内该目标信号源发出的WiFi信号的跳变频度为10次/min。若预设跳变频度阈值为8次/min(该跳变频度阈值根据实际情况设置,该值为一个正常网络情况下目标信号源发出的WiFi信号的跳变频度基准值,若检测得到的目标信号源发出的WiFi信号的跳变频度大于该值,则说明终端接收目标信号源发出的WiFi信号不稳定,若检测得到的目标信号源发出的WiFi信号的跳变频度小于等于该值,则说明终端接收目标信号源发出的WiFi信号稳定)。此时的跳变频度10次/min,大于预设跳变频度阈值8次/min,说明终端接收目标信号源发出的WiFi信号不稳定。
本发明另一可选实施例中,如步骤S20的实施例,在预设时长1分钟内,目标信号源发出的WiFi信号的RSSI值有11个,分别为:-30db,对应时刻0s;-25db,对应时刻0分6s;-27db,对应时刻0分16s;-31db,对应时刻0分22s;-24db,对应时刻0分25s;-25db,对应时刻0分29s;-24db,对应时刻0分36s;-27db,对应时刻0分38s;-29db,对应时刻0分46s;-25db,对应时刻0分50s;-27db,对应时刻1分0s。每两个相邻时刻间,RSSI值的跳变值为:5、2、4、7、1、1、3、2、4、2,则预设时长内该目标信号源发出的WiFi信号的RSSI的跳变量平均值为:(5+2+4+7+1+1+3+2+4+2)/10=3.1db。若预设跳变量平均值阈值为2.8db(该跳变量平均值阈值根据实际情况设置,该值为一个正常网络情况下目标信号源发出的WiFi信号的跳变量平均值基准值,若检测得到的目标信号源发出的WiFi信号的跳变量平均值大于该值,则说明终端接收目标信号源发出的WiFi信号不稳定,若检测得到的目标信号源发出的WiFi信号的跳变量平均值小于等于该值,则说明终端接收目标信号源发出的WiFi信号稳定)。此时的跳变量平均值3.1db,大于预设跳变量平均值阈值2.8db,说明终端接收目标信号源发出的WiFi信号不稳定。
本发明另一实施例中,还可以是跳变频度大于预设跳变频度阈值且信号跳变量平均值大于预设跳变量平均值阈值时,判定预设时长内该目标信号源的信号变化情况为不稳定状态。
步骤S40,输出所述信号变化情况对应的提示信息。
本实施例中,输出提示信息的方式可以为闪烁灯光、发出音频提示、发出文字提示等方式。例如,当信号变化情况为目标信号源发出的WiFi信号不稳定时,发出红色灯光闪烁,目标信号源发出的WiFi信号稳定时,发出绿色灯光闪烁;或者是当信号变化情况为目标信号源发出的WiFi信号不稳定时,发出音频“WiFi信号不稳定”,目标信号源发出的WiFi信号稳定时,发出音频“WiFi信号稳定”;或者是当信号变化情况为目标信号源发出的WiFi信号不稳定时,在终端上显示文字“WiFi信号不稳定”,目标信号源发出的WiFi信号稳定时,在终端上显示文字“WiFi信号稳定”。
本实施例中,当终端处于预置场景时,采集该预置场景中信号源发出的WiFi信号的RSSI信号强度指示值;接收查看指令,确定该查看指令对应的目标信号源,获取预设时长内所述目标信号源发出的WiFi信号的各个RSSI;根据预设时长内该目标信号源发出的WiFi信号的各个RSSI,得到该目标信号源的信号变化情况;输出所述信号变化情况对应的提示信息。通过本实施例,对预置场景中的目标信号源发出的WiFi信号进行测量,可以自动根据测量结果准确判断并输出目标信号源发出的WiFi信号的变化情况,无需测量人员手动记录测量结果,减少测量人员工作量,提升测量精确度。
进一步的,本发明WiFi信号测试方法一实施例中,步骤S30包括:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变次数,根据所述信号跳变次数及预设时长,得到预设时长内所述目标信号源发出的WiFi信号的跳变频度;
检测所述跳变频度是否大于预设跳变频度阈值;
若所述跳变频度大于预设跳变频度阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
本实施例中,如步骤S20的实施例,在预设时长1分钟内,目标信号源发出的WiFi信号的RSSI值有11个,即该目标信号源发出的WiFi信号的RSSI值在1分钟内跳变了10次,得到预设时长1分钟内该目标信号源发出的WiFi信号的跳变频度为:跳变次数/预设时长(次/min),即预设时长内该目标信号源发出的WiFi信号的跳变频度为10次/min。若预设跳变频度阈值为8次/min(该跳变频度阈值根据实际情况设置,该值为一个正常网络情况下目标信号源发出的WiFi信号的跳变频度基准值,若检测得到的目标信号源发出的WiFi信号的跳变频度大于该值,则说明终端接收目标信号源发出的WiFi信号不稳定,若检测得到的目标信号源发出的WiFi信号的跳变频度小于等于该值,则说明终端接收目标信号源发出的WiFi信号稳定)。此时的跳变频度10次/min,大于预设跳变频度阈值8次/min,说明终端接收目标信号源发出的WiFi信号不稳定。
进一步的,本发明WiFi信号测试方法一实施例中,步骤S30还包括:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内每次发生信号跳变时对应的信号跳变量,根据预设时长内每次发生信号跳变时对应的信号跳变量,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变量平均值;
检测所述信号跳变量平均值是否大于预设跳变量平均值阈值;
若所述信号跳变量平均值大于预设跳变量平均值阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
本发明一可选实施例中,如步骤S20的实施例,在预设时长1分钟内,目标信号源发出的WiFi信号的RSSI值有11个,分别为:-30db,对应时刻0s;-25db,对应时刻0分6s;-27db,对应时刻0分16s;-31db,对应时刻0分22s;-24db,对应时刻0分25s;-25db,对应时刻0分29s;-24db,对应时刻0分36s;-27db,对应时刻0分38s;-29db,对应时刻0分46s;-25db,对应时刻0分50s;-27db,对应时刻1分0s。每两个相邻时刻间,RSSI值的跳变值为:5、2、4、7、1、1、3、2、4、2,则预设时长内该目标信号源发出的WiFi信号的RSSI的跳变量平均值为:(5+2+4+7+1+1+3+2+4+2)/10=3.1db。若预设跳变量平均值阈值为2.8db(该跳变量平均值阈值根据实际情况设置,该值为一个正常网络情况下目标信号源发出的WiFi信号的跳变量平均值基准值,若检测得到的目标信号源发出的WiFi信号的跳变量平均值大于该值,则说明终端接收目标信号源发出的WiFi信号不稳定,若检测得到的目标信号源发出的WiFi信号的跳变量平均值小于等于该值,则说明终端接收目标信号源发出的WiFi信号稳定)。此时的跳变量平均值3.1db,大于预设跳变量平均值阈值2.8db,说明终端接收目标信号源发出的WiFi信号不稳定。
进一步的,本发明WiFi信号测试方法一实施例中,步骤S40包括:
通过灯光和/或文字和/或音频的方式,输出所述信号变化情况对应的提示信息。
本实施例中,输出提示信息的方式可以为闪烁灯光、发出音频提示、发出文字提示等方式。例如,当信号变化情况为目标信号源发出的WiFi信号不稳定时,发出红色灯光闪烁,目标信号源发出的WiFi信号稳定时,发出绿色灯光闪烁;或者是当信号变化情况为目标信号源发出的WiFi信号不稳定时,发出音频“WiFi信号不稳定”,目标信号源发出的WiFi信号稳定时,发出音频“WiFi信号稳定”;或者是当信号变化情况为目标信号源发出的WiFi信号不稳定时,在终端上显示文字“WiFi信号不稳定”,目标信号源发出的WiFi信号稳定时,在终端上显示文字“WiFi信号稳定”。
进一步的,本发明WiFi信号测试方法一实施例中,WiFi信号测试方法还包括:
根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI及各个RSSI对应的时间信息,绘制预设时长内所述目标信号源发出的WiFi信号的变化趋势图,在预设界面显示所述变化趋势图。
本实施例中,在预设时长1分钟内,目标信号源发出的WiFi信号的RSSI值有11个,分别为:-30db,对应时刻0s;-25db,对应时刻0分6s;-27db,对应时刻0分16s;-31db,对应时刻0分22s;-24db,对应时刻0分25s;-25db,对应时刻0分29s;-24db,对应时刻0分36s;-27db,对应时刻0分38s;-29db,对应时刻0分46s;-25db,对应时刻0分50s;-27db,对应时刻1分0s。为了让用户更加直观的了解终端接收目标信号源发出的WiFi信号的RSSI值的变化情况,可根据采集的数据绘制趋势图,在终端预设界面(或是在其他关联设备的界面)显示该趋势图。如图10所示,图10为本发明变化趋势图一实施例的示意图。
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有WiFi信号测试程序,所述WiFi信号测试程序被处理器执行时实现如上所述的WiFi信号测试方法的步骤。
本发明计算机可读存储介质的具体实施例与上述WiFi信号测试方法的各个实施例基本相同,在此不做赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (10)

  1. 一种WiFi信号测试方法,其特征在于,所述WiFi信号测试方法包括:
    当终端处于预置场景时,开启终端采集所述预置场景中信号源发出的WiFi信号的RSSI信号强度指示值的功能;
    接收查看指令,确定所述查看指令对应的目标信号源,获取预设时长内所述目标信号源发出的WiFi信号的各个RSSI;
    根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况;
    输出所述信号变化情况对应的提示信息。
  2. 如权利要求1所述的WiFi信号测试方法,其特征在于,所述根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况包括:
    根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变次数,根据所述信号跳变次数及预设时长,得到预设时长内所述目标信号源发出的WiFi信号的跳变频度;
    检测所述跳变频度是否大于预设跳变频度阈值;
    若所述跳变频度大于预设跳变频度阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
  3. 如权利要求1所述的WiFi信号测试方法,其特征在于,所述根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况还包括:
    根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内每次发生信号跳变时对应的信号跳变量,根据预设时长内每次发生信号跳变时对应的信号跳变量,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变量平均值;
    检测所述信号跳变量平均值是否大于预设跳变量平均值阈值;
    若所述信号跳变量平均值大于预设跳变量平均值阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
  4. 如权利要求1至3中任一项所述的WiFi信号测试方法,其特征在于,所述输出所述信号变化情况对应的提示信息包括:
    通过灯光和/或文字和/或音频的方式,输出所述信号变化情况对应的提示信息。
  5. 如权利要求1所述的WiFi信号测试方法,其特征在于,所述WiFi信号测试方法还包括:
    根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI及各个RSSI对应的时间信息,绘制预设时长内所述目标信号源发出的WiFi信号的变化趋势图,在预设界面显示所述变化趋势图。
  6. 一种终端,其特征在于,所述终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的WiFi信号测试程序,所述WiFi信号测试程序被所述处理器执行时实现如下步骤:
    当终端处于预置场景时,开启终端采集所述预置场景中信号源发出的WiFi信号的RSSI信号强度指示值的功能;
    接收查看指令,确定所述查看指令对应的目标信号源,获取预设时长内所述目标信号源发出的WiFi信号的各个RSSI;
    根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到所述目标信号源的信号变化情况;
    输出所述信号变化情况对应的提示信息。
  7. 如权利要求6所述的终端,其特征在于,所述WiFi信号测试程序被所述处理器执行时还实现如下步骤:
    根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变次数,根据所述信号跳变次数及预设时长,得到预设时长内所述目标信号源发出的WiFi信号的跳变频度;
    检测所述跳变频度是否大于预设跳变频度阈值;
    若所述跳变频度大于预设跳变频度阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
  8. 如权利要求6所述的终端,其特征在于,所述WiFi信号测试程序被所述处理器执行时还实现如下步骤:
    根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI,得到预设时长内每次发生信号跳变时对应的信号跳变量,根据预设时长内每次发生信号跳变时对应的信号跳变量,得到预设时长内所述目标信号源发出的WiFi信号的信号跳变量平均值;
    检测所述信号跳变量平均值是否大于预设跳变量平均值阈值;
    若所述信号跳变量平均值大于预设跳变量平均值阈值,则判定预设时长内所述目标信号源的信号变化情况为不稳定状态。
  9. 如权利要求6所述的终端,其特征在于,所述WiFi信号测试程序被所述处理器执行时还实现如下步骤:
    根据预设时长内所述目标信号源发出的WiFi信号的各个RSSI及各个RSSI对应的时间信息,绘制预设时长内所述目标信号源发出的WiFi信号的变化趋势图,在预设界面显示所述变化趋势图。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有WiFi信号测试程序,所述WiFi信号测试程序被处理器执行时实现如权利要求1至5中任一项所述的WiFi信号测试方法的步骤。
PCT/CN2017/105965 2017-10-13 2017-10-13 WiFi信号测试方法、终端及计算机可读存储介质 WO2019071546A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105965 WO2019071546A1 (zh) 2017-10-13 2017-10-13 WiFi信号测试方法、终端及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105965 WO2019071546A1 (zh) 2017-10-13 2017-10-13 WiFi信号测试方法、终端及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2019071546A1 true WO2019071546A1 (zh) 2019-04-18

Family

ID=66101127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105965 WO2019071546A1 (zh) 2017-10-13 2017-10-13 WiFi信号测试方法、终端及计算机可读存储介质

Country Status (1)

Country Link
WO (1) WO2019071546A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301925A (zh) * 2014-10-22 2015-01-21 福建富士通信息软件有限公司 一种对无线wifi网络质量分析评价方法
WO2016097172A2 (en) * 2014-12-18 2016-06-23 Thomson Licensing Method for analysing a wireless link of a wi-fi node, respective circuit performing the method, and application
CN106658587A (zh) * 2016-12-14 2017-05-10 北京小米移动软件有限公司 网络状况提示方法及装置
CN106792882A (zh) * 2016-12-30 2017-05-31 华为技术有限公司 网络评估方法及装置
CN107205240A (zh) * 2017-06-08 2017-09-26 苏州佳世达电通有限公司 无线讯号稳定度的判断方法及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301925A (zh) * 2014-10-22 2015-01-21 福建富士通信息软件有限公司 一种对无线wifi网络质量分析评价方法
WO2016097172A2 (en) * 2014-12-18 2016-06-23 Thomson Licensing Method for analysing a wireless link of a wi-fi node, respective circuit performing the method, and application
CN106658587A (zh) * 2016-12-14 2017-05-10 北京小米移动软件有限公司 网络状况提示方法及装置
CN106792882A (zh) * 2016-12-30 2017-05-31 华为技术有限公司 网络评估方法及装置
CN107205240A (zh) * 2017-06-08 2017-09-26 苏州佳世达电通有限公司 无线讯号稳定度的判断方法及系统

Similar Documents

Publication Publication Date Title
WO2014094431A1 (zh) 演进通信系统的网络覆盖规划方法及装置
KR102473469B1 (ko) 각도 결정 회로, 방법 및 폴더블 단말기
WO2019119771A1 (zh) 语音交互方法、装置及计算机可读存储介质
WO2021054597A1 (en) Electronic device for determining path of line of sight (los) and method for the same
WO2020130484A1 (en) Method for changing audio signal path according to external electronic device transmitting em signal and electronic device therefor
WO2018082180A1 (zh) 无线终端接收性能的测试方法及系统
WO2016173192A1 (zh) 电视稳定性测试方法及装置
WO2018149300A1 (zh) 疾病概率的检测方法、装置、设备及计算机可读存储介质
WO2015144052A1 (en) Method and apparatus for collecting statistics on network information
WO2015127870A1 (en) Method and apparatus for recommending application
WO2015110014A1 (en) Method, apparatus, and terminal device for determining user activity range
WO2016058258A1 (zh) 终端远程控制方法和系统
WO2019085116A1 (zh) 电磁炉测温方法、测温装置及可读储存介质
WO2018023926A1 (zh) 电视与移动终端的互动方法及系统
WO2017096769A1 (zh) 显示设备的色彩校准方法及色彩校准系统
WO2018045682A1 (zh) 音画同步测试方法及装置
EP3583783A1 (en) Method and apparatus for in-room low-frequency sound power optimization
WO2017010739A1 (en) Electronic device and input/output method thereof
WO2018053963A1 (zh) 智能电视的系统升级方法及装置
WO2016047976A1 (en) Apparatus and method for identifying object
WO2018076830A1 (zh) 数据同步周期的调整方法、装置、电子设备、存储介质及系统
WO2018090446A1 (zh) 投影仪调试安装方法及装置
WO2020256458A1 (en) Electronic device for determining location information of external device
CN112291022A (zh) 射频参数检测电路、方法和电子设备
WO2019210574A1 (zh) 消息处理方法、装置、设备及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17928412

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17928412

Country of ref document: EP

Kind code of ref document: A1