Summary of the invention
In view of the foregoing, it is necessary to provide a kind of WIFI abnormality detection control system and method, it is possible to solve
The problems referred to above.
The present invention provides a kind of WIFI abnormality detection control system, runs in a portable electric appts.Should
WIFI abnormality detection control system includes: connectivity verification module, is used for verifying that described portable electric appts is
The no radio access point that can automatically connect a WIFI hot spot, and when described portable electric appts is automatic
When having connected a radio access point, verify whether the radio access point connected can be used further;Prompting mould
Block, for when verifying that the radio access point connected is unavailable, ejecting and ignore carrying of current wireless accessing points
The dialog box shown, is switched to other WIFI hot spot or mobile data network for user;And scan module,
For verifying that described portable electric appts can not connect a radio access point automatically, start WIFI and sweep
Retouch pattern, to scan the service set of the radio access point of the WIFI hot spot of portable electric appts periphery,
The service set of the radio access point needing connection is specified for user.
Preferably, described WIFI abnormality detection control system also includes acquisition module, wireless for obtaining one
The service set list of accessing points, the WIFI that this list records portable electric appts was once successfully connected
Focus, automatically connects one of them WIFI hot spot for portable electric appts.
Preferably, described WIFI abnormality detection control system also includes feedback module, is used for recording connection daily record
Data, and this connection daily record data is fed back to a management server.
Preferably, whether described management server judges some WIFI hot spot according to described connection daily record data
Break down, and notify that the Virtual network operator of this WIFI hot spot solves fault.
Preferably, when whether the radio access point that checking is connected can use, described connectivity verification module ejects
Browser, accesses the webpage of a default network address, according to whether obtaining described default network address in Preset Time
The feedback of webpage verifies whether the radio access point of connection can be used.
Preferably, described management server includes the configured list of a WIFI hot spot, this WIFI hot spot
Configured list have recorded in certain area, the radio access point of the WIFI hot spot of each geographical position periphery
The inventory of service set, wherein, the WIFI hot spot of described configured list record is free WIFI heat
Point.
Preferably, described scan module is additionally operable to scanning result and portable electric appts scanning obtained
Current geographical location information is uploaded to described management server, receive described management server feedback with work as
The configured list of WIFI hot spot of front geographical location information coupling, described scan module according to scanning result and
The configured list of the WIFI hot spot of described management server feedback, exports a service set table listings.
The present invention also provides for a kind of WIFI abnormality detection control method, runs in portable electric appts.Should
Method includes: connectivity verification step, verifies whether described portable electric appts can connect a WIFI automatically
The radio access point of focus, and when described portable electric appts has connected a radio access point automatically,
Verify whether the radio access point connected can be used further;Prompting step, in the wireless visit that checking is connected
When asking a little unavailable, eject the dialog box of the prompting ignoring current wireless accessing points, be switched to it for user
His WIFI hot spot or mobile data network;And scanning step, verifying described portable electric appts not
Can automatically connect a radio access point, start WIFI scan pattern, to scan portable electric appts week
The service set of the radio access point of the WIFI hot spot on limit, specifies the accessing wirelessly needing to connect for user
The service set of point.
Preferably, described WIFI abnormality detection control method also includes obtaining step, obtains an accessing wirelessly
The service set list of point, the WIFI hot spot that this list records portable electric appts was once successfully connected,
Automatically one of them WIFI hot spot is connected for portable electric appts.
Preferably, described WIFI abnormality detection control method also includes: feedback step, and record connects daily record number
According to, and this connection daily record data is fed back to a management server.
Preferably, whether described management server judges some WIFI hot spot according to described connection daily record data
Break down, and notify that the Virtual network operator of this WIFI hot spot solves fault.
Preferably, the radio access point that connected of checking can normal cluster time, this WIFI abnormality detection control
Method processed also includes: eject browser, accesses the webpage of a default network address, according in Preset Time whether
Whether the feedback of the webpage obtaining described default network address can be used to the radio access point verifying connection.
Preferably, the WIFI abnormality detection control method stated also includes: prestore one at described management server
The configured list of WIFI hot spot, have recorded in the configured list of this WIFI hot spot in certain area, each
The inventory of the service set of the radio access point of the WIFI hot spot of geographical position periphery, wherein, described configuration
The WIFI hot spot of list records is free WIFI hot spot.
Preferably, the WIFI abnormality detection control method stated also includes: scanning result that scanning is obtained and
The current geographical location information of portable electric appts is uploaded to described management server;Receive described management clothes
The configured list of the WIFI hot spot mated with current geographic position information of business device feedback;And according to scanning result
And the configured list of the WIFI hot spot of described management server feedback, export a service set list clear
Single.
Utilize WIFI abnormality detection control system of the present invention and method, it is possible to monitoring is connected automatically
Whether WIFI hot spot can connect to network, the WIFI hot spot connected can not be connected to network when, it is provided that
One dialog box of user, is switched to other WIFI hot spot or mobile data network for user.Further
Ground, the present invention can be likely to occur the WIFI hot spot of fault, and notify that corresponding manager solves according to checking
Fault.
Detailed description of the invention
Refering to shown in Fig. 1, it it is the network environment figure of WIFI abnormality detection control system preferred embodiment of the present invention.
WIFI abnormality detection control system 10 of the present invention can run on one by portable electric appts 1, pipe
Manage server 2 and include in the network environment that the network 3 of multiple WIFI hot spot is formed.
Described portable electric appts 1 can include smart mobile phone, notebook computer, net book, flat board electricity
Brain etc..Described portable electric appts 1 includes WIFI module.Further, described portable electric appts
1 also includes mobile data network service module, such as 2G, 3G, 4G mixed-media network modules mixed-media etc..
Described portable electric appts 1 can by its WIFI module or mobile data network service module with
Management server 2 carries out data transmission.
Further, described portable electric appts 1 can be connected to network more than 3 by its WIFI module
Individual WIFI hot spot.Each WIFI hot spot have one or more radio access point (Acess Point,
AP)30。
The configured list including a WIFI hot spot in server 2 is managed described in the present embodiment.This WIFI
The configured list of focus have recorded in certain area, each geographical position (as represented by longitude and latitude
Reason position) periphery (geographical position is core as described above, in the border circular areas with regular length as radius)
Service set (the Service Set of radio access point (Acess Point, AP) of WIFI hot spot
Identifier, SSID) inventory.In the present embodiment, in described configured list, the WIFI hot spot of record is permissible
There is certain attribute, as being free WIFI hot spot, or be networking speed WIFI hot spot faster,
Or it is the WIFI hot spot etc. that some operator provides.
Corresponding with portable electric appts 1, described management server 2 also include WIFI module and/or
Mobile data network service module, with when portable electric appts 1 is asked, by described configured list transmission
To portable electric appts 1.
Refering to shown in Fig. 2, it it is portable electronic in WIFI abnormality detection control system preferred embodiment of the present invention
The structure composed figure of equipment.
Described portable electric appts 1 includes WIFI abnormality detection control system 10, communication interface 11, place
Reason device 12, memorizer 13 and display device 14.
WIFI abnormality detection control system 10 in described portable electric appts 1, communication interface 11, place
Reason device 12, memorizer 13 and display device 14 can carry out communication by system bus.
As it has been described above, described communication interface 11 includes WIFI module and mobile data network service module, use
Carry out data transmission between management server 2 and each WIFI hot spot of network 3.
Described processor 12 is arithmetic core (Core Unit) and the control core of portable electric appts 1
(Control Unit), for explaining that the instruction in portable electric appts 1 and process portable electronic set
Software data in standby 1.
Described memorizer 13 can be one or more nonvolatile memory, such as ROM, EPROM or
Flash Memory (flash memory) etc..Described memorizer 13 can be built-in or be external in portable electric
Subset 1.
Described display device 14 can be the display screen of portable electric appts 1, in order to export visualization number
According to.
Described WIFI abnormality detection control system 10 includes the executable program code of computer, this program generation
Code can be stored in described memorizer 13, by the execution of described processor 12, it is achieved operation as follows:
As whether WIFI hot spot that automatically monitoring portable electric appts 1 is connected can connect to network 3, connected
WIFI hot spot can not connect to network 3 when, it is provided that one dialog box of user, be switched to it for user
His WIFI hot spot or mobile data network.
It will be understood by a person skilled in the art that portable electric appts 1 can also include miscellaneous part, and also
It is not limited to shown in Fig. 2.
Refering to shown in Fig. 3, it it is the functional block diagram of WIFI abnormality detection control system preferred embodiment of the present invention.
The program code of described WIFI abnormality detection control system 10, according to its different function, can divide
For multiple functional modules.In the present embodiment, described WIFI abnormality detection control system 10 can include obtaining
Module 100, connectivity verification module 101, reminding module 102, scan module 103 and feedback module 104.
Described acquisition module 100 is for obtaining the service set (Service Set Identifier, SSID) of AP
List.In the present embodiment, described ssid list can be stored in portable electric appts 1.Should
Understanding, portable electric appts 1 is successfully connected to the AP's of a WIFI hot spot by its WIFI module
During SSID, can automatically record the password of this SSID and correspondence.When portable electric appts 1 is located again
Time within the scope of described WIFI hot spot, can be dynamically connected this WIFI hot spot certainly.Therefore, described acquisition
The ssid list of the AP that module 100 obtains once was successfully connected by the portable electric appts 1 recorded
The SSID of the AP of WIFI hot spot.In other embodiments of the invention, described acquisition module 100 obtains
The ssid list of AP can also be the configured list of the WIFI hot spot of storage in described management server 2.
Described connectivity verification module 101 is used for verifying whether described portable electric appts 1 can connect automatically
Acquired one of them AP corresponding to ssid list, and when described portable electric appts 1 is automatic
When having connected one of them AP, verify whether the AP connected can use further.In the present embodiment, described
Whether the AP connected can connect to network 3 with indicating whether to pass through connected AP.
In the present embodiment, when whether the AP that checking is connected can use, described connectivity verification module 101 is permissible
Eject browser, access the webpage of a default network address, such as an advertisement page, in analyzing Preset Time be
The feedback of the no webpage obtaining described default network address.The webpage not having described default network address in Preset Time is anti-
When being fed back to, the AP that checking connects is unavailable, it is impossible to connect to network 3.Otherwise, have in Preset Time pre-
If the webpage of network address feeds back, the AP that checking connects can use, it is possible to connects to network 3.
Described reminding module 102 is unavailable for the AP connected in the checking of described connectivity verification module 101
Time, eject the dialog box of prompting ignoring current AP, for user be switched to other WIFI hot spot or
Mobile data network.
Described scan module 103 is for verifying described portable electric appts 1 in described connectivity verification module 101
When can not automatically connect an AP, start WIFI scan pattern, (the most portable to scan periphery
Electronic equipment 1 is core, in the border circular areas with regular length as radius) the AP of WIFI hot spot
SSID.Further, the scanning knot that described scanning is obtained by described scan module 103 through communication interface 11
Fruit and the current geographical location information of portable electric appts 1 are uploaded to manage server 2.The present invention is preferable
In embodiment, described scan module 103 receives described management server 2 feeds back and current position further
The configured list of the WIFI hot spot of reason positional information coupling.As it has been described above, described management server 2 includes
There is the configured list of a WIFI hot spot.The configured list of this WIFI hot spot have recorded in certain area,
The SSID of the AP of the WIFI hot spot of each geographical position periphery.Described management server 2 can filter out
The configured list of the WIFI hot spot that the geographical location information current with described portable electric appts 1 mates, and
This list of matches is sent to the scan module 103 of portable electric appts.
Further, described scan module 103 combines the scanning result of oneself and described management server 2
The configured list of the WIFI hot spot of feedback, exports a ssid list inventory.As it has been described above, described management
In configured list in server 2, the WIFI hot spot of record can have certain attribute, as free in being
WIFI hot spot, or be networking speed WIFI hot spot faster, or it is what some operator provided
WIFI hot spot etc..Therefore, described ssid list inventory is except including the scanning knot of described scan module 103
Really data, such as the ssid list scanned, always according to the WIFI hot spot of described management server 2 feedback
Configured list, the attribute of the SSID that writing scan is arrived, as wherein which WIFI hot spot is free WIFI
Focus etc..
Described feedback module 104 is used for recording connection daily record data, includes whether to connect certain AP, certain
Whether AP does not connects, if can certain Virtual network operator of Successful login etc., and by anti-for this connection daily record data
Feed and manage server 2.
Management server 2 can connect the state of daily record data checking AP according to the record of a large number of users, such as
Certain AP is most recently connected number of times and declines suddenly, then can deduce this AP and be likely to occur fault, logical
Know the manager of this AP, as Virtual network operator solves fault etc..
Refering to shown in Fig. 4, it it is the implementing procedure figure of WIFI abnormality detection control method preferred embodiment of the present invention.
Described in the present embodiment, WIFI abnormality detection control method is not limited to step shown in flow chart, this outflow
Shown in journey figure in step, some step can be omitted, order between step can change.
Step S10, acquisition module 100 obtains the ssid list of AP.In the present embodiment, described acquisition mould
The ssid list of the AP that block 100 obtains once was successfully connected WIFI by the portable electric appts 1 recorded
The SSID of the AP of focus.In other embodiments of the invention, the AP that described acquisition module 100 obtains
Ssid list can also be the configured list of WIFI hot spot of storage in described management server 2.
Step S11, connectivity verification module 101 verifies whether described portable electric appts 1 can connect automatically
Acquired one of them AP corresponding to ssid list.When portable electric appts 1 is by its WIFI
During the SSID of the AP that module is successfully connected to a WIFI hot spot, the password of this SSID and correspondence can quilt
Record, when portable electric appts 1 is again within the scope of described WIFI hot spot, it is possible to automatically connect
Connect this WIFI hot spot.
If portable electric appts 1 has connected acquired one of them AP corresponding to ssid list automatically,
Step S12 that then flow performing is following.Otherwise, if portable electric appts 1 connects acquired the most automatically
One of them AP corresponding to ssid list, then step S14 that flow performing is following.
Step S12, connectivity verification module 101 verifies whether the AP connected can use further.The present embodiment
In, whether described connected AP can connect to network 3 with indicating whether to pass through connected AP.This
In embodiment, when whether the AP that checking is connected can use, described connectivity verification module 101 can eject clear
Look at device, access the webpage of a default network address, such as an advertisement page, whether obtain in analyzing Preset Time
The feedback of the webpage of described default network address.The webpage not having described default network address in Preset Time feeds back
Time, the AP that checking connects is unavailable, it is impossible to connect to network 3, now performs following step S13.Otherwise,
When the webpage having default network address in Preset Time feeds back, the AP that checking connects can use, it is possible to connects net
Network 3, can terminate flow process.
Step S13, reminding module 102 ejects the dialog box of the prompting ignoring current AP, selects for user.
In present pre-ferred embodiments, described in ignore current AP the dialog box of prompting may be displayed on portable electronic
On the display device 14 of equipment 1, and stop a default time period.If user is in the described default time
Do not click on a confirming button of this dialog box in Duan, then portable electric appts continues to connect this AP, but
Being the current generation, portable electric appts 1 can not be networked, and can terminate flow process.Otherwise, if user is in institute
Click in stating the default time period this dialog box confirming button, then it represents that user have selected ignore current
AP, performs following step 14.
Step S14, scan module 10 starts WIFI scan pattern, (the most portable to scan periphery
Formula electronic equipment 1 is core, in the border circular areas with regular length as radius) the AP of WIFI hot spot
Take SSID, and the scanning result described scanning obtained through the communication interface 11 of portable electric appts 1 with
And the current geographical location information of portable electric appts 1 is uploaded to manage server 2.
Step S15, described scan module 103 receives described management server 2 feeds back and current position further
The configured list of the WIFI hot spot of reason positional information coupling, in conjunction with the scanning result of scan module 103, output
One ssid list inventory.
As it has been described above, described management server 2 includes the configured list of a WIFI hot spot.This WIFI
The configured list of focus have recorded in certain area, the AP of the WIFI hot spot of each geographical position periphery
SSID.Described management server 2 can filter out the geographical position current with described portable electric appts 1
Put the configured list of the WIFI hot spot of information matches, and send this list of matches to portable electric appts
Scan module 103.Additionally, the WIFI hot spot of record is permissible in configured list in described management server 2
There is certain attribute, as being free WIFI hot spot, or be networking speed WIFI hot spot faster,
Or it is the WIFI hot spot etc. that some operator provides.Therefore, described ssid list inventory is except bag
Include the scanning result data of described scan module 103, such as the ssid list scanned, always according to described management
The configured list of WIFI hot spot of server 2 feedback, the attribute of the SSID that writing scan is arrived, as wherein which
A little WIFI hot spot are free WIFI hot spot etc..
Step S16, connectivity verification module 101 connects the ssid list inventory of described scan module 103 output
In a SSID specified.In the present embodiment, described appointment can be that the operation according to user is done.
Step S17, connectivity verification module 101 verifies that described AP corresponding for the SSID specified the most successfully connects
Connect.
If AP is not successfully connected, then step S18, feedback module 104 record connection daily record data, and instead
Feed and manage server 2, afterwards, above-mentioned step S14 can be returned.
If AP is successfully connected, then step S19, feedback module 104 still can record connection daily record data, and
Feed back to management server 2, afterwards, perform step S20.
Step S20, can the AP that connectivity verification module 101 checking is connected normal cluster.As it has been described above,
In the present embodiment, the AP that connected of checking can normal cluster time, described connectivity verification module 101 is permissible
Eject browser, access a default network address webpage, such as an advertisement page, analyze in Preset Time
Whether obtain the feedback of the webpage of described default network address.The webpage of described default network address is not had in Preset Time
When feeding back, the AP that checking connects can not normal cluster.Otherwise, in Preset Time, has default network address
When webpage feeds back, the AP that checking connects can normal cluster.
AP energy normal cluster as connected, then terminate flow process.Otherwise, if the AP connected can not be normal
Networking, then perform following step S21.
Step S21, reminding module 102 ejects the dialog box of the prompting ignoring current AP, selects for user.
In present pre-ferred embodiments, described in ignore current AP the dialog box of prompting may be displayed on portable electronic
On the display device 14 of equipment 1, and stop a default time period.If user is in the described default time
Click in Duan this dialog box confirming button, then it represents that user have selected and ignores current AP, and flow process is permissible
Perform following step 22.Otherwise, if user does not click on this dialog box within the described default time period
One confirming button, then portable electric appts continues to connect this AP, and portable electric appts 1 can not be networked,
Flow process can be terminated.
Step S22, connectivity verification module 101 can utilize mobile data network service module logging in network operation
Business, and whether by the result of Successful login Virtual network operator feeds back to server.
Disclosing in above-mentioned flow process, the connection daily record data of portable electric appts 1 can feed back to management service
Device 2.Management server 2 can connect the state of daily record data checking AP according to the record of a large number of users, than
Suddenly decline as certain AP is most recently connected number of times, then this AP can be deduced and be likely to occur fault,
Notify that the manager of this AP solves fault etc..
As illustrated in figs. 5-7, it is server end pair in WIFI abnormality detection control method preferred embodiment of the present invention
It is likely to occur the flow chart that the WIFI hot spot of fault carries out processing.
Refering to Fig. 5, step S30, management server 2 receives portable electric appts 1 and performs WIFI scanning
The scanning result obtained and the current geographical location information of portable electric appts 1.
Step S31, management server 2 by described scanning result and the configured list that stored with described geography
The SSID inventory of positional information coupling compares.
Step S32, management server 2 is verified in its configured list clear with the SSID that described geographical position is mated
Whether list exists the SSID not scanned by above-mentioned portable electric appts 1.If not existing, then return
Above-mentioned step S30.
Otherwise, if the SSID inventory mated with described geographical position in the configured list of management server 2 is deposited
At the SSID not scanned by above-mentioned portable electric appts 1, then perform following step S33.
Step S33, it is pre-that management server 2 verifies whether the number of times that this SSID is not scanned reaches first
If value, such as 10 times.If the number of times that this SSID is not scanned is not reaching to the first preset value, then perform
Step S34, management server 2 records the number of times that this SSID is not scanned.Otherwise, if this SSID
The number of times not being scanned has reached the first preset value, then perform step S35, and management server 2 is to correspondence
Virtual network operator trigger and report to the police, solve, with Virtual network operator, the fault that is likely to occur.
Refering to shown in Fig. 6, step S40, management server 2 receives certain of portable electric appts 1 feedback
The feedback that SSID is not successfully connected.
Step S41, it is pre-that management server 2 verifies whether the number of times that this SSID is not successfully connected reaches second
If value, such as 15 times.
If the number of times that this SSID is not successfully connected is not reaching to the second preset value, then step S42, management clothes
Business device 2 records the number of times not being successfully connected.
Otherwise, if the number of times that this SSID is not successfully connected has reached the second preset value, then step S43, pipe
Reason server 2 updates configured list therein, and this SSID is unavailable for labelling.
Refering to shown in Fig. 7, step S50, management server 2 receives the network of portable electric appts 1 feedback
Operator does not has the feedback of Successful login.
Step S51, it is pre-that management server 2 verifies that this Virtual network operator does not has the number of times of Successful login to reach the 3rd
If value, such as 5 times.
If this Virtual network operator does not has the number of times of Successful login to be not reaching to the 3rd preset value, then step S52, pipe
Reason server 2 record does not has the number of times of Successful login.
Otherwise, if this Virtual network operator does not has the number of times of Successful login to reach the 3rd preset value, then step S53,
Management server 2 triggers to Virtual network operator and reports to the police.
It should be noted last that, above example only in order to technical scheme to be described and unrestricted,
Although being described in detail the present invention with reference to preferred embodiment, those of ordinary skill in the art should manage
Solve, technical scheme can be modified or equivalent, without deviating from technical solution of the present invention
Spirit and scope.