WO2017177687A1 - 接入认证页面网络资费指标同步方法、设备及系统 - Google Patents

接入认证页面网络资费指标同步方法、设备及系统 Download PDF

Info

Publication number
WO2017177687A1
WO2017177687A1 PCT/CN2016/108003 CN2016108003W WO2017177687A1 WO 2017177687 A1 WO2017177687 A1 WO 2017177687A1 CN 2016108003 W CN2016108003 W CN 2016108003W WO 2017177687 A1 WO2017177687 A1 WO 2017177687A1
Authority
WO
WIPO (PCT)
Prior art keywords
user terminal
access server
access
network
authentication
Prior art date
Application number
PCT/CN2016/108003
Other languages
English (en)
French (fr)
Inventor
乐毅
Original Assignee
上海斐讯数据通信技术有限公司
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 上海斐讯数据通信技术有限公司 filed Critical 上海斐讯数据通信技术有限公司
Publication of WO2017177687A1 publication Critical patent/WO2017177687A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/141Indication of costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1439Metric aspects time-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0892Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols

Definitions

  • the present invention relates to the field of network authentication index synchronization technology for access authentication page, and more particularly to a method, device and system for synchronizing network tariff indicators of an access authentication page.
  • Portal authentication is one of the popular technologies for wireless network access authentication.
  • the portal access authentication page is automatically popped up, prompting the user to enter account information to complete the access authentication.
  • the authentication succeeds.
  • the Portal authentication success page displays the remaining Internet access time (that is, how long the user has left the Internet time) or the remaining Internet traffic (that is, how much Internet traffic the user currently has).
  • the remaining Internet access time that is, how long the user has left the Internet time
  • the remaining Internet traffic that is, how much Internet traffic the user currently has
  • the current remaining Internet access time or the remaining Internet traffic of the user, and the remaining Internet access time or remaining Internet traffic displayed on the original authentication success page is still the original Internet access time or the original Internet traffic during login authentication, and is not synchronized or considered.
  • the synchronization of data in the case of users going offline, roaming, etc., is of no value to the user.
  • the current implementation scheme is not synchronized with the Portal server when the portal authentication success page is separately counted.
  • the down-counting does not stop, resulting in a calculation error.
  • a similar situation can occur also during wireless roaming. If the user does not synchronize with the Portal server, if the user fails to close the Portal authentication success page, even if the user reopens the page, the remaining Internet time or the remaining Internet traffic can only be historical data, and there is no reference value.
  • the present invention provides a method for synchronizing a network tariff indicator of an access authentication page, and the method includes:
  • the access server After the user terminal successfully accesses the authentication, the access server starts the metering network tariff indicator;
  • the network tariff indicator is the Internet duration or the Internet traffic;
  • the access server sends an update command to update the remaining network tariff indicators to the user terminal, so that the user terminal updates the remaining network tariff indicators according to the update command.
  • the method further includes:
  • the access server sends a release command to the first wireless access device associated with the user terminal, so that the first wireless access device is released according to the release command.
  • the method further includes:
  • the access server When the user terminal actively leaves the network, the access server receives a message that the user terminal sent by the first wireless access device has left the network;
  • the access server stops measuring the network tariff indicator.
  • the method further includes:
  • the access server receives an inquiry that the user terminal sent by the second wireless access device has successfully accessed the authentication.
  • the second wireless access device is notified to open the access right of the user terminal.
  • the method further includes:
  • the second wireless access device Receiving, by the access server, the second wireless access device, when the user terminal cancels the account, leaves the network, the remaining network tariff indicator is zero, or is not in the roaming specified effective time, and the second wireless access device is to be associated Sending a status inquiry message of the user terminal;
  • the access server When the access server confirms that the user terminal is in the offline state, it sends a message to the user terminal to re-authenticate access.
  • the invention also provides a method for synchronizing a network tariff indicator of an access authentication page, the method comprising:
  • the user terminal successfully accesses the authentication
  • the network tariff indicator is an online time length or an Internet traffic
  • the user terminal updates the remaining network tariff indicators according to the update instruction.
  • the method further includes:
  • the user terminal When the user terminal leaves the first wireless access device, the user terminal sends a ping message to the access server to determine whether the access server is reachable;
  • the user terminal disconnects a network link with the access server
  • the user terminal initiates a network connection to the access server every predetermined time.
  • the method further includes:
  • the user terminal When the user terminal is to associate with the second wireless access device within the roaming validity time, the user terminal sends an association request to the second wireless access device, so that the second wireless access device is associated with the second wireless access device. Requesting to confirm whether the user terminal is allowed to be associated;
  • the user terminal When the user terminal is associated with the second wireless access device, the user terminal initiates a network connection to the access server every predetermined time.
  • the method further includes:
  • the user terminal When the user terminal is not in the roaming-defined effective time, and the second radio access device is to be associated, the user terminal receives the message that the access server sends the access authentication again;
  • the user terminal re-establishes access authentication.
  • the method further includes:
  • the user terminal When the user terminal cancels the account, leaves the network, the remaining network tariff indicator is zero, or is not in the roaming prescribed effective time, when the second wireless access device is to be associated, the user terminal receives the retransmission sent by the access server.
  • Access authentication message
  • the user terminal re-establishes access authentication.
  • the invention also provides an access server, the access server comprising:
  • the metering module is started to start the metering network tariff indicator after the user terminal successfully accesses the authentication;
  • the network tariff indicator is the online time length or the Internet traffic;
  • the first sending module is configured to send, to the user terminal, an update command for updating the remaining network tariff indicators, so that the user terminal updates the remaining network tariff indicators according to the update command.
  • the access server further includes:
  • a second sending module configured to: after the first sending module sends the remaining network tariff indicator to the user terminal, when the remaining network tariff indicator is zero, the second sending module is associated with the user terminal
  • a wireless access device issues a release command, so that the first wireless access device releases the association with the user terminal according to the release command.
  • the access server further includes:
  • a first receiving module configured to send, after the first sending module sends the remaining network tariff indicator to the user terminal, when the user terminal actively leaves the network, receive the first wireless access device to send The message that the user terminal has left the network;
  • the access server further includes:
  • a second receiving module configured to: after the first sending module sends the update of the remaining network tariff indicator to the user terminal, when the user terminal is within the roaming specified effective time, the second wireless access device is to be associated Receiving, by the second wireless access device, whether the user terminal has successfully accessed an authentication query message;
  • a first confirmation module configured to confirm that the user terminal has successfully accessed the authentication
  • the notification module is configured to notify the second wireless access device to open the access authority of the user terminal.
  • the access server further includes:
  • a third receiving module configured to: after the first sending module sends the remaining network tariff indicator to the user terminal, when the user terminal cancels the account, leaves the network, and the remaining network tariff indicator is zero or absent Receiving, by the second wireless access device, the state consultation message of the user terminal sent by the second wireless access device;
  • a second confirmation module configured to confirm that the user terminal is in an offline state
  • the third sending module is configured to send a message for re-authenticating the access to the user terminal.
  • the invention also provides a user terminal, the user terminal comprising:
  • An access module configured to successfully access authentication
  • the fourth receiving module is configured to receive, by the access server, an update instruction for updating the remaining network tariff indicators at a preset time;
  • the network tariff indicator is an online time length or an Internet traffic;
  • an update module configured to update the remaining network tariff indicators according to the update instruction.
  • the user terminal further includes:
  • a first sending module configured to send a ping message to the access server when the user terminal leaves the first wireless access device after the update module updates the remaining network tariff indicator according to the update command, In order to determine whether it is reachable to the access server;
  • a third confirmation module configured to confirm that the access server is unreachable
  • the first synchronization module is configured to initiate a network connection to the access server every predetermined time.
  • the user terminal further includes:
  • a second sending module configured to: when the update module updates the remaining network tariff indicator according to the update instruction, when the user terminal is to associate with the second wireless access device during the roaming specified effective time, The second wireless access device sends an association request, so that the second wireless access device confirms whether to allow the user terminal to associate according to the association request;
  • a second synchronization module configured to initiate a network connection to the access server every predetermined time when the user terminal associates with the second wireless access device.
  • the user terminal further includes:
  • a fifth receiving module configured to: after the updating module updates the remaining network tariff indicator according to the update instruction, when the user terminal is not in the roaming specified effective time, to associate the second wireless access device, receive the a message sent by the access server to re-authenticate authentication;
  • the first authentication module is configured to perform access authentication again.
  • the user terminal further includes:
  • a sixth receiving module configured to: after the update module updates the remaining network tariff indicator according to the update instruction, when the user terminal cancels the account, leaves the network, the remaining network tariff indicator is zero, or is not within the roaming prescribed validity time Receiving a message for re-access authentication sent by the access server when the second wireless access device is to be associated;
  • the second authentication module is configured to perform access authentication again.
  • the invention also provides an access authentication page network tariff indicator synchronization system, the system comprising an access server and a user terminal,
  • the access server is the access server described above;
  • the user terminal is the user terminal described above.
  • the access server After the user terminal successfully accesses the authentication, the access server starts the metering network tariff indicator; the network tariff indicator is the Internet access time or the Internet traffic; and the access server sends the access terminal to the user terminal every certain preset time.
  • An update command for updating the remaining network tariff indicators is issued, so that the user terminal updates the remaining network tariff indicators according to the update command.
  • the present invention timely synchronizes the Internet access time or the Internet traffic through the Portal server, and temporarily takes the user away from the offline, roaming and other factors, and provides a more accurate, synchronized network time or remaining Internet traffic with reference value for the user.
  • Mechanisms and implementation methods that enhance the user experience.
  • FIG. 1 is a flowchart of an embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention
  • FIG. 2 is a flowchart of another embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention
  • FIG. 3 is a flowchart of another embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention.
  • FIG. 4 is a flowchart of another embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention.
  • FIG. 5 is a flowchart of an embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention
  • FIG. 6 is a flowchart of another embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention.
  • FIG. 7 is a flowchart of another embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention.
  • FIG. 8 is a flowchart of another embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention.
  • FIG. 9 is a flowchart of another embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention.
  • FIG. 10 is a structural diagram of an embodiment of an access server according to the present invention.
  • FIG. 11 is a structural diagram of another embodiment of an access server according to the present invention.
  • FIG. 12 is a structural diagram of another embodiment of an access server according to the present invention.
  • FIG. 13 is a structural diagram of another embodiment of an access server according to the present invention.
  • FIG. 14 is a structural diagram of another embodiment of an access server according to the present invention.
  • FIG. 15 is a structural diagram of an embodiment of a user terminal according to the present invention.
  • FIG. 16 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • FIG. 17 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • FIG. 18 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • FIG. 19 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • FIG. 20 is a structural diagram of an embodiment of a network tariff indicator synchronization system of an access authentication page according to the present invention.
  • the access server After the user terminal successfully accesses the authentication, the access server starts the measurement network tariff indicator; the network tariff indicator is the Internet access time or the Internet traffic; every certain preset time, The access server sends an update command to the user terminal to update the remaining network tariff indicators, so that the user terminal updates the remaining network tariff indicators according to the update command.
  • FIG. 1 is a flowchart of an embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention, which is suitable for accessing a server side, and the specific process is as follows:
  • Step S101 after the user terminal successfully accesses the authentication, the access server starts to measure the network tariff indicator
  • the network tariff indicator is an online time length or an online traffic flow, where the measurement is a reverse measurement, for example, the online time length can be measured as the remaining online time, and the online traffic can be measured as the remaining online traffic.
  • step S102 the access server sends an update command to update the remaining network tariff indicators to the user terminal, so that the user terminal updates the remaining network tariff indicators according to the update command.
  • each predetermined time is a pre-set frequency of the server, and the network tariff indicator measured by the access server can be synchronized to the user terminal by participating in the access server;
  • the access server sends a release command to the first wireless access device associated with the user terminal, so that the first wireless access device is released according to the release command.
  • the access server After the access server sends the updated network tariff indicator to the user terminal in step S102, the method for synchronizing the network tariff indicator of the access authentication page of the present invention is also shown in FIG. 2, and the specific steps are as follows:
  • Step S201 When the user terminal actively leaves the network, the access server receives a message that the user terminal sent by the first wireless access device has left the network;
  • the user terminal when the user terminal actively leaves the network, the user terminal first cancels the association with the first wireless access device, and the first wireless access device learns that the user terminal leaves the network, and sends the learned user terminal to leave the network. Give access to the server.
  • Step S202 the access server stops measuring the network tariff indicator.
  • the access server keeps Stop the network tariff indicator at that moment.
  • the access server After the access server sends the update of the remaining network tariff indicators to the user terminal in step S102, the method for synchronizing the network tariff indicator of the access authentication page of the present invention is also shown in FIG. 3, and the specific steps are as follows:
  • Step S301 when the user terminal is to associate with the second wireless access device within the roaming validity time, the access server receives whether the user terminal sent by the second wireless access device has successfully accessed. Certified inquiry message;
  • the user terminal when the user terminal wants to associate with the second wireless access device, the user terminal sends an association request to the second wireless access device, and after receiving the association request of the user terminal, the second wireless access device sends the connection request to the access server. Whether the user terminal has successfully accessed the authentication inquiry message.
  • Step S302 After the access server confirms that the user terminal has successfully accessed the authentication, the second wireless access device is notified to open the access right of the user terminal.
  • the access server After receiving the inquiry message that the user terminal sent by the second wireless access device has successfully accessed the authentication, the access server queries that the user terminal has successfully accessed the first wireless access device, and the user terminal is successfully connected. If the user terminal does not need to perform access authentication again, the second wireless access device enables the user terminal to access the Internet and returns the user terminal association response.
  • the access server After the access server sends the updated network tariff indicator to the user terminal in step S102, the method for synchronizing the network tariff indicator of the access authentication page of the present invention is also shown in FIG. 4, and the specific steps are as follows:
  • Step S401 when the user terminal cancels the account, leaves the network, the remaining network tariff indicator is zero, or is not in the roaming prescribed effective time, when the second wireless access device is to be associated, the access server receives the second wireless a status inquiry message of the user terminal sent by the access device;
  • the user terminal when the user terminal cancels the account, leaves the network, and the remaining network tariff indicator is zero or is not within the roaming effective time, the user terminal is in the offline state, and at this time, if the user terminal wants to associate with the second wireless access device, Sending an association request to the second wireless access device to the user terminal, and after receiving the association request of the user terminal, the second wireless access device sends an inquiry message to the access server whether the user terminal has successfully accessed the authentication;
  • the user terminal cancels the account as an active cancellation account or a passive cancellation account; the user terminal leaves The network actively leaves the network; the remaining network tariff indicator of the user terminal is zero, and there is no Internet traffic or no Internet access time and passively leaves the network.
  • Step S402 When the access server confirms that the user terminal is in the offline state, the access server sends a message for re-authenticating access to the user terminal.
  • the user terminal that is sent by the second wireless access device has successfully accessed the authentication query message, and the access server queries the user to find that the user terminal has gone offline, and then informs the user terminal to perform access authentication again.
  • FIG. 5 is a flowchart of an embodiment of a method for synchronizing a network tariff indicator of an access authentication page according to the present invention, which is suitable for a user terminal side, and the specific steps are as follows:
  • Step S501 the user terminal successfully accesses the authentication
  • the user terminal associates with one SSID (Service Set Identifier) of the first radio access device, and the first radio access device redirects the HTTP response of the user terminal to the URL specified by the access server ( The WWW Uniform Resource Locator (IPW) address, the user terminal obtains the network page redirected by the first wireless access device, prompts the user terminal to input the user name and password, initiates an access authentication request to the access server, and the access server receives the user terminal.
  • SSID Service Set Identifier
  • IPW Uniform Resource Locator
  • the user name and password are audited, and an authentication success message is sent to the first wireless access device, and the authentication result and the remaining online time of the user or the remaining Internet traffic are fed back to the user terminal, and the first wireless access device After receiving the message that the access authentication succeeded by the access server is successful, the user terminal is authorized to access the Internet;
  • Redirect is to redirect various network requests to other locations through various methods (for example, web page redirection, domain name redirection, and routing changes are also a kind of heavy on the data packet path). Orientation);
  • Each subnet has an SSID. Each subnet requires independent authentication. Only authenticated users can enter the corresponding subnet to prevent unauthorized users from entering the network.
  • the access authentication page is a page specified by the access server, and the network address is a URL address.
  • Step S502 The user terminal receives an update instruction for updating, by the access server, the remaining network tariff indicators, at a preset time.
  • the network tariff indicator is an online time length or an online traffic flow, because it is a reverse measurement, here
  • the length of the Internet access is the length of the remaining Internet access, and the Internet traffic is the remaining Internet traffic;
  • Each predetermined time is a pre-set delivery frequency of the server
  • the access server sends a release command to the first wireless access device associated with the user terminal, so that the first wireless access device is released according to the release command.
  • Step S503 the user terminal updates the remaining network tariff indicators according to the update instruction.
  • the user terminal can update its remaining network tariff indicator in time by participating in the access server.
  • the network tariff indicator measured by the access server can be synchronized to the user terminal.
  • the method for synchronizing the network tariff indicator of the access authentication page of the present invention is also shown in FIG. 6. The specific steps are as follows:
  • Step S601 when the user terminal leaves the first wireless access device, the user terminal sends a ping message to the access server to determine whether the access server is reachable;
  • ping is a command under Windows, Unix, and Linux systems.
  • Ping is also a communication protocol and is part of the TCP/IP protocol. Use the "ping" message to check if the network is connected, which can help us analyze and determine network failures.
  • Step S602 when it is confirmed that the access server is unreachable, the user terminal disconnects a network link with the access server;
  • the user terminal disconnects the link with the access server.
  • Step S603 the user terminal initiates a network connection to the access server every predetermined time.
  • the user terminal initiates an Internet connection to the access server every N seconds; during the period, the user terminal and the access server stop synchronizing the network tariff indicator.
  • the method for synchronizing the network tariff indicator of the access authentication page of the present invention is also shown in FIG. 7, and the specific steps are as follows:
  • Step S701 when the user terminal is to associate with the second wireless access device within the roaming validity time, the user terminal sends an association request to the second wireless access device, so that the second The wireless access device confirms whether to allow the user terminal to associate according to the association request;
  • the user terminal when the user terminal wants to associate with the second wireless access device, the user terminal sends an association request to the second wireless access device, and after receiving the association request of the user terminal, the second wireless access device sends the connection request to the access server.
  • the second wireless access device Whether the user terminal has successfully accessed the authentication query message, and according to the feedback of the access server, the second wireless access device confirms whether the user terminal is allowed to be associated; when the access server feeds back that the user terminal has successfully accessed the authentication, the second wireless access The device allows the user terminal to associate, otherwise the second wireless access device does not allow the user terminal to associate.
  • Step S702 When the user terminal is associated with the second wireless access device, the user terminal initiates a network connection to the access server every predetermined time.
  • the second wireless access device allows the user terminal to associate, and after the user terminal is associated with the second wireless access device, the domain name of the access server is generally whitelisted. Then, the user terminal initiates an Internet connection to the access server every N seconds by using the reconnection mechanism; during this period, the user terminal and the access server stop synchronizing the network tariff indicator.
  • the method for synchronizing the network tariff indicator of the access authentication page of the present invention is also shown in FIG. 8. The specific steps are as follows:
  • Step S801 when the user terminal is not in the roaming specified effective time, and the second radio access device is to be associated, the user terminal receives the message that the access server sends the re-access authentication.
  • the user terminal wants to associate the second wireless access device, and then sends an association request to the second wireless access device, and after receiving the association request of the user terminal, the second The wireless access device sends the user terminal to the access server for successful access authentication.
  • the access server confirms that the user terminal is in the offline state, and directly reports back to the user terminal that the access authentication needs to be re-established.
  • Step S802 the user terminal performs access authentication again.
  • the user terminal after receiving the message of re-access authentication fed back by the access server, the user terminal re-accesses the access authentication on the access authentication page.
  • the method for synchronizing the network tariff indicator of the access authentication page of the present invention is as shown in FIG. as follows:
  • Step S901 when the user terminal cancels the account, leaves the network, the remaining network tariff indicator is zero, or is not in the roaming prescribed effective time, when the second wireless access device is to be associated, the user terminal receives the sending by the access server.
  • Re-access authentication message when the user terminal cancels the account, leaves the network, the remaining network tariff indicator is zero, or is not in the roaming prescribed effective time, when the second wireless access device is to be associated, the user terminal receives the sending by the access server.
  • the user terminal when the user terminal cancels the account, leaves the network, and the remaining network tariff indicator is zero or is not within the roaming validity time, the user terminal is in the offline state. If the user terminal wants to associate with the second wireless access device, the user terminal sends an association request to the second wireless access device, and after receiving the association request of the user terminal, the second wireless access device sends the connection request to the access server. Whether the user terminal has successfully accessed the authentication inquiry message;
  • the user terminal cancels the account as an active cancellation account or a passive cancellation account; the user terminal leaves the network to actively leave the network; the remaining network tariff indicator of the user terminal is zero without passive Internet access or without the Internet access time and passively leaves the network.
  • Step S902 the user terminal re-establishes access authentication.
  • the user terminal after receiving the message of re-access authentication fed back by the access server, the user terminal re-accesses the access authentication on the access authentication page.
  • FIG. 10 is a structural diagram of an embodiment of an access server according to the present invention.
  • the access server 1000 includes a startup metering module 1001 and a first sending module 1002.
  • the metering module 1001 is configured to start the metering network tariff indicator after the user terminal successfully accesses the authentication;
  • the network tariff indicator is an online time length or an online traffic flow, where the measurement is a reverse measurement, for example, the online time length can be measured as the remaining online time, and the online traffic can be measured as the remaining online traffic.
  • the first sending module 1002 is configured to send, to the user terminal, an update command for updating the remaining network tariff indicators, so that the user terminal updates the remaining network tariff indicators according to the update command.
  • the predetermined time is the sending frequency set by the access server 1000 in advance, and the network tariff indicator measured by the access server 1000 can be synchronized to the user terminal by participating in the access server 1000;
  • the access server 1000 associates with the user terminal
  • the first wireless access device sends a release command, so that the first wireless access device releases the association with the user terminal according to the release command.
  • FIG. 11 is a structural diagram of another embodiment of an access server according to the present invention.
  • the access server 1000 includes a startup metering module 1001, a first sending module 1002, and a second sending module 1003, wherein the metering module 1001 and the first device are started.
  • the delivery module 1002 is specifically shown in FIG. 10,
  • the second sending module 1003 is configured to: after the first sending module 1002 sends the remaining network tariff indicator to the user terminal, when the remaining network tariff indicator is zero, associate with the user terminal
  • the first wireless access device sends a release command, so that the first wireless access device releases the association with the user terminal according to the release command.
  • FIG. 12 is a structural diagram of another embodiment of an access server according to the present invention.
  • the access server 1000 includes a startup metering module 1001, a first sending module 1002, a first receiving module 1004, and a stopping metering module 1005. 1001 and the first sending module 1002 are specifically shown in FIG. 10,
  • the first receiving module 1004 is configured to: after the first sending module 1002 sends the update of the remaining network tariff indicator to the user terminal, when the user terminal actively leaves the network, receive the first wireless access a message sent by the device that the user terminal has left the network;
  • the user terminal when the user terminal actively leaves the network, the user terminal first cancels the association with the first wireless access device, and the first wireless access device learns that the user terminal leaves the network, and sends the learned user terminal to leave the network.
  • the access server 1000 is provided.
  • the metering module 1005 is stopped, and the measurement of the network tariff indicator is stopped.
  • the access server 1000 keeps the network tariff indicator that stops at that moment.
  • FIG. 13 is a structural diagram of another embodiment of an access server according to the present invention.
  • the access server 1000 includes a startup metering module 1001, a first sending module 1002, a second receiving module 1006, a first confirming module 1007, and a notification module 1008.
  • the startup metering module 1001 and the first sending module 1002 are specifically shown in FIG. 10,
  • the second receiving module 1006 is configured to: after the first sending module 1002 sends the remaining network tariff indicator to the user terminal, when the user terminal is within the roaming prescribed valid time, the second wireless connection is to be associated Receiving, by the device, the user terminal sent by the second wireless access device The authentication inquiry message has been successfully accessed;
  • the user terminal when the user terminal wants to associate with the second wireless access device, the user terminal sends an association request to the second wireless access device, and after receiving the association request of the user terminal, the second wireless access device sends the connection request to the access server 1000. Whether the user terminal has successfully accessed the authentication inquiry message.
  • the first confirmation module 1007 is configured to confirm that the user terminal has successfully accessed the authentication
  • the access server 1000 determines that the user terminal has successfully accessed the first wireless access device, and the user terminal is considered to have succeeded. If the user terminal does not need to perform access authentication again, the second wireless access device enables the user terminal to access the Internet and returns the user terminal association response.
  • the notification module 1008 is configured to notify the second wireless access device to open the access authority of the user terminal.
  • FIG. 14 is a structural diagram of another embodiment of an access server according to the present invention.
  • the access server 1000 includes a startup metering module 1001, a first sending module 1002, a third receiving module 1009, a second confirming module 1010, and a third sending.
  • the third receiving module 1009 is configured to: after the first sending module 1002 sends the remaining network tariff indicator to the user terminal, when the user terminal cancels the account, leaves the network, and the remaining network tariff indicator is zero or absent Receiving, by the second wireless access device, the state consultation message of the user terminal sent by the second wireless access device;
  • the user terminal when the user terminal cancels the account, leaves the network, and the remaining network tariff indicator is zero or is not within the roaming validity time, if the user terminal wants to associate with the second wireless access device, the user terminal sends the second wireless device.
  • the access device sends an association request, and after receiving the association request of the user terminal, the second radio access device sends an inquiry message to the access server 1000 whether the user terminal has successfully accessed the authentication;
  • the user terminal cancels the account as an active cancellation account or a passive cancellation account; the user terminal leaves the network to actively leave the network; the remaining network tariff indicator of the user terminal is zero without passive Internet access or without the Internet access time and passively leaves the network.
  • a second confirmation module 1010 configured to confirm that the user terminal is in an offline state
  • the access server 1000 After receiving the inquiry message that the user terminal sent by the second wireless access device has successfully accessed the authentication, the access server 1000 queries the user to find that the user terminal has gone offline, and then informs the user terminal to perform the access authentication again.
  • the third sending module 1011 is configured to send a message for re-authenticating access to the user terminal.
  • FIG. 15 is a structural diagram of an embodiment of a user terminal according to the present invention.
  • the user terminal 1400 includes an access module 1401, a fourth receiving module 1402, and an updating module 1403.
  • the access module 1401 is configured to successfully access the authentication.
  • the user terminal 1400 associates with one SSID (Service Set Identifier) of the first radio access device, and the first radio access device redirects the HTTP response packet of the user terminal 1400 to the access server 1000.
  • the URL WWW Uniform Resource Locator
  • the user terminal 1400 obtains the network page redirected by the first wireless access device, prompts the user terminal 1400 to input the user name and password, and initiates an access authentication request to the access server 1000, and accesses
  • the server 1000 verifies the user name and password, sends an authentication success message to the first wireless access device, and feeds back the authentication result and the remaining online time of the user or the remaining Internet traffic to the user terminal 1400.
  • the first wireless access device authorizes the user terminal to access the Internet;
  • Each subnet has an SSID. Each subnet requires independent authentication. Only authenticated users can enter the corresponding subnet to prevent unauthorized users from entering the network.
  • the access authentication page is a page specified by the access server, and the network address is a URL address.
  • the fourth receiving module 1402 is configured to receive, by the access server 1000, an update instruction for updating the remaining network tariff indicators at a predetermined preset time;
  • the network tariff indicator is an online time length or an online traffic flow. Because it is a reverse measurement, the online access time here is the remaining online time, and the online traffic is the remaining online traffic;
  • Each predetermined time is a pre-set delivery frequency of the server
  • the access server 1000 sends a release command to the first wireless access device associated with the user terminal 1400, so that the first wireless access device releases the user terminal according to the release command. 1400 association.
  • the network tariff indicator is an online time length or an online traffic flow
  • the update module 1403 is configured to update the remaining network tariff indicators according to the update instruction.
  • the user terminal 1400 can update its remaining network tariff indicator in time by participating in the access server 1000.
  • the network tariff indicator measured by the access server 1000 can be synchronized to the user terminal 1400.
  • FIG. 16 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • the user terminal 1400 includes an access module 1401, a fourth receiving module 1402, an updating module 1403, a first sending module 1404, a third confirming module 1405, and a disconnecting module. 1406 and a first synchronization module 1407, wherein the access module 1401, the fourth receiving module 1402, and the update module 1403 are specifically as shown in FIG.
  • the first sending module 1404 is configured to send a ping message to the access server 1000 when the user terminal 1400 leaves the first wireless access device after the update module 1404 updates the remaining network tariff indicator according to the update instruction. In order to determine whether it is reachable to the access server;
  • ping is a command under Windows, Unix, and Linux systems.
  • Ping is also a communication protocol and is part of the TCP/IP protocol. Use the "ping" message to check if the network is connected, which can help us analyze and determine network failures.
  • a third confirmation module 1405, configured to confirm that the access server 1000 is unreachable
  • the user terminal 1400 disconnects the link with the access server 1000.
  • Disconnecting module 1406, configured to disconnect a network link with the access server 1000
  • the user terminal 1400 initiates an Internet connection to the access server every N seconds; during this period, the user terminal 1400 and the access server 1000 stop synchronizing the network tariff indicator.
  • the first synchronization module 1407 is configured to initiate a network connection to the access server 1000 every predetermined time.
  • FIG. 17 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • the user terminal 1400 includes an access module 1401, a fourth receiving module 1402, an updating module 1403, a second sending module 1408, and a second synchronization module 1409.
  • the ingress module 1401, the fourth receiving module 1402, and the update module 1403 are specifically as shown in FIG.
  • a second sending module 1408, configured to: after the update module 1403 updates the remaining network tariff indicators according to the update instruction, when the user terminal 1400 is within a roaming prescribed valid time, Sending an association request to the second wireless access device, so that the second wireless access device confirms whether to allow the user terminal 1400 to associate according to the association request;
  • the user terminal 1400 when the user terminal 1400 wants to associate with the second wireless access device, the user terminal 1400 sends an association request to the second wireless access device, and after receiving the association request of the user terminal 1400, the second wireless access device accesses
  • the server 1000 sends whether the user terminal 1400 has successfully accessed the authentication query message, and according to the feedback of the access server 1000, the second wireless access device confirms whether the user terminal 1400 is allowed to be associated; when the access server 1000 feeds back the user terminal has successfully accessed Authentication, the second wireless access device allows the user terminal 1400 to associate, otherwise the second wireless access device does not allow the user terminal 1400 to associate.
  • the second synchronization module 1409 is configured to initiate a network connection to the access server 1000 every predetermined time when the user terminal 1400 associates with the second wireless access device.
  • the second wireless access device allows the user terminal to associate, and after the user terminal associates with the second wireless access device, the access terminal is accessed every N seconds. 1000 initiates an internet connection; during the period, the user terminal 1400 and the access server 1000 stop synchronizing the network tariff indicator.
  • FIG. 18 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • the user terminal 1400 includes an access module 1401, a fourth receiving module 1402, an updating module 1403, a fifth receiving module 1410, and a first authentication module 1411.
  • the ingress module 1401, the fourth receiving module 1402, and the update module 1403 are specifically as shown in FIG.
  • the fifth receiving module 1410 is configured to: after the update module 1403 updates the remaining network tariff indicator according to the update instruction, when the user terminal 1400 is not in the roaming specified effective time, and wants to associate with the second wireless access device, receive the access server.
  • the user terminal 1400 wants to associate with the second radio access device, and then sends an association request to the second radio access device, and after receiving the association request of the user terminal 1400,
  • the second wireless access device sends the user terminal 1400 to the access server 1000 for successful access authentication, and the access server 1000 confirms that the user terminal is in the offline state, and directly feeds back to the user terminal 1400 that the access authentication needs to be re-established.
  • the first authentication module 1411 is configured to perform access authentication again.
  • the user terminal 1400 after receiving the message of re-access authentication fed back by the access server 1000, the user terminal 1400 re-access authentication on the access authentication page.
  • FIG. 19 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • the user terminal 1400 includes an access module 1401, a fourth receiving module 1402, an updating module 1403, a sixth receiving module 1412, and a second authentication module 1413.
  • the ingress module 1401, the fourth receiving module 1402, and the update module 1403 are specifically as shown in FIG.
  • the sixth receiving module 1412 is configured to: after the update module 1403 updates the remaining network tariff indicators according to the update instruction, when the user terminal 1400 cancels the account, leaves the network, the remaining network tariff indicator is zero, or is not in the roaming prescribed effective time. Receiving a message for re-access authentication sent by the access server 1000 when the second wireless access device is to be associated;
  • the user terminal 1400 when the user terminal 1400 cancels the account, leaves the network, the remaining network tariff indicator is zero, or is not within the roaming prescribed valid time, the user terminal 1400 is in the offline state. At this time, if the user terminal 1400 wants to associate with the second wireless access device, the user terminal 1400 sends an association request to the second wireless access device, and after receiving the association request of the user terminal 1400, the second wireless access device accesses The server 1000 sends an inquiry message that the user terminal 1400 has successfully accessed the authentication;
  • the user terminal 1400 cancels the account as an active cancellation account or a passive cancellation account; the user terminal 1400 leaves the network to actively leave the network; the remaining network tariff indicator of the user terminal 1400 is zero, that is, there is no Internet traffic or no time for the Internet to passively leave.
  • the internet The internet.
  • the second authentication module 1413 is configured to perform access authentication again.
  • the user terminal 1400 after receiving the message of re-access authentication fed back by the access server 1000, the user terminal 1400 re-access authentication on the access authentication page.
  • the system 2000 is a structural diagram of an embodiment of a network tariff indicator synchronization system of an access authentication page according to the present invention.
  • the system 2000 includes an access server 1000 and a user terminal 1400.
  • the access server 1000 is configured to start the metering network tariff indicator after the user terminal 1400 successfully accesses the authentication; the network tariff indicator is the Internet access time or the Internet traffic; and is also used to deliver the information to the user terminal 1400 at a preset time.
  • the update command of the remaining network tariff indicators is updated so that the user terminal 1400 updates the remaining network tariff indicators according to the update command.
  • the user terminal 1400 is configured to successfully access the authentication, and is also configured to receive the access every certain preset time.
  • the server 1000 sends an update instruction for updating the remaining network tariff indicators; the network tariff indicator is an online time duration or an online traffic flow; and is used to update the remaining network tariff indicators according to the update instruction.
  • the function modules of the access server 1000 and the user terminal 1400 provided by the embodiment may be software modules or functional modules combined with software and hardware, which may be implemented by a processor to implement the functions as described above.
  • the access server 1000 and the user terminal 1400 may also have other functional modules to implement the specific steps of overcoming the timely synchronization of the Internet access time or the Internet traffic. For details, refer to the corresponding description of the foregoing method embodiments.
  • the processor executes, and when the aforementioned program is executed, the processor can execute all or part of the steps including the above method embodiments.
  • the processor may be implemented as one or more processor chips, or may be part of one or more application specific integrated circuits (ASICs); and the foregoing storage medium may include but not be limited to the following types. Storage medium: Flash memory, Read-Only Memory (ROM), Random Access Memory (RAM), removable hard disk, disk or optical disk, and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提出了一种接入认证页面网络资费指标同步方法、设备及系统,所述方法包括:当用户终端成功接入认证后,接入服务器启动计量网络资费指标;所述网络资费指标为上网时长或上网流量;每隔一定预设时间,所述接入服务器向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。如此,本发明通过接入服务器及时同步上网时长或上网流量,并把用户暂时离开下线,漫游等因素考虑进来,提供了一种较为准确,对用户具有参考价值的剩余上网时长或剩余上网流量同步机制和实现方法,从而提高了用户体验。

