CN106535229B - WiFi signal receiving sensitivity testing method and mobile terminal - Google Patents

WiFi signal receiving sensitivity testing method and mobile terminal Download PDF

Info

Publication number
CN106535229B
CN106535229B CN201611117810.0A CN201611117810A CN106535229B CN 106535229 B CN106535229 B CN 106535229B CN 201611117810 A CN201611117810 A CN 201611117810A CN 106535229 B CN106535229 B CN 106535229B
Authority
CN
China
Prior art keywords
test
terminal
access point
test equipment
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611117810.0A
Other languages
Chinese (zh)
Other versions
CN106535229A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611117810.0A priority Critical patent/CN106535229B/en
Publication of CN106535229A publication Critical patent/CN106535229A/en
Application granted granted Critical
Publication of CN106535229B publication Critical patent/CN106535229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The embodiment of the invention discloses a WiFi signal receiving sensitivity testing method and a mobile terminal, wherein the method comprises the following steps: when receiving access authentication information of test equipment, a test application of a terminal sends a broadcast, wherein the broadcast is used for informing applications except the test application in the terminal to forbid channel resources between the terminal and the test equipment; and when receiving a test request sent by the test equipment, the test application of the terminal monopolizes channel resources between the test equipment and the terminal and sends an acknowledgement character ACK, wherein the ACK is used for detecting the receiving sensitivity of the terminal for receiving WiFi signals by the test equipment. The embodiment of the invention also discloses a corresponding mobile terminal. The embodiment of the invention is beneficial to improving the accuracy of the WiFi signal receiving sensitivity test.

Description

WiFi signal receiving sensitivity testing method and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a WiFi signal receiving sensitivity testing method and a mobile terminal.
Background
When the WiFi signal receiving sensitivity of the intelligent equipment is tested, the testing instrument creates a WiFi access point, the tested intelligent equipment is connected with the WiFi access point after the WiFi workstation mode is started, a static IP address is input, communication connection with the testing instrument is established, then, data frames sent from the testing instrument begin to be received, and an Ack is replied, so that the testing process of the WiFi signal receiving sensitivity is completed.
However, in the prior art, in the actual testing process, other applications in the testing device may also try to access the network and send data, and this process is prone to repeated retransmission of some data frames caused by failure of obtaining the response of the server, and further occupies hardware resources of the intelligent device, causes a certain interference to the WiFi signal reception sensitivity test of the intelligent device, and affects the accuracy of the WiFi signal reception sensitivity test.
Disclosure of Invention
The embodiment of the invention provides a WiFi signal receiving sensitivity testing method and a mobile terminal, aiming at improving the accuracy of the WiFi signal receiving sensitivity testing.
In a first aspect, an embodiment of the present invention provides a method for testing WiFi signal reception sensitivity, including:
when receiving access authentication information of test equipment, a test application of a terminal sends a broadcast, wherein the broadcast is used for informing applications except the test application in the terminal to forbid channel resources between the terminal and the test equipment;
and when receiving a test request sent by the test equipment, the test application of the terminal monopolizes channel resources between the test equipment and the terminal and sends an acknowledgement character ACK, wherein the ACK is used for detecting the receiving sensitivity of the terminal for receiving WiFi signals by the test equipment.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
a sending broadcast unit, configured to send a broadcast when receiving access authentication information of a test device, where the broadcast is used to notify an application other than the test application in the terminal to disable a channel resource between the terminal and the test device;
and the test unit is used for monopolizing the channel resource between the test equipment and the terminal and sending an acknowledgement character ACK when receiving the test request sent by the test equipment, wherein the ACK is used for detecting the receiving sensitivity of the terminal for receiving the WiFi signal by the test equipment.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including:
the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are connected through the communication bus and complete mutual communication;
the memory stores executable program code, the communication interface is for wireless communication;
the processor is configured to call the executable program code in the memory to perform some or all of the steps described in any of the methods of the first aspect of the embodiments of the present invention.
It can be seen that in the method for testing WiFi signal receiving sensitivity provided in the embodiments of the present invention, the test application of the terminal sends a broadcast when receiving the access authentication information of the test device, so that the application except the test application in the terminal disables the channel resource between the terminal and the test device, and the test application of the terminal monopolizes the channel resource between the test device and the terminal when receiving the test request sent by the test device, and sends an acknowledgement character ACK, where the ACK is used for the test device to detect the receiving sensitivity of the terminal for receiving the WiFi signal. Therefore, by implementing the method for testing the receiving sensitivity of the WiFi signal, the channel resources between the terminal and the test equipment can be disabled by the application except the test application when the terminal performs the receiving sensitivity test of the WiFi signal, so that the accuracy of the receiving sensitivity test of the WiFi signal can be improved, and the interference of other applications except the test application on the receiving sensitivity test of the WiFi signal can be avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a WiFi signal reception sensitivity testing method disclosed in an embodiment of the present invention;
fig. 2 is a schematic flow chart of another WiFi signal reception sensitivity testing method disclosed in the embodiments of the present invention;
FIG. 3-1 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3-2 is a block diagram of the components of another mobile terminal according to the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In order to better understand the WiFi signal receiving sensitivity testing method and the mobile terminal disclosed in the embodiments of the present invention, the embodiments of the present invention are described in detail below.
Referring to fig. 1, fig. 1 is a diagram illustrating a WiFi signal reception sensitivity testing method according to an embodiment of the present invention, where as shown in fig. 1, the WiFi signal reception sensitivity testing method according to the embodiment of the present invention includes:
s101, when receiving access authentication information of test equipment, a test application of a terminal sends a broadcast, wherein the broadcast is used for informing applications except the test application in the terminal to forbid channel resources between the terminal and the test equipment;
when the test application of the terminal receives the access authentication information of the test device and before sending the broadcast, the terminal may further perform the following operations:
when the selection operation aiming at the test application is detected, at least one access point identification is obtained and displayed, wherein the at least one access point identification comprises the access point identification of the test equipment; when the selection operation aiming at the access point identification of the test equipment is detected, displaying a human-computer interaction interface, wherein the human-computer interaction interface is used for inputting a static IP address corresponding to the access point identification of the test equipment; acquiring a static IP address corresponding to the access point identification of the test equipment; and sending an access request to the test equipment, wherein the access request carries a static IP address corresponding to the access point identifier of the test equipment, and the access request is used for the test equipment to respond to the access request to generate the access authentication information.
Specifically, the WiFi signal receiving sensitivity testing method is applied to a terminal provided with an android system, and the android system comprises an application layer and a framework layer. On an application layer, after a tester starts a test application, a terminal initiates scanning and acquires at least one access point identifier existing in an environment, the acquired at least one access point identifier is displayed on a display screen of the terminal so as to be presented to the tester, the tester selects the access point identifier of a test equipment, and because the current test equipment does not have a function of automatically allocating an IP address (Dynamic Host configuration Protocol), the tester needs to manually enter a static IP address corresponding to the access point identifier of the test equipment and start the test function of the test application.
The application layer sends the acquired access point identification and static IP address of the test equipment to a framework layer of the terminal, and the terminal sends a broadcast in the framework layer to inform the application terminal registered with the broadcast of being in a WiFi workstation mode closing state, namely informing applications except the test application in the terminal to disable channel resources between the terminal and the test equipment.
The terminal includes, but is not limited to, a Smart Phone (Smart Phone), a tablet computer, a notebook computer, a personal digital assistant, and other portable mobile terminals. The WiFi signal receiving sensitivity testing method can also be applied to non-mobile terminals such as desktop computers.
S102, when receiving a test request sent by the test equipment, the test application of the terminal monopolizes channel resources between the test equipment and the terminal, and sends an Acknowledgement Character (ACK), wherein the ACK is used for detecting the receiving sensitivity of the terminal for receiving a WiFi signal.
It can be seen that in the method for testing WiFi signal receiving sensitivity provided in the embodiments of the present invention, the test application of the terminal sends a broadcast when receiving the access authentication information of the test device, so that the application except the test application in the terminal disables the channel resource between the terminal and the test device, and the test application of the terminal monopolizes the channel resource between the test device and the terminal when receiving the test request sent by the test device, and sends an acknowledgement character ACK, where the ACK is used for the test device to detect the receiving sensitivity of the terminal for receiving the WiFi signal. Therefore, by implementing the method for testing the receiving sensitivity of the WiFi signal, the channel resources between the terminal and the test equipment can be disabled by the application except the test application when the terminal performs the receiving sensitivity test of the WiFi signal, so that the accuracy of the receiving sensitivity test of the WiFi signal can be improved, and the interference of other applications except the test application on the receiving sensitivity test of the WiFi signal can be avoided.
Optionally, the human-computer interaction interface is further configured to input a key corresponding to the access point identifier of the test device;
the access request also comprises a key corresponding to the access point identification of the test equipment;
before sending the access request to the test device, the terminal may further perform the following operations:
and acquiring a key corresponding to the access point identification of the test equipment.
Optionally, a specific implementation manner of acquiring and displaying at least one access point identifier may be:
detecting whether the terminal starts a WiFi workstation mode or not;
when detecting that the terminal does not start a work station mode, starting a WiFi work station mode;
at least one access point identity is acquired and displayed.
Optionally, a specific implementation manner of acquiring and displaying at least one access point identifier may be:
detecting whether the terminal starts a WiFi workstation mode or not;
when the terminal is detected to start a work station mode, detecting whether an access point identifier accessed by the terminal currently is matched with an access point identifier of the test equipment;
when detecting that the access point identification currently accessed by the terminal is not matched with the access point identification of the test equipment, disconnecting the communication connection with the currently accessed access point;
at least one access point identity is acquired and displayed.
Referring to fig. 2, fig. 2 is a schematic flowchart of another WiFi signal reception sensitivity testing method according to an embodiment of the present invention, consistent with the embodiment shown in fig. 1. As shown in fig. 2, the method for testing the WiFi signal receiving sensitivity in the embodiment of the present invention includes:
s201, when the selection operation aiming at the test application is detected, whether the terminal starts a WiFi workstation mode or not is detected.
When detecting that the terminal does not start the workstation mode, executing step S205 after executing step S202; when detecting that the terminal starts the workstation mode, executing step S203 to step S204 and then executing step S205.
S202, when the terminal is detected not to be in the work station mode, the WiFi work station mode is started.
Specifically, the working mode of the terminal includes a WiFi workstation mode or a WiFi access point mode, where the WiFi workstation mode is used as a client to connect to a router for surfing the internet, and those skilled in the art can understand that turning on the WiFi workstation mode is turning on a WiFi STA (workstation) function of the terminal, or turning on WiFi for short; the WiFi access point mode is referred to as a WiFi access point (WiFi hotspot) for other terminals to access, and those skilled in the art will understand that turning on the WiFi access point mode is referred to as turning on a WiFi AP (access point) function of the terminal, or simply turning on a hotspot.
The terminal has the function of WiFi STA in the mode of the WiFi workstation, can be accessed to other WiFi AP (such as a wireless router, a mobile router or a personal router) through a WiFi chip of the terminal, and applies for an IP address to the WiFi AP so as to access an enterprise network, the Internet or an operator network and the like through a WiFi network. The terminal has a WiFi AP function in a WiFi access point mode, and a WiFi chip of the terminal is used as an access point to provide wireless broadband access service for at least one piece of peripheral WiFi workstation equipment so as to access the at least one piece of WiFi workstation equipment to an enterprise network, the Internet or an operator network and the like.
S203, when the terminal is detected to start the work station mode, detecting whether the access point identification currently accessed by the terminal is matched with the access point identification of the test equipment.
S204, when the fact that the access point identification of the current access of the terminal is not matched with the access point identification of the test equipment is detected, the communication connection with the current access point is disconnected.
S205, obtaining and displaying at least one access point identification, wherein the at least one access point identification comprises the access point identification of the test equipment.
S206, when the selection operation aiming at the access point identification of the test equipment is detected, displaying a man-machine interaction interface, wherein the man-machine interaction interface is used for inputting a static IP address corresponding to the access point identification of the test equipment and a key corresponding to the access point identification of the test equipment.
S207, acquiring a static IP address corresponding to the access point identification of the test equipment and a key corresponding to the access point identification of the test equipment.
S208, sending an access request to the test equipment, wherein the access request carries a static IP address corresponding to the access point identifier of the test equipment and a key corresponding to the access point identifier of the test equipment, and the access request is used for the test equipment to respond to the access request to generate the access authentication information.
S209, when receiving the access authentication information of the testing device, the testing application of the terminal sends a broadcast, wherein the broadcast is used for informing the applications except the testing application in the terminal to disable the channel resources between the terminal and the testing device.
S210, when receiving a test request sent by the test equipment, the test application of the terminal monopolizes channel resources between the test equipment and the terminal and sends an acknowledgement character ACK, wherein the ACK is used for detecting the receiving sensitivity of the terminal for receiving WiFi signals by the test equipment.
It can be seen that in the method for testing WiFi signal receiving sensitivity provided in the embodiments of the present invention, the test application of the terminal sends a broadcast when receiving the access authentication information of the test device, so that the application except the test application in the terminal disables the channel resource between the terminal and the test device, and the test application of the terminal monopolizes the channel resource between the test device and the terminal when receiving the test request sent by the test device, and sends an acknowledgement character ACK, where the ACK is used for the test device to detect the receiving sensitivity of the terminal for receiving the WiFi signal. Therefore, by implementing the method for testing the receiving sensitivity of the WiFi signal, the channel resources between the terminal and the test equipment can be disabled by the application except the test application when the terminal performs the receiving sensitivity test of the WiFi signal, so that the accuracy of the receiving sensitivity test of the WiFi signal can be improved, and the interference of other applications except the test application on the receiving sensitivity test of the WiFi signal can be avoided.
For convenience of description, only the relevant parts of the embodiments of the present invention are shown, and details of the specific technology are not disclosed.
As shown in fig. 3-1, the mobile terminal may include a transmission broadcasting unit 301 and a testing unit 302, wherein:
a sending and broadcasting unit 301, configured to send a broadcast when receiving access authentication information of a test device, where the broadcast is used to notify an application other than the test application in the terminal to disable a channel resource between the terminal and the test device;
a testing unit 302, configured to monopolize a channel resource between the testing device and the terminal when receiving a testing request sent by the testing device, and send an acknowledgement character ACK, where the ACK is used for the testing device to detect a receiving sensitivity of the terminal for receiving a WiFi signal.
As shown in fig. 3-2, the mobile terminal may include a broadcast sending unit 301 and a testing unit 302 as shown in fig. 3-1, and optionally, the mobile terminal further includes:
an obtaining unit 303, configured to, when the broadcast sending unit 301 is configured to receive access authentication information of a test device and before sending a broadcast, obtain and display at least one access point identifier when a selection operation for the test application is detected, where the at least one access point identifier includes an access point identifier of the test device;
a display unit 304, configured to display a human-computer interaction interface when a selection operation for an access point identifier of the test device is detected, where the human-computer interaction interface is used to enter a static IP address corresponding to the access point identifier of the test device;
the obtaining unit 303 is further configured to obtain a static IP address corresponding to the access point identifier of the test device;
a sending unit 305, configured to send an access request to the test device, where the access request carries a static IP address corresponding to an access point identifier of the test device, and the access request is used for the test device to respond to the access request to generate the access authentication information.
Optionally, the human-computer interaction interface is further configured to input a key corresponding to the access point identifier of the test device;
the access request also comprises a key corresponding to the access point identification of the test equipment;
the mobile terminal further includes:
the obtaining unit 303 is further configured to obtain a key corresponding to the access point identifier of the test device before the sending unit 305 is configured to send the access request to the test device.
Optionally, the obtaining unit 303 is specifically configured to detect whether the terminal starts a WiFi workstation mode when the obtaining unit is configured to obtain and display at least one access point identifier; when detecting that the terminal does not start a work station mode, starting a WiFi work station mode; at least one access point identity is acquired and displayed.
Optionally, the obtaining unit 303 is specifically configured to detect whether the terminal starts a WiFi workstation mode when the obtaining unit is configured to obtain and display at least one access point identifier; when the terminal is detected to start a work station mode, detecting whether an access point identifier accessed by the terminal currently is matched with an access point identifier of the test equipment; when detecting that the access point identification currently accessed by the terminal is not matched with the access point identification of the test equipment, disconnecting the communication connection with the currently accessed access point; at least one access point identity is acquired and displayed.
It should be noted that the mobile terminal described in the embodiment of the apparatus of the present invention is in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
For example, the broadcast sending unit 301 may be implemented by the mobile terminal shown in fig. 5 when receiving the access authentication information of the testing device, and specifically, the processor 101 may send the broadcast when receiving the access authentication information of the testing device by calling the executable program code in the memory 102.
Specifically, the detailed implementation of each unit may refer to the description of the relevant steps in the corresponding embodiments of fig. 1 to fig. 2, which is not repeated herein.
It can be seen that in the method for testing WiFi signal receiving sensitivity provided in the embodiments of the present invention, the test application of the terminal sends a broadcast when receiving the access authentication information of the test device, so that the application except the test application in the terminal disables the channel resource between the terminal and the test device, and the test application of the terminal monopolizes the channel resource between the test device and the terminal when receiving the test request sent by the test device, and sends an acknowledgement character ACK, where the ACK is used for the test device to detect the receiving sensitivity of the terminal for receiving the WiFi signal. Therefore, by implementing the method for testing the receiving sensitivity of the WiFi signal, the channel resources between the terminal and the test equipment can be disabled by the application except the test application when the terminal performs the receiving sensitivity test of the WiFi signal, so that the accuracy of the receiving sensitivity test of the WiFi signal can be improved, and the interference of other applications except the test application on the receiving sensitivity test of the WiFi signal can be avoided.
An embodiment of the present invention further provides another mobile terminal, as shown in fig. 4, including: a processor 101, a memory 102, a communication interface 103 and a communication bus 104; the processor 101, the memory 102 and the communication interface 103 are connected through a communication bus 104 and complete mutual communication; processor 101 controls wireless communications with an external cellular network through communication interface 103; the communication interface 103 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, an LNA (Low noise amplifier), a duplexer, and the like. The memory 102 includes at least one of: random access memory, non-volatile memory, and external memory, memory 102 has stored therein executable program code capable of directing processor 101 to execute the WiFi signal reception sensitivity test method specifically disclosed in the method embodiments of the present invention.
The processor 101 is configured to send a broadcast when receiving access authentication information of a test device, where the broadcast is used to notify an application other than the test application in the terminal to disable a channel resource between the terminal and the test device; and when receiving a test request sent by the test equipment, monopolizing channel resources between the test equipment and the terminal, and sending an acknowledgement character ACK (acknowledgement character), wherein the ACK is used for detecting the receiving sensitivity of the terminal for receiving WiFi signals by the test equipment.
Optionally, the processor 101 may be further configured to, when receiving access authentication information of a test device and before sending a broadcast, acquire and display at least one access point identifier when a selection operation for the test application is detected, where the at least one access point identifier includes an access point identifier of the test device; when the selection operation aiming at the access point identification of the test equipment is detected, displaying a human-computer interaction interface, wherein the human-computer interaction interface is used for inputting a static IP address corresponding to the access point identification of the test equipment;
acquiring a static IP address corresponding to the access point identification of the test equipment;
and sending an access request to the test equipment, wherein the access request carries a static IP address corresponding to the access point identifier of the test equipment, and the access request is used for the test equipment to respond to the access request to generate the access authentication information.
Optionally, the human-computer interaction interface is further configured to input a key corresponding to the access point identifier of the test device;
the access request also comprises a key corresponding to the access point identification of the test equipment;
before the processor 101 sends the access request to the test device, it may also be configured to obtain a key corresponding to the access point identifier of the test device.
Optionally, the processor 101 is specifically configured to detect whether the terminal starts a WiFi workstation mode when the processor is configured to obtain and display at least one access point identifier; when detecting that the terminal does not start a work station mode, starting a WiFi work station mode; at least one access point identity is acquired and displayed.
Optionally, the processor 101 is specifically configured to detect whether the terminal starts a WiFi workstation mode when the processor is configured to obtain and display at least one access point identifier; when the terminal is detected to start a work station mode, detecting whether an access point identifier accessed by the terminal currently is matched with an access point identifier of the test equipment; when detecting that the access point identification currently accessed by the terminal is not matched with the access point identification of the test equipment, disconnecting the communication connection with the currently accessed access point; at least one access point identity is acquired and displayed.
Specifically, the detailed implementation of each unit may refer to the description of the relevant steps in the corresponding embodiments of fig. 1 to fig. 2, which is not repeated herein.
It can be seen that in the method for testing WiFi signal receiving sensitivity provided in the embodiments of the present invention, the test application of the terminal sends a broadcast when receiving the access authentication information of the test device, so that the application except the test application in the terminal disables the channel resource between the terminal and the test device, and the test application of the terminal monopolizes the channel resource between the test device and the terminal when receiving the test request sent by the test device, and sends an acknowledgement character ACK, where the ACK is used for the test device to detect the receiving sensitivity of the terminal for receiving the WiFi signal. Therefore, by implementing the method for testing the receiving sensitivity of the WiFi signal, the channel resources between the terminal and the test equipment can be disabled by the application except the test application when the terminal performs the receiving sensitivity test of the WiFi signal, so that the accuracy of the receiving sensitivity test of the WiFi signal can be improved, and the interference of other applications except the test application on the receiving sensitivity test of the WiFi signal can be avoided.
As shown in fig. 5, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part in the embodiment of the present invention. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, audio circuit 960, wireless fidelity (WiFi) module 970, processor 980, and power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 920 may be used to store software programs and modules, and the processor 980 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 920. The memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (a transmission broadcast function, a reception sensitivity test of a WiFi signal, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932. Fingerprint identification module 931, can gather the fingerprint data of user above it. Optionally, the fingerprint recognition module 931 may include an optical fingerprint module, a capacitive fingerprint module, and a radio frequency fingerprint module. Taking the fingerprint identification module 931 as an example of a capacitive fingerprint identification module, the fingerprint identification module specifically includes sensing electrodes (abnormal sensing electrodes and normal sensing electrodes) and a signal processing circuit (such as an amplifying circuit, a noise suppression circuit, an analog-to-digital conversion circuit, etc.) connected to the sensing electrodes. The input unit 930 may include other input devices 932 in addition to the fingerprint recognition module 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display screen 941, and optionally, the display screen 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Although in fig. 5, the fingerprint recognition module 931 and the display screen 941 are shown as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the fingerprint recognition module 931 and the display screen 941 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, 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 screen 941 according to the brightness of ambient light, and the proximity sensor may turn off the display screen 941 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and outputs the audio data to the processor 980 for processing, and then transmits the audio data to, for example, another mobile phone through the RF circuit 910, or outputs the audio data to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 5 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Alternatively, processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 980 via a power management system, thereby providing management of charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiments shown in fig. 1 and fig. 2, the method flows of the steps may be implemented based on the structure of the mobile phone.
In the embodiment shown in fig. 3, the functions of the units can be implemented based on the structure of the mobile phone.
The embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of any one of the WiFi signal reception sensitivity testing methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A WiFi signal reception sensitivity test method is characterized by comprising the following steps:
the method comprises the steps that when receiving access authentication information of test equipment, a test application of a terminal sends a broadcast, wherein the broadcast is used for informing an application registering the broadcast that the terminal is in a WIFI workstation mode closing state so as to inform applications except the test application in the terminal to forbid channel resources between the terminal and the test equipment;
and when receiving a test request sent by the test equipment, the test application of the terminal monopolizes channel resources between the test equipment and the terminal and sends an acknowledgement character ACK, wherein the ACK is used for detecting the receiving sensitivity of the terminal for receiving WiFi signals by the test equipment.
2. The method of claim 1, wherein the test application of the terminal sends the broadcast upon receiving the access authentication information of the test device, the method further comprising:
when the selection operation aiming at the test application is detected, at least one access point identification is obtained and displayed, wherein the at least one access point identification comprises the access point identification of the test equipment;
when the selection operation aiming at the access point identification of the test equipment is detected, displaying a human-computer interaction interface, wherein the human-computer interaction interface is used for inputting a static IP address corresponding to the access point identification of the test equipment;
acquiring a static IP address corresponding to the access point identification of the test equipment;
and sending an access request to the test equipment, wherein the access request carries a static IP address corresponding to the access point identifier of the test equipment, and the access request is used for the test equipment to respond to the access request to generate the access authentication information.
3. The method of claim 2,
the man-machine interaction interface is also used for inputting a key corresponding to the access point identification of the test equipment;
the access request also comprises a key corresponding to the access point identification of the test equipment;
before sending the access request to the test device, the method further includes:
and acquiring a key corresponding to the access point identification of the test equipment.
4. The method of claim 2 or 3, wherein said obtaining and displaying at least one access point identification comprises:
detecting whether the terminal starts a WiFi workstation mode or not;
when detecting that the terminal does not start a work station mode, starting a WiFi work station mode;
at least one access point identity is acquired and displayed.
5. The method of claim 2 or 3, wherein said obtaining and displaying at least one access point identification comprises:
detecting whether the terminal starts a WiFi workstation mode or not;
when the terminal is detected to start a work station mode, detecting whether an access point identifier accessed by the terminal currently is matched with an access point identifier of the test equipment;
when detecting that the access point identification currently accessed by the terminal is not matched with the access point identification of the test equipment, disconnecting the communication connection with the currently accessed access point;
at least one access point identity is acquired and displayed.
6. A mobile terminal, comprising:
a sending broadcast unit, configured to send a broadcast when receiving access authentication information of a test device, where the broadcast notifies an application registering the broadcast that the terminal is in a WIFI workstation mode off state, so as to notify applications other than the test application in the terminal to disable channel resources between the terminal and the test device;
and the test unit is used for monopolizing the channel resource between the test equipment and the terminal and sending an acknowledgement character ACK when receiving the test request sent by the test equipment, wherein the ACK is used for detecting the receiving sensitivity of the terminal for receiving the WiFi signal by the test equipment.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
an obtaining unit, configured to obtain and display at least one access point identifier when a selection operation for the test application is detected before the broadcast sending unit is configured to send a broadcast when receiving access authentication information of the test device, where the at least one access point identifier includes an access point identifier of the test device;
the display unit is used for displaying a human-computer interaction interface when the selection operation aiming at the access point identification of the test equipment is detected, wherein the human-computer interaction interface is used for inputting a static IP address corresponding to the access point identification of the test equipment;
the obtaining unit is further configured to obtain a static IP address corresponding to the access point identifier of the test device;
a sending unit, configured to send an access request to the test device, where the access request carries a static IP address corresponding to an access point identifier of the test device, and the access request is used for the test device to respond to the access request to generate the access authentication information.
8. The mobile terminal of claim 7,
the man-machine interaction interface is also used for inputting a key corresponding to the access point identification of the test equipment;
the access request also comprises a key corresponding to the access point identification of the test equipment;
the mobile terminal further includes:
the obtaining unit is further configured to obtain a key corresponding to the access point identifier of the test device before the sending unit is configured to send the access request to the test device.
9. The mobile terminal of claim 7 or 8,
the acquiring unit is specifically configured to detect whether the terminal starts a WiFi workstation mode when the acquiring unit is configured to acquire and display at least one access point identifier; when detecting that the terminal does not start a work station mode, starting a WiFi work station mode; at least one access point identity is acquired and displayed.
10. The mobile terminal of claim 7 or 8,
the acquiring unit is specifically configured to detect whether the terminal starts a WiFi workstation mode when the acquiring unit is configured to acquire and display at least one access point identifier; when the terminal is detected to start a work station mode, detecting whether an access point identifier accessed by the terminal currently is matched with an access point identifier of the test equipment; when detecting that the access point identification currently accessed by the terminal is not matched with the access point identification of the test equipment, disconnecting the communication connection with the currently accessed access point; at least one access point identity is acquired and displayed.
11. A mobile terminal, comprising:
the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are connected through the communication bus and complete mutual communication;
the memory stores executable program code, the communication interface is for wireless communication;
the processor is configured to call the executable program code in the memory to perform the method as described in any of claims 1-5.
CN201611117810.0A 2016-12-07 2016-12-07 WiFi signal receiving sensitivity testing method and mobile terminal Active CN106535229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611117810.0A CN106535229B (en) 2016-12-07 2016-12-07 WiFi signal receiving sensitivity testing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611117810.0A CN106535229B (en) 2016-12-07 2016-12-07 WiFi signal receiving sensitivity testing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106535229A CN106535229A (en) 2017-03-22
CN106535229B true CN106535229B (en) 2020-01-14

Family

ID=58341814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611117810.0A Active CN106535229B (en) 2016-12-07 2016-12-07 WiFi signal receiving sensitivity testing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106535229B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055673A (en) * 2017-12-25 2018-05-18 深圳市闪联信息技术有限公司 A kind of WIFI smart machines batch, which dispatches from the factory, binds the method and system of test

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095118A1 (en) * 2014-12-17 2016-06-23 Thomson Licensing Method and device for home wifi station device to select link for data transmitting
US10097439B1 (en) * 2016-11-30 2018-10-09 Sprint Communications Company L.P. Mobile communication device self-testing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913397A (en) * 2005-05-18 2007-02-14 电子科技大学 Dispersion real-time monitoring method applied in DWDM high speed transmission system
CN102781019A (en) * 2012-07-30 2012-11-14 迈普通信技术股份有限公司 System and method for automatically testing wireless fidelity (WIFI) module

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095118A1 (en) * 2014-12-17 2016-06-23 Thomson Licensing Method and device for home wifi station device to select link for data transmitting
US10097439B1 (en) * 2016-11-30 2018-10-09 Sprint Communications Company L.P. Mobile communication device self-testing

Also Published As

Publication number Publication date
CN106535229A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN104852885B (en) Method, device and system for verifying verification code
CN108834132B (en) Data transmission method and equipment and related medium product
CN106793010B (en) Network access method and equipment
EP3468255B1 (en) Method for accessing wireless network, and mobile terminal
CN107295591B (en) Call method, device, computer storage medium and mobile terminal
WO2018103443A1 (en) Network positioning method and terminal device
US10142845B2 (en) Network connection method and apparatus, and computer storage medium
CN106792819B (en) Method and device for reducing power consumption of mobile terminal
CN106851784B (en) network scanning method and terminal equipment
US20190253981A1 (en) Method for Processing Information and Terminal Device
CN107634952B (en) Method and device for determining brushing amount resource, service equipment, mobile terminal and storage medium
CN106604277B (en) Wireless network access method and mobile terminal
CN106535229B (en) WiFi signal receiving sensitivity testing method and mobile terminal
CN107172267B (en) Fingerprint identification control method and related product
WO2018145477A1 (en) Network access method and terminal
WO2018103441A1 (en) Network positioning method and terminal device
WO2018049884A1 (en) Data migration method and device
CN106470234B (en) Equipment discovery method and device
US20190200215A1 (en) Method for Migrating Data and Terminal
CN106686704B (en) Terminal monitoring method and mobile terminal
CN106775856B (en) Mobile terminal working mode switching method and mobile terminal
CN109041212B (en) Positioning method and wearable device
CN106792583B (en) Multimedia message sending method, terminal and computer readable storage medium
CN106817751B (en) Data sending method and mobile terminal
WO2018103440A1 (en) Network positioning method and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant