CN103634792A - Method, device and system for monitoring WLAN network user state and client - Google Patents

Method, device and system for monitoring WLAN network user state and client Download PDF

Info

Publication number
CN103634792A
CN103634792A CN201210309242.XA CN201210309242A CN103634792A CN 103634792 A CN103634792 A CN 103634792A CN 201210309242 A CN201210309242 A CN 201210309242A CN 103634792 A CN103634792 A CN 103634792A
Authority
CN
China
Prior art keywords
client
offline
address
response message
portal server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210309242.XA
Other languages
Chinese (zh)
Other versions
CN103634792B (en
Inventor
曾海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210309242.XA priority Critical patent/CN103634792B/en
Publication of CN103634792A publication Critical patent/CN103634792A/en
Application granted granted Critical
Publication of CN103634792B publication Critical patent/CN103634792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method for monitoring a WLAN network user state, a device for monitoring the WLAN network user state, a system for monitoring the WLAN network user state, and a client. The method for monitoring the WLAN network user state comprises the following steps that: when an authenticated client is forced to go offline, and an AC obtains a reason for the offline of the client from a Portal server and records the reason; and when receiving a state query request of the client, the AC transmits the offline state of the user and the reason for the offline to the client, and therefore, the user can timely know that the state of the user becomes the offline state and the reason for the offline when the user is forced to go offline, and burden to a network will not be increased. The invention relates to the field of mobile communication.

Description

Method, device, client and system for monitoring WLAN network user state
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, a client, and a system for monitoring a user status in a WLAN network.
Background
At present, Wireless Local Area Network (WLAN) networks in many public places all adopt Portal authentication, when an unauthenticated user accesses the internet, an Access Controller (AC) supporting Portal authentication in the WLAN forces the user to log in a specific site, and the user can use internet resources only after inputting a user name and a password at the site and successfully authenticating. In the existing WLAN supporting Portal, a wireless Access Point (AP) transmits a data packet of a user to an AC, and a plurality of APs are centrally controlled by the AC and then are centrally processed by the AC. When the user successfully goes online, the AC adds the MAC corresponding to the IP of the user into a trusted MAC list, and passes the network connection request of the user, and the user can start to access the Internet.
After the user is successfully authenticated, except that the user can actively initiate the offline request, the provider of the WLAN service can specify the network end to initiate the process of forcing the user to be offline according to the service logic, in combination with the service quality and the current resource, and the reason for the network end to initiate the process of forcing the user to be offline includes: the time length of the user connecting the network reaches a preset time value, the time length of the user not generating flow reaches the preset time value, the user logs in a new place, the user package is exhausted, and the like.
However, when the network terminal forces the user to go offline for some reason, the terminal cannot timely know the information that the network is disconnected, and at this time, the terminal still displays that the current state is online, and the user cannot timely know the information of the actual network condition, the online time of the user, the offline reason and the like.
In the prior art, there are two available solutions, the first solution is that a user terminal periodically tries to access a web page to detect the network state of the user terminal; the second solution is that the user terminal accesses the Portal server periodically to inquire the state of itself. The first scheme has the disadvantages that if the user has forced offline, the terminal can only inquire the offline, and cannot acquire an accurate reason for the offline; the second solution has the disadvantage that although the forced offline user can obtain the offline reason of the user by accessing the Portal server, since Portal is deployed in a centralized manner, Portal will process the query requests of all users governed by all ACs, and Portal needs to query other network elements in the network for the online information of the user. Such centralized access to the Portal server and other network elements in the network may result in an increase in the overall burden on the network-side network elements.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a client and a system for monitoring WLAN network user states, which are used for timely acquiring the state change of an online user into an offline state and an offline reason when the online user is forcibly offline, and cannot increase network burden.
Based on the above problem, an embodiment of the present invention provides a method for monitoring a WLAN network user status, including:
when the access controller AC determines that the authenticated client is forced to be offline, sending a client offline request to an entrance Portal server, and receiving an offline response message responded by the Portal server, wherein the offline response message carries an offline reason of the client; the AC updates the state of the client to the offline state and records the reason of the offline;
when the AC receives the state query request sent by the client, the AC returns the state of the client to the client as the offline state and the offline reason.
The second method for monitoring the user status of the WLAN network provided by the embodiment of the present invention includes:
the entrance Portal server receives an offline request of a client terminal which is forced to be offline and sent by an access controller AC;
and the Portal server sends an offline response message to the AC, wherein the offline response message carries the offline reason of the client.
The third method for monitoring the user state of the WLAN network provided by the embodiment of the present invention includes:
after passing the authentication, the client sends a state query request to the access controller AC;
and receiving the state information of the client returned by the AC, wherein the state information comprises an offline state and an offline reason if the client is forced to be offline.
One of the devices for monitoring the user status of the WLAN network provided by the embodiments of the present invention includes:
the updating module is used for sending a client end offline request to the Portal server and receiving an offline response message responded by the Portal server when the client end passing the authentication is forced to be offline, wherein the offline response message carries the offline reason of the client end; updating the state of the client to be the offline state and recording the reason of offline;
and the query processing module is used for returning the state of the client to the client as an offline state and an offline reason when receiving the state query request sent by the client.
The second device for monitoring the user status of the WLAN network provided by the embodiment of the present invention includes:
the receiving module is used for receiving a logoff request of the client terminal forced to be offline, which is sent by the access controller AC;
and the offline response module is used for sending an offline response message to the AC, wherein the offline response message carries the offline reason of the client.
The embodiment of the invention provides a client, which comprises:
the sending module is used for sending a state query request to an Access Controller (AC) after the client passes the authentication;
and the receiving module is used for receiving the state information of the client returned by the AC, and if the client is forced to be offline, the state information comprises an offline state and an offline reason.
The embodiment of the invention provides a WLAN network user state monitoring system, which comprises:
the access controller AC is used for redirecting the network connection request to an entrance Portal server for authentication when receiving the network connection request of the client which is not authenticated, and the address of the AC is carried in a redirection message sent to the client; when the client passing the authentication is forced to be offline, sending a client offline request to the Portal server, and receiving an offline response message responded by the Portal server; updating the state of the client to be the offline state and recording the reason of offline; when a state query request sent by the client is received, the state of the client is returned to the client as an offline state and an offline reason;
and the Portal server is used for receiving the offline request of the client terminal forced to be offline sent by the AC and sending an offline response message to the AC, wherein the offline response message carries the offline reason of the client terminal.
The embodiment of the invention has the beneficial effects that:
according to the method, the device, the client and the system for monitoring the WLAN network user state, when the authenticated client is forced to be offline, the AC obtains and records the offline reason of the client from the Portal server, when the status query request of the client is received, the offline state of the user and the corresponding offline reason are sent to the client, as the WLAN users are distributed in the management range of each AC, each AC entity manages a part of users, and the network burden caused by centralized processing can not be caused, therefore, the method for monitoring the state of the client through the AC is used for realizing that when the online user is forced to be offline, the state of the client can be timely obtained to be changed into the offline state and the offline reason, and the network burden can not be increased.
Drawings
Fig. 1 is a flowchart of a method for monitoring a user status of a WLAN network according to an embodiment of the present invention;
FIG. 2 is a flowchart of an AC redirecting a client to a Portal server via an HTTP302 response message according to an embodiment of the present invention;
FIG. 3 is a flowchart of an AC redirecting a client to a Portal server via an HTTP200 response message according to an embodiment of the present invention;
fig. 4 is a flowchart of a second method for monitoring a user status of a WLAN network according to an embodiment of the present invention;
fig. 5 is a flowchart of a third method for monitoring a user status of a WLAN network according to an embodiment of the present invention;
fig. 6 is a flowchart of a process from authentication to forced logoff of a user terminal according to an embodiment of the present invention;
fig. 7 is a block diagram of one of the WLAN network user status monitoring apparatuses according to the embodiment of the present invention;
fig. 8 is a second block diagram of a WLAN network user status monitoring apparatus according to an embodiment of the present invention;
fig. 9 is a structural diagram of a client according to an embodiment of the present invention.
Detailed Description
The following describes specific embodiments of a method, an apparatus, a client, and a system for monitoring a WLAN network user status according to embodiments of the present invention with reference to the accompanying drawings.
One of the methods for monitoring the user status of the WLAN network provided in the embodiments of the present invention is a process at the AC side, as shown in fig. 1, the process specifically includes the following steps:
s101, when the AC determines that the authenticated client is forced to be offline, sending a client offline request to the Portal server, receiving an offline response message responded by the Portal server, updating the state of the client to be an offline state, and recording a client offline reason carried in the offline response message;
and S102, when the AC receives a state query request sent by the client, returning the state of the client to the client as an offline state and an offline reason.
Further, in the above method, before step S101, the method may further include:
s103, when the AC receives the network connection request of the client which is not authenticated, the AC redirects the network connection request to a Portal server for authentication, and sends the address of the AC to the client.
Further, in step S103, the sending, by the AC, the address of the AC itself to the client may include: the AC carries the address of the AC itself in a redirection message sent to the client.
Further, the address of the AC itself is carried in the redirection message sent by the AC to the client, and in specific implementation, the redirection message may be implemented in one of the following two ways:
the first method comprises the following steps: the AC sends a Hyper Text Transfer Protocol (HTTP) 302 response message to the client, wherein the HTTP302 response message carries the address of the Portal server and the address of the AC;
and the second method comprises the following steps: and the AC sends an HTTP200 response message to the client, wherein the HTTP200 response message carries the Portal server address and the address of the AC.
Preferably, in the first mode, a Uniform Resource Locator (URL) value of the Location message header of the HTTP302 response message includes an address of the Portal server and an address of the AC as a URL parameter.
As shown in fig. 2, the process of the AC redirecting the client to the Portal server through the HTTP302 response message includes the following steps:
s201, the client sends a network connection request to the AC;
s202, the AC returns an HTTP302 response message to the client, and the URL value of the Location message header in the HTTP302 response message contains the address of a Portal server and the AC address as a parameter;
s203, the client sends a connection request to a Portal server according to the URL value of the head of the Location message;
s204, the Portal server receives the connection request, analyzes the AC address in the URL value, and returns the analyzed AC address to the client side by carrying the analyzed AC address in the webpage content of the connection response message;
s205, the client analyzes and records the AC address in the received connection response message content, so as to inquire the state of the client in the following.
The following further illustrates the content of the HTTP302 response message: assuming that the address of the Portal server is HTTP://221.176.1.140/wlan/index.php, the name of the AC is 1016.0010.100.00, the IP of the AC is 117.128.216.1, and the IP of the client is 117.128.216.199, in step S202, the Location message header in the HTTP302 response message sent by the AC to the client to redirect its connection request may be: location http://221.176.1.140/wlan/index. phpmanacname =1016.0010.100.00& wlan acpi =117.128.216.1& wlan service = 117.128.216.199. In the value URL of the Location message header, except the address of the Portal server, the rest of the AC name (wlan acname), the IP address (wlan acip) of the AC, and the client IP (wlan useri) are parameters of the URL.
Further, in step S203, the client receives the HTTP302 response packet sent by the AC, but instead of analyzing the wlan name, wlan clip and wlan userp as parameters in the URL value of the Location header, the whole URL is used as the URL of the Portal server to access the Portal server.
In step S204, when the Portal server receives the connection request, it parses the URL, parses the address wlan acip of the AC, carries the address wlan acip in the content of the connection response message of the reply client, and sends the content to the client. For example, the Portal server includes the address of the AC in the input tag of the web page in the HTML page returning the connection response message, and one example is as follows:
<input type="hidden"name="wlanacip"value="117.128.216.1″>
wherein the type attribute of the input tag is "hidden", the name attribute is "wlan acpi", and the value attribute is "117.128.216.1";
in step S205, when the client receives the connection response message, the browser of the client can resolve that the address of the AC is 117.128.216.1, and the client saves the address for querying its own state in the future.
Preferably, the HTTP200 response message carries the address of the Portal server and the address of the AC itself, specifically, the address of the Portal server and the address of the AC are carried in the message content of the HTTP200 response message.
As shown in fig. 3, the process of the AC redirecting the client to the Portal server through the HTTP200 response message includes the following steps:
s301, the client sends a network connection request to the AC;
s302, the AC returns an HTTP200 response message to the client, and the content of the HTTP200 response message carries the Portal server address and the AC address;
s303, the client records the analyzed AC address so as to inquire the state of the client in the following;
s304, the client accesses the Portal server according to the address of the Portal server analyzed by the content of the HTTP200 response message;
s305, the client receives the page returned by the Portal server.
The contents of the HTTP200 response message are further illustrated below:
the HTML page of the HTTP200 response message may include the following information:
<input type="hidden"name="wlanacip"value="117.128.216.1″>
when the client receives the connection response message, the browser of the client can analyze that the address of the AC is 117.128.216.1, and the client accesses the Portal server according to the analyzed address of the Portal server and stores the address of the AC for inquiring the state of the AC in the future.
Further, in step S102, when the AC receives the status query request sent by the client, the status of the client is returned to the client as the offline status and the offline reason; and if the client side sends a state query request to the AC when the client side is online, the AC returns the state of the client side to be online.
The following examples illustrate: the client and the AC may communicate using HTTP and Hypertext Transfer Protocol Secure (HTTPs) protocols. If the client and the AC use HTTP protocol interaction, the message is transmitted in a plaintext form, and the security may not be guaranteed; therefore, it is better to use HTTPS protocol to interact between the client and the AC, and the message is transmitted in the form of ciphertext based on the security mechanism provided by SSL, and the security of data is guaranteed. Assume that the client sends a status query request to the AC over HTTPS protocol according to the recorded AC address 117.128.216.1 and username 13912345678: https://117.128.216.1/wlan/index. phpwlanusername =13912345678, when the AC receives the status query request, the AC sends the previously recorded user offline status and the reason for offline to the user through an HTML message according to the user name 13912345678, for example: <! -cmcccs | net _ status |1| exceeds 8 hours and descends line- >; for the online user, the online state HTML message may be: <! -cmcccs | net _ status |0| is online- -.
The second method for monitoring the user status of the WLAN network provided in the embodiment of the present invention is a process at the side of the Portal server, as shown in fig. 4, the process specifically includes the following steps:
s401, the Portal server receives a logout request of a client terminal forced to be logout sent by an AC;
s402, sending an offline response message to the AC, wherein the offline response message carries the offline reason of the client.
A third method for monitoring a WLAN network user status provided in the embodiment of the present invention is a client-side process, as shown in fig. 5, the process specifically includes the following steps:
s501, after passing the authentication, the client sends a state query request to the AC;
s502, receiving the status information of the client returned by the AC, wherein the status information comprises an offline status and an offline reason if the client is forced to be offline.
Further, before the step S501, the method further includes: and S503, the client receives the self address of the AC sent by the AC before passing the authentication, and records the self address after analysis.
Further, in the above step S501, the client may send a status query request to the AC according to the AC address recorded in S503.
Further, in step S503, the receiving, by the client, the address of the AC itself sent by the AC, and recording the address after parsing may specifically include:
the client receives an HTTP302 response message sent by the AC, and the URL value of the head of the positioning Location message in the HTTP302 response message contains the address of the Portal server and the AC address; sending a connection request to a Portal server according to the URL value of the head of the Location message; receiving a connection response message which is returned by the Portal server and carries the analyzed AC address; resolving and recording the AC address in the connection response message; or,
the client receives an HTTP200 response message sent by the AC, and the content of the HTTP200 response message carries the Portal server address and the AC address; the AC address is parsed and recorded from the HTTP200 response message.
The following describes the method for monitoring the user status of the WLAN network provided by the present invention by a process from authentication to forced logoff of a user terminal, as shown in fig. 6, the process includes the following steps:
s601, establishing connection between the WLAN user terminal and the wireless access point AP;
s602, the AC dynamically allocates an IP address for the user terminal by using DHCP;
s603, the user sends a request for accessing the Xinlang webpage to the AC;
s604, the AC returns HTTP302 response message to the user terminal, and redirects the request of the user terminal to the Portal server; the URL value of the Location message header in the HTTP302 response message contains a Portal server address and an AC address serving as a parameter;
s605, the user terminal accesses the Portal server by using the URL value in the step S604;
s606, Portal server analyzes AC address from the URL value, and sends the address to user terminal in page of response message returned to user terminal;
s607, the user terminal receives the response message returned by the Portal server, analyzes the AC address and records the AC address;
s608, the user terminal fills information such as account number, password and the like into an authentication page of a response message returned by the Portal server and submits the information to the Portal server;
s609, the Portal server sends a User authentication request to a Remote dial-up authentication Service (Radius, Remote authentication Dial-In User Service) server;
s6010, Radius returns the authentication result of the user to the Portal server;
s6011, returning an authentication result to the user terminal by the Portal server;
s6012, returning an authentication result of the user terminal to the AC by the Portal server;
s6013, the Portal server sends a charging starting request to the Radius server;
s6014, the Radius server sends a charging start response to the Portal server to start charging;
s6015, when the AC detects that the access time allowed by the user is over, the AC sends a user terminal offline request to a Portal server;
s6016, the Portal server sends an offline response of the user terminal to the AC, and the offline response carries an offline reason of the user terminal;
s6017, recording the offline reason of the user terminal by the AC;
s6018, the AC sends a charging ending request to the Radius server;
s6019, the Radius server returns a charging end request response to the AC, and charging is stopped;
s6020, when the user terminal sends the status inquiry request to the recorded AC address;
and S6021, the AC returns the status of the user terminal as the offline status to the user terminal, and returns the time end that the offline reason is allowed to access to the user terminal.
Based on the same inventive concept, embodiments of the present invention further provide a device, a client, and a system for monitoring a WLAN network user status, and because the principle of the problem solved by the device, the client, and the system is similar to the method for monitoring a WLAN network user status, the implementation of the device, the client, and the system can refer to the implementation of the method, and repeated details are omitted.
One of the apparatuses for monitoring the user status of the WLAN network provided in the embodiments of the present invention, as shown in fig. 7, includes:
the updating module 701 is configured to send a client offline request to the Portal server and receive an offline response message responded by the Portal server when it is determined that the authenticated client is forced to be offline, where the offline response message carries an offline reason of the client; updating the state of the client to be the offline state and recording the reason of offline;
the query processing module 702 is configured to, when receiving a status query request sent by a client, return to the client that the status of the client is an offline status and an offline reason.
Further, the above apparatus may further include:
a receiving module 703, configured to receive a network connection request of an unauthenticated client;
a redirection module 704, configured to redirect the network connection request to a Portal server for authentication, and carry an address of a device where the device is located in a redirection message sent to the client;
further, the redirection module 704 is specifically configured to send an HTTP302 response packet to the client, where the HTTP302 response packet carries an address of a Portal server and an address of a device where the apparatus is located; or sending an HTTP200 response message to the client, wherein the HTTP200 response message carries the Portal server address and the address of the device.
A second apparatus for monitoring a user status of a WLAN network according to an embodiment of the present invention, as shown in fig. 8, includes:
a receiving module 801, configured to receive a logoff request of a client forced to be offline sent by an AC;
the offline response module 802 is configured to send an offline response message to the AC, where the offline response message carries an offline reason of the client.
Further, the apparatus further comprises:
the parsing module 803 is configured to, when receiving a connection request message redirected by the client using the URL value of the Location message header in the HTTP302 response message sent by the AC, parse an address of the AC included in the URL value of the connection request; the URL value contains the address of the device where the apparatus is located and the address of the AC as a parameter;
a sending module 804, configured to carry the analyzed address of the AC in the content of the connection response packet and return the content to the client.
As shown in fig. 9, a client provided in an embodiment of the present invention includes:
a sending module 901, configured to send a status query request to an access controller AC after the client passes authentication;
the receiving module 902 is configured to receive the status information of the client returned by the AC, where the status information includes an offline status and an offline reason if the client is forced to be offline.
Further, the above apparatus further comprises:
and the analysis module 903 is used for receiving the self address of the AC sent by the AC before the AC passes the authentication and recording the self address after the analysis.
Further, the sending module 901 is specifically configured to send the status request information to the AC according to the AC address recorded by the analyzing module 903.
Further, the parsing module 903 is specifically configured to receive a hypertext transfer protocol HTTP302 response message sent by an AC, where a uniform resource locator URL value of a header of a Location message in the HTTP302 response message includes an address of a Portal server and the AC address; sending a connection request to a Portal server according to the URL value of the head part of the Location message; receiving a connection response message which is returned by the Portal server and carries the analyzed AC address; resolving and recording the AC address in the connection response message; or receiving an HTTP200 response message sent by the AC, wherein the content of the HTTP200 response message carries a Portal server address and an AC address; the AC address is parsed and recorded from the HTTP200 response message.
The embodiment of the invention provides a WLAN network user state monitoring system, which comprises:
the access controller AC is used for redirecting the network connection request to a Portal server for authentication when receiving the network connection request of the client which is not authenticated, and carrying the address of the AC in a redirection message sent to the client; when the client end which passes the authentication is forced to be offline, sending a client end offline request to the Portal server, and receiving an offline response message responded by the Portal server, wherein the offline response message carries an offline reason of the client end; updating the state of the client to be the offline state and recording the reason of offline; when a state query request sent by the client is received, the state of the client is returned to the client as an offline state and an offline reason;
and the Portal server is used for receiving an offline request of the client terminal forced to be offline sent by the AC and sending an offline response message to the AC, wherein the offline response message carries the offline reason of the client terminal.
Further, the system may further include:
the client is used for sending a state query request to the AC after passing the authentication; and receiving the state information of the client returned by the AC. The client may be installed in a user terminal.
According to the method, the device, the client and the system for monitoring the WLAN network user state, when the authenticated client is forced to be offline, the AC obtains and records the offline reason of the client from the Portal server, when the status query request of the client is received, the offline state of the user and the corresponding offline reason are sent to the client, and as the AC is distributed, each AC entity manages a part of users and only needs to process the requests of the part of users, network resources cannot be wasted when the users access the AC.
Through the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present invention may be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments of the present invention.
Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred embodiment and that the blocks or flow diagrams in the drawings are not necessarily required to practice the present invention.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (21)

1. A method for WLAN network user status monitoring, comprising:
when the access controller AC determines that the authenticated client is forced to be offline, sending a client offline request to an entrance Portal server, and receiving an offline response message responded by the Portal server, wherein the offline response message carries an offline reason of the client; the AC updates the state of the client to the offline state and records the reason of the offline;
and when the AC receives a state query request sent by the client, the AC returns the state of the client to the client as an offline state and an offline reason.
2. The method of claim 1, further comprising:
when the AC receives a network connection request of a client which is not authenticated, the AC redirects the network connection request to a Portal server for authentication, and sends the address of the AC to the client.
3. The method of claim 2, wherein sending, by the AC to the client, the address of the AC specifically comprises: the address of the AC is carried in a redirection message sent by the AC to the client.
4. The method of claim 3, wherein the AC carries the address of the AC in a redirect message sent to the client, comprising:
the AC sends a hypertext transfer protocol (HTTP) 302 response message to the client, wherein the HTTP302 response message carries the address of the Portal server and the address of the AC; or
And the AC sends an HTTP200 response message to the client, wherein the HTTP200 response message carries the Portal server address and the address of the AC.
5. The method of claim 4, wherein the HTTP302 response message carries the address of the Portal server and the address of the AC, specifically comprising:
the URL value of the URL of the Location message header of the HTTP302 response message includes the address of the Portal server and the address of the AC as a URL parameter.
6. The method of claim 4, wherein the HTTP200 response message carries an address of a Portal server and an address of the AC, specifically comprising:
and the message content of the HTTP200 response message carries the address of the Portal server and the address of the AC.
7. A method for WLAN network user status monitoring, comprising:
the entrance Portal server receives an offline request of a client terminal which is forced to be offline and sent by an access controller AC;
and the Portal server sends an offline response message to the AC, wherein the offline response message carries the offline reason of the client.
8. The method of claim 7, further comprising:
when the Portal server receives a connection request message redirected by a Uniform Resource Locator (URL) value of a positioning message header in an HTTP302 response message sent by a client by using an AC, the Portal server analyzes the address of the AC contained in the URL value of the connection request; the URL value contains the address of the Portal server and the address of the AC as a parameter;
and the Portal server carries the analyzed address of the AC in the content of the connection response message and returns the content to the client.
9. A method for WLAN network user status monitoring, comprising:
after passing the authentication, the client sends a state query request to the access controller AC;
and receiving the state information of the client returned by the AC, wherein the state information comprises an offline state and an offline reason if the client is forced to be offline.
10. The method of claim 9, further comprising, before the client is authenticated: the client receives the AC address sent by the AC and records the address after analysis;
the sending of the status query request to the access controller AC specifically includes: and sending a state query request to the AC according to the recorded AC address.
11. The method of claim 10, wherein the client receives the AC address sent by the AC and records the AC address after parsing, and specifically includes:
a client receives a hypertext transfer protocol (HTTP) 302 response message sent by an AC, wherein a Uniform Resource Locator (URL) value of a positioning Location message header in the HTTP302 response message contains an address of an entrance Portal server and the AC address;
sending a connection request to the Portal server according to the URL value of the head part of the Location message;
receiving a connection response message which is returned by the Portal server and carries the analyzed AC address;
resolving and recording the AC address in the connection response message; or,
the client receives an HTTP200 response message sent by an AC, wherein the content of the HTTP200 response message carries a Portal server address and an AC address;
and resolving and recording the AC address from the HTTP200 response message.
12. An apparatus for WLAN network user status monitoring, comprising:
the updating module is used for sending a client end offline request to the Portal server and receiving an offline response message responded by the Portal server when the client end passing the authentication is forced to be offline, wherein the offline response message carries the offline reason of the client end; updating the state of the client to be the offline state and recording the reason of offline;
and the query processing module is used for returning the state of the client to the client as an offline state and an offline reason when receiving the state query request sent by the client.
13. The apparatus of claim 12, further comprising:
the receiving module is used for receiving the network connection request of the client which is not authenticated;
and the redirection module is used for redirecting the network connection request to a Portal server for authentication and sending the address of the AC where the device is located to the client.
14. The apparatus of claim 13,
the redirection module is specifically configured to send a hypertext transfer protocol HTTP302 response packet to the client, where the HTTP302 response packet carries an address of the Portal server and an address of an AC where the device is located; or sending an HTTP200 response message to the client, wherein the HTTP200 response message carries the Portal server address and the address of the AC where the device is located.
15. An apparatus for WLAN network user status monitoring, comprising:
the receiving module is used for receiving a logoff request of the client terminal forced to be offline, which is sent by the access controller AC;
and the offline response module is used for sending an offline response message to the AC, wherein the offline response message carries the offline reason of the client.
16. The apparatus of claim 15, further comprising:
the analysis module is used for analyzing the address of the AC contained in the URL value of the connection request when receiving the connection request message redirected by the URL value of the Uniform Resource Locator (URL) locating the head of the Location message in the HTTP302 response message sent by the client by using the AC; the URL value contains the address of the Portal server where the device is located and the address of the AC as a parameter;
and the sending module is used for carrying the analyzed address of the AC in the content of the connection response message and returning the content to the client.
17. A client, comprising:
the sending module is used for sending a state query request to an Access Controller (AC) after the client passes the authentication;
and the receiving module is used for receiving the state information of the client returned by the AC, and if the client is forced to be offline, the state information comprises an offline state and an offline reason.
18. The client of claim 17, further comprising: an analysis module;
the analysis module is used for receiving the AC address sent by the AC before passing the authentication and recording the analyzed AC address;
the sending module is specifically configured to send status request information to the AC according to the AC address recorded by the analyzing module.
19. The client of claim 18,
the analysis module is specifically configured to receive a hypertext transfer protocol HTTP302 response packet sent by an AC, where a uniform resource locator URL value of a Location packet header in the HTTP302 response packet includes an address of an entry Portal server and the AC address; sending a connection request to the Portal server according to the URL value of the head part of the Location message; receiving a connection response message which is returned by the Portal server and carries the analyzed AC address; resolving and recording the AC address in the connection response message; or receiving an HTTP200 response message sent by the AC, wherein the content of the HTTP200 response message carries a Portal server address and an AC address; and resolving and recording the AC address from the HTTP200 response message.
20. A system for WLAN network user status monitoring, comprising:
the access controller AC is used for redirecting the network connection request to an entrance Portal server for authentication when receiving the network connection request of the client which is not authenticated, and the address of the AC is carried in a redirection message sent to the client; when the client passing the authentication is forced to be offline, sending a client offline request to the Portal server, and receiving an offline response message responded by the Portal server; updating the state of the client to be the offline state and recording the reason of offline; when a state query request sent by the client is received, the state of the client is returned to the client as an offline state and an offline reason;
and the Portal server is used for receiving the offline request of the client terminal forced to be offline sent by the AC and sending an offline response message to the AC, wherein the offline response message carries the offline reason of the client terminal.
21. The system of claim 20, further comprising:
the client is used for sending a state query request to the AC after passing the authentication; and receiving the state information of the client returned by the AC.
CN201210309242.XA 2012-08-27 2012-08-27 Method, device, client and the system of WLAN network user state monitoring Active CN103634792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210309242.XA CN103634792B (en) 2012-08-27 2012-08-27 Method, device, client and the system of WLAN network user state monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210309242.XA CN103634792B (en) 2012-08-27 2012-08-27 Method, device, client and the system of WLAN network user state monitoring

Publications (2)

Publication Number Publication Date
CN103634792A true CN103634792A (en) 2014-03-12
CN103634792B CN103634792B (en) 2016-12-21

Family

ID=50215330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210309242.XA Active CN103634792B (en) 2012-08-27 2012-08-27 Method, device, client and the system of WLAN network user state monitoring

Country Status (1)

Country Link
CN (1) CN103634792B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391560A (en) * 2015-10-12 2016-03-09 北京星网锐捷网络技术有限公司 User offline method and system
CN105635185A (en) * 2016-03-25 2016-06-01 珠海网博信息科技股份有限公司 Method and device for preventing sniffing under WIFI environment
CN106850345A (en) * 2017-01-21 2017-06-13 厦门天锐科技股份有限公司 A kind of monitoring of network user's state and querying method
CN107819728A (en) * 2016-09-12 2018-03-20 华为技术有限公司 Method for network authorization, relevant apparatus
CN109327468A (en) * 2018-11-22 2019-02-12 杭州迪普科技股份有限公司 A kind of offline reminding method, device, equipment and storage medium
CN111181961A (en) * 2019-12-30 2020-05-19 杭州迪普科技股份有限公司 User offline detection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6460084B1 (en) * 1997-08-28 2002-10-01 Cisco Technology, Inc. Forced network portal
CN1571366A (en) * 2003-07-23 2005-01-26 华为技术有限公司 Method for monitoring user connection state
CN101583151A (en) * 2009-07-02 2009-11-18 杭州华三通信技术有限公司 Method of STA roaming in WLAN network and device
CN101583132A (en) * 2009-06-17 2009-11-18 重庆邮电大学 Customizing message request triggering system and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6460084B1 (en) * 1997-08-28 2002-10-01 Cisco Technology, Inc. Forced network portal
CN1571366A (en) * 2003-07-23 2005-01-26 华为技术有限公司 Method for monitoring user connection state
CN101583132A (en) * 2009-06-17 2009-11-18 重庆邮电大学 Customizing message request triggering system and method thereof
CN101583151A (en) * 2009-07-02 2009-11-18 杭州华三通信技术有限公司 Method of STA roaming in WLAN network and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391560A (en) * 2015-10-12 2016-03-09 北京星网锐捷网络技术有限公司 User offline method and system
CN105391560B (en) * 2015-10-12 2018-09-11 北京星网锐捷网络技术有限公司 User offline method and system
CN105635185A (en) * 2016-03-25 2016-06-01 珠海网博信息科技股份有限公司 Method and device for preventing sniffing under WIFI environment
CN107819728A (en) * 2016-09-12 2018-03-20 华为技术有限公司 Method for network authorization, relevant apparatus
CN107819728B (en) * 2016-09-12 2021-02-12 华为技术有限公司 Network authentication method and related device
CN106850345A (en) * 2017-01-21 2017-06-13 厦门天锐科技股份有限公司 A kind of monitoring of network user's state and querying method
CN106850345B (en) * 2017-01-21 2020-11-06 厦门天锐科技股份有限公司 Method for monitoring and inquiring network user state
CN109327468A (en) * 2018-11-22 2019-02-12 杭州迪普科技股份有限公司 A kind of offline reminding method, device, equipment and storage medium
CN111181961A (en) * 2019-12-30 2020-05-19 杭州迪普科技股份有限公司 User offline detection method and device

Also Published As

Publication number Publication date
CN103634792B (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN103634792B (en) Method, device, client and the system of WLAN network user state monitoring
CA3009298C (en) Provisioning a device in a network
CN101702717B (en) Method, system and equipment for authenticating Portal
EP2425646B1 (en) Network access nodes
EP3120591B1 (en) User identifier based device, identity and activity management system
CN103200159B (en) A kind of Network Access Method and equipment
CN103369531B (en) A kind of method and device that control of authority is carried out based on end message
EP2725873A1 (en) Information sending method and gateway
WO2010045249A1 (en) Systems and methods for identifying a network
CN106330844A (en) Across-terminal login avoiding method and device
CN101711031B (en) Portal authenticating method during local forwarding and access controller (AC)
CN110505188B (en) Terminal authentication method, related equipment and authentication system
CN111683370B (en) Access authentication method, device and system of wireless network equipment
US20160226849A1 (en) Portal authentication method, broadband network gateway, portal server and system
CN104780168A (en) Portal authentication method and equipment
CN105847223A (en) Authentication method and device of terminal device
CN104837134B (en) A kind of web authentication user login method, equipment and system
CN104811439A (en) Portal authentication method and device
CN102638472B (en) Portal authentication method and equipment
US20180083942A1 (en) Communication management system, access point, communication management device, connection control method, communication management method, and program
CN104936177A (en) Access authentication method and access authentication system
CN103986793B (en) A kind of method and system of lifting Portal certification IP address service efficiencies
JP4800332B2 (en) Service providing system, service providing method, and service providing program
US20190253891A1 (en) Portal aggregation service mapping subscriber device identifiers to portal addresses to which connection and authentication requests are redirected and facilitating mass subscriber apparatus configuration
CN107534859A (en) A kind of method for network authorization, client, terminal device and platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant