Method and apparatus for allocating and obtaining IP address
First Claim
1. A method for allocating an IP address, the method comprising:
- sending an authentication request message to a client at intervals of a preset duration, wherein the authentication request message is used to instruct the client to re-send authentication information of a user;
receiving a response message sent by the client, wherein the response message carries authentication information of the user;
sending an authentication message to a server according to the response message, wherein the authentication message carries the authentication information of the user;
receiving an authentication reply message sent by the server, wherein the authentication reply message carries information about an authentication domain authorized by the server to the user, wherein the authentication domain comprises a database that can be accessed by the user;
determining, according to the authentication reply message, whether the authentication domain of the user is changed; and
if the authentication domain of the user is changed, sending an authentication domain change message to the client according to the authentication reply message, wherein the authentication domain change message is used to enable the client to obtain a new IP address according to the authentication domain change message.
1 Assignment
0 Petitions
Accused Products
Abstract
A switch sends an authentication request message to a client at intervals of a preset duration. A response message sent by the client is received. The response message carries authentication information of a user carried on the client. An authentication message is sent to a server according to the response message. An authentication reply message sent by the server is received. The authentication reply message carries information about an authentication domain authorized by the server to the user. It is determined, according to the authentication reply message, whether the authentication domain of the user is changed. If the authentication domain of the user is changed, an authentication domain change message is sent to the client according to the authentication reply message, so that the client obtains an IP address again.
5 Citations
19 Claims
-
1. A method for allocating an IP address, the method comprising:
-
sending an authentication request message to a client at intervals of a preset duration, wherein the authentication request message is used to instruct the client to re-send authentication information of a user; receiving a response message sent by the client, wherein the response message carries authentication information of the user; sending an authentication message to a server according to the response message, wherein the authentication message carries the authentication information of the user; receiving an authentication reply message sent by the server, wherein the authentication reply message carries information about an authentication domain authorized by the server to the user, wherein the authentication domain comprises a database that can be accessed by the user; determining, according to the authentication reply message, whether the authentication domain of the user is changed; and if the authentication domain of the user is changed, sending an authentication domain change message to the client according to the authentication reply message, wherein the authentication domain change message is used to enable the client to obtain a new IP address according to the authentication domain change message. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for obtaining an IP address, the method comprising:
-
receiving an authentication request message sent by a switch at intervals of a preset duration, wherein the authentication request message is used to instruct a client to re-send authentication information of a user; sending a response message to the switch, wherein the response message carries authentication information of the user; if an authentication domain of the user is changed, receiving an authentication domain change message sent by the switch, wherein the authentication domain change message is generated by the switch according to an authentication reply message sent by a server, the authentication domain comprising a database that can be accessed by the user; and obtaining a new IP address according to the authentication domain change message. - View Dependent Claims (9, 10, 11, 12)
-
-
13. An apparatus for allocating an IP address, the apparatus comprising:
-
a first sending unit, configured to send an authentication request message to a client at intervals of a preset duration, wherein the authentication request message is used to instruct the client to re-send authentication information of a user; a first receiving unit, configured to receive a response message sent by the client, wherein the response message carries authentication information of the user; a second sending unit, configured to send an authentication message to a server according to the response message, wherein the authentication message carries the authentication information of the user; a second receiving unit, configured to receive an authentication reply message sent by the server, wherein the authentication reply message carries information about an authentication domain authorized by the server to the user, wherein the authentication domain comprises a database that can be accessed by the user; and a determining unit, configured to determine, according to the authentication reply message, whether the authentication domain of the user is changed; wherein the first sending unit is further configured to send an authentication domain change message to the client according to the authentication reply message if the authentication domain of the user is changed, wherein the authentication domain change message is used to enable the client to obtain a new IP address according to the authentication domain change message. - View Dependent Claims (14, 15, 16)
-
-
17. An apparatus for obtaining an IP address, the apparatus comprising:
-
a receiving unit, configured to receive an authentication request message sent by a switch at intervals of a preset duration, wherein the authentication request message is used to instruct a client to re-send authentication information of a user; and a sending unit, configured to send a response message to the switch, wherein the response message carries authentication information of the user; wherein the receiving unit is further configured to, if an authentication domain of the user is changed, receive an authentication domain change message sent by the switch, wherein the authentication domain change message is generated by the switch according to an authentication reply message sent by a server, the authentication domain comprises a database that can be accessed by the user; and an obtaining unit, configured to obtain a new IP address according to the authentication domain change message. - View Dependent Claims (18, 19)
-
Specification