The content of the invention
The technical problem to be solved in the present invention is to provide a kind of method and apparatus for the checking that networks, and improves the peace of router
Full property and ease for use, the convenient internet behavior to visitor's terminal are managed.
The technical solution adopted by the present invention is that a kind of method for the checking that networks, applied to router, method includes:
Receive and access the networking checking information that terminal is sent, wherein, networking checking information is to access terminal in the note that networks
According to the Face image synthesis for accessing terminal user during volume;
Networking checking is carried out to accessing terminal based on networking checking information, if being proved to be successful, allows to access terminal access
The network of router.
Optionally, when it is router administration terminal to access terminal, letter is verified in the networking that reception access terminal is sent
Before breath, method also includes:
Network registration is carried out to router management terminal, receives the management of end-user sent by router administration terminal
Facial image;
According to the facial image of management of end-user, according to set algorithm, the networking checking of router administration terminal is calculated
Information;
The networking checking information of router administration terminal is stored, and the networking checking information of router administration terminal is sent
Give router administration terminal.
Optionally, when it is visitor's terminal to access terminal, before the networking checking information that access terminal is sent is received,
Method also includes:
Network registration is carried out to visitor's terminal, receives the facial image of the visitor terminal user sent by visitor's terminal;
The facial image of visitor terminal user is sent to router administration terminal, so that router administration terminal is according to visit
The facial image of objective terminal user carries out authentication to visitor's terminal;
When receiving the authentication successful information sent by router administration terminal, according to visitor terminal user's
Facial image, according to set algorithm, the networking checking information of calculating visitor's terminal;
The networking checking information of visitor's terminal is stored, and the networking checking information of visitor's terminal is sent to visitor's terminal.
Optionally, the facial image of visitor terminal user is sent to router administration terminal, including:
Judge router administration terminal it is current whether the network of couple in router;
If so, the facial image of visitor terminal user is then sent to router administration terminal;
If it is not, the facial image of visitor terminal user is then sent to external server, so that external server will visit again
The facial image of objective terminal user is sent to router administration terminal.
Optionally, when it is visitor's terminal to access terminal, method also includes:
In the case where carrying out networking authentication failed to access terminal, warning message is sent to router administration terminal.
The present invention also provides a kind of device for the checking that networks, and applied to router, device includes:
Receiving module, for receiving the networking checking information for accessing terminal and sending, wherein, networking checking information is to access
Terminal is in network registration according to the Face image synthesis for accessing terminal user;
Authentication module, for carrying out networking checking to accessing terminal based on networking checking information, if being proved to be successful, allow
Access the network of terminal couple in router.
Optionally, device also includes:
Manager's Registering modules, for carrying out network registration to router management terminal, receive by router administration terminal
The facial image of the management of end-user sent;According to the facial image of management of end-user, according to set algorithm, road is calculated
By the networking checking information of device management terminal;The networking checking information of router administration terminal is stored, and router administration is whole
The networking checking information at end is sent to router administration terminal.
Optionally, device also includes:
Visitor's Registering modules, for carrying out network registration to visitor's terminal, it is whole to receive the visitor sent by visitor's terminal
The facial image of end subscriber;The facial image of visitor terminal user is sent to router administration terminal, for router administration
Terminal carries out authentication according to the facial image of visitor terminal user to visitor's terminal;When receiving by router administration terminal
During the authentication successful information sent, according to the facial image of visitor terminal user, according to set algorithm, it is whole to calculate visitor
The networking checking information at end;The networking checking information of visitor's terminal is stored, and the networking checking information of visitor's terminal is sent to
Visitor's terminal.
Optionally, visitor's Registering modules, it is specifically used for:
Judge router administration terminal it is current whether the network of couple in router;If so, then by the people of visitor terminal user
Face image is sent to router administration terminal;If it is not, the facial image of visitor terminal user is then sent to external server, with
The facial image of visitor terminal user is sent to router administration terminal again for external server.
Optionally, device also includes:
Alarm module, in the case where carrying out networking authentication failed to access terminal, being sent out to router administration terminal
Send warning message.
Using above-mentioned technical proposal, the present invention at least has following advantages:
The method and apparatus of the networking checking of the present invention, using face recognition technology, are formed according to the facial image of user
For replacing the networking checking information of conventional cipher, compared to traditional password authentification mode, verification mode of the invention is more difficult to
Crack.When there is common visitor's connection route device, it is necessary to obtain the agreement of the manager of router;Road is accessed when there is illegal visitor
During by device, the manager of router is notified that, so as to ensure that the security of access visitor.Corresponding traditional setting router
Mode, the present invention sets the mode of router simple, possesses the knowledge of specialty without user, easily operated, convenient management.
Embodiment
Further to illustrate the present invention to reach the technological means and effect that predetermined purpose is taken, below in conjunction with accompanying drawing
And preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a kind of method for the checking that networks, as shown in Fig. 2 specifically including following steps:
Step S201:Receive and access the networking checking information that terminal is sent, wherein, networking checking information is to access terminal
In network registration according to the Face image synthesis for accessing terminal user.
Wherein, accessing terminal includes:Router administration terminal and visitor's terminal;Router administration terminal is used to manage visitor
The internet behavior of terminal.
Specifically, when it is router administration terminal to access terminal, letter is verified in the networking that reception access terminal is sent
Before breath, method also includes:
Step A1:Network registration is carried out to router management terminal, receives the management sent by router administration terminal
The facial image of terminal user;The facial image of management of end-user is got by the camera of management terminal;
Step A2:According to the facial image of management of end-user, according to set algorithm, entering for router administration terminal is calculated
Net checking information;
Step A3:The networking checking information of router administration terminal is stored, and the networking of router administration terminal is verified
Information is sent to router administration terminal.
When the network of router administration terminal First Contact Connections router, management is obtained by the camera of management terminal
The facial image of terminal user.Router calculates generation networking checking information according to the facial image of management of end-user, and will
Networking checking information is stored into router and router administration terminal.When router administration terminal is again coupled to the net of router
During network, router administration terminal only need to send networking checking information to router, and router is entered according to networking checking information
Net checking.
Further, when it be visitor's terminal to access terminal, receive the networking checking information that sends of access terminal it
Before, method also includes:
Step B1:Network registration is carried out to visitor's terminal, receives the people of the visitor terminal user sent by visitor's terminal
Face image;Wherein, the facial image of visitor terminal user is got by the camera of visitor's terminal;
Step B2:The facial image of visitor terminal user is sent to router administration terminal, so that router administration is whole
End carries out authentication according to the facial image of visitor terminal user to visitor's terminal;
Step B3:It is whole according to visitor when receiving the authentication successful information sent by router administration terminal
The facial image of end subscriber, according to set algorithm, the networking checking information of calculating visitor's terminal;
Step B4:The networking checking information of visitor's terminal is stored, and the networking checking information of visitor's terminal is sent to visit
Objective terminal.
When the network of visitor's terminal First Contact Connections router, visitor's terminal is obtained by the camera of visitor's terminal and used
The facial image at family.The facial image of visitor terminal user is sent to router administration terminal by router.Router administration is whole
End judges whether visitor's terminal is user terminal trusty according to the facial image of objective terminal user, if so, then router root
Generation networking checking information is calculated according to the facial image of objective terminal user.By networking checking information storage to router and management eventually
In end.When visitor's terminal is again coupled to the network of router, visitor's terminal only need to send networking checking information, road to router
Networking checking is carried out according to networking checking information by device.
Further, the facial image of visitor terminal user is sent to router administration terminal, including:
Judge router administration terminal it is current whether the network of couple in router;
If so, the facial image of visitor terminal user is then sent to router administration terminal;
If it is not, the facial image of visitor terminal user is then sent to external server, so that external server will visit again
The facial image of objective terminal user is sent to router administration terminal.
Step S202:Networking checking is carried out to accessing terminal based on networking checking information, if being proved to be successful, allows to access
The network of terminal couple in router.
Specifically, when it is visitor's terminal to access terminal, method also includes:
In the case where carrying out networking authentication failed to access terminal, warning message is sent to router administration terminal.
Second embodiment of the invention, a kind of method for the checking that networks, applied to visitor's terminal, management terminal, router, outer
Between portion's server and internet.
Visitor connects internet by visitor's terminal, and visitor's terminal is to realize the terminal that connection route device is surfed the Net.
Manager is managed by management terminal to router.Pipe for management router is installed in management terminal
Reason person APP, manager is managed by manager APP to router, visitor's terminal, which is conducted interviews, authorizes and check road
By the state of device.
Router is the equipment for connecting internet.
External server is used for when management terminal is not in the service range of router, and the networking of forwarding visitor's terminal please
The access permission for management terminal of summing.
When manager for the first time using router when, it is necessary to carry out online setting to router, as Fig. 3 passes through for manager
Management terminal carries out the schematic diagram of online setting.When manager is carried out when online is set, it is necessary to obtain management by management terminal
The face head portrait of person.After online is set successfully, manager APP is installed in management terminal, passes through manager APP, Ke Yixian
Show the online number for being currently accessed internet.
Such as Fig. 4, online setting specifically includes following steps:
Step S401:Manager enters online by management terminal and sets the page.
As the prior art, manager can pass through network address http:// 192.168.1.1 enters online and sets the page.
Step S402:The facial image of manager is obtained by the camera of management terminal.
When manager, which enters online, sets the page, it is desirable to the human face image information of typing manager.
Step S403:Judge whether the facial image of manager meets sets requirement, if then performing step S404;If
It is no, then terminate process.
Sets requirement includes:Whether facial image is clear, complete.
Step S404:The facial image of manager is sent to router by management terminal.
Step S405:According to the facial image of manager, according to set algorithm, the knowledge of manager's face is calculated in router
Other code, and recognition of face code is sent to management terminal.
Manager's recognition of face code in the present embodiment is equivalent to manager's inbound information in first embodiment.
Step S406:Router obtains the mac address information of management terminal, IMEI information from management terminal.
Step S407:Manager inputs broadband account and carries out online dial-up connection.
Step S408;Router judges whether online dialing succeeds, if so, then performing step S409;If it is not, then terminate into
Journey.
Step S409:Router sends out the mac address information of management terminal, IMEI information and manager's recognition of face code
Give external server.
Specifically, after manager's online is set successfully, it is stored with management terminal, router and external server:
Mac address information, IMEI information and the manager's recognition of face code of management terminal.
Further, when manager accesses internet again, such as Fig. 5, internet is accessed according to following steps:
Step S501:Networking solicited message is sent to router by management terminal.Wherein, networking solicited message includes:Pipe
Manage mac address information, IMEI information and the manager's recognition of face code of terminal.
Step S502:Router is verified to networking solicited message, if being proved to be successful, performs step S503, if it is not,
Then terminate process.
Step S503:Router allows management terminal to access internet.
Third embodiment of the invention, a kind of method for the checking that networks, applied to visitor's terminal, management terminal, router, outer
Between portion's server and internet.
When visitor's first time couple in router, it is necessary to carry out authentication to visitor, router carries out identity to visitor
Certification includes following two scenes:
The first:Management terminal is in the service range of router, i.e. management terminal current Access Router.
Second:Pipeline terminal is not in the service range of router, i.e. the current non-couple in router of management terminal.
It is illustrated in figure 6 under the first scene, router carries out the schematic diagram of authentication to visitor.Router will connect
The networking request of the visitor received is transmitted to management terminal, and management terminal carries out authentication to visitor, if certification success, permits
Perhaps visitor accesses network by router, if authentification failure, does not allow visitor's couple in router.
As shown in fig. 7, under the first scene, the process that router carries out authentication to visitor specifically includes following step
Suddenly:
Step S701:Visitor passes through visitor's terminal request couple in router.
Step S702:The facial image of visitor is obtained by the camera of visitor's terminal.
Step S703:Whether the facial image of router authentication visitor meets sets requirement, if then performing step S704;
If it is not, then terminate process.
Step S704:The facial image of visitor is sent to management terminal by router.
Specifically, mac address information of the router according to the management terminal of storage, pipe is sent to by the facial image of visitor
Manage terminal.
Step S705:Manager determines whether visitor's terminal couple in router according to the face information of visitor, if so,
Step S706 is then performed, if it is not, then terminating process.
Manager can view the face information of visitor by management terminal, so as to judge visitor whether be trust visit
Visitor, and will determine that result feeds back to router.
Step S706:Router generates visitor's recognition of face code according to the face information of visitor, and by visitor's recognition of face
Code is sent to visitor's terminal.
Visitor's identification code in the present embodiment is equivalent to visitor's inbound information in first embodiment.
Step S707:Router obtains the mac address information of visitor's terminal, IMEI information.
Step S708:Router sends the mac address information of visitor's terminal, IMEI information and visitor's recognition of face code
To external server.
Further, when visitor accesses internet again, such as Fig. 8, internet is accessed according to following steps:
Step S801:Networking solicited message is sent to router by visitor's terminal.Wherein, networking solicited message includes:Visit
Mac address information, IMEI information and the visitor's recognition of face code of objective terminal.
Step S802:Router is verified to networking solicited message, if being proved to be successful, step S803 is performed, if testing
Card failure, then terminate process.
In the case of authentication failed, router sends reminder message to management terminal, to cause being vigilant for manager.
Step S803:The visitor's terminal that router allows accesses internet, and sends guest access information to management terminal.Visit
Objective access information includes:Visitor when first time accessing network the facial image of typing, visitor's terminal mac address information,
IMEI information.
Manager is by checking that guest access information judges whether the visitor for accessing network is legal, to be found as manager
Illegal visitor takes corresponding measure when accessing network.
It is illustrated in figure 9 the schematic diagram for carrying out authentication to visitor by device in a second possible scenario.Router will receive
To visitor networking request be transmitted to external server, networking request is sent to management terminal by external server again, management
Terminal-pair visitor carries out authentication, if certification success, allows visitor to access network by router, if authentification failure,
Visitor's couple in router is not allowed.
Such as Figure 10, in a second possible scenario, the process that router carries out authentication to visitor specifically includes following steps:
Step S1001:Visitor passes through visitor's terminal request couple in router.
Step S1002:The facial image of visitor is obtained by the camera of visitor's terminal.
Step S1003:Whether the facial image of router authentication visitor meets sets requirement, if so, then performing step
S1004;If it is not, then terminate process.
Step S1004:The facial image of visitor is sent to external server by router.
Step S1005:The facial image of visitor is sent to management terminal by external server.
Specifically, mac address information of the external server according to the management terminal of storage, the facial image of visitor is sent
To management terminal.
Step S1006:Manager determines whether visitor's terminal couple in router according to the face information of visitor, if
It is step S1007 then to be performed, if it is not, then terminating process.
Step S1007:Router generates visitor's recognition of face code according to the face information of visitor, and by visitor's recognition of face
Code is sent to visitor's terminal.
Step S1008:Router obtains the mac address information of visitor's terminal, IMEI information.
Step S1009:Router sends out the mac address information of visitor's terminal, IMEI information and visitor's recognition of face code
Give external server.
Further, when visitor accesses internet again, such as Figure 11, internet is accessed according to following steps:
Step S1101:Networking solicited message is sent to router by visitor's terminal.Wherein, networking solicited message includes:Visit
Mac address information, IMEI information and the visitor's recognition of face code of objective terminal.
Step S1102:Router is verified to networking solicited message, if being proved to be successful, step S903 is performed, if testing
Card failure, then terminate process.
Step S1103:The management terminal that router allows accesses internet, and sends guest access letter to external server
Breath.Guest access information includes:The facial image of typing, the MAC Address of visitor's terminal when first time accessing network of visitor
Information, IMEI information.
Step S1104:Guest access information is sent to management terminal by external server again.
Manager is by checking that guest access information judges whether the visitor for accessing network is legal, to be found as manager
Illegal visitor takes corresponding measure when accessing network.
A kind of fourth embodiment of the invention, device for the checking that networks, as shown in figure 12, specifically includes consisting of part:
1) receiving module 1201, for receiving the networking checking information for accessing terminal and sending, wherein, networking checking information
It is to access terminal in network registration according to the Face image synthesis for accessing terminal user.
Wherein, accessing terminal includes:Router administration terminal and visitor's terminal;Router administration terminal is used to manage visitor
The internet behavior of terminal.
Specifically, the device also includes:
Manager's Registering modules, for carrying out network registration to router management terminal, receive by router administration terminal
The facial image of the management of end-user sent;The facial image of management of end-user is obtained by the camera of management terminal
Get;According to the facial image of management of end-user, according to set algorithm, the networking checking for calculating router administration terminal is believed
Breath;The networking checking information of router administration terminal is stored, and the networking checking information of router administration terminal is sent to road
By device management terminal.
When the network of router administration terminal First Contact Connections router, management is obtained by the camera of management terminal
The facial image of terminal user.Router calculates generation networking checking information according to the facial image of management of end-user, and will
Networking checking information is stored into router and router administration terminal.When router administration terminal is again coupled to the net of router
During network, router administration terminal only need to send networking checking information to router, and router is entered according to networking checking information
Net checking.
Further, the device also includes:
Visitor's Registering modules, for carrying out network registration to visitor's terminal, it is whole to receive the visitor sent by visitor's terminal
The facial image of end subscriber;Wherein, the facial image of visitor terminal user is got by the camera of visitor's terminal;Will
The facial image of visitor terminal user is sent to router administration terminal, so that router administration terminal is according to visitor terminal user
Facial image to visitor's terminal carry out authentication;When receiving the authentication success that is sent by router administration terminal
During information, according to the facial image of visitor terminal user, according to set algorithm, the networking checking information of calculating visitor's terminal;Deposit
The networking checking information of visitor's terminal is stored up, and the networking checking information of visitor's terminal is sent to visitor's terminal.
When the network of visitor's terminal First Contact Connections router, visitor's terminal is obtained by the camera of visitor's terminal and used
The facial image at family.The facial image of visitor terminal user is sent to router administration terminal by router.Router administration is whole
End judges whether visitor's terminal is user terminal trusty according to the facial image of objective terminal user, if so, then router root
Generation networking checking information is calculated according to the facial image of objective terminal user.By networking checking information storage to router and management eventually
In end.When visitor's terminal is again coupled to the network of router, visitor's terminal need to only send networking checking information breath to router,
Router carries out networking checking according to networking checking information.
Further, visitor's Registering modules, it is specifically used for:
Judge router administration terminal it is current whether the network of couple in router;If so, then by the people of visitor terminal user
Face image is sent to router administration terminal;If it is not, the facial image of visitor terminal user is then sent to external server, with
The facial image of visitor terminal user is sent to router administration terminal again for external server.
2) authentication module 1202, for carrying out networking checking to accessing terminal based on networking checking information, if being proved to be successful,
Then allow the network for accessing terminal couple in router.
Specifically, the device also includes:
Alarm module, in the case where carrying out networking authentication failed to access terminal, being sent out to router administration terminal
Send warning message.
The method and apparatus for the networking checking introduced in the embodiment of the present invention, using face recognition technology, according to user's
Facial image forms the networking checking information for replacing conventional cipher, of the invention compared to traditional password authentification mode
Verification mode is more difficult to crack.When there is common visitor's connection route device, it is necessary to obtain the agreement of the manager of router;It is non-when having
During method visitor's couple in router, the manager of router is notified that, so as to ensure that the security of access visitor.Corresponding tradition
Setting router mode, the present invention set router mode it is simple, without user possess specialty knowledge, be easy to grasp
Make, convenient management.
By the explanation of embodiment, should can to the present invention for reach technological means that predetermined purpose is taken and
Effect is able to more go deep into and specific understanding, but appended diagram is only to provide reference and purposes of discussion, not for this
Invention is any limitation as.