Description

接入认证页面网络资费指标同步方法、设备及系统 技术领域
本发明涉及接入认证页面网络资费指标同步技术领域,更具体地,涉及一种接入认证页面网络资费指标同步方法、设备及系统。
背景技术
当前无线覆盖越来越多,使用手机等移动终端设备也越来越多。Portal(接入)认证是无线网络接入认证的流行技术之一,当用户接入某一无线网络时,会自动弹出Portal接入认证页面,提示用户输入帐户信息来完成接入认证,认证成功后会在Portal认证成功页显示用户此时的剩余上网时长(即用户当前还剩余多长上网时间)或剩余上网流量(即用户当前还剩余多少上网流量),但用户继续上网后,无法及时了解用户当前的剩余上网时长或剩余上网流量,而原有的认证成功页面所显示的剩余上网时长或剩余上网流量还是登录认证时的原有上网时长或原有上网流量,并没有同步,也没有考虑用户中途下线,漫游等情况下的数据同步,对用户来说没有价值。
目前解决大多数的实现方案是只针对登录认证成功后,在Portal认证成功页面显示剩余上网时长或剩余上网流量,用户继续上网后,Portal认证成功页面开始单独倒计量。当用户需要了解当前的剩余上网时长或剩余上网流量时,则重新打开Portal认证成功页面或再次唤起保留的认证成功页面来查看剩余时长。
现有实现方案由于是在Portal认证成功页面单独倒计量时,没有与Portal服务器同步,当用户暂时离开网络而下线时,倒计量并没有停止,从而造成计算失误。同样在无线漫游时也会出现类似情况。由于没有与Portal服务器同步,如果用户操作失误关闭Portal认证成功页面,即使用户重新打开此页,剩余上网时长或剩余上网流量只能是历史数据,已经没有参考价值了。
发明内容
有鉴于此,本发明提出一种接入认证页面网络资费指标同步方法,所述方法包括:
当用户终端成功接入认证后,接入服务器启动计量网络资费指标;所述网络资费指标为上网时长或上网流量;
每隔一定预设时间,所述接入服务器向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。
进一步地,在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,所述方法还包括:
当剩余的网络资费指标为零时,所述接入服务器向与所述用户终端关联的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与所述用户终端的关联。
进一步地,在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,所述方法还包括:
当所述用户终端主动离开网络时,所述接入服务器接收所述第一无线接入设备发送的所述用户终端已经离开网络的消息;
所述接入服务器停止计量所述网络资费指标。
进一步地,在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,所述方法还包括:
当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,所述接入服务器接收所述第二无线接入设备发送的所述用户终端是否已成功接入认证的询问消息;
所述接入服务器确认所述用户终端已成功接入认证后,则通知所述第二无线接入设备开通所述用户终端上网权限。
进一步地,在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,所述方法还包括:
当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,所述接入服务器接收所述第二无线接入设备发送的所述用户终端的状态咨询消息;
所述接入服务器确认所述用户终端为下线状态时,则向所述用户终端下发重新进行接入认证的消息。
本发明还提出一种接入认证页面网络资费指标同步方法,所述方法包括:
用户终端成功接入认证;
每隔一定预设时间,所述用户终端接收所述接入服务器下发更新剩余的网络资费指标的更新指令;所述网络资费指标为上网时长或上网流量;
所述用户终端根据所述更新指令更新剩余的网络资费指标。
进一步地,在所述用户终端根据所述更新指令更新剩余的网络资费指标之后,所述方法还包括:
当所述用户终端离开第一无线接入设备时,所述用户终端向所述接入服务器发送ping报文,以判断是否与所述接入服务器可达;
当确认与所述接入服务器不可达时,所述用户终端断开与所述接入服务器之间的网络链接;
所述用户终端每隔预定时间向所述接入服务器发起网络连接。
进一步地,在所述用户终端根据所述更新指令更新剩余的网络资费指标之后,所述方法还包括:
当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端向所述第二无线接入设备发送关联请求,以便所述第二无线接入设备根据关联请求确认是否允许所述用户终端关联;
当所述用户终端关联上所述第二无线接入设备时,所述用户终端每隔预定时间向所述接入服务器发起网络连接。
进一步地,在所述用户终端根据所述更新指令更新剩余的网络资费指标之后,所述方法还包括:
当所述用户终端不在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端接收所述接入服务器发送的重新进行接入认证的消息;
所述用户终端重新进行接入认证。
进一步地,在所述用户终端根据所述更新指令更新剩余的网络资费指标之后,所述方法还包括:
当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端接收所述接入服务器发送的重新进行接入认证的消息;
所述用户终端重新进行接入认证。
本发明还提出一种接入服务器,所述接入服务器包括:
启动计量模块,用于当用户终端成功接入认证后,启动计量网络资费指标;所述网络资费指标为上网时长或上网流量;
第一下发模块,用于每隔一定预设时间,向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。
进一步地,所述接入服务器还包括:
第二下发模块,用于在所述第一下发模块向所述用户终端下发更新剩余的网络资费指标之后,当剩余的网络资费指标为零时,向与所述用户终端关联的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与所述用户终端的关联。
进一步地,所述接入服务器还包括:
第一接收模块,用于在所述第一下发模块向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端主动离开网络时,接收所述第一无线接入设备发送的所述用户终端已经离开网络的消息;
停止计量模块,停止计量所述网络资费指标。
进一步地,所述接入服务器还包括:
第二接收模块,用于在所述第一下发模块向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述第二无线接入设备发送的所述用户终端是否已成功接入认证的询问消息;
第一确认模块,用于确认所述用户终端已成功接入认证;
通知模块,用于通知所述第二无线接入设备开通所述用户终端上网权限。
进一步地,所述接入服务器还包括:
第三接收模块,用于在所述第一下发模块向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述第二无线接入设备发送的所述用户终端的状态咨询消息;
第二确认模块,用于确认所述用户终端为下线状态;
第三下发模块,用于向所述用户终端下发重新进行接入认证的消息。
本发明还提出一种用户终端,所述用户终端包括:
接入模块,用于成功接入认证;
第四接收模块,用于每隔一定预设时间,接收所述接入服务器下发更新剩余的网络资费指标的更新指令;所述网络资费指标为上网时长或上网流量;
更新模块,用于根据所述更新指令更新剩余的网络资费指标。
进一步地,所述用户终端还包括:
第一发送模块,用于在所述更新模块根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端离开第一无线接入设备时,向所述接入服务器发送ping报文,以判断是否与所述接入服务器可达;
第三确认模块,用于确认与所述接入服务器不可达;
断开模块,用于断开与所述接入服务器之间的网络链接;
第一同步模块,用于每隔预定时间向所述接入服务器发起网络连接。
进一步地,所述用户终端还包括:
第二发送模块,用于在所述更新模块根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,向所述第二无线接入设备发送关联请求,以便所述第二无线接入设备根据关联请求确认是否允许所述用户终端关联;
第二同步模块,用于当所述用户终端关联上所述第二无线接入设备时,每隔预定时间向所述接入服务器发起网络连接。
进一步地,所述用户终端还包括:
第五接收模块,用于在所述更新模块根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端不在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述接入服务器发送的重新进行接入认证的消息;
第一认证模块,用于重新进行接入认证。
进一步地,所述用户终端还包括:
第六接收模块,用于在所述更新模块根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述接入服务器发送的重新进行接入认证的消息;
第二认证模块,用于重新进行接入认证。
本发明还提出一种接入认证页面网络资费指标同步系统,所述系统包括接入服务器和用户终端,
所述接入服务器为上述所述的接入服务器;
所述用户终端为上述所述的用户终端。
本发明通过当用户终端成功接入认证后,接入服务器启动计量网络资费指标;所述网络资费指标为上网时长或上网流量;每隔一定预设时间,所述接入服务器向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。
如此,本发明通过Portal服务器及时同步上网时长或上网流量,并把用户暂时离开下线,漫游等因素考虑进来,提供了一种较为准确,对用户具有参考价值的剩余上网时长或剩余上网流量同步机制和实现方法,从而提高了用户体验。
附图说明
图1为本发明接入认证页面网络资费指标同步方法的一种实施例的流程图;
图2为本发明接入认证页面网络资费指标同步方法的另一种实施例的流程图;
图3为本发明接入认证页面网络资费指标同步方法的另一种实施例的流程 图;
图4为本发明接入认证页面网络资费指标同步方法的另一种实施例的流程图;
图5为本发明接入认证页面网络资费指标同步方法的一种实施例的流程图;
图6为本发明接入认证页面网络资费指标同步方法的另一种实施例的流程图;
图7为本发明接入认证页面网络资费指标同步方法的另一种实施例的流程图;
图8为本发明接入认证页面网络资费指标同步方法的另一种实施例的流程图;
图9为本发明接入认证页面网络资费指标同步方法的另一种实施例的流程图;
图10为本发明接入服务器一种实施例的结构图;
图11为本发明接入服务器另一种实施例的结构图;
图12为本发明接入服务器另一种实施例的结构图;
图13为本发明接入服务器另一种实施例的结构图;
图14为本发明接入服务器另一种实施例的结构图;
图15为本发明用户终端一种实施例的结构图;
图16为本发明用户终端另一种实施例的结构图;
图17为本发明用户终端另一种实施例的结构图;
图18为本发明用户终端另一种实施例的结构图;
图19为本发明用户终端另一种实施例的结构图;
图20为本发明接入认证页面网络资费指标同步系统的一种实施例的结构图。
具体实施方式
本发明技术方案通过当用户终端成功接入认证后,接入服务器启动计量网络资费指标;所述网络资费指标为上网时长或上网流量;每隔一定预设时间, 所述接入服务器向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。
为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例并参照附图,对本发明进一步详细说明。
图1为本发明接入认证页面网络资费指标同步方法的一种实施例的流程图,适于接入服务器侧,具体流程如下:
步骤S101,当用户终端成功接入认证后,接入服务器启动计量网络资费指标;
具体地,所述网络资费指标为上网时长或上网流量,这里计量是倒计量,比如上网时长可计量为剩余上网时长,上网流量可计量为剩余上网流量。
步骤S102,每隔一定预设时间,所述接入服务器向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。
具体地,每隔一定预定时间是服务器预先设置的下发频率,通过接入服务器参与,可将接入服务器计量的网络资费指标同步到用户终端;
当剩余的网络资费指标为零时,所述接入服务器向与所述用户终端关联的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与所述用户终端的关联。
其中,在步骤S102在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,本发明接入认证页面网络资费指标同步方法还如附图2所示,具体步骤如下:
步骤S201,当所述用户终端主动离开网络时,所述接入服务器接收所述第一无线接入设备发送的所述用户终端已经离开网络的消息;
具体地,当用户终端主动离开网络时,首先用户终端解除了与第一无线接入设备的关联,第一无线接入设备便获知用户终端离开网络,并将获知的用户终端离开网络的消息发送给接入服务器。
步骤S202,所述接入服务器停止计量所述网络资费指标。
具体地,接入服务器停止计量所述网络资费指标后,接入服务器一直保留 停止那一刻的网络资费指标。
其中,在步骤S102在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,本发明接入认证页面网络资费指标同步方法还如附图3所示,具体步骤如下:
步骤S301,当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,所述接入服务器接收所述第二无线接入设备发送的所述用户终端是否已成功接入认证的询问消息;
具体地,当用户终端欲关联第二无线接入设备时,用户终端向第二无线接入设备发送关联请求,收到用户终端的关联请求后,第二无线接入设备向接入服务器发送该用户终端是否已经成功接入认证的询问消息。
步骤S302,所述接入服务器确认所述用户终端已成功接入认证后,则通知所述第二无线接入设备开通所述用户终端上网权限。
具体地,接收到第二无线接入设备发送的用户终端是否已经成功接入认证的询问消息后,接入服务器查询用户终端已成功接入第一无线接入设备,则认为用户终端已成功接入认证,则用户终端无需再次进行接入认证,则第二无线接入设备开通用户终端上网权限,并且返回用户终端关联响应。
其中,在步骤S102在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,本发明接入认证页面网络资费指标同步方法还如附图4所示,具体步骤如下:
步骤S401,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,所述接入服务器接收所述第二无线接入设备发送的所述用户终端的状态咨询消息;
具体地,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,则用户终端为下线状态,此时若用户终端欲关联第二无线接入设备,则向用户终端向第二无线接入设备发送关联请求,收到用户终端的关联请求后,第二无线接入设备向接入服务器发送该用户终端是否已经成功接入认证的询问消息;
其中,用户终端注销账户为主动注销账户或被动注销账户;用户终端离开 网络为主动离开网络;用户终端剩余的网络资费指标为零为无上网流量或无上网时长而被动离开网络。
步骤S402,所述接入服务器确认所述用户终端为下线状态时,则向所述用户终端下发重新进行接入认证的消息。
具体地,接收到第二无线接入设备发送的用户终端是否已成功接入认证的询问消息,接入服务器查询自身发现用户终端已经下线,则告知用户终端重新进行接入认证。
图5为本发明接入认证页面网络资费指标同步方法的一种实施例的流程图,适于用户终端侧,具体步骤如下:
步骤S501,用户终端成功接入认证;
具体地,用户终端关联第一无线接入设备的某一个SSID(服务集标识),第一无线接入设备将用户终端的上网响应(HTTP Request)报文重定向到接入服务器指定的URL(WWW统一资源定位标志)地址,用户终端获得第一无线接入设备重定向的网络页面,提示用户终端上输入用户名和密码后,向接入服务器发起接入认证请求,接入服务器接收到用户终端的接入认证请求后,审核用户名和密码,向第一无线接入设备发送认证成功消息,并将认证结果和用户剩余的上网时长或剩余的上网流量反馈给用户终端,第一无线接入设备收到接入服务器发送的接入认证成功的消息后,授权用户终端上网;
重定向(Redirect)就是通过各种方法将各种网络请求重新定个方向转到其它位置(如:网页重定向、域名的重定向、路由选择的变化也是对数据报文经由路径的一种重定向);
其中,每一个子网都有一个SSID,每一个子网络都需要独立的身份验证,只有通过身份验证的用户才可以进入相应的子网络,防止未被授权的用户进入本网络;
其中,接入认证页面是接入服务器指定的页面,网络地址为URL地址。
步骤S502,每隔一定预设时间,所述用户终端接收所述接入服务器下发更新剩余的网络资费指标的更新指令;
具体地,所述网络资费指标为上网时长或上网流量,由于是倒计量,这里 的上网时长为剩余上网时长,上网流量为剩余上网流量;
每隔一定预定时间是服务器预先设置的下发频率;
当剩余的网络资费指标为零时,所述接入服务器向与所述用户终端关联的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与所述用户终端的关联。
步骤S503,所述用户终端根据所述更新指令更新剩余的网络资费指标。
具体地,通过接入服务器参与,用户终端可以及时更新自身的剩余的网络资费指标,如此,可将接入服务器计量的网络资费指标同步到用户终端。
其中,步骤S503用户终端根据所述更新指令更新剩余的网络资费指标之后,本发明接入认证页面网络资费指标同步方法还如附图6所示,具体步骤如下:
步骤S601,当所述用户终端离开第一无线接入设备时,所述用户终端向所述接入服务器发送ping报文,以判断是否与所述接入服务器可达;
具体地,ping是Windows、Unix和Linux系统下的一个命令。ping也属于一个通信协议,是TCP/IP协议的一部分。利用“ping”报文可以检查网络是否连通,可以很好地帮助我们分析和判定网络故障。
步骤S602,当确认与所述接入服务器不可达时,所述用户终端断开与所述接入服务器之间的网络链接;
具体地,接收到ping报文的反馈为不可达,则用户终端将与接入服务器之间的链接断开。
步骤S603,所述用户终端每隔预定时间向所述接入服务器发起网络连接。
具体地,用户终端每隔N秒向接入服务器发起上网连接;期间,用户终端与接入服务器之间停止同步网络资费指标。
其中,步骤S503用户终端根据所述更新指令更新剩余的网络资费指标之后,本发明接入认证页面网络资费指标同步方法还如附图7所示,具体步骤如下:
步骤S701,当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端向所述第二无线接入设备发送关联请求,以便所述第二 无线接入设备根据关联请求确认是否允许所述用户终端关联;
具体地,当用户终端欲关联第二无线接入设备时,用户终端向第二无线接入设备发送关联请求,收到用户终端的关联请求后,第二无线接入设备向接入服务器发送该用户终端是否已经成功接入认证的询问消息,根据接入服务器的反馈第二无线接入设备确认是否允许用户终端关联;当接入服务器反馈用户终端已成功接入认证,则第二无线接入设备允许用户终端关联,否则,第二无线接入设备不允许用户终端关联。
步骤S702,当所述用户终端关联上所述第二无线接入设备时,所述用户终端每隔预定时间向所述接入服务器发起网络连接。
具体地,当接入服务器反馈用户终端已成功接入认证,则第二无线接入设备允许用户终端关联,用户终端关联上第二无线接入设备后,由于接入服务器的域名一般时白名单,则用户终端利用重连机制每隔N秒向接入服务器发起上网连接;期间,用户终端与接入服务器之间停止同步网络资费指标。
其中,步骤S503用户终端根据所述更新指令更新剩余的网络资费指标之后,本发明接入认证页面网络资费指标同步方法还如附图8所示,具体步骤如下:
步骤S801,当所述用户终端不在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端接收所述接入服务器发送的重新进行接入认证的消息;
具体地,当用户终端不在漫游规定有效时间内,此时,用户终端欲关联第二无线接入设备,则向第二无线接入设备发送关联请求,接收到用户终端的关联请求后,第二无线接入设备向接入服务器发送用户终端是否成功接入认证,接入服务器确认用户终端为下线状态,则直接向用户终端反馈需要重新进行接入认证。
步骤S802,所述用户终端重新进行接入认证。
具体地,接收到接入服务器反馈的重新进行接入认证的消息后,用户终端在接入认证页面重新进行接入认证。
其中,步骤S503用户终端根据所述更新指令更新剩余的网络资费指标之后,本发明接入认证页面网络资费指标同步方法还如附图9所示,具体步骤 如下:
步骤S901,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端接收所述接入服务器发送的重新进行接入认证的消息;
具体地,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,这时,用户终端为下线状态。此时若用户终端欲关联第二无线接入设备,则向用户终端向第二无线接入设备发送关联请求,收到用户终端的关联请求后,第二无线接入设备向接入服务器发送该用户终端是否已经成功接入认证的询问消息;
其中,用户终端注销账户为主动注销账户或被动注销账户;用户终端离开网络为主动离开网络;用户终端剩余的网络资费指标为零为无上网流量或无上网时长而被动离开网络。
步骤S902,所述用户终端重新进行接入认证。
具体地,接收到接入服务器反馈的重新进行接入认证的消息后,用户终端在接入认证页面重新进行接入认证。
图10为本发明接入服务器一种实施例的结构图,接入服务器1000包括启动计量模块1001和第一下发模块1002,
启动计量模块1001,用于当用户终端成功接入认证后,启动计量网络资费指标;
具体地,所述网络资费指标为上网时长或上网流量,这里计量是倒计量,比如上网时长可计量为剩余上网时长,上网流量可计量为剩余上网流量。
第一下发模块1002,用于每隔一定预设时间,向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。
具体地,每隔一定预定时间是接入服务器1000预先设置的下发频率,通过接入服务器1000参与,可将接入服务器1000计量的网络资费指标同步到用户终端;
当剩余的网络资费指标为零时,接入服务器1000向与所述用户终端关联 的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与所述用户终端的关联。
图11为本发明接入服务器另一种实施例的结构图,接入服务器1000包括启动计量模块1001、第一下发模块1002和第二下发模块1003,其中,启动计量模块1001和第一下发模块1002具体如图10所示,
第二下发模块1003,用于在所述第一下发模块1002向所述用户终端下发更新剩余的网络资费指标之后,当剩余的网络资费指标为零时,向与所述用户终端关联的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与所述用户终端的关联。
图12为本发明接入服务器另一种实施例的结构图,接入服务器1000包括启动计量模块1001、第一下发模块1002、第一接收模块1004和停止计量模块1005,其中,启动计量模块1001和第一下发模块1002具体如图10所示,
第一接收模块1004,用于在所述第一下发模块1002向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端主动离开网络时,接收所述第一无线接入设备发送的所述用户终端已经离开网络的消息;
具体地,当用户终端主动离开网络时,首先用户终端解除了与第一无线接入设备的关联,第一无线接入设备便获知用户终端离开网络,并将获知的用户终端离开网络的消息发送给接入服务器1000。
停止计量模块1005,停止计量所述网络资费指标。
具体地,接入服务器1000停止计量所述网络资费指标后,接入服务器1000一直保留停止那一刻的网络资费指标。
图13为本发明接入服务器另一种实施例的结构图,接入服务器1000包括启动计量模块1001、第一下发模块1002、第二接收模块1006、第一确认模块1007和通知模块1008,其中,启动计量模块1001和第一下发模块1002具体如图10所示,
第二接收模块1006,用于在所述第一下发模块1002向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述第二无线接入设备发送的所述用户终端是否 已成功接入认证的询问消息;
具体地,当用户终端欲关联第二无线接入设备时,用户终端向第二无线接入设备发送关联请求,收到用户终端的关联请求后,第二无线接入设备向接入服务器1000发送该用户终端是否已经成功接入认证的询问消息。
第一确认模块1007,用于确认所述用户终端已成功接入认证;
具体地,接收到第二无线接入设备发送的用户终端是否已经成功接入认证的询问消息后,接入服务器1000查询用户终端已成功接入第一无线接入设备,则认为用户终端已成功接入认证,则用户终端无需再次进行接入认证,则第二无线接入设备开通用户终端上网权限,并且返回用户终端关联响应。
通知模块1008,用于通知所述第二无线接入设备开通所述用户终端上网权限。
图14为本发明接入服务器另一种实施例的结构图,接入服务器1000包括启动计量模块1001、第一下发模块1002、第三接收模块1009、第二确认模块1010和第三下发模块1011,其中,启动计量模块1001和第一下发模块1002具体如图10所示,
第三接收模块1009,用于在第一下发模块1002向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述第二无线接入设备发送的所述用户终端的状态咨询消息;
具体地,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,此时若用户终端欲关联第二无线接入设备,则用户终端向第二无线接入设备发送关联请求,收到用户终端的关联请求后,第二无线接入设备向接入服务器1000发送该用户终端是否已经成功接入认证的询问消息;
其中,用户终端注销账户为主动注销账户或被动注销账户;用户终端离开网络为主动离开网络;用户终端剩余的网络资费指标为零为无上网流量或无上网时长而被动离开网络。
第二确认模块1010,用于确认所述用户终端为下线状态;
具体地,接收到第二无线接入设备发送的用户终端是否已成功接入认证的询问消息,接入服务器1000查询自身发现用户终端已经下线,则告知用户终端重新进行接入认证。
第三下发模块1011,用于向所述用户终端下发重新进行接入认证的消息。
图15为本发明用户终端一种实施例的结构图,用户终端1400包括接入模块1401、第四接收模块1402和更新模块1403,
接入模块1401,用于成功接入认证;
具体地,用户终端1400关联第一无线接入设备的某一个SSID(服务集标识),第一无线接入设备将用户终端1400的上网响应(HTTP Request)报文重定向到接入服务器1000指定的URL(WWW统一资源定位标志)地址,用户终端1400获得第一无线接入设备重定向的网络页面,提示用户终端1400输入用户名和密码后,向接入服务器1000发起接入认证请求,接入服务器1000接收到用户终端1400的接入认证请求后,审核用户名和密码,向第一无线接入设备发送认证成功消息,并将认证结果和用户剩余上网时长或剩余上网流量反馈给用户终端1400,第一无线接入设备收到接入服务器1000发送的接入认证成功的消息后,授权用户终端上网;
其中,每一个子网都有一个SSID,每一个子网络都需要独立的身份验证,只有通过身份验证的用户才可以进入相应的子网络,防止未被授权的用户进入本网络;
其中,接入认证页面是接入服务器指定的页面,网络地址为URL地址。
第四接收模块1402,用于每隔一定预设时间,接收接入服务器1000下发更新剩余的网络资费指标的更新指令;
具体地,所述网络资费指标为上网时长或上网流量,由于是倒计量,这里的上网时长为剩余上网时长,上网流量为剩余上网流量;
每隔一定预定时间是服务器预先设置的下发频率;
当剩余的网络资费指标为零时,接入服务器1000向与用户终端1400关联的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与用户终端1400的关联。
具体地,所述网络资费指标为上网时长或上网流量;
更新模块1403,用于根据所述更新指令更新剩余的网络资费指标。
具体地,通过接入服务器1000参与,用户终端1400可以及时更新自身的剩余的网络资费指标,如此,可将接入服务器1000计量的网络资费指标同步到用户终端1400。
图16为本发明用户终端另一种实施例的结构图,用户终端1400包括接入模块1401、第四接收模块1402、更新模块1403、第一发送模块1404、第三确认模块1405、断开模块1406和第一同步模块1407,其中,接入模块1401、第四接收模块1402和更新模块1403具体如图15所示,
第一发送模块1404,用于在更新模块1404根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端1400离开第一无线接入设备时,向接入服务器1000发送ping报文,以判断是否与所述接入服务器可达;
具体地,ping是Windows、Unix和Linux系统下的一个命令。ping也属于一个通信协议,是TCP/IP协议的一部分。利用“ping”报文可以检查网络是否连通,可以很好地帮助我们分析和判定网络故障。
第三确认模块1405,用于确认与接入服务器1000不可达;
具体地,接收到ping报文的反馈为不可达,则用户终端1400将与接入服务器1000之间的链接断开。
断开模块1406,用于断开与接入服务器1000之间的网络链接;
具体地,用户终端1400每隔N秒向接入服务器发起上网连接;期间,用户终端1400与接入服务器1000之间停止同步网络资费指标。
第一同步模块1407,用于每隔预定时间向接入服务器1000发起网络连接。
图17为本发明用户终端另一种实施例的结构图,用户终端1400包括接入模块1401、第四接收模块1402、更新模块1403、第二发送模块1408和第二同步模块1409,其中,接入模块1401、第四接收模块1402和更新模块1403具体如图15所示,
第二发送模块1408,用于在更新模块1403根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端1400在漫游规定有效时间内,欲关联第 二无线接入设备时,向所述第二无线接入设备发送关联请求,以便所述第二无线接入设备根据关联请求确认是否允许用户终端1400关联;
具体地,当用户终端1400欲关联第二无线接入设备时,用户终端1400向第二无线接入设备发送关联请求,收到用户终端1400的关联请求后,第二无线接入设备向接入服务器1000发送该用户终端1400是否已经成功接入认证的询问消息,根据接入服务器1000的反馈第二无线接入设备确认是否允许用户终端1400关联;当接入服务器1000反馈用户终端已成功接入认证,则第二无线接入设备允许用户终端1400关联,否则,第二无线接入设备不允许用户终端1400关联。
第二同步模块1409,用于当用户终端1400关联上所述第二无线接入设备时,每隔预定时间向接入服务器1000发起网络连接。
具体地,当接入服务器1000反馈用户终端1400已成功接入认证,则第二无线接入设备允许用户终端关联,用户终端关联上第二无线接入设备后,每隔N秒向接入服务器1000发起上网连接;期间,用户终端1400与接入服务器1000之间停止同步网络资费指标。
图18为本发明用户终端另一种实施例的结构图,用户终端1400包括接入模块1401、第四接收模块1402、更新模块1403、第五接收模块1410和第一认证模块1411,其中,接入模块1401、第四接收模块1402和更新模块1403具体如图15所示,
第五接收模块1410,用于在更新模块1403根据所述更新指令更新剩余的网络资费指标之后,当用户终端1400不在漫游规定有效时间内,欲关联第二无线接入设备时,接收接入服务器1000发送的重新进行接入认证的消息;
具体地,当用户终端1400不在漫游规定有效时间内,此时,用户终端1400欲关联第二无线接入设备,则向第二无线接入设备发送关联请求,接收到用户终端1400的关联请求后,第二无线接入设备向接入服务器1000发送用户终端1400是否成功接入认证,接入服务器1000确认用户终端为下线状态,则直接向用户终端1400反馈需要重新进行接入认证。
第一认证模块1411,用于重新进行接入认证。
具体地,接收到接入服务器1000反馈的重新进行接入认证的消息后,用户终端1400在接入认证页面重新进行接入认证。
图19为本发明用户终端另一种实施例的结构图,用户终端1400包括接入模块1401、第四接收模块1402、更新模块1403、第六接收模块1412和第二认证模块1413,其中,接入模块1401、第四接收模块1402和更新模块1403具体如图15所示,
第六接收模块1412,用于在更新模块1403根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端1400注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述接入服务器1000发送的重新进行接入认证的消息;
具体地,当所述用户终端1400注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,这时,用户终端1400为下线状态。此时若用户终端1400欲关联第二无线接入设备,则向用户终端1400向第二无线接入设备发送关联请求,收到用户终端1400的关联请求后,第二无线接入设备向接入服务器1000发送该用户终端1400是否已经成功接入认证的询问消息;
其中,用户终端1400注销账户为主动注销账户或被动注销账户;用户终端1400离开网络为主动离开网络;用户终端1400剩余的网络资费指标为零,也就是,无上网流量或无上网时长而被动离开网络。
第二认证模块1413,用于重新进行接入认证。
具体地,接收到接入服务器1000反馈的重新进行接入认证的消息后,用户终端1400在接入认证页面重新进行接入认证。
图20为本发明接入认证页面网络资费指标同步系统的一种实施例的结构图,系统2000包括接入服务器1000和用户终端1400,
接入服务器1000用于当用户终端1400成功接入认证后,启动计量网络资费指标;所述网络资费指标为上网时长或上网流量;还用于每隔一定预设时间,向用户终端1400下发更新剩余的网络资费指标的更新命令,以便用户终端1400根据所述更新命令更新剩余的网络资费指标。
用户终端1400用于成功接入认证;还用于每隔一定预设时间,接收接入 服务器1000下发更新剩余的网络资费指标的更新指令;所述网络资费指标为上网时长或上网流量;并用于根据所述更新指令更新剩余的网络资费指标。
应当理解,本实施例提供的接入服务器1000及用户终端1400的功能模块可以为软件模块或者软硬件结合的功能模块,其可以通过处理器执行而实现如上所述的功能。并且,接入服务器1000及用户终端1400还可以具有其他功能模块来实现克服了及时同步上网时长或上网流量各个具体步骤,具体可以参阅以上方法实施例的相应描述。
另外,所属技术领域的技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,并被通讯内部的处理器执行,前述的程序在被执行时处理器可以执行包括上述方法实施例的全部或者部分步骤。其中,所述处理器可以作为一个或多个处理器芯片实施,或者可以为一个或多个专用集成电路(Application Specific Integrated Circuit,ASIC)的一部分;而前述的存储介质可以包括但不限于以下类型的存储介质:闪存(Flash Memory)、存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (21)

  1. 一种接入认证页面网络资费指标同步方法,其特征在于,所述方法包括:
    当用户终端成功接入认证后,接入服务器启动计量网络资费指标;所述网络资费指标为上网时长或上网流量;
    每隔一定预设时间,所述接入服务器向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。
  2. 根据权利要求1所述的方法,其特征在于,在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,所述方法还包括:
    当剩余的网络资费指标为零时,所述接入服务器向与所述用户终端关联的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与所述用户终端的关联。
  3. 根据权利要求1所述的方法,其特征在于,在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,所述方法还包括:
    当所述用户终端主动离开网络时,所述接入服务器接收所述第一无线接入设备发送的所述用户终端已经离开网络的消息;
    所述接入服务器停止计量所述网络资费指标。
  4. 根据权利要求1所述的方法,其特征在于,在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,所述方法还包括:
    当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,所述接入服务器接收所述第二无线接入设备发送的所述用户终端是否已成功接入认证的询问消息;
    所述接入服务器确认所述用户终端已成功接入认证后,则通知所述第二无线接入设备开通所述用户终端上网权限。
  5. 根据权利要求1所述的方法,其特征在于,在所述接入服务器向所述用户终端下发更新剩余的网络资费指标之后,所述方法还包括:
    当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,所述接入服务器接收所述第二无线接入设备发送的所述用户终端的状态咨询消息;
    所述接入服务器确认所述用户终端为下线状态时,则向所述用户终端下发重新进行接入认证的消息。
  6. 一种接入认证页面网络资费指标同步方法,其特征在于,所述方法包括:
    用户终端成功接入认证;
    每隔一定预设时间,所述用户终端接收所述接入服务器下发更新剩余的网络资费指标的更新指令;所述网络资费指标为上网时长或上网流量;
    所述用户终端根据所述更新指令更新剩余的网络资费指标。
  7. 根据权利要求6所述的方法,其特征在于,在所述用户终端根据所述更新指令更新剩余的网络资费指标之后,所述方法还包括:
    当所述用户终端离开第一无线接入设备时,所述用户终端向所述接入服务器发送ping报文,以判断是否与所述接入服务器可达;
    当确认与所述接入服务器不可达时,所述用户终端断开与所述接入服务器之间的网络链接;
    所述用户终端每隔预定时间向所述接入服务器发起网络连接。
  8. 根据权利要求6所述的方法,其特征在于,在所述用户终端根据所述更新指令更新剩余的网络资费指标之后,所述方法还包括:
    当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端向所述第二无线接入设备发送关联请求,以便所述第二无线接入设备根据关联请求确认是否允许所述用户终端关联;
    当所述用户终端关联上所述第二无线接入设备时,所述用户终端每隔预定时间向所述接入服务器发起网络连接。
  9. 根据权利要求6所述的方法,其特征在于,在所述用户终端根据所述更新指令更新剩余的网络资费指标之后,所述方法还包括:
    当所述用户终端不在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端接收所述接入服务器发送的重新进行接入认证的消息;
    所述用户终端重新进行接入认证。
  10. 根据权利要求6所述的方法,其特征在于,在所述用户终端根据所述更新指令更新剩余的网络资费指标之后,所述方法还包括:
    当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,所述用户终端接收所述接入服务器发送的重新进行接入认证的消息;
    所述用户终端重新进行接入认证。
  11. 一种接入服务器,其特征在于,所述接入服务器包括:
    启动计量模块,用于当用户终端成功接入认证后,启动计量网络资费指标;所述网络资费指标为上网时长或上网流量;
    第一下发模块,用于每隔一定预设时间,向所述用户终端下发更新剩余的网络资费指标的更新命令,以便所述用户终端根据所述更新命令更新剩余的网络资费指标。
  12. 根据权利要求11所述的接入服务器,其特征在于,所述接入服务器还包括:
    第二下发模块,用于在所述第一下发模块向所述用户终端下发更新剩余的网络资费指标之后,当剩余的网络资费指标为零时,向与所述用户终端关联的第一无线接入设备下发解除命令,以便所述第一无线接入设备根据所述解除命令解除与所述用户终端的关联。
  13. 根据权利要求11所述的接入服务器,其特征在于,所述接入服务器还包括:
    第一接收模块,用于在所述第一下发模块向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端主动离开网络时,接收所述第一无线接入设备发送的所述用户终端已经离开网络的消息;
    停止计量模块,停止计量所述网络资费指标。
  14. 根据权利要求11所述的接入服务器,其特征在于,所述接入服务器还包括:
    第二接收模块,用于在所述第一下发模块向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述第二无线接入设备发送的所述用户终端是否已成功接入认证的询问消息;
    第一确认模块,用于确认所述用户终端已成功接入认证;
    通知模块,用于通知所述第二无线接入设备开通所述用户终端上网权限。
  15. 根据权利要求11所述的接入服务器,其特征在于,所述接入服务器还包括:
    第三接收模块,用于在所述第一下发模块向所述用户终端下发更新剩余的网络资费指标之后,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述第二无线接入设备发送的所述用户终端的状态咨询消息;
    第二确认模块,用于确认所述用户终端为下线状态;
    第三下发模块,用于向所述用户终端下发重新进行接入认证的消息。
  16. 一种用户终端,其特征在于,所述用户终端包括:
    接入模块,用于成功接入认证;
    第四接收模块,用于每隔一定预设时间,接收所述接入服务器下发更新剩 余的网络资费指标的更新指令;所述网络资费指标为上网时长或上网流量;
    更新模块,用于根据所述更新指令更新剩余的网络资费指标。
  17. 根据权利要求16所述的用户终端,其特征在于,所述用户终端还包括:
    第一发送模块,用于在所述更新模块根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端离开第一无线接入设备时,向所述接入服务器发送ping报文,以判断是否与所述接入服务器可达;
    第三确认模块,用于确认与所述接入服务器不可达;
    断开模块,用于断开与所述接入服务器之间的网络链接;
    第一同步模块,用于每隔预定时间向所述接入服务器发起网络连接。
  18. 根据权利要求16所述的用户终端,其特征在于,所述用户终端还包括:
    第二发送模块,用于在所述更新模块根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端在漫游规定有效时间内,欲关联第二无线接入设备时,向所述第二无线接入设备发送关联请求,以便所述第二无线接入设备根据关联请求确认是否允许所述用户终端关联;
    第二同步模块,用于当所述用户终端关联上所述第二无线接入设备时,每隔预定时间向所述接入服务器发起网络连接。
  19. 根据权利要求16所述的用户终端,其特征在于,所述用户终端还包括:
    第五接收模块,用于在所述更新模块根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端不在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述接入服务器发送的重新进行接入认证的消息;
    第一认证模块,用于重新进行接入认证。
  20. 根据权利要求16所述的用户终端,其特征在于,所述用户终端还包 括:
    第六接收模块,用于在所述更新模块根据所述更新指令更新剩余的网络资费指标之后,当所述用户终端注销账户、离开网络、剩余的网络资费指标为零或不在漫游规定有效时间内,欲关联第二无线接入设备时,接收所述接入服务器发送的重新进行接入认证的消息;
    第二认证模块,用于重新进行接入认证。
  21. 一种接入认证页面网络资费指标同步系统,其特征在于,所述系统包括接入服务器和用户终端,
    所述接入服务器为权利要求11-15任一项所述的接入服务器;
    所述用户终端为权利要求16-20任一项所述的用户终端。
