CN104853378A - Method, device and terminal for detecting access capability of WIFI network - Google Patents

Method, device and terminal for detecting access capability of WIFI network Download PDF

Info

Publication number
CN104853378A
CN104853378A CN201410052937.3A CN201410052937A CN104853378A CN 104853378 A CN104853378 A CN 104853378A CN 201410052937 A CN201410052937 A CN 201410052937A CN 104853378 A CN104853378 A CN 104853378A
Authority
CN
China
Prior art keywords
wifi network
terminal
message
transmission parameters
dhcp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410052937.3A
Other languages
Chinese (zh)
Other versions
CN104853378B (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.)
China Mobile Group Inner Mongolia Co Ltd
Original Assignee
China Mobile Group Inner Mongolia Co 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 China Mobile Group Inner Mongolia Co Ltd filed Critical China Mobile Group Inner Mongolia Co Ltd
Priority to CN201410052937.3A priority Critical patent/CN104853378B/en
Publication of CN104853378A publication Critical patent/CN104853378A/en
Application granted granted Critical
Publication of CN104853378B publication Critical patent/CN104853378B/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/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Landscapes

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

Abstract

The invention discloses a method for detecting the access capability of a WIFI network, and the method comprises the steps: a terminal obtains the transmission parameter of interaction information in a process of WIFI network access; and the terminal analyzes the access capability of the WIFI network according to the obtained transmission parameter of interaction information. The invention also discloses a device and terminal for detecting the access capability of the WIFI network.

Description

