Background
AAA is short for Authentication, Authorization and Accounting, and is also a mechanism or system for network security management that can process a request from a user to access a network and provide Authentication, Authorization, Accounting and account services for a client, and has a main function of managing the user to access the network and providing services of corresponding levels to users with access rights. AAA adopts a client/server model, the client runs on a Network Access Server (NAS) and the AAA server manages the client information in a centralized way. The AAA server typically works in conjunction with network access control, gateway servers, and network element devices including databases of user information, directories, etc.
In existing IP charging networks (including different types of networks that charge on a per-flow basis or a per-online duration basis), a common solution is to use Portal protocol in conjunction with AAA server to perform control and management of authentication, authorization, and charging of clients. Referring to fig. 1, a typical networking mode and structure thereof will be described:
in the system of the networking mode architecture, the set network elements comprise: authentication client, NAS server, Dynamic Host Configuration Protocol (DHCP) server, Portal server, AAA server and external Internet network connected via NAS. The authentication client is a user terminal computer or an intelligent terminal comprising an intelligent mobile phone and a set top box; the DHCP server is used for distributing an IP address for the authentication client when the client is accessed to the network; the NAS server is a general term of gateway equipment such as a router, a charging gateway and the like, has the functions of controlling network access of an authentication client, redirecting all hypertext transfer protocol (HTTP) requests to a Portal server before the authentication client completes authentication, completing the functions of identity authentication, authorization and charging of the authentication client through interaction with the Portal server and an AAA server in the authentication process of the client, and allowing the client to access authorized Internet resources after the client passes authentication (including identity authentication and authorization); the Portal server provides a WEB Portal and an authentication interface for a server system receiving an authentication request of an authentication client, and completes authentication, authorization and charging of the authentication client by interacting authentication information of the authentication client with the NAS server and interacting with the AAA server by the NAS server.
The interactive process of the authentication client, the NAS server, the Portal server and the AAA server is a traditional Portal verification process in the existing network system, and the process is as follows:
(1) the authentication client sends an IP address request to the DHCP server, and the DHCP server issues an IP address for the authentication client.
(2) When the authentication client side is not authenticated, an HTTP access request of an Internet Uniform Resource Locator (URL) address is input into the browser, and the HTTP access request is redirected to a WEB authentication webpage of the Portal server when passing through the NAS server.
(3) The authentication information input by the authentication client in the browser is submitted to the Portal server, and the Portal server receives the authentication information input by the user and then sends the authentication information to the NAS server.
(4) The NAS server interactively communicates with the AAA server and sends the authentication information of the authentication client to the AAA server so that the AAA server can execute the authentication and authorization operation of the client.
(5) After the authentication and authorization pass, the NAS server opens a passage between the authentication client and the Internet and allows the IP address of the authentication client to access the Internet; while the NAS server sends accounting (i.e., accounting) information to the AAA server.
(6) When the authentication client end finishes Internet access, the logout page of the Portal server is accessed and the access request for finishing the access is submitted, and the Portal server informs the NAS server to disconnect the access between the authentication client end and the Internet and forbid the authentication client end from accessing the Internet by the IP address. The NAS server informs the AAA server to end accounting for the authenticated client.
In addition, if the authentication client does not actively log off the Internet connection (for example, the authentication client directly disconnects the network connection, closes the operating system, and the mobile client closes the wireless WIFI network), the NAS server actively disconnects the access between the IP address of the authentication client and the Internet after the set idle time is over, and notifies the AAA server to stop charging for the authentication client.
Based on the above analysis, the charging management of the authentication client currently has the following disadvantages:
when the authentication client accesses the network, the authentication client needs to enter a WEB authentication page, and can access the network only after manually inputting an account number and a password for identity authentication. Some terminal devices (such as printers, special servers and the like) without graphical operation interfaces can not be verified through the Portal server. Therefore, how to improve the authentication process of identity and charging when the current client requests to access the network system becomes a new topic that is concerned by technical personnel in the industry.
Disclosure of Invention
In view of the above, the present invention provides a non-aware authentication and authorization network system based on dynamic temporary password creation and a working method thereof, and the system and the method of the present invention can be applied to two networking modes of a proxy AAA server and a network system without a proxy AAA server. The system is additionally provided with a non-perception authentication device, an authentication client or an intelligent terminal is bound to the non-perception authentication device, a one-time-use temporary password corresponding to a user account is dynamically created, and non-perception authentication authorization is realized; the trouble that a user needs to manually input an account password for authentication every time when the user accesses the network for the first time is avoided. Meanwhile, in the authentication process, a dynamically generated one-time temporary password is used, so that the original password of the user is not needed; and only interacting with trusted nodes (DHCP server, NAS server, Portal server, non-sensing authentication device and AAA server), therefore, the invention can also avoid the risk of user account or password information leakage and ensure the communication security.
In order to achieve the above object, the present invention provides a non-aware authentication and authorization network system based on dynamic temporary password creation, wherein the system includes two IP charging network systems with or without a proxy AAA server, and the two network systems respectively include the following network elements: an authentication client, a Dynamic Host Configuration Protocol (DHCP) server, a Network Access Server (NAS) and an external Internet network, an entrance Portal server, an AAA server and a proxy AAA server which are connected through the NAS server; the method is characterized in that:
the non-inductive authentication authorization system comprises two network IP charging network systems, wherein a non-inductive authentication device for binding an authentication client or an intelligent terminal is additionally arranged in each of the two network IP charging network systems, and dynamically establishes a One-time Password (OTP) corresponding to a user account, so that the non-inductive authentication authorization is realized, and the trouble that a user needs to manually input a Password every time the user surfs the internet is avoided; meanwhile, because the one-time temporary password authentication generated dynamically is used, the original password of the user is not needed; in the authentication process, only the trusted node is interacted, so that the user account information is prevented from being revealed, and the communication safety is ensured; wherein:
the authentication client is a user terminal computer or an intelligent terminal comprising an intelligent mobile phone and a set top box;
the DHCP server is used for distributing an IP address for the authentication client when the authentication client accesses the network;
NAS server and external Internet network connected via it, NAS is the gateway equipment including router, charging gateway is known as a general name, is used for controlling and managing the network access of the authentication customer end: before the authentication client finishes authentication, all hypertext transfer protocol (HTTP) requests of the client are redirected to a Portal server; in the authentication process of the authentication client, the authentication client interacts with an imperceptible authentication device, a Portal server, a proxy AAA server or/and an AAA server respectively to complete the functions of identity authentication, safety authentication, authorization and charging of the authentication client; after the authentication client finishes authentication and authorization, allowing the authentication client to access authorized Internet resources;
the non-perception authentication device is responsible for interacting with a Portal server, a DHCP server, an NAS server and a proxy AAA server or an AAA server respectively, executing the binding of an authentication client or an intelligent terminal, dynamically creating a corresponding one-time-use temporary password OTP, and realizing non-perception authentication;
the Portal server is an access server for receiving the authentication request of the authentication client and is used for providing a WEB Portal and an authentication interface;
AAA server, which is used to cooperate with the relative network element and execute the complete identity authentication, safety authentication, authorization and accounting functions of the authentication client; and when necessary, the user is forced to be offline;
the proxy AAA server is only arranged in a network system with the proxy AAA server and is responsible for identifying and authenticating the one-time-use temporary password OTP of the authentication client, processing AAA messages except the OTP authentication and then forwarding the AAA messages to the AAA server.
In order to achieve the above object, the present invention further provides a working method of the imperceptible authentication authorization network system based on dynamic temporary password creation, which is characterized in that: when an authentication client accesses a network for the first time, a user account and an original password are manually input, and identity authentication and authorization are carried out; when the authentication client is accessed into the network every time later, the DHCP server also interacts with the non-sensing authentication device while issuing an IP address for the authentication client, searches the internet access account number of the user according to the characteristic information of the client, and dynamically generates a one-time-use temporary password OTP corresponding to the user account number for the user account number by the non-sensing authentication device; the non-perception authentication device initiates a login request and identity authentication to the NAS server by the user account and the one-time temporary password OTP corresponding to the user account, so that the user does not need to manually input the account password for identity authentication every time of surfing the Internet, and the non-perception authentication is realized; and the leakage of user password information is avoided, and the communication safety is ensured.
The invention relates to a non-perception authentication authorization network system based on dynamic creation of temporary passwords and a working method thereof, and the innovative advantages and the technical characteristics are as follows:
the technical key of the invention is that a non-perception authentication device is added in the system, an authentication client or an intelligent terminal is bound in the non-perception authentication device, and a one-time-use temporary password corresponding to a user account is dynamically created to realize non-perception authentication authorization.
Other key technologies of the invention also include: the non-perception authentication device in the system can dynamically create a one-time temporary password with working time limit for an authentication client or an intelligent terminal of a bound account, the dynamically generated one-time temporary password is randomly generated and can be authenticated within the set working time limit for one time to be effective, and the authentication is invalid after one time; or, if the time limit exceeds the set time limit, the temporary password is invalidated even if it is not used for authentication. In addition, the AAA service in the system can complete the authentication of the user identity according to the one-time temporary password, and the rest operations of the authorization and accounting flow steps are still performed according to the original flow.
The invention well solves the technical defect that the prior art can not safely and effectively implement the non-inductive authentication in the Portal authentication mode, and after the system and the method are used, a user can automatically and directly access the network when accessing the network again after finishing binding the terminal; therefore, the trouble that the account number and the password are manually input to carry out Portal authentication every time the internet is accessed is avoided when the internet is not accessed for the first time. Moreover, in the authentication process, the operation of the user account and the original password is not involved, and a dynamically generated one-time temporary password is used; and only with node network elements such as trusted DHCP server, NAS server, Portal server, unaware authentication device, AAA server, etc., communicate and interact, even if the user modifies the account password again after the first binding is finished, do not need to carry on any other operation step any more, can avoid revealing user's account or password, guarantee the communication security.
The system and the working method thereof can be matched with NAS equipment (comprising a plurality of gateway network elements such as routers and gateways) of a plurality of manufacturers, and are suitable for network systems with proxy AAA servers and network systems without proxy AAA servers. The invention only slightly modifies the partial flow of the authentication operation of the AAA server: in the network system using proxy AAA server, transferring the authentication part function of AAA server to proxy AAA server; and in a network system without using the proxy AAA server, the authentication operation of the AAA server needs to add a verification operation step of the one-time temporary password. Other subsequent authorization and accounting operation flows have no change, and the charging policy of the user (including the condition that the identity authentication is valid but the access authorization is denied) is not influenced. The invention can also carry out the output control, namely, the Portal authentication is supported; because the interface workflow and the service processing logic of any NAS server and AAA server are not changed, the compatibility is very strong, and the implementation and the popularization are simple and easy.
In a word, the system and the working method thereof have good popularization and application prospects.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the accompanying drawings.
Referring to fig. 2 and fig. 3, the structural components of a non-perceptual authentication authorization network system based on dynamic temporary password creation according to the present invention include two IP charging network systems: with or without a proxy AAA server (as shown in fig. 2).
The two network systems respectively comprise the following network elements: the authentication client, the dynamic host configuration protocol DHCP server, the network access server NAS, the external Internet network, the entrance Portal server, the AAA server and the proxy AAA server which are connected through the network access server NAS, and the added key equipment and the non-inductive authentication device for binding the authentication client or the intelligent terminal, wherein the non-inductive authentication device dynamically creates a one-time-use temporary password OTP corresponding to a user account number, realizes non-inductive authentication authorization, and avoids the complexity that the user needs to manually input the password every time the user surfs the Internet; meanwhile, because the one-time temporary password authentication generated dynamically is used, the original password of the user is not needed; in the authentication process, only the trusted node is interacted (comprising a DHCP server, an NAS server, a Portal server, an unaware authentication device, an AAA server and a proxy AAA server), so that the user account information is prevented from being leaked, and the communication safety is ensured. Wherein:
and the authentication client is a user terminal computer or an intelligent terminal comprising an intelligent mobile phone and a set top box.
And the DHCP server is used for allocating an IP address for the client when the client is authenticated to access the network.
NAS server and external Internet network connected via it, NAS is the gateway equipment including router, charging gateway is known as a general name, is used for controlling and managing the network access of the authentication customer end: before the authentication client finishes authentication, all hypertext transfer protocol (HTTP) requests of the client are redirected to a Portal server; in the authentication process of the authentication client, the authentication client interacts with an imperceptible authentication device, a Portal server, a proxy AAA server or/and an AAA server respectively to complete the functions of identity authentication, safety authentication, authorization and charging of the authentication client; and after the authentication client finishes authentication and authorization, allowing the authentication client to access the authorized Internet resources.
And the non-perception authentication device is responsible for interacting with a Portal server, a DHCP server, an NAS server and a proxy AAA server or an AAA server respectively, executing the binding of an authentication client or an intelligent terminal, dynamically creating a corresponding one-time-use temporary password OTP, and realizing non-perception authentication.
And the Portal server is an access server for receiving the authentication request of the authentication client and is used for providing a WEB Portal and an authentication interface.
AAA server, which is used to cooperate with the relative network element and execute the complete identity authentication, safety authentication, authorization and accounting functions of the authentication client; and when necessary, the user is forced to be offline.
The proxy AAA server is only arranged in a network system with the proxy AAA server and is responsible for identifying and authenticating the one-time temporary password (OTP) of the authentication client, processing AAA messages except the OTP authentication and then forwarding the AAA messages to the AAA server.
The invention also provides a working method of the non-perception authentication authorization network system based on the dynamic establishment of the temporary password, which comprises the following steps: when an authentication client accesses a network for the first time, a user account and an original password are manually input, and identity authentication and authorization are carried out; when the authentication client accesses the network every time later, the DHCP server also interacts with the non-sensing authentication device while issuing an IP address for the authentication client, searches the internet access account number of the user according to the characteristic information (at least comprising the media access control MAC address, namely the hardware address) of the client, and dynamically generates a one-time-use temporary password OTP corresponding to the user account number by the non-sensing authentication device; the non-perception authentication device initiates a login request and identity authentication to the NAS server by the user account and the one-time temporary password OTP corresponding to the user account, so that the user does not need to manually input the account password for identity authentication every time of surfing the Internet, and the non-perception authentication is realized; and the leakage of user password information is avoided, and the communication safety is ensured.
Referring to fig. 4, the specific operation steps of the working method of the present invention are described:
step 1, when the authentication client is accessed to the network for the first time, the user account and the original password are manually input, and identity authentication and authorization are carried out.
Step 2, when the authentication client accesses the network for the first time, the DHCP server issues an IP address for the authentication client, and interacts with the non-sensing authentication device according to the characteristic information of the client at least comprising a Media Access Control (MAC) address; the non-perception authentication device finds the internet access account bound to the authentication client, dynamically generates a one-time-use temporary password OTP for the internet access account, and then initiates a login request and identity authentication to the NAS server by using the user account and the corresponding one-time-use temporary password OTP, so that non-perception authentication authorization is realized, the user does not need to repeatedly perform the tedious operation of manually inputting an original password to perform identity authentication every time the user surfs the internet, and the communication is safe.
Referring to fig. 5, the specific operation steps of step 1 of the working method of the present invention are described:
step 11, the authentication client initiates an IP address request to the DHCP server.
And step 12, the DHCP server issues an IP address for the authentication client.
Step 13, the authentication client side initiates an HTTP access request, and the NAS server redirects the access request to a WEB Portal and an authentication interface of the Portal server.
And step 14, the user inputs identity authentication information comprising a user account and an original password in the WEB Portal and the authentication interface, and the Portal server sends the identity authentication information to the NAS server.
Step 15, the NAS server sends the authentication information to a proxy AAA server or an AAA server, and the proxy AAA server forwards the identity authentication request information to an upstream AAA server to verify the identity authentication information; or the AAA server directly performs authentication information verification.
If the verification is not passed, the verification result is returned to the NAS server, the NAS server prohibits the authentication client from accessing other network resources except the WEB portal and the authentication interface, and the flow is ended.
If the verification is passed, the verification result is returned to the NAS server, and the NAS server returns the verification result to the Portal server again, and the step 16 is continuously executed.
And step 16, the NAS server releases the authentication client, allows the authentication client to access network resources, and sends an accounting message to the proxy AAA server, or the NAS server directly sends the accounting message to the AAA server.
The non-sensing authentication device receives the authenticated authentication result information of the authentication client side comprising the internet access account number and the associated IP address from the Portal server, and acquires the identity characteristic information of the authentication client side comprising the MAC address from the DHCP server, so as to automatically execute and finish the binding of the authentication client side and the user account number.
And step 17, the proxy AAA server transmits the accounting message to an upstream AAA server, so that the AAA server triggers and detects the online and charging strategy of the user by using the accounting message, and executes the charging operation.
Or the NAS server directly sends the accounting message to the AAA server, and the AAA server triggers and detects the online and charging strategies of the user by using the accounting message and executes the charging operation.
When the user net charge balance is not enough and the user needs to be forced to be offline, the AAA server adopts an authorization change CoA (Change of authorization) message to force the authentication client to be offline.
It should be noted that, in step 1, if the authentication client is an intelligent terminal which cannot access the WEB portal using a browser and includes a set-top box, the following two steps are executed to perform corresponding operation contents as follows:
and step 13a, the user accesses the WEB portal and the authentication interface on other clients.
Step 14a, the user manually selects the IP address of the authentication client to be bound on the authentication interface, and the Portal server sends the authentication information and the client information selected by the user to the NAS server.
And the contents of other operation steps from step 11 to step 17 are kept consistent.
Another need to be mentioned is that: in the above method of the present invention, step 14 and step 15, there is another processing method: the non-perception authentication device does not check whether the user identity is legal through an NAS server, but directly acquires a user account number, an original password and an IP address of an authentication client from a Portal server and then automatically executes a check operation; the method comprises the following specific operation contents:
and step 14b, the user inputs identity authentication information comprising a user account number and an original password in the WEB Portal and the authentication interface, and the Portal server directly sends the identity authentication information to the unaware authentication device.
And step 15b, the non-sensing authentication device sends the user account number, the original password and the identity authentication information of the IP address of the authentication client to the proxy AAA server or the AAA server, and the proxy AAA server forwards the identity authentication request information to an upstream AAA server for identity authentication information verification. Or the AAA server directly performs authentication information verification.
The specific operation content of verifying whether the operation is passed is the same as that of step 15, and is not described herein again.
Referring to fig. 6, the specific operation steps of step 2 of the working method of the present invention are described:
step 21, the authentication client initiates an IP address request to the DHCP server.
Step 22, the DHCP server issues an IP address for the authentication client and sends the online information of the authentication client to the unaware authentication device; and the non-sensing authentication equipment finds the Internet access account bound by the user according to the characteristic information of the authentication client, and dynamically generates a one-time temporary password (OTP) for the Internet access account.
In this step, the non-sensing authentication device sets a one-time working time limit for a one-time temporary password OTP dynamically generated by authenticating the internet account bound to the client: namely, the authentication can be effective only once within the set working time limit, and the authentication becomes invalid after once; or, if the password exceeds the set time limit, the password is invalidated even if it is not used for authentication.
And step 23, the non-sensing authentication device initiates a login request to the NAS server by using the Internet access account, and sends the user Internet access account and the one-time temporary password created in the step (22) to the NAS server for identity authentication.
And step 24, after receiving the login request, the user account and the corresponding one-time temporary password, the NAS server sends the data to the proxy AAA server or the AAA server for authentication.
Step 25, the proxy AAA server or AAA server receives the user account and temporary password, and compares the user account and temporary password with the actual original password of the user account for verification; and if the verification fails, verifying the correctness of the temporary password to the non-perception authentication device.
If the verification fails, returning the verification failure result to the NAS server, and the NAS server forbidding the authentication client side to access other network resources except the WEB portal and the authentication interface, and ending the flow; or the user continues to execute the traditional authentication operation flow of the Portal server: the user account and the original password are manually entered.
If the verification is passed, the verification result is sent to the NAS server, and the NAS server releases the authentication client, and continues to perform step 26 after sending the accounting message to the proxy AAA server or the AAA server.
And step 26, the proxy AAA server forwards the accounting message and the user account to an upstream AAA server, and the AAA server triggers and detects the online and charging strategy of the user by using the accounting message to perform charging operation.
Or after receiving the accounting message from the NAS server, the AAA server directly uses the accounting message and the user account to trigger and detect the online and charging strategies of the user so as to carry out charging operation.
Step 27, when the user network charge balance is not enough and the user needs to be forced to be off-line, the AAA server sends an authorization change CoA message to the proxy AAA server; the proxy AAA server sends the CoA message to the NAS server, and the NAS server forces the non-sensing user to be offline and returns an accounting message.
Or the AAA server directly sends the CoA message to the NAS server, forces the non-sensing user to be offline and returns an accounting message.
The invention has carried out a plurality of implementation tests, one of which is in the five-stage optimization of the campus network of Beijing post and telecommunications university: the invention adopts the structural composition of the non-perception authentication and authorization system based on dynamic temporary password creation and the working method thereof in the network system without the proxy AAA server. The authentication client is connected with the NAS server, the DHCP server, the Portal server, the AAA server and the non-perception authentication device through the campus network, the authentication client which is accessed into the network system for the first time is authenticated by manually inputting a user account and an original password by a user, and the non-perception authentication device binds the terminal equipment and the user account and creates a corresponding one-time temporary password. The non-sensing authentication device initiates a login request by adopting a one-time temporary password corresponding to a user account of the terminal equipment without manually authenticating by a user when the authentication client is not accessed to a network for the first time.
The multiple tests of the embodiment of the invention are successful, and the aim of the invention is achieved.