PCT/CN2016/108003 2016-04-12 2016-11-30 接入认证页面网络资费指标同步方法、设备及系统 WO2017177687A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610224942.7A CN105897437A (zh) 2016-04-12 2016-04-12 接入认证页面网络资费指标同步方法、设备及系统
CN201610224942.7 2016-04-12

Publications (1)

Publication Number Publication Date
WO2017177687A1 true WO2017177687A1 (zh) 2017-10-19

Family

ID=57012281

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/108003 WO2017177687A1 (zh) 2016-04-12 2016-11-30 接入认证页面网络资费指标同步方法、设备及系统

Country Status (2)

Country Link
CN (1) CN105897437A (zh)
WO (1) WO2017177687A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897437A (zh) * 2016-04-12 2016-08-24 上海斐讯数据通信技术有限公司 接入认证页面网络资费指标同步方法、设备及系统
CN105813050A (zh) * 2016-04-26 2016-07-27 上海斐讯数据通信技术有限公司 一种接入认证页面网络资费指标同步优化方法及设备
CN107948989B (zh) * 2016-10-13 2021-02-12 北京国双科技有限公司 一种移动终端联网时长的计算方法及装置
CN106559802A (zh) * 2016-10-31 2017-04-05 上海斐讯数据通信技术有限公司 一种无线漫游测试方法和系统
CN108632802B (zh) * 2017-03-20 2020-09-29 北京华弘集成电路设计有限责任公司 一种漫游方法及装置
CN112489233B (zh) * 2020-10-16 2023-02-24 深圳市科漫达智能管理科技有限公司 一种基于多渠道接入停车场方法以及相关装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571366A (zh) * 2003-07-23 2005-01-26 华为技术有限公司 监测用户连接状态的方法
WO2015000533A1 (en) * 2013-07-05 2015-01-08 Telefonaktiebolaget L M Ericsson (Publ) Connecting to radio access networks selected based on charging data for a subscription of a user
CN105471991A (zh) * 2015-11-23 2016-04-06 湖北文理学院 电子商务系统的用户管理方法
CN105813050A (zh) * 2016-04-26 2016-07-27 上海斐讯数据通信技术有限公司 一种接入认证页面网络资费指标同步优化方法及设备
CN105897437A (zh) * 2016-04-12 2016-08-24 上海斐讯数据通信技术有限公司 接入认证页面网络资费指标同步方法、设备及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237402B (zh) * 2008-02-02 2010-12-08 中兴通讯股份有限公司 一种aaa服务会话接入控制系统和方法
CN103188647A (zh) * 2011-12-29 2013-07-03 北京网秦天下科技有限公司 一种移动终端上网流量统计分析和提醒的方法和系统
CN103369531B (zh) * 2013-07-02 2017-07-04 新华三技术有限公司 一种基于终端信息进行权限控制的方法及装置
CN104135384B (zh) * 2014-07-30 2018-06-12 上海斐讯数据通信技术有限公司 上网权限管理系统及其方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571366A (zh) * 2003-07-23 2005-01-26 华为技术有限公司 监测用户连接状态的方法
WO2015000533A1 (en) * 2013-07-05 2015-01-08 Telefonaktiebolaget L M Ericsson (Publ) Connecting to radio access networks selected based on charging data for a subscription of a user
CN105471991A (zh) * 2015-11-23 2016-04-06 湖北文理学院 电子商务系统的用户管理方法
CN105897437A (zh) * 2016-04-12 2016-08-24 上海斐讯数据通信技术有限公司 接入认证页面网络资费指标同步方法、设备及系统
CN105813050A (zh) * 2016-04-26 2016-07-27 上海斐讯数据通信技术有限公司 一种接入认证页面网络资费指标同步优化方法及设备