Method, device and terminal for detecting WIFI network access capability
Technical Field
The present invention relates to WIFI technologies, and in particular, to a method, an apparatus, and a terminal for detecting WIFI network access capability.
Background
At present, on the one hand, the characteristics of low cost, low technical threshold of WIFI network impel a large amount of service providers to get into this field, and on the other hand, the frequency point resource of traditional WIFI network is limited, and the reason in these two respects causes present whole WIFI network environment unusual complicacy, has also received huge influence in conjunction with its quality of service. Therefore, operators can accelerate the WIFI network construction continuously and optimize the service quality with increased strength. The network access speed and the access delay, which are important indexes for measuring the service performance of the WIFI network, also become one of the important indexes concerned by each operator in the optimization of the WIFI network.
At present, the implementation mode of measuring and problem analysis aiming at the important index mainly adopts: the terminal collects data and reports the collected data to the server; and analyzing and processing the collected data by the server. The specific implementation process of this method is various, and can be seen in chinese patent applications with application numbers 200910196940.1 and 200910040662.0. The following drawbacks exist with this implementation:
1. the main concerned contents in this implementation mode are mostly concentrated on the network service performance after the terminal accesses the WIFI network, such as: the packet loss rate is detected through the Ping test, the network rate is tested through the Ftp test, and the like, so that the influence of the WIFI network hotspot access performance affecting the use experience of a user on the WIFI network service performance is ignored;
2. only the terminal equipment on the WIFI network site is used as a tool for collecting and reporting data, so that the site problem is difficult to accurately position, and the problem processing effect is reduced.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method, an apparatus, and a terminal for detecting a WIFI network access capability.
The embodiment of the invention provides a method for detecting WIFI network access capability, which comprises the following steps:
the method comprises the steps that a terminal obtains transmission parameters of mutual information in the WIFI network access process;
and the terminal analyzes the WIFI network access capability according to the acquired transmission parameters of the interactive information.
In the foregoing solution, the acquiring transmission parameters of mutual information in the WIFI network access process includes:
the terminal acquires and analyzes an interactive message in the WIFI network access process;
and counting transmission parameters of the interactive message based on the analyzed interactive message.
In the above solution, the transmission parameters of the interactive packet include: the method comprises the steps of sending times of DHCPDISCOVER messages in first preset time, feedback delay time of DHCP OFFER messages, time delay between sending of DHCPREQUEST messages and receiving of DHCP ACK messages, sending times of ARPRequest messages in second preset time, and time delay between sending of ARP Request messages and receiving of ARP Replay messages.
In the foregoing solution, analyzing the WIFI network access capability according to the acquired transmission parameter of the interaction information includes:
the terminal respectively compares the acquired transmission parameters of the interactive information with the set WIFI network standard transmission parameters to obtain a comparison result;
and determining factors influencing the access performance of the WIFI network according to the comparison result.
In the foregoing solution, the determining, according to the comparison result, the factor that affects the access performance of the WIFI network includes:
when the sending times of the DHCP DISCOVER messages within the first preset time in the transmission parameters of the interactive messages are greater than the sending times of the DHCP DISCOVER messages within the first preset time in the set WIFI network standard transmission parameters, determining the factors affecting the WIFI network access performance to include: the coverage of the WIFI network in the environment where the terminal is located is weak; and/or, a DHCP server of the target WIFI network is damaged or has a hidden fault; and/or the WIFI network access equipment connected with the terminal fails; or,
when the feedback delay time of the DHCP OFFER message in the transmission parameters of the interactive message is greater than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, determining factors affecting the WIFI network access performance include: the wireless environment interference is large; and/or the coverage of the WIFI network in the environment where the terminal is located is weak; and/or, the DHCP server is busy; and/or, a DHCP server of the target WIFI network is damaged or has a hidden fault; or,
when the time delay from sending the DHCP REQUEST message to receiving the DHCPACK message in the transmission parameters of the interactive message is greater than the time delay from sending the DHCPREQUEST message to receiving the DHCP ACK message in the set WIFI network standard transmission parameters, or the terminal does not receive the DHCP ACK message within a set time, determining the factors affecting the WIFI network access performance including: the wireless environment interference is large; and/or the coverage of the WIFI network in the environment where the terminal is located is weak; or,
when the terminal receives the DHCP NACK message, determining factors influencing the WIFI network access performance comprises the following steps: a DHCP server of a target WIFI network is damaged or has a hidden fault; or,
when the number of times of sending the ARP Request message within the second preset time in the transmission parameters of the interactive message is greater than the number of times of sending the ARP Request message within the preset time in the set WIFI network standard transmission parameters, determining factors affecting the access performance of the WIFI network, including: the WIFI network access equipment connected with the terminal is damaged or has a hidden fault; or,
when the time delay from sending the ARP Request message to receiving the ARP reply message in the transmission parameters of the interactive message is greater than the time delay from sending the ARP Request message to receiving the ARP reply message in the set WIFI network standard transmission parameters, determining the factors affecting the access performance of the WIFI network, including: the wireless environment has large interference or weak coverage; and/or the WIFI network access equipment connected with the terminal is damaged or has hidden faults.
In the above scheme, the method further comprises:
the terminal acquires data of a wireless environment in which the terminal is located;
accordingly, when analyzing the WIFI network access capability, the method further comprises:
and the terminal analyzes the WIFI network access capability according to the acquired transmission parameters of the interactive information and the acquired data of the wireless environment.
In the foregoing solution, the data of the wireless environment includes: information of the wireless environment; the information of the wireless environment includes: the method comprises the following steps that the signal intensity of a WIFI network received by a terminal, the signal quality and the coverage of the WIFI network received by the terminal, the co-adjacent frequency interference of peripheral WIFI networks and the existing internal and external interference are realized; wherein,
the terminal determines the same adjacent channel interference of the peripheral WIFI network, and the method comprises the following steps:
the terminal superposes the average value of the wireless signal intensity received by the terminal on the wireless signal intensity power value of the peripheral same-frequency WIFI network to be used as the same-frequency interference of the peripheral WIFI network; and the terminal superposes the average value of the wireless signal intensity received by the terminal on the wireless signal intensity power value of the peripheral adjacent-frequency WIFI network to serve as the adjacent-frequency interference of the peripheral WIFI network.
In the foregoing solution, the analyzing the WIFI network access capability according to the acquired transmission parameter of the interaction information and the acquired data of the wireless environment includes:
the terminal compares the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result;
and determining factors influencing the access performance of the WIFI network according to the comparison result.
In the scheme, the terminal compares the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result; determining factors influencing the access performance of the WIFI network according to the comparison result, wherein the factors comprise:
the method comprises the steps that a terminal determines that the carrier-to-interference ratio of a wireless environment is larger than or equal to a first threshold value, and when the terminal determines that a DHCP OFFER message is not received within a first preset time, whether the signal strength of a WIFI network received by the terminal is good or not is judged, and if the signal strength is good, a hidden fault of a DHCP server of a target WIFI network is determined, or a fault occurs in WIFI network access equipment connected with the terminal; if the signal intensity is poor, determining that the coverage of the WIFI network in the environment where the terminal is located is weak; or,
the terminal determines that the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold value, and determines whether the signal strength of the WIFI network received by the terminal is good or not when the feedback delay time of the DHCP OFFER message is greater than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, and if the signal strength of the WIFI network received by the terminal is good, the terminal determines that a DHCP server of a target WIFI network has a hidden fault or is busy; if the signal intensity is poor, determining that the coverage of the WIFI network in the environment where the terminal is located is weak; or,
the terminal determines that the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold value, and determines that the DHCP server of the target WIFI network is damaged or has hidden faults when determining that the DHCP NACK message fed back by the DHCP server of the target WIFI network is received; or,
the method comprises the steps that a terminal determines that the carrier-to-interference ratio of a wireless environment is larger than or equal to a first threshold value, determines that the sending times of ARP Request messages in second preset time are larger than the sending times of the ARP Request messages in second preset time in set WIFI network standard transmission parameters, or determines whether the signal intensity of a WIFI network received by the terminal is good or not when the time delay between the sending of the ARP Request messages and the receiving of the ARP Replay messages in the set WIFI network standard transmission parameters is larger than the time delay between the sending of the ARP Request messages and the receiving of the ARP Replay messages, and if the signal intensity of the WIFI network received by the terminal is good, determines that WIFI network access equipment connected with the terminal is damaged or has hidden faults; and if the signal strength is poor, determining that the coverage of the WIFI network in the environment where the terminal is located is weak.
In the above scheme, the method further comprises:
when the terminal determines that the carrier-to-interference ratio of the wireless environment is smaller than a first threshold value and determines that the feedback delay time of the DHCP OFFER message is larger than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, it is determined that the peripheral wireless signals have serious interference and the WIFI network access quality is influenced; or,
the terminal determines that the carrier-to-interference ratio of the wireless environment is smaller than a first threshold value, and determines that the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message is larger than the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message in the set WIFI network standard transmission parameters, and then determines that the peripheral wireless signals have serious interference and influence the WIFI network access quality; or,
and when the terminal determines that the carrier-to-interference ratio of the wireless environment is smaller than a first threshold value and determines that the time delay between the ARP Request message sending and the ARP Replay message receiving is larger than the time delay between the ARP Request message sending and the ARP Replay message receiving in the set standard transmission parameters of the WIFI network, determining that the peripheral wireless signals have serious interference and influencing the access quality of the WIFI network.
In the above scheme, determining the carrier-to-interference ratio of the wireless environment is:
multiplying the co-frequency interference value of the WIFI network surrounding the WIFI network received by the terminal by 0.7 to obtain a first value;
multiplying the adjacent channel interference value of the WIFI network surrounding the WIFI network received by the terminal by 0.3 to obtain a second value;
adding the first value and the second value to obtain a third value;
and dividing the signal intensity of the WIFI network received by the terminal by a third value to obtain the carrier-to-interference ratio of the wireless environment.
In the above scheme, the method further comprises:
and the terminal reports the comparison result and the determined factors influencing the access performance of the WIFI network.
The embodiment of the invention also provides a device for detecting the WIFI network access capability, which comprises: the device comprises a first acquisition module and an analysis module; wherein,
the first acquisition module is used for acquiring transmission parameters of the interactive information in the WIFI network access process of the terminal;
and the analysis module is used for analyzing the WIFI network access capability according to the acquired transmission parameters of the interactive information.
In the foregoing solution, the first obtaining module is specifically configured to: acquiring an interactive message in a WIFI network access process of a terminal, and analyzing the interactive message; and counting transmission parameters of the interactive message based on the analyzed interactive message.
In the foregoing solution, the analysis module is specifically configured to: respectively comparing the acquired transmission parameters of the interactive information with the set WIFI network standard transmission parameters to obtain comparison results; and determining factors influencing the access performance of the WIFI network according to the comparison result.
In the foregoing solution, the terminal further includes: the second acquisition module is used for acquiring data of a wireless environment where the terminal is located;
correspondingly, the analysis module is configured to analyze the WIFI network access capability according to the acquired transmission parameters of the interaction information and the acquired data of the wireless environment.
In the foregoing solution, the analysis module is specifically configured to: comparing the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result; and determining factors influencing the access performance of the WIFI network according to the comparison result.
In the foregoing solution, the terminal further includes: and the reporting module is used for reporting the comparison result and the determined factors influencing the access performance of the WIFI network.
The embodiment of the invention also provides a terminal, which comprises the device for detecting the WIFI network access capability.
According to the method, the device and the terminal for detecting the WIFI network access capability provided by the embodiment of the invention, the terminal acquires transmission parameters of mutual information in the WIFI network access process; the terminal analyzes the WIFI network access capability according to the acquired transmission parameters of the interactive information, and therefore, starting from the terminal side, problems existing in the WIFI network access process are determined, and therefore the method is more accurate and stronger in basis; the method can more accurately fit the actual use experience of the user, and can play a very good auxiliary role in the actual WIFI network access performance optimization work.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic flowchart of a method for detecting WIFI network access capability according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an information interaction process in a WIFI network access process according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for determining factors affecting access performance of a WIFI network according to a comparison result in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for detecting WIFI network access capability according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus for detecting WIFI network access capability according to an embodiment of the present invention.
Detailed Description
At present, the implementation manner of testing, analyzing and optimizing the service quality of the WIFI network mainly adopts: after the terminal accesses the WIFI network, collecting test data, and reporting the collected test data to a server; the server analyzes and processes the collected test data, in other words, the terminal only completes simple test, data collection and reporting work, and the value of the terminal to the WIFI network optimization work is seriously underestimated.
Based on this, in various embodiments of the invention: the method comprises the steps that a terminal obtains transmission parameters of mutual information in the WIFI network access process; and the terminal analyzes the WIFI network access capability according to the acquired transmission parameters of the interactive information.
As shown in fig. 1, the method for detecting WIFI network access capability provided by the embodiment of the present invention includes the following steps:
step 101: the method comprises the steps that a terminal obtains transmission parameters of mutual information in the WIFI network access process;
here, acquiring and analyzing an interactive message in the self WIFI network access process;
and counting transmission parameters of the interactive message based on the analyzed interactive message.
Fig. 2 is a schematic diagram of an information interaction process in a WIFI network access process according to an embodiment of the present invention; as shown in fig. 2, in practical application, an information interaction process in a general normal WIFI network access process includes:
step 201: dynamic Host Configuration Protocol (DHCP) Discovery (DISCOVER) (01);
specifically, the terminal firstly broadcasts a DHCP DISCOVER message, aiming at enabling a DHCP Server (Server) to receive an access request;
step 202: DHCP response (OFFER) (02);
specifically, after receiving the DHCP DISCOVER message, the DHCP Server responds to the terminal with a DHCP OFFER message.
Wherein, the DHCP OFFER message carries the IP address that the DHCP Server can provide for the terminal to use.
Step 203: DHCP REQUEST (03);
specifically, after receiving the DHCP OFFER message, the terminal broadcasts a DHCP REQUEST (REQUEST) message.
Wherein, the DHCP REQUEST message carries DHCP SERVER IP address and the IP address desired by the user.
Step 204: a DHCP Acknowledgement (ACK) (05);
specifically, after receiving the DHCP REQUEST message, the DHCP Server determines whether the IP address of the DHCP Server in the "option" field of the DHCP REQUEST message is the same as its own IP address, and when the IP address of the DHCP Server in the "option" field of the DHCP REQUEST message is the same as its own IP address, the DHCP Server responds to the terminal with a DHCP ACK message and adds an IP address use lease option in the "option" field of the DHCP ACK message.
Here, after the DHCP Server refuses to respond to the received DHCP REQUEST message, a DHCP refusing (NACK) (06) message is replied to the terminal; after receiving the DHCP NACK message, the terminal generally restarts to perform step 201.
Step 205: address Resolution Protocol (ARP) Request;
specifically, after receiving the DHCP ACK message, the terminal sends an ARP Request message to the AP, where the ARP Request message is used to obtain a Media Access Control (MAC) address of the AP.
Step 206: ARP reply (Replay);
specifically, after receiving the ARP Request message, the AP replies an ARP reply message to the terminal.
Wherein, the ARP Replay message carries the IP address and the MAC address of the AP.
The purpose of executing step 205 and step 206 is: the terminal acquires the MAC address of the target host and establishes connection with the hot spot and the AP; the terminal detects whether the acquired IP address has conflict or not and whether the IP address is used by other terminals or not.
According to the above description, the WIFI network access process can be divided from the terminal side into: a DHCP discovery subprocess, an IP address acquisition subprocess and a conflict detection and MAC address acquisition subprocess; the DHCP discovery subprocess includes steps 201 and 202; the IP address acquisition subprocess includes: step 203 and step 204; the collision detection and MAC address acquisition sub-process comprises: step 205 and step 206.
Based on this, the transmission parameters of the interactive message include: the method comprises the steps of sending the DHCP DISCOVER message within first preset time, feeding back delay time of the DHCP OFFER message, time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message, sending times of the ARP REQUEST message within second preset time and time delay between sending the ARP REQUEST message and receiving the ARP Replay message.
The first preset time and the second preset time are set according to a protocol rule followed by the WIFI network, for example: setting the first preset time to 10s, setting the second preset time to 5s and the like; when the number of sending ARPRequest messages is more than two, the time delay between sending the ARP Request message and receiving the arprepeat message refers to: the time interval between the first time of sending the ARP Request message and the time of receiving the ARP Replay message.
In practical application, the test software for implementing the method of the embodiment of the invention needs to be installed to the terminal, and the ROOT authority of the operating system of the terminal is obtained, so that the transmission parameters of the interactive messages in the WIFI network access process of the terminal can be obtained; the obtaining of the ROOT authority of the operating system of the terminal includes: becoming the administrator of the operating system of the terminal; the specific process of obtaining the ROOT authority of the operating system of the terminal is a conventional technical means for those skilled in the art, and is not described in detail.
The terminal can be an intelligent terminal with an Android system, such as: can be an intelligent terminal with an android2.0 system.
The specific processing procedure of obtaining the interactive message in the self-WIFI network access process and analyzing is a conventional technical means of those skilled in the art, and is not described in detail.
Step 102: and the terminal analyzes the WIFI network access capability according to the acquired transmission parameters of the interactive information.
Specifically, the terminal compares the acquired transmission parameters of the interactive information with the set transmission parameters of the WIFI network standard respectively to obtain a comparison result;
and determining factors influencing the access performance of the WIFI network according to the comparison result.
Here, when the transmission parameters of the interactive packet include: when the sending times of the DHCP DISCOVER message in the first preset time, the feedback delay time of the DHCP OFFER message, the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message, the sending times of the ARP REQUEST message in the second preset time, and the time delay between sending the ARP REQUEST message and receiving the ARP reply message, correspondingly, the set WIFI network standard transmission parameters also include: the method comprises the steps of sending times of DHCPDISCOVER messages in first preset time, feedback delay time of DHCP OFFER messages, time delay between sending of DHCPREQUEST messages and receiving of DHCP ACK messages, sending times of ARPRequest messages in second preset time, and time delay between sending of ARP Request messages and receiving of ARP Replay messages.
The WIFI network standard transmission parameters are set according to a protocol followed by the WIFI network, in other words, the WIFI network standard transmission parameters are set according to the WIFI network transmission parameters specified by the protocol followed by the WIFI network; for example, assuming that a protocol followed by the WIFI network specifies that the number of sent DHCP DISCOVER messages is at most 5 within a first preset time, the number of sent DHCP DISCOVER messages in the set WIFI network standard transmission parameters is 5, and so on.
When comparing, comparing one item in the transmission parameters of the interaction information with the same item in the set WIFI network standard transmission parameters; for example, the sending times of the DHCP DISCOVER messages within the first preset time in the transmission parameters of the interaction information are compared with the sending times of the DHCP DISCOVER messages within the first preset time in the set WIFI network standard transmission parameters, the feedback delay time of the DHCP OFFER messages in the transmission parameters of the interaction information is compared with the feedback delay time of the DHCP OFFER messages in the set WIFI network standard transmission parameters, and the like.
Determining, according to the comparison result, a specific implementation of a factor affecting the WIFI network access performance may be multiple, for example, when the number of sending times of the DHCPDISCOVER packet in the first preset time in the transmission parameters of the interaction packet is greater than the number of sending times of the DHCP DISCOVER packet in the first preset time in the set WIFI network standard transmission parameters, in other words, when the DHCP OFFER packet is not received in the set time, the DHCP Server is considered to have no response, and determining the factor affecting the WIFI network access performance may include: the coverage of the WIFI network in the environment where the terminal is located is weak, so that normal information interaction cannot be carried out between the DHCP Server and the terminal; and/or, the DHCP Server of the target WIFI network is damaged or has hidden faults, so that the DHCP Server can not work normally; and/or the WIFI network access equipment connected with the terminal fails, so that information between the terminal and the DHCP Server cannot reach the DHCPServer and the like;
when the feedback delay time of the DHCP OFFER message in the transmission parameters of the interaction message is greater than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, determining the factor affecting the WIFI network access performance may include: the wireless environment interference is large, so that normal information interaction cannot be carried out between the DHCPServer and the terminal, and the information message is damaged due to a large error rate; and/or the coverage of the WIFI network in the environment where the terminal is located is weak, so that normal information interaction cannot be carried out between the DHCP Server and the terminal; and/or when the DHCP Server is busy, the DHCP Server cannot send the DHCP OFFER message to the feedback terminal; and/or, the DHCP Server of the target WIFI network is damaged or has hidden faults, so that the DHCP Server cannot normally work, requests are lost and the like;
when the time delay from sending the DHCP REQUEST message to receiving the DHCPACK message in the transmission parameters of the interaction message is greater than the time delay from sending the DHCPREQUEST message to receiving the DHCP ACK message in the set WIFI network standard transmission parameters, or the terminal does not receive the DHCP ACK message within a set time, determining that the factor affecting the WIFI network access performance may include: the interference of wireless environment is large, so that the DHCP Server and the terminal can not carry out normal information interaction, and the information message is damaged due to large error rate; and/or the coverage of the WIFI network in the environment where the terminal is located is weak, so that normal information interaction cannot be performed between the DHCP Server and the terminal; when receiving a DHCP NACK message fed back by a DHCP Server of the target WIFI network, determining factors that affect the WIFI network access performance may include: the DHCP Server of the target WIFI network is damaged or has hidden faults, so that the DHCP Server cannot work normally;
when the number of times of sending the ARP Request message within the second preset time in the transmission parameters of the interactive message is greater than the number of times of sending the ARP Request message within the preset time in the set WIFI network standard transmission parameters, determining that the factor affecting the WIFI network access performance may include: the WIFI network access equipment (namely AP) connected with the terminal is damaged or has hidden faults, and cannot work normally;
when the time delay between sending the ARP Request message and receiving the ARP reply message in the transmission parameters of the interactive message is greater than the time delay between sending the ARP Request message and receiving the ARP reply message in the set WIFI network standard transmission parameters, determining that the factors affecting the access performance of the WIFI network may include: the wireless environment has large interference or weak coverage; and/or the WIFI network access equipment (namely AP) connected with the terminal is damaged or has hidden faults, and the WIFI network access equipment cannot work normally.
The method may further comprise: the terminal acquires data of a wireless environment in which the terminal is located;
correspondingly, when analyzing the WIFI network access capability, the method may further include:
and the terminal analyzes the WIFI network access capability according to the acquired transmission parameters of the interactive information and the acquired data of the wireless environment.
Wherein the data of the wireless environment may include: information of the wireless environment; here, the information of the wireless environment may include: the method comprises the steps of obtaining the signal strength of the WIFI network received by the terminal, the signal quality and the coverage of the WIFI network received by the terminal, the co-adjacent frequency interference of the peripheral WIFI network, the internal and external interference and the like.
Here, the signal quality and the coverage of the WIFI network received by the terminal may be determined by the following method: the terminal continuously acquires the intensity of the wireless signal of the WIFI network received by the terminal within a set time, and calculates an average value; judging the signal quality and the coverage range of the WIFI network received by the terminal according to the calculated average value; for example, generally, if the obtained average value is greater than or equal to-80 dBM, the coverage range is normal; if the obtained average value is less than-90 dBM, the coverage range is weak, the hotspot access time delay of the terminal is long, the success rate is low, and the access maintenance stability is poor; if the obtained average value is larger than or equal to-90 dBM and smaller than-80 dBM, the coverage range is normal, but the signal quality is unstable, for example, the bit error rate is higher, and the service quality is influenced.
The same-adjacent-channel interference of the peripheral WIFI network can be determined by adopting the following method: superposing the calculated average value of the wireless signal intensity on the wireless signal intensity power value of the peripheral same-frequency WIFI network to serve as the same-frequency interference of the peripheral WIFI network; superposing the calculated average value of the wireless signal strength on the wireless signal strength power value of the peripheral adjacent-frequency WIFI network to serve as adjacent-frequency interference of the peripheral WIFI network; in practical application, the adjacent frequency means: and the WIFI network has a WIFI network channel interval of 1 with the WIFI network where the terminal is located.
The internal interference present is: network signals of the same Service Set IDentifier (SSID) and/or the same frequency point and/or different Basic Service Set Identifiers (BSSID) as the target WIFI network; accordingly, the external interference present refers to: and outputting other network signals except the network signals with the same SSID (service set identifier), the same frequency point and/or different BSSIDs (basic service set identifiers) with the target WIFI network.
The obtained transmission parameters of the interaction information and the obtained data of the wireless environment are used for analyzing the WIFI network access capability, and the method specifically comprises the following steps:
the terminal compares the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result;
and determining factors influencing the access performance of the WIFI network according to the comparison result.
Here, the data of the WIFI network standard wireless environment is also set according to the protocol followed by the WIFI network, in other words, the data of the WIFI network standard wireless environment is set according to the data of the WIFI network wireless environment specified by the protocol followed by the WIFI network; the specific setting process is the same as the process of setting the transmission parameters of the WIFI network standard, and is not illustrated here.
In actual application, comparing the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result; a specific processing procedure for determining the factors affecting the access performance of the WIFI network according to the comparison result, as shown in fig. 3, may include the following steps:
step 301: the terminal acquires transmission parameters of the interactive message and data of a wireless environment;
step 302: the terminal judges whether the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold value; if yes, executing step 303, otherwise, executing step 304;
calculating a carrier-to-interference ratio of the wireless environment by using the signal intensity of the WIFI network received by the terminal and the co-adjacent frequency interference of the peripheral WIFI network, specifically, multiplying the co-frequency interference value of the WIFI network peripheral to the WIFI network received by the terminal by 0.7 to obtain a first value; multiplying the adjacent channel interference value of the WIFI network surrounding the WIFI network received by the terminal by 0.3 to obtain a second value; adding the first value and the second value to obtain a third value; dividing the signal intensity of the WIFI network received by the terminal by a third value to obtain the carrier-to-interference ratio of the wireless environment; the carrier-to-interference ratio calculation for a wireless environment is expressed by a formula, which includes:
the first threshold is set according to the relevant protocol regulations followed by the WIFI network, for example, the first threshold is set to 15 dB.
When the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold, the wireless environment is good, and the interference of peripheral wireless signals is small; when the carrier-to-interference ratio of the wireless environment is smaller than the first threshold, it is determined that the interference is large, and step 304 needs to be executed to further determine whether the interference of the peripheral wireless signals is large and affect the access quality of the WIFI network.
Step 303: the terminal analyzes a DHCP interaction process and an ARP interaction process by combining the acquired transmission parameters of the interaction message and the related data of the wireless environment;
here, the DHCP interaction process includes: steps 201-204 in the information interaction process shown in FIG. 2; the ARP interactive process comprises the following steps: steps 205-206 in the information interaction process shown in FIG. 2.
The specific implementation of the step comprises the following steps:
step 303 a: the terminal determines that the terminal does not receive the DHCP OFFER message within the first preset time, judges whether the signal strength of the WIFI network received by the terminal is good, and if the signal strength is good, the terminal indicates that the DHCP Server of the target WIFI network has a hidden fault or the WIFI network access equipment connected with the terminal has a fault; if the signal intensity is poor, the coverage of the WIFI network in the environment where the terminal is located is weak;
here, it is determined that the DHCP OFFER message is not received within the first preset time, in other words, it is determined that the number of times of sending the DHCP DISCOVER message within the first preset time in the transmission parameters of the interaction message is greater than the number of times of sending the DHCP DISCOVER message within the first preset time in the set WIFI network standard transmission parameters.
The terminal judges whether the signal intensity of the WIFI network received by the terminal is good or not, and specifically comprises the following steps:
the terminal judges whether the signal intensity of the WIFI network received by the terminal is good or not according to the signal quality and the coverage range of the WIFI network received by the terminal;
the received signal quality and coverage range of the WIFI network may be determined by the following method: the terminal continuously acquires the intensity of the wireless signal of the WIFI network received by the terminal within a set time, and calculates an average value; judging the signal quality and the coverage range of the WIFI network received by the terminal according to the calculated average value; generally, if the obtained average value is more than or equal to-80 dBM, the coverage range is normal; the signal strength of the WIFI network received by the terminal is good, if the obtained average value is smaller than-90 dBM, the coverage range is weak, the hotspot access time delay of the terminal is long, the success rate is low, and the access keeping stability is poor; if the obtained average value is larger than or equal to-90 dBM and smaller than-80 dBM, the coverage range is normal, but the signal quality is unstable, for example, the bit error rate is higher, and the service quality is influenced.
Step 303 b: the terminal determines that the feedback delay time of the DHCP OFFER message is greater than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, judges whether the signal intensity of the WIFI network received by the terminal is good, and if the signal intensity is good, the terminal indicates that the DHCP Server of the target WIFI network has a hidden fault or is busy; if the signal intensity is poor, the coverage of the WIFI network in the environment where the terminal is located is weak;
here, the terminal determines whether the signal strength of the WIFI network received by the terminal is good, specifically:
the terminal judges whether the signal intensity of the WIFI network received by the terminal is good or not according to the signal quality and the coverage range of the WIFI network received by the terminal;
the received signal quality and coverage range of the WIFI network may be determined by the following method: the terminal continuously acquires the intensity of the wireless signal of the WIFI network received by the terminal within a set time, and calculates an average value; judging the signal quality and the coverage range of the WIFI network received by the terminal according to the calculated average value; generally, if the obtained average value is larger than or equal to-80 dBM, the coverage range is normal, and the signal intensity of the WIFI network received by the terminal is good; if the obtained average value is less than-90 dBM, the coverage range is weak, the hotspot access time delay of the terminal is long, the success rate is low, and the access maintenance stability is poor; if the obtained average value is larger than or equal to-90 dBM and smaller than-80 dBM, the coverage range is normal, but the signal quality is unstable, for example, the bit error rate is higher, and the service quality is influenced.
Step 303 c: the terminal determines to receive a DHCPNACK message fed back by a DHCP Server of a target WIFI network, and indicates that the DHCP Server of the target WIFI network is damaged or has hidden faults;
step 303 d: the terminal determines that the sending times of ARP Request messages in second preset time are greater than the sending times of the ARP Request messages in second preset time in the set WIFI network standard transmission parameters, or the time delay from sending the ARP Request messages to receiving the ARP Replay messages is greater than the time delay from sending the ARP Request messages to receiving the ARP Replay messages in the set WIFI network standard transmission parameters, judges whether the signal strength of the WIFI network received by the terminal is good or not, and if the signal strength is good, indicates that WIFI network access equipment (namely AP) connected with the terminal is damaged or has hidden faults; and if the signal strength is poor, the coverage of the WIFI network in the environment where the terminal is located is weak.
Here, the number of times of sending the ARP Request packet within the second preset time is greater than the number of times of sending the ARP Request packet within the second preset time in the set WIFI network standard transmission parameter, and means: and the ARP Replay message is not received within a second preset time.
The time delay between sending the ARP Request message and receiving the ARP reply message is greater than the time delay between sending the ARP Request message and receiving the ARP reply message in the set WIFI network standard transmission parameter, in other words, the time delay between receiving the ARP reply message is too large.
Here, the terminal determines whether the signal strength of the WIFI network received by the terminal is good, specifically:
the terminal judges whether the signal intensity of the WIFI network received by the terminal is good or not according to the signal quality and the coverage range of the WIFI network received by the terminal;
the received signal quality and coverage range of the WIFI network may be determined by the following method: the terminal continuously acquires the intensity of the wireless signal of the WIFI network received by the terminal within a set time, and calculates an average value; judging the signal quality and the coverage range of the WIFI network received by the terminal according to the calculated average value; generally, if the obtained average value is larger than or equal to-80 dBM, the coverage range is normal, and the signal intensity of the WIFI network received by the terminal is good; if the obtained average value is less than-90 dBM, the coverage range is weak, the hotspot access time delay of the terminal is long, the success rate is low, and the access maintenance stability is poor; if the obtained average value is larger than or equal to-90 dBM and smaller than-80 dBM, the coverage range is normal, but the signal quality is unstable, for example, the bit error rate is higher, and the service quality is influenced.
In practical application, the steps 303a, 303b, 303c and 303d are executed without any sequence.
Step 304: the terminal determines whether a problem exists in the DHCP process and the ARP interactive process.
Here, the specific implementation of this step includes the following steps:
step 304 a: the terminal judges whether the feedback delay time of the DHCP OFFER message is larger than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, if so, the step 304d is executed;
step 304 b: the terminal judges whether the time delay from sending the DHCP REQUEST message to receiving the DHCP ACK message is larger than the time delay from sending the DHCPREQUEST message to receiving the DHCP ACK message in the set WIFI network standard transmission parameters, if so, the step 304d is executed;
here, it is determined whether the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message is greater than the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message in the set WIFI network standard transmission parameters, in other words, it is determined whether the interaction time delay between the DHCP REQUEST message and the DHCP ACK message is too large, that is: and judging whether the time delay of receiving the DHCP ACK message is overlarge.
Step 304 c: the terminal judges whether the time delay between the ARP Request message sending and the ARP Replay message receiving is larger than the time delay between the ARP Request message sending and the ARP Replay message receiving in the set WIFI network standard transmission parameters, if so, the step 304d is executed;
here, it is determined that a time delay between sending the ARP Request message and receiving the ARP reply message is greater than a time delay between sending the ARP Request message and receiving the ARP reply message in the set WIFI network standard transmission parameter, in other words, it is determined whether the received ARP reply message is too large.
In practice, the steps 304a, 304b, and 304c are executed without any sequence.
Step 304 d: the terminal determines that the peripheral wireless signals have serious interference and influences the access quality of the WIFI network.
The method may further comprise: the terminal reports the comparison result and the determined factors influencing the access performance of the WIFI network; therefore, a network manager can conveniently see the comparison result and the factors influencing the WIFI network access performance, and further, the network manager can conveniently perform more accurate positioning on the WIFI network problem according to the comparison result reported by the terminal, the factors influencing the WIFI network access performance and the traditional WLAN network management data, analyze the WIFI network problem more quickly and solve the WIFI network problem.
The reporting module can report to a server of the WIFI network.
As can be seen from the above description, the method for detecting the access capability of the WIFI network provided by the embodiment of the present invention starts from the terminal side, and determines the problem existing in the access process of the WIFI network, so that the method is more accurate and has stronger foundation; the method can more accurately fit the actual use experience of the user, and can play a very good auxiliary role in the actual WIFI network access performance optimization work.
In addition, the WIFI network access process is subdivided, so that the content contained in the output parameters of the interactive messages is determined, the problem can be found more accurately, the user experience can be fitted, and the current actual working quality of the WIFI network and the working condition of related equipment can be found according to the actual working quality; meanwhile, the closed data gold mine at the user side is opened by further grabbing and mining the information-interactive message at the bottom layer of the terminal, so that not only can the optimization work be more effectively guided to be carried out, but also powerful support is provided for providing better business service for the user subsequently.
In order to implement the foregoing method, an embodiment of the present invention further provides a device for detecting a WIFI network access capability, where as shown in fig. 4, the device includes: a first acquisition module 41 and an analysis module 42; wherein,
the first obtaining module 41 is configured to obtain transmission parameters of the interaction information in the WIFI network access process of the terminal itself;
and the analysis module 42 is configured to analyze the WIFI network access capability according to the acquired transmission parameter of the interaction information.
The first obtaining module 41 is specifically configured to: acquiring an interactive message in a WIFI network access process of a terminal, and analyzing the interactive message; and counting transmission parameters of the interactive message based on the analyzed interactive message.
Fig. 2 is a schematic diagram of an information interaction process in a WIFI network access process according to an embodiment of the present invention; as shown in fig. 2, in practical application, an information interaction process in a general normal WIFI network access process includes:
step 201: DHCP DISCOVER (01);
specifically, the terminal firstly broadcasts a DHCP DISCOVER message, aiming at enabling a DHCP Server (Server) to receive an access request;
step 202: DHCP OFFER (02);
specifically, after receiving the DHCP DISCOVER message, the DHCP Server responds to the terminal with a DHCP OFFER message.
Wherein, the DHCP OFFER message carries the IP address that the DHCP Server can provide for the terminal to use.
Step 203: DHCP REQUEST (03);
specifically, after receiving the DHCP OFFER message, the terminal broadcasts a DHCP REQUEST message.
Wherein, the DHCP REQUEST message carries DHCP SERVER IP address and the IP address desired by the user.
Step 204: DHCP ACK (05);
specifically, after receiving the DHCP REQUEST message, the DHCP Server determines whether the IP address of the DHCP Server in the "option" field of the DHCP REQUEST message is the same as its own IP address, and when the IP address of the DHCP Server in the "option" field of the DHCP REQUEST message is the same as its own IP address, the DHCP Server responds to the terminal with a DHCP ACK message and adds an IP address use lease option in the "option" field of the DHCP ACK message.
Here, after the DHCP Server refuses to respond to the received DHCP REQUEST message, a DHCP NACK (06) message is replied to the terminal; after receiving the DHCP NACK message, the terminal generally restarts to perform step 201.
Step 205: ARP Request;
specifically, after receiving the DHCP ACK message, the terminal sends an ARP Request message to the AP, which is used to obtain an MAC address of the AP.
Step 206: ARP Replay;
specifically, after receiving the ARP Request message, the AP replies an ARP reply message to the terminal.
Wherein, the ARP Replay message carries the IP address and the MAC address of the AP.
The purpose of executing step 205 and step 206 is: the terminal acquires the MAC address of the target host and establishes connection with the hot spot and the AP; the terminal detects whether the acquired IP address has conflict or not and whether the IP address is used by other terminals or not.
According to the above description, the WIFI network access process can be divided from the terminal side into: a DHCP discovery subprocess, an IP address acquisition subprocess and a conflict detection and MAC address acquisition subprocess; the DHCP discovery subprocess includes steps 201 and 202; the IP address acquisition subprocess includes: step 203 and step 204; the collision detection and MAC address acquisition sub-process comprises: step 205 and step 206.
Based on this, the transmission parameters of the interactive message include: the method comprises the steps of sending the DHCP DISCOVER message within first preset time, feeding back delay time of the DHCP OFFER message, time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message, sending times of the ARP REQUEST message within second preset time and time delay between sending the ARP REQUEST message and receiving the ARP Replay message.
The first preset time and the second preset time are set according to a protocol rule followed by the WIFI network, for example: setting the first preset time to 10s, setting the second preset time to 5s and the like; when the number of sending ARPRequest messages is more than two, the time delay between sending the ARP Request message and receiving the arprepeat message refers to: the time interval between the first time of sending the ARP Request message and the time of receiving the ARP Replay message.
Here, in actual application, the first obtaining module 41 needs to obtain the ROOT authority of the operating system of the terminal, so as to obtain the transmission parameters of the interactive messages in the WIFI network access process of the terminal; the obtaining of the ROOT authority of the operating system of the terminal includes: becoming the administrator of the operating system of the terminal; the specific process of obtaining the ROOT authority of the operating system of the terminal is a conventional technical means for those skilled in the art, and is not described in detail.
The terminal can be an intelligent terminal with an Android system, such as: can be an intelligent terminal with an android2.0 system.
The specific processing procedure of obtaining the interactive message in the self-WIFI network access process and analyzing is a conventional technical means of those skilled in the art, and is not described in detail.
The analysis module 42 is specifically configured to: respectively comparing the acquired transmission parameters of the interactive information with the set WIFI network standard transmission parameters to obtain comparison results; and determining factors influencing the access performance of the WIFI network according to the comparison result.
Here, when the transmission parameters of the interactive packet include: when the sending times of the DHCP DISCOVER message in the first preset time, the feedback delay time of the DHCP OFFER message, the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message, the sending times of the ARP REQUEST message in the second preset time, and the time delay between sending the ARP REQUEST message and receiving the ARP reply message, correspondingly, the set WIFI network standard transmission parameters also include: the method comprises the steps of sending times of DHCPDISCOVER messages in first preset time, feedback delay time of DHCP OFFER messages, time delay between sending of DHCPREQUEST messages and receiving of DHCP ACK messages, sending times of ARPRequest messages in second preset time, and time delay between sending of ARP Request messages and receiving of ARP Replay messages.
The WIFI network standard transmission parameters are set according to a protocol followed by the WIFI network, in other words, the WIFI network standard transmission parameters are set according to the WIFI network transmission parameters specified by the protocol followed by the WIFI network; for example, assuming that a protocol followed by the WIFI network specifies that the number of sent DHCP DISCOVER messages is at most 5 within a first preset time, the number of sent DHCP DISCOVER messages in the set WIFI network standard transmission parameters is 5, and so on.
When comparing, comparing one item in the transmission parameters of the interaction information with the same item in the set WIFI network standard transmission parameters; for example, the sending times of the DHCP DISCOVER messages within the first preset time in the transmission parameters of the interaction information are compared with the sending times of the DHCP DISCOVER messages within the first preset time in the set WIFI network standard transmission parameters, the feedback delay time of the DHCP OFFER messages in the transmission parameters of the interaction information is compared with the feedback delay time of the DHCP OFFER messages in the set WIFI network standard transmission parameters, and the like.
Determining, according to the comparison result, a specific implementation of a factor affecting the WIFI network access performance may be multiple, for example, when the number of sending times of the DHCPDISCOVER packet in the first preset time in the transmission parameters of the interaction packet is greater than the number of sending times of the DHCP DISCOVER packet in the first preset time in the set WIFI network standard transmission parameters, in other words, when the DHCP OFFER packet is not received in the set time, the DHCP Server is considered to have no response, and determining the factor affecting the WIFI network access performance may include: the coverage of the WIFI network in the environment where the terminal is located is weak, so that normal information interaction cannot be carried out between the DHCP Server and the terminal; and/or, the DHCP Server of the target WIFI network is damaged or has hidden faults, so that the DHCP Server can not work normally; and/or the WIFI network access equipment connected with the terminal fails, so that information between the terminal and the DHCP Server cannot reach the DHCPServer and the like;
when the feedback delay time of the DHCP OFFER message in the transmission parameters of the interaction message is greater than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, determining the factor affecting the WIFI network access performance may include: the wireless environment interference is large, so that normal information interaction cannot be carried out between the DHCPServer and the terminal, and the information message is damaged due to a large error rate; and/or the coverage of the WIFI network in the environment where the terminal is located is weak, so that normal information interaction cannot be carried out between the DHCP Server and the terminal; and/or when the DHCP Server is busy, the DHCP Server cannot send the DHCP OFFER message to the feedback terminal; and/or, the DHCP Server of the target WIFI network is damaged or has hidden faults, so that the DHCP Server cannot normally work, requests are lost and the like;
when the time delay from sending the DHCP REQUEST message to receiving the DHCPACK message in the transmission parameters of the interaction message is greater than the time delay from sending the DHCPREQUEST message to receiving the DHCP ACK message in the set WIFI network standard transmission parameters, or the terminal does not receive the DHCP ACK message within a set time, determining that the factor affecting the WIFI network access performance may include: the interference of wireless environment is large, so that the DHCP Server and the terminal can not carry out normal information interaction, and the information message is damaged due to large error rate; and/or the coverage of the WIFI network in the environment where the terminal is located is weak, so that normal information interaction cannot be performed between the DHCP Server and the terminal; when receiving a DHCP NACK message fed back by a DHCP Server of the target WIFI network, determining factors that affect the WIFI network access performance may include: the DHCP Server of the target WIFI network is damaged or has hidden faults, so that the DHCP Server cannot work normally;
when the number of times of sending the ARP Request message within the second preset time in the transmission parameters of the interactive message is greater than the number of times of sending the ARP Request message within the preset time in the set WIFI network standard transmission parameters, determining that the factor affecting the WIFI network access performance may include: the WIFI network access equipment (namely AP) connected with the terminal is damaged or has hidden faults, and cannot work normally;
when the time delay between sending the ARP Request message and receiving the ARP reply message in the transmission parameters of the interactive message is greater than the time delay between sending the ARP Request message and receiving the ARP reply message in the set WIFI network standard transmission parameters, determining that the factors affecting the access performance of the WIFI network may include: the wireless environment has large interference or weak coverage; and/or the WIFI network access equipment (namely AP) connected with the terminal is damaged or has hidden faults, and the WIFI network access equipment cannot work normally.
As shown in fig. 5, the apparatus may further include: a second obtaining module 43, configured to obtain data of a wireless environment where the terminal is located;
correspondingly, the analysis module 42 is configured to analyze the WIFI network access capability according to the acquired transmission parameters of the interaction information and the acquired data of the wireless environment.
Wherein the data of the wireless environment may include: information of the wireless environment; here, the information of the wireless environment may include: the method comprises the steps of obtaining the signal strength of the WIFI network received by the terminal, the signal quality and the coverage of the WIFI network received by the terminal, the co-adjacent frequency interference of the peripheral WIFI network, the internal and external interference and the like.
Here, the signal quality and the coverage of the WIFI network received by the terminal may be determined by the following method: the second obtaining module 43 continuously collects the wireless signal intensity of the WIFI network received by itself within a set time, and calculates an average value; judging the signal quality and the coverage range of the WIFI network received by the terminal according to the calculated average value; for example, generally, if the obtained average value is greater than or equal to-80 dBM, the coverage range is normal; if the obtained average value is less than-90 dBM, the coverage range is weak, the hotspot access time delay of the terminal is long, the success rate is low, and the access maintenance stability is poor; if the obtained average value is larger than or equal to-90 dBM and smaller than-80 dBM, the coverage range is normal, but the signal quality is unstable, for example, the bit error rate is higher, and the service quality is influenced.
The same-adjacent-channel interference of the peripheral WIFI network can be determined by adopting the following method: superposing the calculated average value of the wireless signal intensity on the wireless signal intensity power value of the peripheral same-frequency WIFI network to serve as the same-frequency interference of the peripheral WIFI network; superposing the calculated average value of the wireless signal strength on the wireless signal strength power value of the peripheral adjacent-frequency WIFI network to serve as adjacent-frequency interference of the peripheral WIFI network; in practical application, the adjacent frequency means: and the WIFI network has a WIFI network channel interval of 1 with the WIFI network where the terminal is located.
The internal interference present is: network signals with the same SSID, the same frequency point and/or different BSSIDs (base station system identifiers) as the target WIFI network; accordingly, the external interference present refers to: and outputting other network signals except the network signals with the same SSID (service set identifier), the same frequency point and/or different BSSIDs (basic service set identifiers) with the target WIFI network.
The analysis module 42 is specifically configured to: comparing the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result; and determining factors influencing the access performance of the WIFI network according to the comparison result.
Here, the data of the WIFI network standard wireless environment is also set according to the protocol followed by the WIFI network, in other words, the data of the WIFI network standard wireless environment is set according to the data of the WIFI network wireless environment specified by the protocol followed by the WIFI network; the specific setting process is the same as the process of setting the transmission parameters of the WIFI network standard, and is not illustrated here.
During actual application, the analysis module 42 compares the acquired transmission parameters of the interaction information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result; a specific processing procedure for determining the factors affecting the access performance of the WIFI network according to the comparison result, as shown in fig. 3, may include the following steps:
step 301: the terminal acquires transmission parameters of the interactive message and data of a wireless environment;
specifically, the first obtaining module 41 obtains the transmission parameters of the interactive packet, and the second obtaining module 42 obtains the data of the wireless environment.
Step 302: the terminal judges whether the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold value; if yes, executing step 303, otherwise, executing step 304;
specifically, the analysis module 42 determines whether the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold.
Calculating a carrier-to-interference ratio of the wireless environment by using the signal intensity of the WIFI network received by the terminal and the co-adjacent frequency interference of the peripheral WIFI network, specifically, multiplying the co-frequency interference value of the WIFI network peripheral to the WIFI network received by the terminal by 0.7 to obtain a first value; multiplying the adjacent channel interference value of the WIFI network surrounding the WIFI network received by the terminal by 0.3 to obtain a second value; adding the first value and the second value to obtain a third value; dividing the signal intensity of the WIFI network received by the terminal by a third value to obtain the carrier-to-interference ratio of the wireless environment; the carrier-to-interference ratio calculation for a wireless environment is expressed by a formula, which includes:
the first threshold is set according to the relevant protocol regulations followed by the WIFI network, for example, the first threshold is set to 15 dB.
When the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold, the wireless environment is good, and the interference of peripheral wireless signals is small; when the carrier-to-interference ratio of the wireless environment is smaller than the first threshold, it is determined that the interference is large, and step 304 needs to be executed to further determine whether the interference of the peripheral wireless signals is large and affect the access quality of the WIFI network.
Step 303: the terminal analyzes a DHCP interaction process and an ARP interaction process by combining the acquired transmission parameters of the interaction message and the related data of the wireless environment;
specifically, the analysis module 42 analyzes the DHCP interaction process and the ARP interaction process by combining the acquired transmission parameters of the interaction packet and the related data of the wireless environment.
Here, the DHCP interaction process includes: steps 201-204 in the information interaction process shown in FIG. 2; the ARP interactive process comprises the following steps: steps 205-206 in the information interaction process shown in FIG. 2.
The specific implementation of the step comprises the following steps:
step 303 a: the terminal determines that the terminal does not receive the DHCP OFFER message within the first preset time, judges whether the signal strength of the WIFI network received by the terminal is good, and if the signal strength is good, the terminal indicates that the DHCP Server of the target WIFI network has a hidden fault or the WIFI network access equipment connected with the terminal has a fault; if the signal intensity is poor, the coverage of the WIFI network in the environment where the terminal is located is weak;
specifically, the analysis module 42 determines that the DHCP OFFER message is not received within the first preset time, and determines whether the signal strength of the WIFI network received by the terminal is good.
Here, it is determined that the DHCP OFFER message is not received within the first preset time, in other words, it is determined that the number of times of sending the DHCP DISCOVER message within the first preset time in the transmission parameters of the interaction message is greater than the number of times of sending the DHCP DISCOVER message within the first preset time in the set WIFI network standard transmission parameters.
Whether the signal intensity of the WIFI network received by the WIFI network is good or not is judged, and the judgment method specifically comprises the following steps:
judging whether the signal intensity of the WIFI network received by the terminal is good or not according to the signal quality and the coverage range of the WIFI network received by the terminal;
the received signal quality and coverage range of the WIFI network may be determined by the following method: the terminal continuously acquires the intensity of the wireless signal of the WIFI network received by the terminal within a set time, and calculates an average value; judging the signal quality and the coverage range of the WIFI network received by the terminal according to the calculated average value; generally, if the obtained average value is larger than or equal to-80 dBM, the coverage range is normal, and the signal intensity of the WIFI network received by the terminal is good; if the obtained average value is less than-90 dBM, the coverage range is weak, the hotspot access time delay of the terminal is long, the success rate is low, and the access maintenance stability is poor; if the obtained average value is larger than or equal to-90 dBM and smaller than-80 dBM, the coverage range is normal, but the signal quality is unstable, for example, the bit error rate is higher, and the service quality is influenced.
Step 303 b: the terminal determines that the feedback delay time of the DHCP OFFER message is greater than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, judges whether the signal intensity of the WIFI network received by the terminal is good, and if the signal intensity is good, the terminal indicates that the DHCP Server of the target WIFI network has a hidden fault or is busy; if the signal intensity is poor, the coverage of the WIFI network in the environment where the terminal is located is weak;
specifically, the analysis module 42 determines that the feedback delay time of the DHCP OFFER packet is greater than the feedback delay time of the DHCP OFFER packet in the set WIFI network standard transmission parameter, and determines whether the signal strength of the WIFI network received by the terminal is good.
Here, the determining whether the signal strength of the WIFI network received by the wireless fidelity network is good specifically includes:
judging whether the signal intensity of the WIFI network received by the terminal is good or not according to the signal quality and the coverage range of the WIFI network received by the terminal;
the received signal quality and coverage range of the WIFI network may be determined by the following method: the terminal continuously acquires the intensity of the wireless signal of the WIFI network received by the terminal within a set time, and calculates an average value; judging the signal quality and the coverage range of the WIFI network received by the terminal according to the calculated average value; generally, if the obtained average value is larger than or equal to-80 dBM, the coverage range is normal, and the signal intensity of the WIFI network received by the terminal is good; if the obtained average value is less than-90 dBM, the coverage range is weak, the hotspot access time delay of the terminal is long, the success rate is low, and the access maintenance stability is poor; if the obtained average value is larger than or equal to-90 dBM and smaller than-80 dBM, the coverage range is normal, but the signal quality is unstable, for example, the bit error rate is higher, and the service quality is influenced.
Step 303 c: the terminal determines to receive a DHCPNACK message fed back by a DHCP Server of a target WIFI network, and indicates that the DHCP Server of the target WIFI network is damaged or has hidden faults;
specifically, the analysis module 42 determines that a DHCP NACK message fed back by the DHCP Server of the target WIFI network is received.
Step 303 d: the terminal determines that the sending times of ARP Request messages in second preset time are greater than the sending times of the ARP Request messages in second preset time in the set WIFI network standard transmission parameters, or the time delay from sending the ARP Request messages to receiving the ARP Replay messages is greater than the time delay from sending the ARP Request messages to receiving the ARP Replay messages in the set WIFI network standard transmission parameters, judges whether the signal strength of the WIFI network received by the terminal is good or not, and if the signal strength is good, indicates that WIFI network access equipment (namely AP) connected with the terminal is damaged or has hidden faults; and if the signal strength is poor, the coverage of the WIFI network in the environment where the terminal is located is weak.
Specifically, the analysis module 42 determines that the number of times of sending the ARP Request message is greater than the number of times of sending the ARP Request message within a preset time in the set WIFI network standard transmission parameter, or that the time delay between sending the ARP Request message and receiving the ARP reply message is greater than the time delay between sending the ARP Request message and receiving the ARP reply message in the set WIFI network standard transmission parameter, and determines whether the signal strength of the WIFI network received by the terminal is good.
Here, the number of times of sending the ARP Request packet within the second preset time is greater than the number of times of sending the ARP Request packet within the second preset time in the set WIFI network standard transmission parameter, and means: and the ARP Replay message is not received within a second preset time.
The time delay between sending the ARP Request message and receiving the ARP reply message is greater than the time delay between sending the ARP Request message and receiving the ARP reply message in the set WIFI network standard transmission parameter, in other words, the time delay between receiving the ARP reply message is too large.
Here, the determining whether the signal strength of the WIFI network received by the wireless fidelity network is good specifically includes:
judging whether the signal intensity of the WIFI network received by the terminal is good or not according to the signal quality and the coverage range of the WIFI network received by the terminal;
the received signal quality and coverage range of the WIFI network may be determined by the following method: the terminal continuously acquires the intensity of the wireless signal of the WIFI network received by the terminal within a set time, and calculates an average value; judging the signal quality and the coverage range of the WIFI network received by the terminal according to the calculated average value; generally, if the obtained average value is larger than or equal to-80 dBM, the coverage range is normal, and the signal intensity of the WIFI network received by the terminal is good; if the obtained average value is less than-90 dBM, the coverage range is weak, the hotspot access time delay of the terminal is long, the success rate is low, and the access maintenance stability is poor; if the obtained average value is larger than or equal to-90 dBM and smaller than-80 dBM, the coverage range is normal, but the signal quality is unstable, for example, the bit error rate is higher, and the service quality is influenced.
In practical application, the steps 303a, 303b, 303c and 303d are executed without any sequence.
Step 304: the terminal determines whether a problem exists in the DHCP process and the ARP interactive process.
Specifically, the analysis module 42 determines whether there is a problem with the DHCP process and the ARP interaction process.
Here, the specific implementation of this step includes the following steps:
step 304 a: the terminal judges whether the feedback delay time of the DHCP OFFER message is larger than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, if so, the step 304d is executed;
specifically, the analysis module 42 determines whether the feedback delay time of the DHCP OFFER packet is greater than the feedback delay time of the DHCP OFFER packet in the set WIFI network standard transmission parameter.
Step 304 b: the terminal judges whether the time delay from sending the DHCP REQUEST message to receiving the DHCP ACK message is larger than the time delay from sending the DHCPREQUEST message to receiving the DHCP ACK message in the set WIFI network standard transmission parameters, if so, the step 304d is executed;
specifically, the analysis module 42 determines whether the time delay from sending the DHCP REQUEST message to receiving the DHCP ACK message is greater than the time delay from sending the DHCPREQUEST message to receiving the DHCP ACK message in the set WIFI network standard transmission parameters.
Here, it is determined whether the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message is greater than the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message in the set WIFI network standard transmission parameters, in other words, it is determined whether the interaction time delay between the DHCP REQUEST message and the DHCP ACK message is too large, that is: and judging whether the time delay of receiving the DHCP ACK message is overlarge.
Step 304 c: the terminal judges whether the time delay between the ARP Request message sending and the ARP Replay message receiving is larger than the time delay between the ARP Request message sending and the ARP Replay message receiving in the set WIFI network standard transmission parameters, if so, the step 304d is executed;
specifically, the analysis module 42 determines that the time delay between sending the ARP Request message and receiving the ARP reply message is greater than the time delay between sending the ARP Request message and receiving the ARP reply message in the set WIFI network standard transmission parameter.
Here, it is determined that a time delay between sending the ARP Request message and receiving the ARP reply message is greater than a time delay between sending the ARP Request message and receiving the ARP reply message in the set WIFI network standard transmission parameter, in other words, it is determined whether the received ARP reply message is too large.
In practice, the steps 304a, 304b, and 304c are executed without any sequence.
Step 304 d: the terminal determines that the peripheral wireless signals have serious interference and influences the access quality of the WIFI network.
Specifically, the analysis module 42 determines that there is serious interference in the surrounding wireless signals and affects the access quality of the WIFI network.
The apparatus may further include: the reporting module is used for reporting the comparison result and the determined factors influencing the access performance of the WIFI network; therefore, a network manager can conveniently see the comparison result and the factors influencing the WIFI network access performance, and further, the network manager can conveniently perform more accurate positioning on the WIFI network problem according to the comparison result reported by the terminal, the factors influencing the WIFI network access performance and the traditional WLAN network management data, analyze the WIFI network problem more quickly and solve the WIFI network problem.
The reporting module can report to a server of the WIFI network.
As can be seen from the above description, the terminal provided in the embodiment of the present invention determines the problem existing in the WIFI network access process from the terminal side, so that the detection is more accurate and the basis is stronger; the method can more accurately fit the actual use experience of the user, and can play a very good auxiliary role in the actual WIFI network access performance optimization work.
In addition, the WIFI network access process is subdivided, so that the content contained in the output parameters of the interactive messages is determined, the problem can be found more accurately, the user experience can be fitted, and the current actual working quality of the WIFI network and the working condition of related equipment can be found according to the actual working quality; meanwhile, the closed data gold mine at the user side is opened by further grabbing and mining the information-interactive message at the bottom layer of the terminal, so that not only can the optimization work be more effectively guided to be carried out, but also powerful support is provided for providing better business service for the user subsequently.
In practical application, the first obtaining module 41, the analyzing module 42 and the second obtaining module may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable logic Array (FPGA); the reporting module may be implemented by a transceiver in the terminal.
The embodiment of the present invention further provides a terminal, which includes the basic structure of the apparatus for detecting WIFI network access capability shown in fig. 4 or fig. 5, and various modifications and equivalents thereof, which are not described in detail.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (19)

