CN105916152B - The inspection method and device of the network state of WiFi network - Google Patents
The inspection method and device of the network state of WiFi network Download PDFInfo
- Publication number
- CN105916152B CN105916152B CN201610411063.5A CN201610411063A CN105916152B CN 105916152 B CN105916152 B CN 105916152B CN 201610411063 A CN201610411063 A CN 201610411063A CN 105916152 B CN105916152 B CN 105916152B
- Authority
- CN
- China
- Prior art keywords
- network
- wifi network
- terminal device
- data transmission
- wifi
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of inspection methods and device of the network state of WiFi network.Wherein, this method includes:Network Check request is received on the terminal device, wherein Network Check request is used to indicate checks that terminal device is connect with WiFi network to the network state of WiFi network;Response to network inspection request checks the network state of WiFi network, obtains inspection result, wherein inspection result includes at least one of:Data transmission bauds between terminal device and WiFi network is connected to the facility information of the equipment of WiFi network;And inspection result is shown on the terminal device.The present invention solves the technical issues of the relevant technologies can only carry out safety inspection, lead to not ensure the online efficiency of terminal device to the WiFi network that terminal device is connected.
Description
Technical field
The present invention relates to network safety fileds, in particular to a kind of inspection method of the network state of WiFi network
And device.
Background technology
With popularizing for WiFi network, user is increasing to the degree of dependence of WiFi network.User is away from home, once
Stop rest, can all want to connect WiFi network at the first time, at this point, a safety and surf the Internet the high WiFi network of quality to
Family is particularly important.In order to ensure that user's Internet Security, the relevant technologies can carry out safety inspection to WiFi network.But it is related
Technology can only carry out safety inspection to WiFi network, can only inform whether the WiFi network that user is connected is safe, can not be right
The network speed and online equipment of WiFi network are checked, are not simply failed to the online efficiency for ensureing terminal user, can not be met
User's connection signal stablizes the demand that WiFi network carries out high speed Internet access.
For above-mentioned problem, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of inspection methods and device of the network state of WiFi network, at least to solve phase
Pass technology can only carry out safety inspection to the WiFi network that terminal device is connected, and lead to not the online effect for ensureing terminal device
The technical issues of rate.
One side according to the ... of the embodiment of the present invention provides a kind of inspection method of the network state of WiFi network, packet
It includes:Network Check request is received on the terminal device, wherein Network Check request is used to indicate the network state to WiFi network
It is checked, terminal device is connect with WiFi network;Response to network inspection request the network state of WiFi network is checked,
Obtain inspection result, wherein inspection result includes at least one of:Data transmission speed between terminal device and WiFi network
Degree, is connected to the facility information of the equipment of WiFi network;And inspection result is shown on the terminal device.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of check device of the network state of WiFi network,
Including:Receiving unit, for receiving Network Check request on the terminal device, wherein Network Check request is used to indicate pair
The network state of WiFi network is checked that terminal device is connect with WiFi network;Inspection unit is asked for response to network inspection
It asks and the network state of WiFi network is checked, obtain inspection result, wherein inspection result includes at least one of:Eventually
Data transmission bauds between end equipment and WiFi network is connected to the facility information of the equipment of WiFi network;And displaying is single
Member, for showing inspection result on the terminal device.
In embodiments of the present invention, using reception Network Check request on the terminal device, wherein Network Check request is used
Terminal device is connect with WiFi network to be checked to the network state of WiFi network in instruction;Response to network inspection request pair
The network state of WiFi network is checked, inspection result is obtained, wherein inspection result includes at least one of:Terminal is set
The standby data transmission bauds between WiFi network is connected to the facility information of the equipment of WiFi network;And in terminal device
The mode of upper displaying inspection result, by checking the data transmission bauds between terminal device and WiFi network and being connected to
The facility information of the equipment of WiFi network has achieved the purpose that check WiFi network comprehensively, ensure to realize
WiFi network safety improves the technique effect of terminal device online efficiency, and then solving the relevant technologies can only be to terminal device
The WiFi network connected carries out safety inspection, the technical issues of leading to not ensure the online efficiency of terminal device.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the signal of the hardware environment of the inspection method of the network state of WiFi network according to the ... of the embodiment of the present invention
Figure;
Fig. 2 is a kind of flow of the inspection method of the network state of optional WiFi network according to the ... of the embodiment of the present invention
Figure;
Fig. 3 is the schematic diagram according to the ... of the embodiment of the present invention for showing inspection result on the terminal device;
Fig. 4 is the flow of the inspection method of the network state of another optional WiFi network according to the ... of the embodiment of the present invention
Figure;
Fig. 5 is the flow chart of the inspection method of the network state of WiFi network according to the preferred embodiment of the invention;
Fig. 6 is the schematic diagram that triggering WiFi network according to the ... of the embodiment of the present invention checks interface;
Fig. 7 is the schematic diagram that WiFi network according to the ... of the embodiment of the present invention checks interface;
Fig. 8 is the schematic diagram of network speed check process according to the ... of the embodiment of the present invention;
Fig. 9 is a kind of signal of the check device of the network state of optional WiFi network according to the ... of the embodiment of the present invention
Figure;
Figure 10 is showing for the check device of the network state of another optional WiFi network according to the ... of the embodiment of the present invention
It is intended to;
Figure 11 is showing for the check device of the network state of another optional WiFi network according to the ... of the embodiment of the present invention
It is intended to;
Figure 12 is showing for the check device of the network state of another optional WiFi network according to the ... of the embodiment of the present invention
It is intended to;And
Figure 13 is a kind of structure diagram of terminal according to the ... of the embodiment of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects
It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way
Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive
Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product
Or the other steps or unit that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for the inspection method of the network state of WiFi network is provided.
Optionally, in the present embodiment, the inspection method of the network state of above-mentioned WiFi network can be applied to such as Fig. 1 institutes
In the hardware environment being made of server 102 and terminal 104 shown.As shown in Figure 1, server 102 passes through network and terminal
104 are attached, and above-mentioned network includes but not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, hand
Machine, tablet computer etc..The inspection method of the network state of the WiFi network of the embodiment of the present invention can be held by server 102
Row, can also be executed by terminal 104, be can also be and executed jointly by server 102 and terminal 104.Wherein, terminal 104 is held
The inspection method of the network state of the WiFi network of the row embodiment of the present invention can also be to be held by client mounted thereto
Row.
Fig. 2 is a kind of flow of the inspection method of the network state of optional WiFi network according to the ... of the embodiment of the present invention
Figure, as shown in Fig. 2, this method may comprise steps of:
Step S202 receives Network Check request on the terminal device, wherein Network Check request is used to indicate to WiFi
The network state of network is checked that terminal device is connect with WiFi network;
Step S204, response to network inspection request checks the network state of WiFi network, obtains inspection result,
In, inspection result includes at least one of:Data transmission bauds between terminal device and WiFi network is connected to WiFi nets
The facility information of the equipment of network;
Step S206, shows inspection result on the terminal device.
S202 to step S206 through the above steps, by checking the data transmission speed between terminal device and WiFi network
Spend and be connected to WiFi network equipment facility information, achieved the purpose that check WiFi network comprehensively, in turn
Safety inspection can only be carried out to the WiFi network that terminal device is connected by solving the relevant technologies, lead to not ensure terminal device
Online efficiency the technical issues of, realize ensure WiFi network safety, improve terminal device online efficiency technique effect.
In the technical solution that step S202 is provided, the embodiment of the present invention is not specifically limited the type of terminal device,
It can be the equipment such as smart mobile phone, tablet computer.Terminal device can have communication function, including wire communication and channel radio
Letter, wherein wireless communication may include Bluetooth communication and with WiFi network connection communication etc..Terminal device can be with WiFi nets
Network connects, and can generate Network Check request with automatic trigger after terminal device is connect with WiFi network, can also be by terminal
The user of equipment triggers manually generates Network Check request, for example, the mode that triggers manually of user can be user to being used to refer to
Show that the region that the WiFi network connected to terminal device is checked executes touch control operation, for example, touch control operation can be single
Hit, double-click, long-press, the operations such as sliding.When terminal device detects the presence of above-mentioned touch control operation, it can trigger and generate network inspection
It makes a thorough investigation of and asks, Network Check request can serve to indicate that the network state of the WiFi network connected to terminal device is examined
It looks into.Herein it should be noted that the network state of WiFi network may include but be not limited to WiFi network whether safety, terminal
Data transmission bauds between equipment and WiFi network, be connected to WiFi network equipment facility information.
It, can be to the network that receives after terminal device receives Network Check request in practical application scene
It checks that request is parsed, therefrom obtains the project of the network state for the WiFi network for needing the terminal device checked to be connected,
Wherein, it can be one to need the project of the network state checked, can also be multiple.When parsing obtains needing to examine there are multiple
When the project for the network state looked into, the embodiment of the present invention may be used serial or parallel form and be checked, wherein parallel
Test mode is time-consuming shorter, but energy consumption is more, and serial inspection method energy consumption is less, but time-consuming longer, and terminal device can basis
Actual inspection demand selects correspondingly test mode.
In the technical solution that step S204 is provided, terminal device can ring it after receiving Network Check request
It should be to realize that the network state of the WiFi network connected to terminal device checks.Optionally, Network Check request is signified
The project that the network state to WiFi network shown is checked may include at least one of:WiFi network whether safety,
Data transmission bauds between terminal device and WiFi network, be connected to WiFi network equipment facility information.
Wherein, when whether Network Check request instruction checks safely WiFi network, response to network inspection request
Check including following one to the network state of WiFi network:Check whether WiFi network receives APR attacks, checks DNS
Whether whether be tampered, check whether WiFi network is false network, checks WiFi network is fishing network etc..It needs to illustrate
It is that the safety inspection that the WiFi network connected to terminal device carries out is not limited only to the above-mentioned scope of examination enumerated, it can be with
Including other scopes of examination, no longer illustrate one by one herein.
Wherein, when data transmission bauds of the Network Check request instruction between terminal device and WiFi network checks
When, response to network inspection request, which to the network state of WiFi network check, to be included the following steps:
Step S2041 is downloaded to predetermined file in terminal device by WiFi network;
Step S2043 obtains the file size of predetermined file and downloads the download time that predetermined file is consumed;
Step S2045, obtains data transmission bauds in the following manner:When data transmission bauds=file size/download
Between.
It should be noted that the embodiment of the present invention is not specifically limited the type and size of predetermined file, for example, in advance
It can be picture file, audio file, video file, application file etc. to determine file.The size of predetermined file can be 1M, also may be used
To be 1G or other numerical value.Terminal device can download predetermined file by WiFi network connected to it, download predetermined text
The time that part is consumed is download time, and the data transmission bauds between terminal device and WiFi network can be predetermined file
File size and the ratio for downloading the download time that predetermined file is consumed.For the predetermined file of same size, when terminal is set
When the standby data transmission bauds between WiFi network is very fast, it is shorter to download the download time that predetermined file is consumed.The present invention
Embodiment is by calculating the file size of predetermined file and downloading the ratio acquisition terminal for the download time that predetermined file is consumed
Data transmission bauds between equipment and WiFi network can evaluate the WiFi that terminal device is connected according to data transmission bauds
The online efficiency and online quality of network, data transmission bauds is faster, and online efficiency and online quality are higher, user experience
Better.
Wherein, it when the facility information of the equipment when Network Check request instruction to being connected to WiFi network checks, rings
It answers Network Check request to carry out inspection to the network state of WiFi network to include the following steps:
Step S2042, sends inquiry request in WiFi network;
Step S2044 receives the query-response that response inquiry request returns, wherein query-response includes and WiFi nets
The facility information of network connection, transmission query-response equipment.
It should be noted that the WiFi network that terminal device is connected can also be connect with other equipment, with WiFi network
The type of the equipment of connection can be identical as the terminal device in the embodiment of the present invention, can also be different, is connect with WiFi network
The number of equipment can be one, can also be multiple.Terminal device can be sent out in WiFi network by the form of broadcast
Inquiry request is sent, the facility information for the equipment which can be used for asking to connect with WiFi network.Connect with WiFi network
The equipment connect can return to query-response after receiving inquiry request, wherein may include connecting with WiFi network in query-response
The facility information of equipment connecing, sending query-response.The equipment that can return to query-response being connect with WiFi network can be with
It is one, can also be multiple.After terminal device receives the query-response of these equipment return, it can be obtained according to query-response
Take the number for the equipment being connect with WiFi network and the facility information of each equipment.Herein it should be noted that with WiFi nets
The number of the equipment of network connection can be the number of query-response that terminal device receives, and the facility information of each equipment can be with
The including but not limited to information such as device type, model, parameter.
One or more equipment that the embodiment of the present invention is connected by obtaining the WiFi network being connect with terminal device
Facility information, the data transmission bauds between terminal device and WiFi network can be determined indirectly, specifically:WiFi network
Amount of network resources fix, the equipment being connect with WiFi network can occupy Internet resources, when the equipment being connect with WiFi network
When number is more, then it can cause the amount of network resources that WiFi network can distribute to terminal device that will reduce, so that eventually
Data transmission bauds between end equipment and WiFi network slows down.The embodiment of the present invention is connected to setting for WiFi network by checking
Standby facility information can determine the data transmission bauds between terminal device and WiFi network, to be reached for notifying user at this time
The purpose of online efficiency and online quality that WiFi network is provided.
The network state for the WiFi network that the Network Check request that terminal device response receives connects terminal device
After being checked, inspection result can be obtained, wherein inspection result can include at least at least one of:WiFi network
Whether safe, the data transmission bauds between terminal device and WiFi network is connected to the facility information of the equipment of WiFi network.
It should be noted that data transmission bauds between terminal device and WiFi network is current data transmission bauds, with when
Between the passage data transmission bauds real-time change can occur, to achieve the purpose that improve inspection result accuracy.It is connected to
The facility information of the equipment of WiFi network may include the number for the equipment for being connected to WiFi network and the equipment of each equipment
Information, wherein the facility information of each equipment may include but be not limited to the information such as device type, model, parameter.
It should also be noted that, the information included by inspection result asks the network to WiFi network with response to network inspection
The content that state is checked is corresponding, when the data transmission bauds only between terminal device and WiFi network checks,
It only include the data transmission bauds between terminal device and WiFi network in obtained inspection result;When only to being connected to WiFi nets
Only include the equipment for the equipment for being connected to WiFi network when the facility information of the equipment of network is checked, in obtained inspection result
Information;When between terminal device and WiFi network data transmission bauds and be connected to WiFi network equipment equipment letter
When breath is checked, obtained inspection result includes data transmission bauds and company between terminal device and WiFi network
It is connected to the facility information of the equipment of WiFi network.It should be noted that Network Check request may be used to indicate that WiFi nets
Other network states of network are checked that correspondingly, response to network inspection request checks the network state of WiFi network
Can also include other content, obtained inspection result can also include other information, no longer illustrate one by one herein.
The embodiment of the present invention not only carries out safety detection to ensure on user security to the WiFi network of terminal device connection
Net, and by checking the data transmission bauds between terminal device and WiFi network and being connected to the equipment of WiFi network
Facility information can achieve the purpose that check WiFi network comprehensively, and then reach raising online efficiency and online quality
Effect.
In the technical solution that step S206 is provided, the network state of WiFi network is carried out in response to network inspection request
After inspection obtains inspection result, inspection result can be shown on the terminal device.It should be noted that inspection result can wrap
It includes but is not limited to whether WiFi network is safe, and the data transmission bauds between terminal device and WiFi network is connected to WiFi
The facility information of the equipment of network.And the embodiment of the present invention does not do inspection result display location on the terminal device and mode
It is specific to limit, for example, as shown in figure 3, can have been shown on terminal device (such as mobile phone) network speed (i.e. terminal device and
Data transmission bauds between WiFi network) it is 60K/s, online equipment (equipment for being connected to WiFi network) 3, each safety
The result of detection project is safety.The embodiment of the present invention can be reached clear by showing inspection result on the terminal device
It intuitively notifies the purpose of the inspection result of user's WiFi network, and then improves usage experience of the user to WiFi network.
As a kind of optional embodiment, Fig. 4 is the net of another optional WiFi network according to the ... of the embodiment of the present invention
The flow chart of the inspection method of network state, as shown in figure 4, the inspection result obtained in step S204 includes data transmission bauds
When, before step S206 shows inspection result on the terminal device, which can also include the following steps:
Step S205 searches the network operation type to match with data transmission bauds.
It should be noted that network operation type may include at least one of:Browse webpage;Download pictures file;
Download audio file;Downloading video files;Receiving and dispatching mail.It should be noted that network operation type can also include in other
Hold, no longer illustrates one by one herein.Such as shown in Fig. 3, network operation type may include chat, online, game, video.
Different network operation types correspond to different data transmission bauds, for example, the data transmission bauds corresponding to chat is usually small
In the corresponding data transmission bauds of video.One data transmission bauds can correspond to one or more network operation type.This
Inventive embodiments can be searched and be passed with the data after getting the data transmission bauds between terminal device and WiFi network
The network operation type of defeated speeds match, namely check the network operation type that present data transmission speed can be supported, example
When network speed as shown in Figure 3 is 60K/s, the network operation type that matches with the network speed may include chat and on
Net.The embodiment of the present invention notifies that user is current by searching for the network operation type to match with present data transmission speed
The network operation type that data transmission bauds can be supported, the network operation type supported for selection by the user carry out corresponding
Ground network operation, and then achieve the purpose that the online quality for ensureing user.
In the case where finding the network operation type to match with present data transmission speed, step S206 is in terminal
Show that inspection result may include in equipment:Step S2061, on the terminal device display data transmission speed and network operation class
Type.Such as shown in Fig. 3, current network speed be 60K/s, the network operation type to match with the network speed include chat and
Online.When finding the network operation type to match with present data transmission speed, the embodiment of the present invention passes through in terminal
The network operation type that displaying matches with present data transmission speed in equipment can reach so that user intuitively determines works as
The preceding permitted network operation type of network speed, and accordingly network operation is executed, and then ensure the mesh of user's online quality
's.
In the case where not finding the network operation type to match with present data transmission speed, step S206 is at end
Show that inspection result may include in end equipment:Step S2062, on the terminal device display data transmission speed and prompting are marked
To know, wherein warning banner can serve to indicate that data transmission bauds is unable to reach scheduled network operation type, namely current
Data transmission bauds can not support scheduled network operation type, herein warning banner can be carried out according to actual demand setting and
Adjustment, the embodiment of the present invention are not specifically limited it, and scheduled network operation type is network operation mentioned above
Type, such as chat, online, game, video etc..The network operation class to match with present data transmission speed is not being found
When type, the embodiment of the present invention by showing present data transmission speed and warning banner on the terminal device, to notify user to work as
Preceding network speed is relatively slow not to be supported to carry out network operation, avoid occurring when executing network operation information receiving and transmitting not in time, video card
Section, phenomena such as page buffer time is longer.
The embodiment of the present invention by searching for the network operation type to match with present data transmission speed, when searching
Network operation type is shown on terminal device;Reminder flag is shown on the terminal device when not finding, so that user is straight
It sees ground and determines the permitted network operation type of current network speed, and execute accordingly network operation, avoid in current network
Speed do not support to execute when network operation network operation occur information receiving and transmitting not in time, video card section, page buffer time it is longer
Phenomena such as, and then achieved the effect that improve user's online quality.
It should be noted that one can be designed using the inspection method of the network state of the WiFi network of the embodiment of the present invention
Kind applications client, the applications client may be mounted on terminal device, and the displaying interface of the applications client can be such as Fig. 3
It is shown.The WiFi network that terminal device is connected can be checked comprehensively using the applications client, including safety inspection,
The inspection etc. of the facility information of data transmission bauds inspection and the equipment being connect with WiFi network improves user's online to reach
The effect of efficiency and online quality.
The present invention also provides a kind of preferred embodiment, the process flow of the preferred embodiment can be with as shown in figure 5, specific
It may comprise steps of:
Step S502, user, which triggers, to be checked.After terminal device is connect with WiFi network, user can point on the terminal device
It hits " physical examination of WiFi depth ", the display interface of terminal device can be with as shown in fig. 6, can show terminal in the display interface
The title " MV " of the current connected WiFi network of equipment, the touch area for controlling WiFi network disconnection and triggering pair
The touch area " physical examination of WiFi depth " that WiFi network is checked.It should be noted that white space in figure 6 can be with
Other supplemental functionality information are shown, can be set and be added according to actual demand, no longer illustrated one by one herein
Explanation.
Step S504, checks WiFi network, including network security, network speed and online equipment.User's point
Interface as shown in Figure 7 can be jumped to by hitting the display interface of terminal device behind " physical examination of WiFi depth " touch area, on the boundary
The project checked WiFi network, including network security, network speed and online equipment can be shown below face.And
Each project can indicate that item inspection progress can use thick lines percentage in circle to determine, in item with a circle
Mesh can show inspection result in circle after checking out, such as network security inspection result is " safety ", network speed inspection
As a result it is " 60K/s ".Online equipment inspection shown in Fig. 7 is checking as project to be checked, namely does not proceed to needle also
Inspection to the project.The icon for identifying equipment detection, the figure can also be shown in the centre position of the display interface
Mark can be indicated with annular circle, and detect the equipment that is connect with WiFi network using dynamic scan mode, when detecting the presence of and
Can include on annular circle by the icon of the equipment, user can be by clicking the equipment when equipment of WiFi network connection
Icon check details, such as type, model, parameter of the equipment etc..
Network security check and may include but be not limited to whether inspection WiFi network shown in Fig. 7 receives APR
Whether it is fishing network that whether attack, inspection DNS are tampered, check whether WiFi network is false network, checks WiFi network
Deng.
Network speed can be the surfing and network speed after connecting WiFi network.Checking network speed can
With by the following method:Under WiFi network connection status, one scheduled small documents of download, network speed=file size/
It downloads and takes.Specific implementation flow can be with as shown in figure 8, including instantiating, registration monitoring, start to sample and terminate sampling.
Wherein, the detailed process of instantiation can be described as:It is obtained in onCreate
ConnectionClassManager, DeviceBandwidthSampler and
The example of ConnectionClassStateChangeListener.Wherein, ConnectionClassManager is responsible for processing
Testing result, and by result notice to monitor.DeviceBandwidthSampler is responsible for data sampling and submission.
Callback interfaces of the ConnectionClassStateChangeListener as handling result.Realize that code is as follows:
MConnectionClassManager=ConnectionClassManager.getInstan ce ();
MDeviceBandwidthSampler=DeviceBandwidthSampler.getInstan ce ();
MListener=new ConnectionChangedListener ();
The detailed process that registration is monitored can be described as:Monitor is registered, monitors and downloads situation.Realize that code is as follows:
Starting the detailed process of sampling can be described as:The AsyncTask that a picture is downloaded is executed,
Start to sample in onPreExecute.Realize that code is as follows:
Terminating the detailed process of sampling can be described as:Terminate sampling in onPostExecute.Realize that code is as follows:
@Override
protected void onPostExecute(Void v){
mDeviceBandwidthSampler.stopSampling();
}
The equipment that online equipment can be while access WiFi network, can describe the method for the inspection of online equipment
For:Under WiFi network connection status, to sending out inquiry request in same LAN;The inquiry of other equipment is obtained by inquiry
After response, its facility information is recorded;The presentation device information in inspection result.
Step S506, shows inspection result on the terminal device.Show that interface can be with as shown in figure 3, details are not described herein again.
The preferred embodiment cannot it is possible to notify that the current connected WiFi network of user whether safety, additionally it is possible to inform use
The information such as the current network speed in family and online equipment, and then can reach and improve user's online efficiency and online quality, it carries
The effect of high user experience.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because
According to the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical scheme of the present invention is substantially in other words to existing
The part that technology contributes can be expressed in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, a kind of inspection method for implementing the network state of above-mentioned WiFi network is additionally provided
WiFi network network state check device.Fig. 9 is a kind of net of optional WiFi network according to the ... of the embodiment of the present invention
The schematic diagram of the check device of network state, as shown in figure 9, the device may include:
Receiving unit 22, for receiving Network Check request on the terminal device, wherein Network Check request is used to indicate
Terminal device is connect with WiFi network to be checked to the network state of WiFi network;Inspection unit 24 is examined for response to network
Make a thorough investigation of to ask and the network state of WiFi network checked, obtain inspection result, wherein inspection result include it is following at least it
One:Data transmission bauds between terminal device and WiFi network is connected to the facility information of the equipment of WiFi network;And exhibition
Show unit 26, for showing inspection result on the terminal device.
It should be noted that the receiving unit 22 in the embodiment can be used for executing the step in the embodiment of the present application 1
S202, the inspection unit 24 in the embodiment can be used for executing the step S204 in the embodiment of the present application 1, in the embodiment
Display unit 26 can be used for executing the step S206 in the embodiment of the present application 1.
In receiving unit 22, the embodiment of the present invention is not specifically limited the type of terminal device, can be intelligence
The equipment such as mobile phone, tablet computer.Terminal device can have communication function, including wire communication and wireless communication, wherein wireless
Communication may include Bluetooth communication and with WiFi network connection communication etc..Terminal device can be connect with WiFi network, work as end
End equipment can generate Network Check request after being connect with WiFi network with automatic trigger, can also be by the user hand of terminal device
Dynamic triggering generates Network Check request, for example, the mode that user triggers manually can be user to being used to indicate to terminal device
Region that the WiFi network connected is checked executes touch control operation, for example, touch control operation can be click, double-click, long-press,
The operations such as sliding.When terminal device detects the presence of above-mentioned touch control operation, it can trigger and generate Network Check request, the network
Check that request can serve to indicate that the network state of the WiFi network connected to terminal device checks.It needs to illustrate herein
, the network state of WiFi network may include but be not limited to WiFi network whether safety, terminal device and WiFi network
Between data transmission bauds, be connected to WiFi network equipment facility information.
It, can be to the network that receives after terminal device receives Network Check request in practical application scene
It checks that request is parsed, therefrom obtains the project of the network state for the WiFi network for needing the terminal device checked to be connected,
Wherein, it can be one to need the project of the network state checked, can also be multiple.When parsing obtains needing to examine there are multiple
When the project for the network state looked into, the embodiment of the present invention may be used serial or parallel form and be checked, wherein parallel
Test mode is time-consuming shorter, but energy consumption is more, and serial inspection method energy consumption is less, but time-consuming longer, and terminal device can basis
Actual inspection demand selects correspondingly test mode.
In inspection unit 24, terminal device can respond thereto after receiving Network Check request to realize to end
The network state for the WiFi network that end equipment is connected is checked.Optionally, Network Check request it is indicated to WiFi nets
The project that the network state of network is checked may include at least one of:WiFi network whether safety, terminal device with
Data transmission bauds between WiFi network, be connected to WiFi network equipment facility information.
Wherein, when whether Network Check request instruction checks safely WiFi network, response to network inspection request
Check including following one to the network state of WiFi network:Check whether WiFi network receives APR attacks, checks DNS
Whether whether be tampered, check whether WiFi network is false network, checks WiFi network is fishing network etc..It needs to illustrate
It is that the safety inspection that the WiFi network connected to terminal device carries out is not limited only to the above-mentioned scope of examination enumerated, it can be with
Including other scopes of examination, no longer illustrate one by one herein.
Wherein, when data transmission bauds of the Network Check request instruction between terminal device and WiFi network checks
When, as shown in Figure 10, inspection unit 24 may include:Download module 241 downloads to predetermined file for passing through WiFi network
In terminal device;First acquisition module 243, file size and download predetermined file for obtaining predetermined file are consumed down
Carry the time;Second acquisition module 245, for obtaining data transmission bauds in the following manner:Data transmission bauds=file is big
Small/download time.
It should be noted that the download module 241 in the embodiment can be used for executing the step in the embodiment of the present application 1
S2041, the first acquisition module 243 in the embodiment can be used for executing the step S2043 in the embodiment of the present application 1, the reality
The second acquisition module 245 in example is applied to can be used for executing the step S2045 in the embodiment of the present application 1.It should also be noted that,
The embodiment of the present invention is not specifically limited the type and size of predetermined file, for example, predetermined file can be picture file,
Audio file, video file, application file etc..The size of predetermined file can be 1M, can also be 1G or other numerical value.Eventually
End equipment can download predetermined file by WiFi network connected to it, and it is when downloading to download the time that predetermined file is consumed
Between, the data transmission bauds between terminal device and WiFi network can be the file size and download predetermined file of predetermined file
The ratio of the download time consumed.For the predetermined file of same size, when the data between terminal device and WiFi network
When transmission speed is very fast, it is shorter to download the download time that predetermined file is consumed.The embodiment of the present invention is by calculating predetermined file
File size and download the ratio of download time that predetermined file is consumed and obtain number between terminal device and WiFi network
According to transmission speed, the online efficiency and online matter of the WiFi network that terminal device is connected can be evaluated according to data transmission bauds
Amount, data transmission bauds is faster, and online efficiency and online quality are higher, and user experience is better.
Wherein, when the facility information of the equipment when Network Check request instruction to being connected to WiFi network checks, such as
Shown in Figure 11, inspection unit 24 may include:Sending module 242, for sending inquiry request in WiFi network;Receiving module
244, the query-response returned for receiving response inquiry request, wherein query-response connect with WiFi network, sends out
Send the facility information of the equipment of query-response.
It should be noted that the sending module 242 in the embodiment can be used for executing the step in the embodiment of the present application 1
S2042, the receiving module 244 in the embodiment can be used for executing the step S2044 in the embodiment of the present application 1.It also needs to
Bright, the WiFi network that terminal device is connected can also be connect with other equipment, the class for the equipment being connect with WiFi network
Type can be identical as the terminal device in the embodiment of the present invention, can also be different, and the number for the equipment being connect with WiFi network can
Can also be multiple to be one.Terminal device can send inquiry request, the inquiry in WiFi network by the form of broadcast
Ask the facility information for the equipment that request can be used for asking to connect with WiFi network.The equipment being connect with WiFi network receives inquiry
Query-response can be returned after asking request, wherein connect with WiFi network, sent query-response
Equipment facility information.The equipment that can return to query-response being connect with WiFi network can be one, can also be more
It is a.After terminal device receives the query-response of these equipment return, it can obtain according to query-response and be connect with WiFi network
Equipment number and each equipment facility information.Herein it should be noted that for the equipment being connect with WiFi network
Number can be the number for the query-response that terminal device receives, and the facility information of each equipment may include but be not limited to set
The information such as standby type, model, parameter.
One or more equipment that the embodiment of the present invention is connected by obtaining the WiFi network being connect with terminal device
Facility information, the data transmission bauds between terminal device and WiFi network can be determined indirectly, specifically:WiFi network
Amount of network resources fix, the equipment being connect with WiFi network can occupy Internet resources, when the equipment being connect with WiFi network
When number is more, then it can cause the amount of network resources that WiFi network can distribute to terminal device that will reduce, so that eventually
Data transmission bauds between end equipment and WiFi network slows down.The embodiment of the present invention is connected to setting for WiFi network by checking
Standby facility information can determine the data transmission bauds between terminal device and WiFi network, to be reached for notifying user at this time
The purpose of online efficiency and online quality that WiFi network is provided.
The network state for the WiFi network that the Network Check request that terminal device response receives connects terminal device
After being checked, inspection result can be obtained, wherein inspection result can include at least at least one of:WiFi network
Whether safe, the data transmission bauds between terminal device and WiFi network is connected to the facility information of the equipment of WiFi network.
It should be noted that data transmission bauds between terminal device and WiFi network is current data transmission bauds, with when
Between the passage data transmission bauds real-time change can occur, to achieve the purpose that improve inspection result accuracy.It is connected to
The facility information of the equipment of WiFi network may include the number for the equipment for being connected to WiFi network and the equipment of each equipment
Information, wherein the facility information of each equipment may include but be not limited to the information such as device type, model, parameter.
It should also be noted that, the information included by inspection result asks the network to WiFi network with response to network inspection
The content that state is checked is corresponding, when the data transmission bauds only between terminal device and WiFi network checks,
It only include the data transmission bauds between terminal device and WiFi network in obtained inspection result;When only to being connected to WiFi nets
Only include the equipment for the equipment for being connected to WiFi network when the facility information of the equipment of network is checked, in obtained inspection result
Information;When between terminal device and WiFi network data transmission bauds and be connected to WiFi network equipment equipment letter
When breath is checked, obtained inspection result includes data transmission bauds and company between terminal device and WiFi network
It is connected to the facility information of the equipment of WiFi network.It should be noted that Network Check request may be used to indicate that WiFi nets
Other network states of network are checked that correspondingly, response to network inspection request checks the network state of WiFi network
Can also include other content, obtained inspection result can also include other information, no longer illustrate one by one herein.
The embodiment of the present invention not only carries out safety detection to ensure on user security to the WiFi network of terminal device connection
Net, and by checking the data transmission bauds between terminal device and WiFi network and being connected to the equipment of WiFi network
Facility information can achieve the purpose that check WiFi network comprehensively, and then reach raising online efficiency and online quality
Effect.
In display unit 26, the network state of WiFi network is checked in response to network inspection request
As a result after, inspection result can be shown on the terminal device.It should be noted that inspection result may include but be not limited to
Whether WiFi network is safe, and the data transmission bauds between terminal device and WiFi network is connected to the equipment of WiFi network
Facility information.And the embodiment of the present invention is not specifically limited inspection result display location on the terminal device and mode, example
Such as, as shown in figure 3, can have been shown on terminal device (such as mobile phone) network speed (i.e. terminal device and WiFi network it
Between data transmission bauds) be 60K/s, online equipment (equipment for being connected to WiFi network) 3, each safety detection project
Result is safety.The embodiment of the present invention can reach clear and intuitively notify by showing inspection result on the terminal device
The purpose of the inspection result of user's WiFi network, and then improve usage experience of the user to WiFi network.
As a kind of optional embodiment, Figure 12 is the net of another optional WiFi network according to the ... of the embodiment of the present invention
The schematic diagram of the check device of network state, as shown in figure 12, which can also include:Searching unit 25 is used for
When inspection result includes data transmission bauds, before showing inspection result on the terminal device, search and data transmission bauds phase
Matched network operation type.Display unit 26 may include:First display module 261, for finding network operation class
In the case of type, display data transmission speed and network operation type on the terminal device;Second display module 262 is used for
In the case of not finding network operation type, display data transmission speed and warning banner on the terminal device, wherein remind
Mark is used to indicate data transmission bauds and is unable to reach scheduled network operation type.
It should be noted that the searching unit 25 in the embodiment can be used for executing the step in the embodiment of the present application 1
S205, the first display module 261 in the embodiment can be used for executing the step S2061 in the embodiment of the present application 1, the implementation
The second display module 262 in example can be used for executing the step S2062 in the embodiment of the present application 1.
It should be noted that network operation type may include at least one of:Browse webpage;Download pictures file;
Download audio file;Downloading video files;Receiving and dispatching mail.It should be noted that network operation type can also include in other
Hold, no longer illustrates one by one herein.Such as shown in Fig. 3, network operation type may include chat, online, game, video.
Different network operation types correspond to different data transmission bauds, for example, the data transmission bauds corresponding to chat is usually small
In the corresponding data transmission bauds of video.One data transmission bauds can correspond to one or more network operation type.This
Inventive embodiments can be searched and be passed with the data after getting the data transmission bauds between terminal device and WiFi network
The network operation type of defeated speeds match, namely check the network operation type that present data transmission speed can be supported, example
When network speed as shown in Figure 3 is 60K/s, the network operation type that matches with the network speed may include chat and on
Net.The embodiment of the present invention notifies that user is current by searching for the network operation type to match with present data transmission speed
The network operation type that data transmission bauds can be supported, the network operation type supported for selection by the user carry out corresponding
Ground network operation, and then achieve the purpose that the online quality for ensureing user.
In the case where finding the network operation type to match with present data transmission speed, open up on the terminal device
Show data transmission bauds and network operation type.Such as shown in Fig. 3, current network speed is 60K/s, with the network speed phase
The network operation type matched includes chat and online.Finding the network operation type to match with present data transmission speed
When, the embodiment of the present invention, can by showing the network operation type to match with present data transmission speed on the terminal device
To reach so that user intuitively determines the permitted network operation type of current network speed, and executes accordingly network and grasp
Make, and then ensures the purpose of user's online quality.
In the case where not finding the network operation type to match with present data transmission speed, on the terminal device
Display data transmission speed and warning banner, wherein it is predetermined that warning banner can serve to indicate that data transmission bauds is unable to reach
Network operation type namely current data transmission bauds can not support scheduled network operation type, warning banner herein
It can be set and be adjusted according to actual demand, the embodiment of the present invention is not specifically limited it, scheduled network operation class
Type is network operation type mentioned above, such as chat, online, game, video etc..It is not finding and current data
When the network operation type that transmission speed matches, the embodiment of the present invention by showing present data transmission speed on the terminal device
Degree and warning banner, to notify user's current network speed is relatively slow not support to carry out network operation, when avoiding executing network operation
Occur information receiving and transmitting not in time, video card section, the longer page buffer time phenomena such as.
The embodiment of the present invention by searching for the network operation type to match with present data transmission speed, when searching
Network operation type is shown on terminal device;Reminder flag is shown on the terminal device when not finding, so that user is straight
It sees ground and determines the permitted network operation type of current network speed, and execute accordingly network operation, avoid in current network
Speed do not support to execute when network operation network operation occur information receiving and transmitting not in time, video card section, page buffer time it is longer
Phenomena such as, and then achieved the effect that improve user's online quality.
By above-mentioned module, by checking the data transmission bauds between terminal device and WiFi network and being connected to
The facility information of the equipment of WiFi network has achieved the purpose that check WiFi network comprehensively, and then has solved related skill
Art can only carry out safety inspection to the WiFi network that terminal device is connected, and lead to not the online efficiency for ensureing terminal device
Technical problem realizes and ensures WiFi network safety, improves the technique effect of terminal device online efficiency.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not
It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part for device may operate in as
In hardware environment shown in FIG. 1, it can also pass through hardware realization by software realization, wherein hardware environment includes network
Environment.
Embodiment 3
According to embodiments of the present invention, a kind of inspection method for implementing the network state of above-mentioned WiFi network is additionally provided
Server or terminal.
Figure 13 is a kind of structure diagram of terminal according to the ... of the embodiment of the present invention, and as shown in figure 13, which may include:
One or more (one is only shown in figure) processors 201, memory 203 and transmitting device 205 are (in such as above-described embodiment
Sending device), as shown in figure 13, which can also include input-output equipment 207.
Wherein, memory 203 can be used for storing software program and module, such as the WiFi network in the embodiment of the present invention
Corresponding program instruction/the module of inspection method and device of network state, processor 201 are stored in memory 203 by operation
Interior software program and module realizes above-mentioned WiFi network to perform various functions application and data processing
The inspection method of network state.Memory 203 may include high speed random access memory, can also include nonvolatile memory, such as
One or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory
203 can further comprise that the memory remotely located relative to processor 201, these remote memories can pass through network connection
To terminal.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 205 is used to receive via network or transmission data, can be also used for processor with
Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example,
Transmitting device 205 include a network adapter (NetworkInterface Controller, NIC), can by cable with
Other network equipments are connected to be communicated with internet or LAN with router.In an example, transmitting device
205 be radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 203 is for storing application program.
Processor 201 can call the application program that memory 203 stores by transmitting device 205, to execute following steps
Suddenly:Network Check request is received on the terminal device, wherein Network Check request is used to indicate the network state to WiFi network
It is checked, terminal device is connect with WiFi network;Response to network inspection request the network state of WiFi network is checked,
Obtain inspection result, wherein inspection result includes at least one of:Data transmission speed between terminal device and WiFi network
Degree, is connected to the facility information of the equipment of WiFi network;And inspection result is shown on the terminal device.
Processor 201 is additionally operable to execute following step:Include the equipment for the equipment for being connected to WiFi network in inspection result
When information, inquiry request is sent in WiFi network;Receive the query-response that response inquiry request returns, wherein query-response
It include the facility information of equipment being connect with WiFi network, sending query-response.
Processor 201 is additionally operable to execute following step:When inspection result includes data transmission bauds, pass through WiFi network
Predetermined file is downloaded in terminal device;When obtaining the file size of predetermined file and downloading the download that predetermined file is consumed
Between;Data transmission bauds is obtained in the following manner:Data transmission bauds=file size/download time.
Processor 201 is additionally operable to execute following step:When inspection result includes data transmission bauds, on the terminal device
Before showing inspection result, the network operation type to match with data transmission bauds is searched;Finding network operation type
In the case of, display data transmission speed and network operation type on the terminal device.
Processor 201 is additionally operable to execute following step:When inspection result includes data transmission bauds, on the terminal device
Before showing inspection result, the network operation type to match with data transmission bauds is searched;Network operation class is not being found
In the case of type, display data transmission speed and warning banner on the terminal device, wherein warning banner is used to indicate data biography
Defeated speed is unable to reach scheduled network operation type.
Using the embodiment of the present invention, a kind of inspection scheme of the network state of WiFi network is provided.By checking terminal
Data transmission bauds between equipment and WiFi network and be connected to WiFi network equipment facility information, reached pair
The purpose that WiFi network is checked comprehensively, so solve the relevant technologies can only to WiFi network that terminal device is connected into
Row safety inspection the technical issues of leading to not ensure the online efficiency of terminal device, realizes and ensures WiFi network safety, carry
The technique effect of high terminal device online efficiency.
Optionally, the specific example in the present embodiment can refer to showing described in above-described embodiment 1 and embodiment 2
Example, details are not described herein for the present embodiment.
It will appreciated by the skilled person that structure shown in Figure 13 is only to illustrate, terminal can be smart mobile phone
(such as Android phone, iOS mobile phones), tablet computer, palm PC and mobile internet device (Mobile Internet
Devices, MID), the terminal devices such as PAD.Figure 13 it does not cause to limit to the structure of above-mentioned electronic device.For example, terminal is also
It may include more either less components (such as network interface, display device) than shown in Figure 13 or have and Figure 13 institutes
Show different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To be completed come command terminal device-dependent hardware by program, which can be stored in a computer readable storage medium
In, storage medium may include:Flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random
Access Memory, RAM), disk or CD etc..
Embodiment 4
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can
For the program code of the inspection method of the network state of execution WiFi network.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in network shown in above-described embodiment
On at least one of network equipment network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1 receives Network Check request on the terminal device, wherein Network Check request is used to indicate to WiFi network
Network state is checked that terminal device is connect with WiFi network;
S2, response to network inspection request checks the network state of WiFi network, obtains inspection result, wherein inspection
The fruit that comes to an end includes at least one of:Data transmission bauds between terminal device and WiFi network, is connected to WiFi network
The facility information of equipment;
S3 shows inspection result on the terminal device.
Optionally, storage medium is also configured to store the program code for executing following steps:In inspection result packet
When including the facility information for the equipment for being connected to WiFi network, inquiry request is sent in WiFi network;Receive response inquiry request
The query-response of return, wherein query-response includes the equipment letter of equipment being connect with WiFi network, sending query-response
Breath.
Optionally, storage medium is also configured to store the program code for executing following steps:In inspection result packet
When including data transmission bauds, predetermined file is downloaded in terminal device by WiFi network;The file for obtaining predetermined file is big
The download time that small and download predetermined file is consumed;Data transmission bauds is obtained in the following manner:Data transmission bauds=
File size/download time.
Optionally, storage medium is also configured to store the program code for executing following steps:In inspection result packet
When including data transmission bauds, before showing inspection result on the terminal device, the network to match with data transmission bauds is searched
Action type;In the case where finding network operation type, display data transmission speed and network operation on the terminal device
Type.
Optionally, storage medium is also configured to store the program code for executing following steps:In inspection result packet
When including data transmission bauds, before showing inspection result on the terminal device, the network to match with data transmission bauds is searched
Action type;In the case where not finding network operation type, display data transmission speed and prompting on the terminal device is marked
Know, wherein warning banner is used to indicate data transmission bauds and is unable to reach scheduled network operation type.
Optionally, the specific example in the present embodiment can refer to showing described in above-described embodiment 1 and embodiment 2
Example, details are not described herein for the present embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk, magnetic disc or light
The various media that can store program code such as disk.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product
Sale in use, can be stored in the storage medium that above computer can be read.Based on this understanding, skill of the invention
Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme
The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention
State all or part of step of method.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side
Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, only one
Kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or
It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of inspection method of the network state of WiFi network, which is characterized in that including:
Network Check request is received on the terminal device, wherein the Network Check request is used to indicate the net to WiFi network
Network state is checked that the terminal device is connect with the WiFi network;
It responds the Network Check request to check the network state of the WiFi network, obtains inspection result, wherein institute
It includes at least one of to state inspection result:Data transmission bauds between the terminal device and the WiFi network, connection
To the facility information of the equipment of the WiFi network;And
The inspection result is shown on the terminal device;
Wherein, when the inspection result includes the facility information of the equipment for being connected to the WiFi network, described in response
Network Check request to the network state of the WiFi network check:Inquiry is sent in the WiFi network to ask
It asks;It receives and responds the query-response that the inquiry request returns, wherein the query-response includes connecting with the WiFi network
The facility information of the equipment connecing, sending the query-response.
2. according to the method described in claim 1, it is characterized in that, including the data transmission bauds in the inspection result
When, it responds Network Check request and the network state of the WiFi network check and include:
Predetermined file is downloaded in the terminal device by the WiFi network;
It obtains the file size of the predetermined file and downloads the download time that the predetermined file is consumed;
The data transmission bauds is obtained in the following manner:The data transmission bauds=the file size/the download
Time.
3. method according to claim 1 or 2, which is characterized in that in the inspection result include data transmission speed
When spending,
Before showing the inspection result on the terminal device, the method further includes:It searches and data transmission speed
Spend the network operation type to match;
Show that the inspection result includes on the terminal device:In the case where finding the network operation type,
The data transmission bauds and the network operation type are shown on the terminal device.
4. according to the method described in claim 3, it is characterized in that, showing the inspection result packet on the terminal device
It includes:
In the case where not finding the network operation type, shown on the terminal device data transmission bauds and
Warning banner, wherein the warning banner is used to indicate the data transmission bauds and is unable to reach scheduled network operation type.
5. according to the method described in claim 3, it is characterized in that, the network operation type includes at least one of:
Browse webpage;
Download pictures file;
Download audio file;
Downloading video files;
Receiving and dispatching mail.
6. a kind of check device of the network state of WiFi network, which is characterized in that including:
Receiving unit, for receiving Network Check request on the terminal device, wherein Network Check request is used to indicate pair
The network state of WiFi network is checked that the terminal device is connect with the WiFi network;
Inspection unit checks the network state of the WiFi network for responding the Network Check request, is examined
Come to an end fruit, wherein the inspection result includes at least one of:Data between the terminal device and the WiFi network
Transmission speed is connected to the facility information of the equipment of the WiFi network;And
Display unit, for showing the inspection result on the terminal device;
Wherein, when the inspection result includes the facility information of the equipment for being connected to the WiFi network, the inspection
Unit includes:Sending module, for sending inquiry request in the WiFi network;
Receiving module, for receiving the query-response for responding inquiry request return, wherein the query-response include with
The facility information of the WiFi network connection, the transmission query-response equipment.
7. device according to claim 6, which is characterized in that be connected to the data described in including in the inspection result
When transmission speed, the inspection unit includes:
Download module, for being downloaded to predetermined file in the terminal device by the WiFi network;
First acquisition module, the download that file size and the download predetermined file for obtaining the predetermined file are consumed
Time;
Second acquisition module, for obtaining the data transmission bauds in the following manner:The data transmission bauds=described
File size/the download time.
8. the device described according to claim 6 or 7, which is characterized in that
Described device further includes:Searching unit, for when the inspection result includes the data transmission bauds, at the end
Before showing the inspection result in end equipment, the network operation type to match with the data transmission bauds is searched;
The display unit includes:First display module, in the case where finding the network operation type, described
The data transmission bauds and the network operation type are shown on terminal device.
9. device according to claim 8, which is characterized in that the display unit includes:
Second display module, in the case where not finding the network operation type, being shown on the terminal device
The data transmission bauds and warning banner, wherein the warning banner is used to indicate the data transmission bauds and is unable to reach
Scheduled network operation type.
10. device according to claim 8, which is characterized in that the network operation type includes at least one of:
Browse webpage;
Download pictures file;
Download audio file;
Downloading video files;
Receiving and dispatching mail.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610411063.5A CN105916152B (en) | 2016-06-13 | 2016-06-13 | The inspection method and device of the network state of WiFi network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610411063.5A CN105916152B (en) | 2016-06-13 | 2016-06-13 | The inspection method and device of the network state of WiFi network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105916152A CN105916152A (en) | 2016-08-31 |
CN105916152B true CN105916152B (en) | 2018-09-18 |
Family
ID=56750911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610411063.5A Active CN105916152B (en) | 2016-06-13 | 2016-06-13 | The inspection method and device of the network state of WiFi network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105916152B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112399416B (en) * | 2020-12-02 | 2023-01-10 | 中国联合网络通信集团有限公司 | Access method and device |
CN116828474B (en) * | 2023-08-30 | 2023-11-14 | 北京绿色苹果技术有限公司 | WiFi implementation method, system and medium based on environmental security |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104518926A (en) * | 2014-12-05 | 2015-04-15 | 深圳天珑无线科技有限公司 | Mobile terminal and network connection diagnosis method thereof |
CN105119871A (en) * | 2014-12-08 | 2015-12-02 | 哈尔滨安天科技股份有限公司 | WIFI monitoring method and system based on terminal equipment |
CN105430713A (en) * | 2015-11-30 | 2016-03-23 | 东莞酷派软件技术有限公司 | Identification method of wireless fidelity WiFi hotspot and terminal |
CN105636046A (en) * | 2014-11-26 | 2016-06-01 | 中国电信股份有限公司 | Credible access control method and system for WiFi device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9549333B2 (en) * | 2012-06-01 | 2017-01-17 | Turk Telekomunikasyon A.S. | Method and device for monitoring and measurement of Wi-Fi internet services |
-
2016
- 2016-06-13 CN CN201610411063.5A patent/CN105916152B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105636046A (en) * | 2014-11-26 | 2016-06-01 | 中国电信股份有限公司 | Credible access control method and system for WiFi device |
CN104518926A (en) * | 2014-12-05 | 2015-04-15 | 深圳天珑无线科技有限公司 | Mobile terminal and network connection diagnosis method thereof |
CN105119871A (en) * | 2014-12-08 | 2015-12-02 | 哈尔滨安天科技股份有限公司 | WIFI monitoring method and system based on terminal equipment |
CN105430713A (en) * | 2015-11-30 | 2016-03-23 | 东莞酷派软件技术有限公司 | Identification method of wireless fidelity WiFi hotspot and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105916152A (en) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106503584B (en) | A kind of session content methods of exhibiting and system | |
CN104349423A (en) | Method, system and device for automatically connecting with wireless LAN (local area network) | |
CN104468399B (en) | Data transmission method and device and server | |
CN105320616B (en) | External device control method and device | |
CN107908487B (en) | Task control management method, device and equipment and computer readable storage medium | |
US10757744B2 (en) | Mobile device and method for establishing a wireless link | |
JP5801518B2 (en) | Information transmission method, apparatus, system, and terminal | |
CN106909486B (en) | Method, device and system for processing business exception | |
US9588652B2 (en) | Providing feedback for screen sharing | |
CN110781408A (en) | Information display method and device | |
CN113242308B (en) | Information pushing method, device, equipment and storage medium | |
CN105916152B (en) | The inspection method and device of the network state of WiFi network | |
CN110688569B (en) | Information search method, device, medium and equipment | |
CN104123070B (en) | A kind of information processing method and electronic equipment | |
CN105490913B (en) | Instant message processing method and device | |
CN107528874A (en) | Information push, playing method and device | |
CN110865920B (en) | Startup exception processing method and device, electronic equipment and storage medium | |
CN112306592B (en) | Message processing method and device, storage medium and electronic device | |
US8977785B2 (en) | Machine to machine development environment | |
CN111225378B (en) | Intelligent wifi screening method, mobile terminal and terminal readable storage medium | |
CN106850868A (en) | A kind of processing method of address book data, server, apparatus and system | |
CN112449057B (en) | Message prompting method and device, storage medium and electronic device | |
CN113515744A (en) | Malicious document detection method, device and system, electronic device and storage medium | |
CN104657152B (en) | Data transfer management method and electronic equipment | |
CN112015437B (en) | Push information processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |