A kind of portal authentication method and system based on user's use habit
Technical field
Recognize the present invention relates to wireless network authentication method field, more particularly to a kind of Portal based on user's use habit
Demonstrate,prove method and system.
Background technology
With developing rapidly for mobile Internet, increasing Wi-Fi Hotspot is occurred in that in public at present.Wi-
Fi is not encrypted in itself, but when customer access network, may require that user inputs username and password.After certification success
Can be with online.The characteristics of this web authentication, it is clear that be exactly not need special client, has browser just can be with
, greatly facilitate the quick access of mobile terminal (such as mobile phone, Pad etc.).The mode quilt surfed the Net after this user authentication
Referred to as Web Portal certifications.
Portal certifications are a kind of methods of authenticating user identification.When user terminal is linked into network by access device
Afterwards, typically identity information or other authentication information are inputted by user and authentication is completed by the form of Web page,
So as to authorize access network.User directly can access Web Portal web page address to complete authentication;Can also be
Any URL addresses are accessed in a browser, and the Web Portal page is replaced URL pages that user to be accessed by access device
Face, authentication is completed by user.
As disclosed in Application No. CN201210137520.8 patent document " a kind of portal authentication method and equipment ",
The disclosure of the invention a kind of portal authentication method and equipment, this method include:NAS-IP agent equipments, which are received, comes from Portal
First Portal authentication request packets of server;The NAS-IP agent equipments obtain institute using the IP address of Authentication Client
The corresponding NAS of Authentication Client is stated, the first Portal authentication request packets are converted into the 2nd Portal certification request reports
Text, and the 2nd Portal authentication request packets are sent to the NAS;The NAS-IP agent equipments receive the NAS
The Portal certification response messages of return, are converted to the NAS-IP by the source address of the Portal certifications response message and act on behalf of
The public network address of equipment, and the Portal certification response messages after conversion are sent to the Portal server.
And for example a kind of " method of Portal rapid authentications disclosed in Application No. CN201510257696.0 patent document
And equipment ", a kind of method and apparatus of Portal rapid authentications of the disclosure of the invention, this method includes:Access authentication equipment is sentenced
Whether the facility information of disconnected terminal device binds Portal rapid authentications;If unbound Portal rapid authentications, described to connect
Enter authenticating device after confirming that the terminal device is logged in successfully, the access authentication equipment provides binding to the terminal device
The page, the information for whether binding Portal rapid authentications is inputted by user on the binding page;If user ties up described
Determine the information of input binding Portal rapid authentications on the page, then the access authentication equipment believes the equipment of the terminal device
Breath binding Portal rapid authentications, and allow the terminal equipment access network;It is described if binding Portal rapid authentications
Access authentication equipment allows terminal equipment access network.
If using the identification authentication mode of the Web Portal in existing technical scheme, enterprise staff or be commonly used
Person will repeat identical Portal verification process daily, excessively cumbersome for user.If using the straight of Web Portal
Clearance pattern is connect, then occurs that network, by the possibility of unexpected librarian use, causes Internet resources to be taken by unrelated person again.
The content of the invention
In view of the above-mentioned state of the art, the technical problems to be solved by the invention are that provide one kind is made based on user
With the portal authentication method and system of custom.
The present invention solve the technical scheme that is used of above-mentioned technical problem for:
A kind of portal authentication method based on user's use habit, including:
S1. radio reception device obtains the MAC Address of access device, turn-on time, and sends to cloud controller;
S2. cloud controller judges the access device in radio reception device certification success according to the MAC Address
Whether number of times is more than preset times:
If certification number of success is more than or equal to preset times, step S3 is performed;
If certification number of success is less than preset times, step S4 is performed;
S3. cloud controller judges whether the access device turn-on time belongs in preset time period:
If turn-on time belongs in preset time period, cloud controller is directly opened equipment and surfed the Net in this radio reception device
Authority;
If turn-on time is not belonging in preset time period, step S4 is performed;
S4. access device completes certification by Portal authentication modes.
Further, also include before the step S1:
Cloud controller builds wireless network with multiple radio reception devices, and the wireless network is Portal certification modes.
Further, described in equipment first connection in wireless network radio reception device is simultaneously completed after Portal certifications,
The radio reception device of equipment connection sends MAC Address, authenticated time and the authentication result of access device to cloud controller.
Further, cloud controller receives MAC Address, the authenticated time of the access device of each radio reception device transmission
And authentication result, and the book of final entry.
Further, in the step S2, cloud controller searches the device history authentication record according to the MAC Address,
Judge whether the access device is big in the radio reception device certification number of success by the history authentication record data
In preset times.
Further, in step S3, obtained by the authenticated time for analyzing the access device that each radio reception device is sent
Take the preset time period of each access device.
Further, also include after step S4:
After access device completes certification by Portal authentication modes, cloud controller records the MAC of the access device
Address, authenticated time and authentication result, and the book of final entry.
A kind of portal certification system based on user's use habit, including:
Acquisition module, is arranged in radio reception device, MAC Address, turn-on time for obtaining access device;
Sending module, is arranged in radio reception device, for sending radio reception device model, accessing the wireless access
The MAC Address of equipment and turn-on time are to cloud controller;
Memory module, is arranged in cloud controller, for storing each radio reception device access device in wireless network
MAC Address, authenticated time and authentication result;
Judge module, is arranged in cloud controller, for judging the access device in the nothing according to the MAC Address
Whether line access device certification number of success is more than preset times;
The judge module is additionally operable to judge whether the access device turn-on time belongs in preset time period.
Further, in addition to:
Authentication module, the certification for completing access device by Portal authentication modes.
Further, in addition to:
Add module, is arranged in cloud controller, for completing to recognize according to normal Portal authentication modes when access device
After card, the MAC Address, authenticated time and authentication result of the equipment are added to memory module.
The present invention proposes a kind of portal authentication method and system based on user's use habit, by by the use of user
Custom data upload to cloud controller, and are recorded and sorted generalization for the access feature of such user.When one section of use
After the wireless network of time, user, can from these use habit data when accessing radio reception device again at this moment
To be determined as validated user, without carrying out Portal certifications again, access wireless network is directly authorized, is commonly used so as to simplify
The access procedure of person, improves Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of portal authentication method flow chart based on user's use habit in the embodiment of the present invention one;
Fig. 2 is a kind of portal certification system structure chart based on user's use habit in the embodiment of the present invention one;
Fig. 3 is a kind of portal authentication method flow chart based on user's use habit in the embodiment of the present invention two;
Fig. 4 is a kind of portal certification system structure chart based on user's use habit in the embodiment of the present invention two.
Embodiment
The following is specific embodiment of the invention and with reference to accompanying drawing, technical scheme is further described,
But the present invention is not limited to these embodiments.
The present invention proposes a kind of portal authentication method and system based on user's use habit, for solving existing certification
The problem of technology is excessively cumbersome.
It can typically consolidate in enterprise or some fixed-sites, enterprise staff or commonly using the user of wireless network at one day
Section of fixing time accesses relatively-stationary radio reception device.
Using existing technical scheme, otherwise access service is to use predetermined authentication to user, otherwise it is exactly straight
Connect and use.Under special scenes, when user needs to use network, if directly connecting WiFi using the password of existing network,
May then there is the risk of leakage password.If excessively cumbersome using Web Portal identification authentication mode, enterprise staff or
Identical Portal verification process will be repeated daily commonly using person.If using Web Portal direct clearance pattern,
Then occur that network, by the possibility of unexpected librarian use, causes Internet resources to be taken by unrelated person again.
The present invention proposes a kind of portal authentication method and system based on user's use habit, by cloud controller with it is many
Individual radio reception device builds wireless network, is recorded and is concluded for user's access feature, wireless network is used in user
Reach after certain time, user when accessing radio reception device at this moment again, according to user equipment access information and use
Whether family equipment access historical information judges user as validated user, if validated user then without carrying out Portal certifications again,
Directly authorize access wireless network.
The following is the specific embodiment of the invention.
Embodiment one
It is a kind of portal authentication method flow chart based on user's use habit, the party in the present embodiment as shown in Figure 1
Method includes:
S1. radio reception device obtains the MAC Address of access device, turn-on time, and sends to cloud controller;
S2. cloud controller judges the access device in radio reception device certification success according to the MAC Address
Whether number of times is more than preset times:
If certification number of success is more than or equal to preset times, step S3 is performed;
If certification number of success is less than preset times, step S4 is performed;
S3. cloud controller judges whether the access device turn-on time belongs in preset time period:
If turn-on time belongs in preset time period, cloud controller is directly opened equipment and surfed the Net in this radio reception device
Authority;
If turn-on time is not belonging in preset time period, step S4 is performed;
S4. access device completes certification by Portal authentication modes.
Also include before step S1:
Cloud controller builds wireless network with multiple radio reception devices, and the wireless network is Portal certification modes.
Portal certifications are a kind of methods of authenticating user identification.When user terminal is linked into network by access device
Afterwards, typically identity information or other authentication information are inputted by user and authentication is completed by the form of Web page,
So as to authorize access network.
When the radio reception device described in equipment first connection in wireless network, and complete after Portal certifications, it is described to set
The radio reception device of standby connection sends MAC Address, authenticated time and the authentication result of access device to cloud controller.
Cloud controller receives MAC Address, authenticated time and the certification knot of the access device of each radio reception device transmission
Really, and the book of final entry.
After wireless network use time reaches certain time, any nothing that user equipment is accessed in this wireless network again
During line access device, radio reception device obtains the MAC Address of access device, turn-on time.
MAC Address, the access of the radio reception device are numbered, accessed again to itself radio reception device by radio reception device
Time is sent to cloud controller;
In step S2, cloud controller receives itself numbering of radio reception device transmission, accesses the radio reception device
MAC Address, turn-on time information,
The history authentication record of the equipment is searched according to the MAC Address, and counts the equipment in the radio reception device
On certification number of success.
It is default that cloud controller judges whether the access device is more than in the radio reception device certification number of success again
Number of times.
If access device certification number of success on the radio reception device is less than preset times, step S4 is performed;
If access device certification number of success on the radio reception device is more than or equal to preset times, step is performed
S3;
In step S3, cloud controller judges whether the access device turn-on time belongs in preset time period.
In the present embodiment, obtain each by the authenticated time for analyzing the access device that each radio reception device is sent and connect
Enter the preset time period of equipment.
If access device turn-on time on the radio reception device belongs in preset time period, cloud controller is directly opened
Logical equipment is in this radio reception device access authority;
If access device turn-on time on the radio reception device is not belonging in preset time period, step S4 is performed;
In step S4, because cloud controller according to the relevant authentication information of the access device can not judge that the access device is
Legitimate device, therefore the direct access authority of the equipment is refused, now equipment passes through the completion certification of Portal authentication modes.
Also include after step S4:
After access device completes certification by Portal authentication modes, cloud controller records the MAC of the access device
Address, authenticated time and authentication result, and the book of final entry, added in the history authentication record of the equipment.
A kind of portal certification system structure chart based on user's use habit in the present embodiment is illustrated in figure 2, this is
System includes:
Acquisition module 100, is arranged in radio reception device, MAC Address, turn-on time for obtaining access device;
Sending module 200, is arranged in radio reception device, and for sending radio reception device model, to access this wireless
The MAC Address of access device and turn-on time are to cloud controller;
Memory module 300, is arranged in cloud controller, is set for storing each radio reception device access in wireless network
Standby MAC Address, authenticated time and authentication result;
Judge module 400, is arranged in cloud controller, for judging the access device in institute according to the MAC Address
State whether radio reception device certification number of success is more than preset times;
The judge module is additionally operable to judge whether the access device turn-on time belongs in preset time period.
Authentication module 500, the certification for completing access device by Portal authentication modes.
Add module 600, is arranged in cloud controller, for being completed when access device according to normal Portal authentication modes
After certification, the MAC Address, authenticated time and authentication result of the equipment are added to memory module.
The present embodiment proposes a kind of portal authentication method and system based on user's use habit, passes through making user
Cloud controller is uploaded to custom data, and is recorded and sorted generalization for the access feature of such user.User is again
When accessing radio reception device, from use habit data it is determined that being validated user, access wireless network is directly authorized, from
And the access procedure commonly using person is simplified, improve Consumer's Experience.
Embodiment two
The present embodiment is with the difference of embodiment one, and equipment for surfing the net function of white name list is added in the present embodiment, even if
User equipment certification historical data is not up to authentication-exempt condition, and cloud controller can also directly open the equipment access authority.
Embodiment one is mainly used for that personnel are more, distribution relatively scattered place, the present embodiment be then applied to personnel's distribution compared with
For fixed place, such as enterprise.
Cloud controller is added in each employee's equipment (such as mobile phone) to white list first, when employee logs in company wireless network
When, system judges that the user fixes employee for company, then can be directly by without certification, greatly simplify user
Verification process, improves Consumer's Experience.
It is illustrated in figure 3 a kind of portal authentication method flow chart based on user's use habit, the party in the present embodiment
Method includes:
S1. radio reception device obtains the MAC Address of access device, turn-on time, and sends to cloud controller;
S2. judge access device whether in system white list:
If access device is in system white list, cloud controller is directly opened equipment and weighed in the online of this radio reception device
Limit;
If access device is not in system white list, step S3 is performed;
S3. cloud controller judges the access device in radio reception device certification success according to the MAC Address
Whether number of times is more than preset times:
If certification number of success is more than or equal to preset times, step S4 is performed;
If certification number of success is less than preset times, step S5 is performed;
S4. cloud controller judges whether the access device turn-on time belongs in preset time period:
If turn-on time belongs in preset time period, cloud controller is directly opened equipment and surfed the Net in this radio reception device
Authority;
If turn-on time is not belonging in preset time period, step S5 is performed;
S5. access device completes certification by Portal authentication modes.
Also include before step S1 in the present embodiment:Wireless network access device white list is set.
In the present embodiment, add some in advance by cloud controller and fix in equipment to the system white list of user.
In step S2, the MAC Address that cloud controller is sent according to radio reception device judges that the access device whether there is
In in system white list:
If in the presence of it is wireless network fixation user to illustrate the equipment, it may not be necessary to can open online by certification
Authority;
If being not present, it is not the fixation user of wireless network to illustrate the equipment, now needs to perform follow-up deterministic process.
A kind of portal certification system structure chart based on user's use habit in the present embodiment is illustrated in figure 4, this is
System includes:
Acquisition module 100;
Sending module 200;
Memory module 300;
Judge module 400, is arranged in cloud controller, and judge module 400 is additionally operable to judge access device in the present embodiment
With the presence or absence of in wireless network white list;
Authentication module 500;
Add module 600;
System also includes in the present embodiment:
Setup module 700, for setting wireless network access device white list.
When a wireless network has some fixed users, if user equipment still needs to reach authentication-exempt condition, one is needed
In the section time, and the time, even fixed user, it is also desirable to certification every time.
The present embodiment is optimized to said process, by setting wireless network access device white list, if wireless network
During fixed user's access, even if not up to authentication-exempt condition, can also directly open access authority, greatly simplify use
Family verification process, improves Consumer's Experience.
Embodiment three
The present embodiment is with embodiment one and the difference of embodiment two:In the present embodiment, exempt from when user equipment reaches
During authentication condition, the equipment is added to wireless network access device white list by system automatically, without artificial addition, mitigates management
Pressure.
The present embodiment, which is applied to personnel's distribution, more to be fixed, and the place that personnel are more, librarian use equipment is more, such as big
Type enterprise etc..
A kind of portal authentication method flow based on user's use habit includes in the present embodiment:
S1. radio reception device obtains the MAC Address of access device, turn-on time, and sends to cloud controller;
S2. judge access device whether in system white list:
If access device is in system white list, cloud controller is directly opened equipment and weighed in the online of this radio reception device
Limit;
If access device is not in system white list, step S3 is performed;
S3. cloud controller judges the access device in radio reception device certification success according to the MAC Address
Whether number of times is more than preset times:
If certification number of success is more than or equal to preset times, step S4 is performed;
If certification number of success is less than preset times, step S5 is performed;
S4. cloud controller judges whether the access device turn-on time belongs in preset time period:
If turn-on time belongs in preset time period, cloud controller is directly opened equipment and surfed the Net in this radio reception device
Authority, and the access device is added in system white list;
If turn-on time is not belonging in preset time period, step S5 is performed;
S5. access device completes certification by Portal authentication modes.
In the present embodiment step S4, if access device is not in system white list, and cloud controller is according to the MAC Address
Judge that the access device is more than preset times in the radio reception device certification number of success, and cloud controller judges described
Access device turn-on time belongs in preset time period, then can determine whether the equipment is the wireless network fixing equipment.
Therefore also include after S4 in the present embodiment:When user equipment reaches authentication-exempt condition, cloud controller automatically should
Equipment is added to wireless network access device white list.
A kind of portal certification system based on user's use habit includes in the present embodiment:
Acquisition module 100;
Sending module 200;
Memory module 300;
Judge module 400, is arranged in cloud controller, and judge module 400 is additionally operable to judge access device in the present embodiment
With the presence or absence of in wireless network white list;
Authentication module 500;
Add module 600, is arranged in cloud controller, and add module 600 is additionally operable to when user equipment reaches in the present embodiment
During to authentication-exempt condition, the equipment is added to wireless network access device white list;
Setup module 700.
When enterprise fix user it is more, and using renewal of the equipment it is more frequent when, if every time be required for keeper add equipment
To wireless network access device white list, process is also relatively complicated.
The present embodiment advantage is, when user equipment reaches authentication-exempt condition, and the equipment is added to nothing by system automatically
Line network access equipment white list, without artificial addition, mitigates government pressure.
Specific embodiment described herein is only to spirit explanation for example of the invention.Technology neck belonging to of the invention
The technical staff in domain can be made various modifications or supplement to described specific embodiment or be replaced using similar mode
Generation, but without departing from the spiritual of the present invention or surmount scope defined in appended claims.