1. A method for detecting WIFI network access capability, the method comprising:
the method comprises the steps that a terminal obtains transmission parameters of mutual information in the WIFI network access process;
and the terminal analyzes the WIFI network access capability according to the acquired transmission parameters of the interactive information.
2. The method of claim 1, wherein the obtaining transmission parameters of the mutual information in the WIFI network access process comprises:
the terminal acquires and analyzes an interactive message in the WIFI network access process;
and counting transmission parameters of the interactive message based on the analyzed interactive message.
3. The method of claim 2, wherein the transmission parameters of the interactive message comprise: the method comprises the steps of sending the DHCP DISCOVER message within first preset time, feeding back delay time of the DHCP OFFER message, time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message, sending times of the ARP REQUEST message within second preset time and time delay between sending the ARP REQUEST message and receiving the ARP Replay message.
4. The method according to claim 1, 2 or 3, wherein the analyzing the WIFI network access capability according to the acquired transmission parameters of the interaction information comprises:
the terminal respectively compares the acquired transmission parameters of the interactive information with the set WIFI network standard transmission parameters to obtain a comparison result;
and determining factors influencing the access performance of the WIFI network according to the comparison result.
5. The method of claim 4, wherein determining the factors affecting the WIFI network access performance according to the comparison result comprises:
when the sending times of the DHCP DISCOVER messages within the first preset time in the transmission parameters of the interactive messages are greater than the sending times of the DHCP DISCOVER messages within the first preset time in the set WIFI network standard transmission parameters, determining the factors affecting the WIFI network access performance to include: the coverage of the WIFI network in the environment where the terminal is located is weak; and/or, a DHCP server of the target WIFI network is damaged or has a hidden fault; and/or the WIFI network access equipment connected with the terminal fails; or,
when the feedback delay time of the DHCP OFFER message in the transmission parameters of the interactive message is greater than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, determining factors affecting the WIFI network access performance include: the wireless environment interference is large; and/or the coverage of the WIFI network in the environment where the terminal is located is weak; and/or, the DHCP server is busy; and/or, a DHCP server of the target WIFI network is damaged or has a hidden fault; or,
when the time delay from sending the DHCP REQUEST message to receiving the DHCPACK message in the transmission parameters of the interactive message is greater than the time delay from sending the DHCPREQUEST message to receiving the DHCP ACK message in the set WIFI network standard transmission parameters, or the terminal does not receive the DHCP ACK message within a set time, determining the factors affecting the WIFI network access performance including: the wireless environment interference is large; and/or the coverage of the WIFI network in the environment where the terminal is located is weak; or,
when the terminal receives the DHCP NACK message, determining factors influencing the WIFI network access performance comprises the following steps: a DHCP server of a target WIFI network is damaged or has a hidden fault; or,
when the number of times of sending the ARP Request message within the second preset time in the transmission parameters of the interactive message is greater than the number of times of sending the ARP Request message within the preset time in the set WIFI network standard transmission parameters, determining factors affecting the access performance of the WIFI network, including: the WIFI network access equipment connected with the terminal is damaged or has a hidden fault; or,
when the time delay from sending the ARP Request message to receiving the ARP reply message in the transmission parameters of the interactive message is greater than the time delay from sending the ARP Request message to receiving the ARP reply message in the set WIFI network standard transmission parameters, determining the factors affecting the access performance of the WIFI network, including: the wireless environment has large interference or weak coverage; and/or the WIFI network access equipment connected with the terminal is damaged or has hidden faults.
6. A method according to claim 1, 2 or 3, characterized in that the method further comprises:
the terminal acquires data of a wireless environment in which the terminal is located;
accordingly, when analyzing the WIFI network access capability, the method further comprises:
and the terminal analyzes the WIFI network access capability according to the acquired transmission parameters of the interactive information and the acquired data of the wireless environment.
7. The method of claim 6, wherein the data of the wireless environment comprises: information of the wireless environment; the information of the wireless environment includes: the method comprises the following steps that the signal intensity of a WIFI network received by a terminal, the signal quality and the coverage of the WIFI network received by the terminal, the co-adjacent frequency interference of peripheral WIFI networks and the existing internal and external interference are realized; wherein,
the terminal determines the same adjacent channel interference of the peripheral WIFI network, and the method comprises the following steps:
the terminal superposes the average value of the wireless signal intensity received by the terminal on the wireless signal intensity power value of the peripheral same-frequency WIFI network to be used as the same-frequency interference of the peripheral WIFI network; and the terminal superposes the average value of the wireless signal intensity received by the terminal on the wireless signal intensity power value of the peripheral adjacent-frequency WIFI network to serve as the adjacent-frequency interference of the peripheral WIFI network.
8. The method of claim 6, wherein analyzing the WIFI network access capability according to the acquired transmission parameters of the interaction information and the acquired data of the wireless environment comprises:
the terminal compares the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result;
and determining factors influencing the access performance of the WIFI network according to the comparison result.
9. The method according to claim 8, wherein the terminal compares the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result; determining factors influencing the access performance of the WIFI network according to the comparison result, wherein the factors comprise:
the method comprises the steps that a terminal determines that the carrier-to-interference ratio of a wireless environment is larger than or equal to a first threshold value, and when the terminal determines that a DHCP OFFER message is not received within a first preset time, whether the signal strength of a WIFI network received by the terminal is good or not is judged, and if the signal strength is good, a hidden fault of a DHCP server of a target WIFI network is determined, or a fault occurs in WIFI network access equipment connected with the terminal; if the signal intensity is poor, determining that the coverage of the WIFI network in the environment where the terminal is located is weak; or,
the terminal determines that the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold value, and determines whether the signal strength of the WIFI network received by the terminal is good or not when the feedback delay time of the DHCP OFFER message is greater than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, and if the signal strength of the WIFI network received by the terminal is good, the terminal determines that a DHCP server of a target WIFI network has a hidden fault or is busy; if the signal intensity is poor, determining that the coverage of the WIFI network in the environment where the terminal is located is weak; or,
the terminal determines that the carrier-to-interference ratio of the wireless environment is greater than or equal to a first threshold value, and determines that the DHCP server of the target WIFI network is damaged or has hidden faults when determining that the DHCP NACK message fed back by the DHCP server of the target WIFI network is received; or,
the method comprises the steps that a terminal determines that the carrier-to-interference ratio of a wireless environment is larger than or equal to a first threshold value, determines that the sending times of ARP Request messages in second preset time are larger than the sending times of the ARP Request messages in second preset time in set WIFI network standard transmission parameters, or determines whether the signal intensity of a WIFI network received by the terminal is good or not when the time delay between the sending of the ARP Request messages and the receiving of the ARP Replay messages in the set WIFI network standard transmission parameters is larger than the time delay between the sending of the ARP Request messages and the receiving of the ARP Replay messages, and if the signal intensity of the WIFI network received by the terminal is good, determines that WIFI network access equipment connected with the terminal is damaged or has hidden faults; and if the signal strength is poor, determining that the coverage of the WIFI network in the environment where the terminal is located is weak.
10. The method of claim 9, further comprising:
when the terminal determines that the carrier-to-interference ratio of the wireless environment is smaller than a first threshold value and determines that the feedback delay time of the DHCP OFFER message is larger than the feedback delay time of the DHCP OFFER message in the set WIFI network standard transmission parameters, it is determined that the peripheral wireless signals have serious interference and the WIFI network access quality is influenced; or,
the terminal determines that the carrier-to-interference ratio of the wireless environment is smaller than a first threshold value, and determines that the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message is larger than the time delay between sending the DHCP REQUEST message and receiving the DHCP ACK message in the set WIFI network standard transmission parameters, and then determines that the peripheral wireless signals have serious interference and influence the WIFI network access quality; or,
and when the terminal determines that the carrier-to-interference ratio of the wireless environment is smaller than a first threshold value and determines that the time delay between the ARP Request message sending and the ARP Replay message receiving is larger than the time delay between the ARP Request message sending and the ARP Replay message receiving in the set standard transmission parameters of the WIFI network, determining that the peripheral wireless signals have serious interference and influencing the access quality of the WIFI network.
11. The method of claim 9, wherein determining the carrier-to-interference ratio of the wireless environment comprises:
multiplying the co-frequency interference value of the WIFI network surrounding the WIFI network received by the terminal by 0.7 to obtain a first value;
multiplying the adjacent channel interference value of the WIFI network surrounding the WIFI network received by the terminal by 0.3 to obtain a second value;
adding the first value and the second value to obtain a third value;
and dividing the signal intensity of the WIFI network received by the terminal by a third value to obtain the carrier-to-interference ratio of the wireless environment.
12. The method of claim 8, further comprising:
and the terminal reports the comparison result and the determined factors influencing the access performance of the WIFI network.
13. An apparatus for detecting WIFI network access capability, the apparatus comprising: the device comprises a first acquisition module and an analysis module; wherein,
the first acquisition module is used for acquiring transmission parameters of the interactive information in the WIFI network access process of the terminal;
and the analysis module is used for analyzing the WIFI network access capability according to the acquired transmission parameters of the interactive information.
14. The apparatus of claim 13, wherein the first obtaining module is specifically configured to: acquiring an interactive message in a WIFI network access process of a terminal, and analyzing the interactive message; and counting transmission parameters of the interactive message based on the analyzed interactive message.
15. The apparatus of claim 13, wherein the analysis module is specifically configured to: respectively comparing the acquired transmission parameters of the interactive information with the set WIFI network standard transmission parameters to obtain comparison results; and determining factors influencing the access performance of the WIFI network according to the comparison result.
16. The apparatus according to claim 13, 14 or 15, wherein the terminal further comprises: the second acquisition module is used for acquiring data of a wireless environment where the terminal is located;
correspondingly, the analysis module is configured to analyze the WIFI network access capability according to the acquired transmission parameters of the interaction information and the acquired data of the wireless environment.
17. The terminal according to claim 16, wherein the analysis module is specifically configured to: comparing the acquired transmission parameters of the interactive information and the acquired data of the wireless environment with the set transmission parameters of the WIFI network standard and the data of the wireless environment to obtain a comparison result; and determining factors influencing the access performance of the WIFI network according to the comparison result.
18. The apparatus of claim 17, wherein the terminal further comprises: and the reporting module is used for reporting the comparison result and the determined factors influencing the access performance of the WIFI network.
19. A terminal characterized in that it comprises means for detecting WIFI network access capability according to any of claims 13 to 18.
CN201410052937.3A 2014-02-17 2014-02-17 A kind of method, apparatus and terminal detecting WIFI network access capability Active CN104853378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410052937.3A CN104853378B (en) 2014-02-17 2014-02-17 A kind of method, apparatus and terminal detecting WIFI network access capability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410052937.3A CN104853378B (en) 2014-02-17 2014-02-17 A kind of method, apparatus and terminal detecting WIFI network access capability