Also Published As

Publication number Publication date
CN105897437A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017177687A1 (zh) 接入认证页面网络资费指标同步方法、设备及系统
US8023958B2 (en) User plane-based location services (LCS) system, method and apparatus
JP4477494B2 (ja) インターネットプロトコル(voip)通信において音声のデジタル証明書を登録し自動的に検索する方法およびシステム
US9113332B2 (en) Method and device for managing authentication of a user
US9225706B2 (en) Multiple access point zero sign-on
CN105491070B (zh) 安全用户平面定位(supl)系统中的认证方法和装置
US7434044B2 (en) Fast re-authentication with dynamic credentials
EP3526947B1 (en) Improvements in and relating to network communication
EP1705869B1 (en) Method and apparatus for locating mobile device users within a wireless computer network
US8086247B2 (en) Secure user plane location session initiation improvement
EP3120591B1 (en) User identifier based device, identity and activity management system
US9918353B2 (en) 802.1X access session keepalive method, device, and system
EP3286893A1 (en) Secure transmission of a session identifier during service authentication
CN106656911B (zh) 一种Portal认证方法、接入设备和管理服务器
WO2013002886A1 (en) Network identity for software-as-a-service authentication
WO2017185741A1 (zh) 一种接入认证页面网络资费指标同步优化方法及设备
CN107770035B (zh) 一种推送离线通知的方法和装置
WO2013189398A2 (zh) 应用数据推送方法、装置及系统
JP4377120B2 (ja) リモートアクセス認証に基づくサービス提供システム
JP4357165B2 (ja) ネットワーク接続認証に基づくサービス提供システム
WO2023216272A1 (zh) 密钥管理方法、装置、设备及存储介质
KR20200088179A (ko) 사용자 단말에서의 광고 시청을 확인하여 보안 와이파이 서비스의 제공을 허가하는 장치 및 방법

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16898500

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16898500

Country of ref document: EP

Kind code of ref document: A1