Publications (2)

Publication Number Publication Date
CN104853378A true CN104853378A (en) 2015-08-19
CN104853378B CN104853378B (en) 2019-03-01

Family

ID=53852650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410052937.3A Active CN104853378B (en) 2014-02-17 2014-02-17 A kind of method, apparatus and terminal detecting WIFI network access capability

Country Status (1)

Country Link
CN (1) CN104853378B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659937A (en) * 2016-08-02 2018-02-02 上海掌门科技有限公司 The method and apparatus shared for realizing WAP
CN108064071A (en) * 2018-02-13 2018-05-22 广东欧珀移动通信有限公司 Method for connecting network, device, storage medium and electronic equipment
CN108322917A (en) * 2018-05-14 2018-07-24 北京星网锐捷网络技术有限公司 Wireless network accesses Fault Locating Method, equipment, system and storage medium
CN110913373A (en) * 2019-09-17 2020-03-24 上海大学 In-vehicle wireless communication platform based on joint time-frequency priority strategy and anti-interference method thereof
WO2022134616A1 (en) * 2020-12-21 2022-06-30 华为技术有限公司 Wireless network delay processing method and system and access server
CN115174437A (en) * 2022-06-27 2022-10-11 广州鲁邦通物联网科技股份有限公司 Network connection stability detection method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6144855A (en) * 1996-07-05 2000-11-07 Marconi Communications Israel Ltd. Methods and apparatus pertaining to roaming of stations between access points in wireless and other networks
CN1438789A (en) * 2002-02-10 2003-08-27 华为技术有限公司 Method for swhiching over between swith-in points moving terminal in winefree local network
CN1628438A (en) * 2002-06-26 2005-06-15 诺基亚公司 Load balancing in wireless communication network
CN101867963A (en) * 2010-06-29 2010-10-20 北京星网锐捷网络技术有限公司 Wireless local area network access method, device, system and wireless access point

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6144855A (en) * 1996-07-05 2000-11-07 Marconi Communications Israel Ltd. Methods and apparatus pertaining to roaming of stations between access points in wireless and other networks
CN1438789A (en) * 2002-02-10 2003-08-27 华为技术有限公司 Method for swhiching over between swith-in points moving terminal in winefree local network
CN1628438A (en) * 2002-06-26 2005-06-15 诺基亚公司 Load balancing in wireless communication network
CN101867963A (en) * 2010-06-29 2010-10-20 北京星网锐捷网络技术有限公司 Wireless local area network access method, device, system and wireless access point

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659937A (en) * 2016-08-02 2018-02-02 上海掌门科技有限公司 The method and apparatus shared for realizing WAP
CN108064071A (en) * 2018-02-13 2018-05-22 广东欧珀移动通信有限公司 Method for connecting network, device, storage medium and electronic equipment
CN108064071B (en) * 2018-02-13 2020-06-16 Oppo广东移动通信有限公司 Network connection method, device, storage medium and electronic equipment
CN108322917A (en) * 2018-05-14 2018-07-24 北京星网锐捷网络技术有限公司 Wireless network accesses Fault Locating Method, equipment, system and storage medium
CN108322917B (en) * 2018-05-14 2022-02-15 北京星网锐捷网络技术有限公司 Wireless network access fault positioning method, device, system and storage medium
CN110913373A (en) * 2019-09-17 2020-03-24 上海大学 In-vehicle wireless communication platform based on joint time-frequency priority strategy and anti-interference method thereof
WO2022134616A1 (en) * 2020-12-21 2022-06-30 华为技术有限公司 Wireless network delay processing method and system and access server
CN115174437A (en) * 2022-06-27 2022-10-11 广州鲁邦通物联网科技股份有限公司 Network connection stability detection method and system
CN115174437B (en) * 2022-06-27 2024-05-07 广州鲁邦通物联网科技股份有限公司 Network connection stability detection method and system

Also Published As

Publication number Publication date
CN104853378B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN104853378B (en) A kind of method, apparatus and terminal detecting WIFI network access capability
KR102260249B1 (en) Improving measurement reporting in beam-based systems
US9655038B2 (en) Efficient roaming of mobile clients
US20160080958A1 (en) Logged measurements
US20060193299A1 (en) Location-based enhancements for wireless intrusion detection
EP2725854A1 (en) Method for controlling transmit power in wireless local area network, controller, and access point
EP3361769B1 (en) Method, device and system for detecting interferences
US9456364B2 (en) Dynamically modifying scanning methods and/or configurations
CN104869586B (en) A kind of processing method and access point apparatus of dynamic channel detection
CN106535155A (en) Method, device and system for performing wireless roaming of wireless terminal
CN111263389B (en) Automatic positioning method and device for Volten voice quality problem
JP2017503450A (en) Cell interference investigation method and system, and network manager
CN104410989A (en) Intelligent radio frequency detection and adjusting method for household gateway
CN103269498B (en) A kind of detection method of adjacent frequency interference and device
CN104754602A (en) Wireless quality monitoring method and device
CN110099452A (en) Communication means and Related product
CN112333754B (en) Method and device for estimating number of accessible users
CN104853377A (en) Method and device for detecting access capability of WIFI network
CN101919281A (en) Method and device for controlling measurement report transmission
Cwalinski et al. Radiator-an approach for controllable wireless networks
TWI774313B (en) Communication device and associated control method
US10547420B2 (en) Cooperative scanning of wireless devices
CN112040470B (en) Roaming evaluation method, network management equipment and access point equipment
KR101896559B1 (en) Information obtaining method and apparatus based on unlicensed cell
WO2016161644A1 (en) Method and device for reporting measurement result

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant