WO2014173335A1 - 门户认证方法、宽带网络网关、门户服务器和系统 - Google Patents
门户认证方法、宽带网络网关、门户服务器和系统 Download PDFInfo
- Publication number
- WO2014173335A1 WO2014173335A1 PCT/CN2014/077197 CN2014077197W WO2014173335A1 WO 2014173335 A1 WO2014173335 A1 WO 2014173335A1 CN 2014077197 W CN2014077197 W CN 2014077197W WO 2014173335 A1 WO2014173335 A1 WO 2014173335A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user terminal
- bng
- information
- portal server
- portal
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0892—Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Definitions
- the present invention relates to the field of mobile communications technologies, and in particular, to a Portal authentication method, a Broadband Network Gateway (BNG), a Portal server, a system, and a computer storage medium.
- BNG Broadband Network Gateway
- Background technique
- WLAN Wireless Local Area Networks
- governments and operators have introduced public WLAN hotspots and hot zone construction plans. Some cities and regions have completed business centers, universities and colleges. Wide coverage of WLANs further stimulates the frequency of video transmissions by user terminals over WLANs, resulting in a rapid increase in the number of simultaneous WLAN user terminals.
- FIG. 1 The basic architecture of the Portal authentication system provided by the related art is as shown in FIG. 1 , which mainly includes: a user terminal 11 , a user access gateway BNG 12 , a portal server 13 , and an authentication authorization accounting ( AAA). 14 and so on.
- the user terminal 11 interacts with the BNG 12 to obtain an Internet Protocol (IP, Internet Protocol).
- IP Internet Protocol
- the BNG 12 redirects the Hypertext Transport Protocol (HTTP) access request of the user to the Internet to the Portal server 13.
- the Portal server 13 provides the web portal authentication page for the user to input the authentication/authentication information. For example, the user name, password, and the like, the user's authentication and authorization are completed through the interaction of the Portal server 13, the AAA server 14, and the BNG 12.
- the current portal server uses the "stateful" mode, that is, the portal server stores the user's status information, and the user's status information includes: whether the user is authenticated, that is, the authentication status, the user's online duration, and the user traffic.
- each Portal server serves multiple BNGs and stores a large amount of user status information.
- IPv6 Internet Protocol version 6
- the embodiment of the invention provides a portal authentication method, a BNG, a portal server, a system, and a computer storage medium, which can avoid the risk of Portal authentication in the related technologies and adapt to a new network environment such as an IPv6 network.
- the embodiment of the invention provides a portal authentication method, and the method includes:
- the portal server After receiving the HTTP request sent by the user terminal, the portal server sends an information query message to the BNG currently accessed by the user terminal; the BNG collects the information of the user terminal according to the information query message sent by the Portal server, and The collected information of the user terminal is fed back to the Portal server by using a response message.
- the HTTP request includes: an HTTP connection establishment request of the user terminal, a user terminal measurement information query request sent by the user terminal through the HTTP connection, and a user terminal offline request.
- the information query message is used to indicate that the BNG feeds back user terminal information
- the user terminal information includes at least one of the following: an IP address set of the user terminal; location information of the user terminal; measurement information of the user terminal; Certification status.
- the information query message and the response message use an encapsulation format of a Portal protocol, or an encapsulation format of a Remote Authentication Dial In User Service (RADIUS) protocol.
- a Portal protocol or an encapsulation format of a Remote Authentication Dial In User Service (RADIUS) protocol.
- RADIUS Remote Authentication Dial In User Service
- the method further includes:
- the portal server After receiving the response message sent by the BNG, the portal server provides a corresponding page and/or information to the user terminal according to the HTTP request sent by the user terminal and the response message.
- the method further includes:
- the BNG adds the identification information of the BNG itself to the Uniform Resource Locator URL field of the HTTP request of the user terminal to access the Portal server.
- the identification information of the BNG is a system name of the BNG.
- the embodiment of the invention further provides a portal authentication method, where the method includes:
- the portal server After receiving the HTTP request sent by the user terminal, the portal server sends an information query message to the BNG currently accessed by the user terminal.
- the information query message is used by the BNG to collect the information of the user terminal, and the information of the collected user terminal is fed back to the portal server by using a response message.
- the HTTP request includes: an HTTP connection establishment request of the user terminal, and a user
- the user terminal sends an information query request sent by the terminal through the HTTP connection, and the user terminal goes offline.
- the information query message is used to indicate that the BNG feeds back user terminal information
- the user terminal information includes at least one of the following: an IP address set of the user terminal; location information of the user terminal; measurement information of the user terminal; The authentication status of the terminal.
- the information query message and the response message use an encapsulation format of the Portal protocol, or an encapsulation format of the RADIUS protocol.
- the method further includes:
- the portal server After receiving the response message sent by the BNG, the portal server provides a corresponding page and/or information to the user terminal according to the HTTP request sent by the user terminal and the response message.
- the identification information of the BNG is a system name of the BNG.
- the embodiment of the present invention further provides a BNG, where the BNG includes: a collection processing module and a first sending module;
- the collecting processing module is configured to query the user terminal information according to the information query message sent by the portal server;
- the first sending module is configured to feed back the user terminal information collected by the collecting processing module to the portal server by using a response message.
- the collecting processing module is further configured to: when the user terminal is a roaming user terminal or a mobile user terminal, and the IP address of the user terminal does not change when a BNG handover hold occurs, accessing the user terminal
- the identification information of the BNG is added to the URL field of the HTTP request of the portal server.
- the embodiment of the present invention further provides a Portal server, where the Portal server includes: The receiving module is configured to receive a hypertext transfer protocol HTTP request sent by the user terminal, and the second sending module is configured to send an information query message to the broadband network gateway BNG currently accessed by the user terminal.
- the receiving module is configured to receive a hypertext transfer protocol HTTP request sent by the user terminal
- the second sending module is configured to send an information query message to the broadband network gateway BNG currently accessed by the user terminal.
- the receiving module is further configured to receive a response message sent by the BNG, where the second sending module is further configured to provide a corresponding to the user terminal according to the HTTP request sent by the user terminal and the response message. Page and / or information.
- the invention also provides a portal authentication system, the system comprising: a user terminal, a BNG and a portal server;
- the BNG is configured to collect the information of the user terminal according to the information query message sent by the portal server, and feed back the collected information of the user terminal to the portal server by using a response message;
- the portal server is configured to send an information query message to the BNG currently accessed by the user terminal after receiving the HTTP request sent by the user terminal.
- the portal server is further configured to: after receiving the response message sent by the BNG, provide a corresponding page and/or information to the user terminal according to the HTTP request sent by the user terminal and the response message.
- the BNG is further configured to: when the user terminal is a roaming user terminal or a mobile user terminal, and the IP address of the user terminal remains unchanged after the user terminal switches to the BNG, The identification information of the BNG itself is added to the URL field of the HTTP request that the user terminal accesses the Portal server.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute any one of the portal authentication methods described above.
- the portal server after receiving the HTTP request sent by the user terminal, the portal server sends an information query message to the BNG currently accessed by the user terminal;
- the information query message sent by the portal server collects the user terminal information, and feeds the collected user terminal information to the portal server by using a response message.
- the Portal server of the embodiment of the present invention uses a "stateless" processing mechanism, that is, a mechanism for not storing user state information in real time, so before and after the BNG restarts, the address acquisition and authentication processes of the user terminal are completely the same, and the related processes are avoided.
- the user terminal After the BNG fault is restarted in the technology, the user terminal cannot access the network due to the inconsistency of the status information of the user terminal in the BNG server.
- FIG. 1 is a schematic diagram of a basic structure of a portal authentication system in related art
- FIG. 2 is a schematic flowchart 1 of a method for implementing a Portal authentication method according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a network topology structure of a Portal authentication system according to an embodiment of the present invention
- FIG. One is a schematic flowchart 1 of a method for implementing a Portal authentication method according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a network topology structure of a Portal authentication system according to an embodiment of the present invention
- FIG. One is a schematic flowchart 1 of a method for implementing a Portal authentication method according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a network topology structure of a Portal authentication system according to an embodiment of the present invention
- FIG. One is a schematic flowchart 1 of a method for implementing a Portal authentication method according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a network topology structure of a Portal authentication system according to an embodiment of the present invention
- FIG. 5 is a second schematic diagram of a network topology of a portal authentication system according to an embodiment of the present invention
- FIG. 6 is a schematic diagram 2 of a process for implementing portal authentication according to an embodiment of the present invention
- FIG. 7 is a third schematic diagram of a network topology of a portal authentication system according to an embodiment of the present invention
- FIG. 8 is a schematic flowchart 3 of a portal authentication implementation process according to an embodiment of the present invention
- FIG. 9 is a schematic structural diagram of a BNG according to an embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a portal server according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram 4 of a network topology structure of a Portal authentication system according to an embodiment of the present invention. detailed description
- the Portal server stores a large number of online user information on multiple BNGs at the same time.
- the Portal server does not involve real-time synchronization of online user information with the BNG. Once the BNG fails and restarts quickly, the Portal server does not clear the user's status information in time.
- the user information between the Portal server and the BNG is inconsistent, and the user cannot access the network. For example, if the online user managed on the Portal server fails to go offline, the BNG will re-assign the IP address to the user and set the user status to the unauthenticated state.
- the portal server considers the user's status as online, and directly pushes the user a successful authentication page without providing input to the user.
- the authentication page of the user name and password causes the user to fail to access the Internet.
- the user status on the BNG is always unauthenticated.
- IPv6 there is a lack of support for IPv6. Because the user ID on the current Portal server is the user's IP address, in a new network environment such as an IPv6 network, the user may have multiple IPv6 addresses at the same time, and may dynamically release or apply one or more of the addresses. If an IPv6 user initiates an HTTP request for the first time with an IP address and is redirected to the Portal server for authentication, if the user uses another IP address to access the Portal server to submit a offline request, the other server does not have the other one. If the IP address has passed the authentication record, the user's offline process cannot be completed, which may lead to many problems such as the user's charging will not stop.
- FIG. 2 is a schematic flowchart of a Portal authentication method according to an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
- Step 201 The portal server receives an HTTP request sent by the user terminal.
- the HTTP request includes: an HTTP connection establishment request of the user terminal, a user terminal measurement information query request sent by the user terminal through the HTTP connection, and a user terminal Line request.
- the measurement information includes a duration and a flow rate.
- Step 202 The portal server sends an information query message to the BNG currently accessed by the user terminal.
- the information query message is used to indicate that the BNG feeds back various information of the user terminal
- the user terminal information includes at least one of the following: an IP address set of the user terminal (ie, all IP addresses of the user terminal); Location information; metering information at the end; authentication status of the user terminal.
- Step 203 The BNG collects information about the user terminal according to the information query message sent by the portal server.
- Step 204 The BNG feeds back the collected information of the user terminal to the portal server by using a response message.
- the method further includes: after receiving the response message sent by the BNG, the Portal server provides a corresponding page and/or a corresponding page to the user terminal according to the HTTP request sent by the user terminal and the response message. information.
- the information query message and the response message described above are encapsulated in a Portal protocol format, or encapsulated in a RADIUS protocol format.
- the method further includes: adding, by the BNG, its own identification information in a Uniform Resource Locator field in the HTTP request of the user terminal accessing the Portal server.
- the identification information of the BNG may be a system name of the BNG.
- the following is a detailed description in conjunction with the actual application scenario.
- FIG. 4 is a schematic flowchart 1 of a process for implementing Portal authentication processing according to an embodiment of the present invention. As shown in Figure 4, the following steps are included:
- Step 401 The UE interacts with the BNG to obtain its own IP address.
- Step 402 When the UE initiates an HTTP request to the network side server, the BNG determines that the UE is not authenticated, and then redirects the HTTP request to the portal server.
- Step 403 The portal server sends an information query message to the BNG, requesting the BNG to feed back the IP address set of the UE and the UE authentication status.
- the portal server may further request the BNG to feed back the location information of the UE in the information query message.
- Step 404 After receiving the information query message sent by the portal server, the BNG collects all the IP address information and the authentication status information of the UE.
- the portal server can also request the BNG to feed back the location information of the UE in the information query message, the BNG also needs to collect the location information of the UE.
- Step 405 The BNG sends a response message to the Portal server, and sends the IP address set and the authentication status of the UE to the Portal server.
- the portal server further requests the BNG to feed back the location information of the UE in the information query message
- the BNG simultaneously carries the location information of the UE in the response message and sends the location information to the portal server.
- Step 406 After receiving the response message, the portal server determines that the UE has not been authenticated, and provides an authentication page to the UE, and requires the user to input authentication information, such as a UE name, a password, and the like.
- the portal server completes the establishment of the HTTP connection with the UE before providing the authentication page to the UE.
- the portal server may also push a customized/personalized authentication page to the UE according to the location information of the UE in the response message, such as: pushing the quotient of the UE geographical location according to the merchant request Household information, etc.
- Step 407 The UE provides the authentication information to the portal server, that is, enters the authentication information in the UE authentication page and submits the information.
- Step 408 After receiving the authentication information, the portal server interacts with the AAA server and the BNG to complete the UE authentication.
- Step 409 The portal server pushes a page of the authentication result to the UE.
- the portal server pushes the page with successful authentication to the UE; otherwise, the page that fails the authentication is pushed.
- the portal server pushes the customized/personalized authentication success page or the authentication failure page according to the location information of the UE, such as: pushing the merchant information around the geographic location of the UE according to the merchant request, or when the authentication fails due to the UE owing the fee, Push the address information of the nearby business hall, the location information of the self-service payment user terminal, and so on.
- Step 410 After the authentication succeeds, the UE sends an HTTP request to access the network side server again.
- Step 411 The BNG determines that the UE has passed the authentication, and does not redirect the UE's HTTP request, and establishes an HTTP connection between the UE and the network side server.
- the "stateless" processing mechanism is adopted by the portal server, that is, the mechanism for not storing the user state information in real time, so before and after the BNG restart, the address acquisition and authentication processes of the UE are completely the same, and the related technologies are avoided.
- the user terminal After the BNG is restarted, the user terminal cannot access the network due to the inconsistency of the status information of the user terminals in the BNG server.
- the user terminal needs to re-authenticate after the location moves, and the BNG re-accessed by the user terminal re-initiates the strong push authentication, and the server finds the corresponding BNG address to perform strong push authentication.
- the Portal server cannot find the BNG that is re-accessed after the user terminal is moved according to the IP address of the user terminal. In this case, you need the system name (system-name) of the BNG server to store the BNG.
- the mapping relationship with the BNG address is used to implement accurate positioning of the BNG.
- the step 402 of the embodiment further includes:
- the BNG When the BNG redirects the HTTP request of the user terminal, the BNG carries its own identification information, such as a system name (system-name), and the mapping between the system-name and the BNG address is performed by the portal server. Find the corresponding BNG address.
- system-name system name
- the mapping between the system-name and the BNG address is performed by the portal server. Find the corresponding BNG address.
- the IP address does not change and does not need to be re-authenticated, and the portal server does not perceive that the online user terminal has moved, but the user terminal re-establishes an HTTP connection with the Portal server.
- the BNG that is re-accessed after the user terminal is moved needs to perform a "redirect" operation on the HTTP request of the user terminal to access the Portal server, and carries the BNG system name (system-name) in the requested URL, so as to implement User terminal offline, measurement information query and other functions.
- the embodiment also describes that the IPv6 user terminal performs the offline operation.
- the network topology structure of the Portal authentication system in the embodiment of the present invention includes: a user terminal 31, a BNG 32, a portal server 33, and an AAA server 34, corresponding to the Portal authentication system shown in FIG.
- FIG. 6 is a schematic diagram 2 of a process for implementing Portal authentication according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps:
- Step 601 The user terminal accesses the Portal server by using another IPv6 address IP2, and re-initiates an HTTP connection establishment request.
- the online authentication process of the user terminal is the same as the foregoing, and the IPv6 address used by the user in the online authentication process is IP1.
- Step 602 The portal server sends an information query message to the BNG, requesting the BNG to feed back the IP address set of the user terminal and the authentication status of the user terminal.
- Step 603 After receiving the query message sent by the portal server, the BNG collects all the IP address information and the authentication status information of the user terminal.
- Step 604 The BNG sends a response message to the Portal server, where the IP address of the user terminal is The address set and the user terminal authentication status are sent to the Portal server.
- Step 605 After receiving the response message, the portal server determines that the user terminal has been authenticated, and provides an authentication pass page to the user terminal.
- the portal server provides authentication to the user terminal to establish an HTTP connection with the user terminal before the page is authenticated.
- Step 606 The user terminal sends a offline request to the portal server, for example, the user clicks the offline button in the user terminal authentication through the page.
- Step 607 After receiving the offline request, the portal server interacts with the AAA server and the BNG to complete the offline process of the user terminal.
- Step 608 The portal server pushes the authentication offline result page to the user terminal.
- the portal server pushes the authentication offline page to the user terminal. Otherwise, the authentication fails to go offline.
- Step 609 After the user terminal is offline, the user terminal requests to access the network side server again by initiating an HTTP connection.
- Step 610 The BNG determines that the user terminal is not authenticated, and redirects the HTTP connection connection request to the portal server again.
- the portal server uses a "stateless" processing mechanism, that is, a mechanism for not storing user state information in real time, so when the user terminal accesses the portal server by using another IP address to submit a offline request, the portal server The state information of the user terminal is re-acquired to the BNG, so that the user terminal can continue to access the network.
- the present invention is adapted to a new network environment such as an IPv6 network.
- the embodiment of the present invention further describes the process of querying the measurement information of the user terminal.
- the network topology structure of the Portal authentication system in the embodiment of the present invention is as shown in FIG. 7, and includes: a user terminal 41, a BNG 42, and a Portal server 43.
- FIG. 8 is a schematic flowchart 3 of the implementation process of Portal authentication according to an embodiment of the present invention, as shown in FIG. Includes the following steps:
- Step 801 The user terminal sends a measurement information query request to the portal server, including duration, traffic, and the like, that is, the user terminal user can input the authentication information in the authentication pass page and submit.
- the user terminal online authentication process is the same as the foregoing process for online authentication.
- the metering information query request is one of the HTTP requests.
- the user terminal and the portal server will re-establish an HTTP connection, and the process of establishing the HTTP connection is the same as the foregoing steps 601 to 605.
- Step 802 The portal server sends an information query message to the BNG, requesting the BNG to feed back the measurement information of the user terminal.
- Step 803 After receiving the query message of the portal server, the BNG collects the measurement information of the user terminal.
- Step 804 The BNG sends a response message to the portal server, and sends the measurement information of the user terminal to the portal server.
- Step 805 After receiving the response message, the portal server provides the measurement information page/information to the user terminal.
- the embodiment of the present invention further describes a BNG.
- the BNG includes: a collection processing module 51 and a first sending module 52;
- the collecting processing module 51 is configured to collect information about the user terminal according to the information query message sent by the portal server;
- the first sending module 52 is configured to feed back information of the user terminal collected by the collecting processing module 51 to the portal server by using a response message.
- the collection processing module 51 may be a central processing unit (CPU) in a BNG, a digital signal processor (DSP, Digital Singnal Processor), or The Field-Programmable Gate Array (FPGA) is implemented;
- the first sending module 52 can be implemented by a microprocessor in the BNG that supports a corresponding network communication protocol stack, such as an IPv6 protocol stack.
- the collecting processing module 51 is further configured to: when the user terminal is a roaming user terminal or a mobile user terminal, and the IP address of the user terminal does not occur when the BNG switching is maintained.
- the identification information of the BNG is added to the URL field of the HTTP request of the user terminal to access the Portal server.
- the embodiment of the invention also describes a portal server.
- the portal server includes:
- the receiving module 61 is configured to receive a hypertext transfer protocol HTTP request sent by the user terminal, and the second sending module 62 is configured to send an information query message to the broadband network gateway BNG currently accessed by the user terminal.
- the receiving module 61 and the second sending module 62 may be implemented by a microprocessor in the portal server that supports a corresponding network communication protocol stack such as an IPv6 protocol stack.
- the receiving module 61 is further configured to receive the response message sent by the BNG;
- the second sending module 62 is further configured to provide a corresponding page and/or information to the user terminal according to the HTTP request sent by the user terminal and the response message.
- the receiving module 61 and the second sending module 62 can be implemented by a microprocessor in the portal server that supports a corresponding network communication protocol stack, such as an IPv6 protocol stack.
- the embodiment of the present invention further describes a Portal authentication system.
- the system includes: a user terminal 71, a BNG 72, and Portal server 73;
- the BNG 72 is configured to collect information of the user terminal 71 according to the information query message sent by the Portal server 73, and respond to the collected information of the user terminal 71. The message is fed back to the Portal server 73;
- the portal server 73 is configured to send an information query message to the BNG 72 currently accessed by the user terminal 71 after receiving the HTTP request sent by the user terminal 71.
- the portal server 73 is further configured to: after receiving the response message sent by the BNG 72, provide a corresponding page and/or a corresponding page to the user terminal according to the HTTP request sent by the user terminal and the response message. information.
- the BNG 72 is further configured, when the user terminal 72 is a roaming user terminal or a mobile user terminal, and the IP address of the user terminal 72 remains unchanged after the user terminal 72 switches to the BNG. In some cases, the identification information of the BNG 72 itself is added to the URL field of the HTTP request that the user terminal 72 accesses the Portal server 73.
- the portal server uses the "stateless" processing mechanism, that is, the mechanism for not storing the user state information in real time, so the address of the UE is obtained before and after the BNG is restarted.
- the authentication process is the same. It avoids a series of problems such as the inability of the user terminal to access the network due to the inconsistency of the status information of the user terminal in the Portal server and the BNG after the restart of the existing BNG fault.
- another IP address is used in the user terminal.
- the portal server submits the offline request, the portal server reacquires the status information of the user terminal to the BNG, so that the user terminal can continue to access the network and adapt to a new network environment such as an IPv6 network.
- the foregoing storage medium includes: a mobile storage device, a read only memory (ROM, ead-Only Memory), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
- ROM read only memory
- RAM random access memory
- magnetic disk or an optical disk and the like.
- the above integrated unit of the present invention is implemented in the form of a software functional module and Separate products can also be stored on a computer readable storage medium when sold or used.
- the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product.
- the computer software product is stored in a storage medium and includes a plurality of instructions.
- a computer device (which may be a personal computer, server, or network device, etc.) is implemented to perform all or part of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a medium that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例公开了一种Portal认证方法,包括:Portal服务器收到用户终端发送的HTTP请求后,向所述用户终端当前接入的BNG发送信息查询消息;所述BNG根据所述Portal服务器发送的信息查询消息,搜集所述用户终端的信息,并将搜集到的用户终端的信息通过应答消息反馈给所述 Portal服务器。本发明实施例还公开了一种BNG、Portal服务器、系统及计算机存储介质。
Description
门户认证方法、 宽带网络网关、 门户服务器和系统 技术领域
本发明涉及移动通信技术领域, 尤其涉及一种门户( Portal )认证方法、 宽带网络网关( BNG, Broadband Network Gateway )、 Portal服务器、 系统 及计算机存储介质。 背景技术
随着互联网应用和智能用户终端(UE, User Equipment, )的快速发展, 无线局域网( WLAN, Wireless Local Area Networks )的应用已经非常普遍, 很多公共场所, 例如: 工厂, 学校, 咖啡厅等都已部署, 用户可以通过手 机、 电脑等各种用户终端设备, 随时随地访问互联网以进行网上办公、 娱 乐等活动。通过 WLAN接入网络已是用户访问网络资源最重要的手段之一。 随着公众对随时随地通过 WLAN访问互联网的需求不断增加, 政府和运营 商纷纷出台了公众 WLAN热点、 热区的建设计划, 部分城市和地区已经完 成了包括商业中心、 大中院校等地区的 WLAN大范围覆盖, 这也进一步刺 激了用户终端通过 WLAN进行视频的频率, 使得同时在线的 WLAN用户 终端的数量飞速增长。
当前对 WLAN用户访问网络的接入控制和认证 /鉴权的方法主要有两 种: 802. lx方式和 Portal认证、 或称 Web认证方式, 后者在现网中应用更 加普遍, 不仅应用于 WLAN用户访问前的认证 /鉴权, 同时也应用于某些有 线接入场景中。相关技术提供的 Portal认证系统的基本架构如图 1所示,主 要包括: 用户终端 11、 用户接入网关 BNG 12、 Portal服务器 13和认证授 权计费 ( AAA, Authentication Authorization and Accounting )月良务器 14等。 所述用户终端 11与所述 BNG 12交互获取网际协议 ( IP, Internet Protocol )
地址之后, BNG 12将用户访问互联网的超文本传输协议( HTTP, Hyper Text Transport Protocol )访问请求重定向到 Portal服务器 13, Portal服务器 13向 用户提供 web portal认证页面供用户输入认证 /鉴权信息, 如: 用户名、 密 码等, 通过 Portal服务器 13、 AAA服务器 14及 BNG 12的交互完成用户 的认证和授权。
当前的 Portal服务器釆用的是 "有状态" 方式, 即: Portal服务器存储 有用户的状态信息, 所述用户的状态信息包括: 用户是否认证, 即认证状 态、用户在线时长、用户流量等信息,且通常每个 Portal服务器为多个 BNG 服务, 存储了大量的用户状态信息, 随着用户规模的不断扩大和网际协议 第六版 ( IPv6, Internet Protocol version 6 )等新技术的普及, 这种 Portal 认证方式也产生了越来越多的问题:
首先、 故障风险考虑不足; 其次、 对 IPv6支持存在不足; 再次, 当前 的 portal认证方式对诸如定制化 /个性化页面推送、 用户移动性接入等等功 能的需求都不能完全满足。
针对如上的问题, 目前尚未提出有效的解决方案。 发明内容
本发明实施例提供一种 Portal认证方法、 BNG、 Portal服务器、 系统及 计算机存储介质, 可规避相关技术中 Portal认证的故障风险, 适应 IPv6网 络等新的网络环境。
本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种 Portal认证方法, 所述方法包括:
Portal服务器收到用户终端发送的 HTTP请求后,向所述用户终端当前 接入的 BNG发送信息查询消息; 所述 BNG根据所述 Portal服务器发送的 信息查询消息, 搜集所述用户终端的信息, 并将搜集到的用户终端的信息 通过应答消息反馈给所述 Portal服务器。
其中, 所述 HTTP请求包括: 用户终端的 HTTP连接建立请求、 用户 终端通过 HTTP连接发送的用户终端计量信息查询请求、 以及用户终端下 线请求。
其中, 所述信息查询消息用于指示 BNG反馈用户终端信息, 所述用户 终端信息包括以下信息至少一种: 用户终端的 IP地址集; 用户终端的位置 信息; 用户终端的计量信息; 用户终端的认证状态。
其中, 所述信息查询消息和所述应答消息釆用 Portal协议的封装格式、 或远程用户拨号认证系统(RADIUS, Remote Authentication Dial In User Service )协议的封装格式。
优选地, 所述方法还包括:
所述 Portal服务器收到所述 BNG发送的应答消息后, 根据所述用户终 端发送的 HTTP请求和所述应答消息向用户终端提供对应的页面和 /或信 息。
上述方案中, 当所述用户终端为漫游的用户终端或移动的用户终端, 且所述用户终端切换至所述 BNG后所述用户终端的 IP地址保持不变时, 所述方法还包括:
所述 BNG在用户终端访问所述 Portal服务器的 HTTP请求的统一资源 定位符 URL字段中加入所述 BNG自身的标识信息。
其中, 所述 BNG的标识信息为所述 BNG的系统名。
本发明实施例还提供一种 Portal认证方法, 所述方法包括:
Portal服务器收到用户终端发送的 HTTP请求后,向所述用户终端当前 接入的 BNG发送信息查询消息;
所述信息查询消息用于供所述 BNG搜集所述用户终端的信息,并将搜 集到的用户终端的信息通过应答消息反馈给所述 Portal服务器。
其中, 所述 HTTP请求包括: 用户终端的 HTTP连接建立请求、 用户
终端通过 HTTP连接发送的用户终端计量信息查询请求、 以及用户终端下 线请求。
其中, 所述信息查询消息用于指示所述 BNG反馈用户终端信息, 所述 用户终端信息包括以下信息至少一种: 用户终端的 IP地址集; 用户终端的 位置信息; 用户终端的计量信息; 用户终端的认证状态。
其中, 所述信息查询消息和所述应答消息釆用 Portal协议的封装格式、 或釆用 RADIUS协议的封装格式。
其中, 所述方法还包括:
所述 Portal服务器在收到所述 BNG发送的应答消息后, 根据所述用户 终端发送的 HTTP请求和所述应答消息向所述用户终端提供对应的页面和 / 或信息。
其中, 所述 BNG的标识信息为所述 BNG的系统名。
本发明实施例还提供了一种 BNG, 所述 BNG包括: 搜集处理模块和 第一发送模块; 其中,
所述搜集处理模块, 配置为根据所述 Portal服务器发送的信息查询消 息, 搜集所述用户终端信息;
所述第一发送模块, 配置为将搜集处理模块搜集到的用户终端信息通 过应答消息反馈给所述 Portal服务器。
其中, 对于漫游的用户终端和移动的用户终端, 如果漫游或移动后用 户终端的 IP地址不变、 且发生 BNG切换时,
所述搜集处理模块, 还配置为在当所述用户终端为漫游的用户终端或 移动的用户终端, 且所述用户终端的 IP地址在发生 BNG切换保持时不变 时, 在所述用户终端访问 Portal服务器的 HTTP请求的 URL字段中加入所 述 BNG的标识信息。
本发明实施例还提供了一种 Portal服务器, 所述 Portal服务器包括: 接
收模块, 配置为收到用户终端发送的超文本传输协议 HTTP请求; 第二发送模块, 配置为向所述用户终端当前接入的宽带网络网关 BNG 发送信息查询消息。
其中, 所述接收模块, 还配置为收到所述 BNG发送的应答消息; 所述第二发送模块, 还配置为根据所述用户终端发送的 HTTP请求和 所述应答消息向用户终端提供对应的页面和 /或信息。
本发明还提供了一种 Portal认证系统, 该系统包括: 用户终端、 BNG 和 Portal服务器;
所述 BNG, 配置为根据所述 Portal服务器发送的信息查询消息, 搜集 所述用户终端的信息, 并将搜集到的用户终端的信息通过应答消息反馈给 所述 Portal服务器;
所述 Portal服务器,配置为收到所述用户终端发送的 HTTP请求后,向 所述用户终端当前接入的 BNG发送信息查询消息。
其中, 所述 Portal服务器, 还配置为在收到所述 BNG发送的应答消息 后, 根据所述用户终端发送的 HTTP请求和所述应答消息向所述用户终端 提供对应的页面和 /或信息。
其中, 所述 BNG, 还配置为当所述用户终端为漫游的用户终端或移动 的用户终端, 且所述用户终端的 IP地址在所述用户终端切换至所述 BNG 后保持不变时,在所述用户终端访问所述 Portal服务器的 HTTP请求的 URL 字段中加入所述 BNG自身的标识信息。
本发明实施例还提供一种计算机存储介质, 所述计算机存储介质中存 储有计算机可执行指令, 所述计算机可执行指令用于执行以上所述的任意 一种 Portal认证方法。
本发明实施例中, Portal服务器收到用户终端发送的 HTTP请求后, 向 所述用户终端当前接入的 BNG发送信息查询消息; 所述 BNG根据所述
Portal服务器发送的信息查询消息, 搜集所述用户终端信息, 并将搜集到的 用户终端信息通过应答消息反馈给所述 Portal服务器。可以看出,本发明实 施例 Portal服务器釆用了 "无状态"处理机制, 即: 不实时存储用户状态信 息的机制, 故 BNG重启前后, 用户终端的地址获取、 认证流程完全相同, 规避了相关技术中 BNG故障重启后, 因 Portal服务器与 BNG中的用户终 端的状态信息不一致导致用户终端无法访问网络等一系列问题。 附图说明
图 1为相关技术中 Portal认证系统的基本结构示意图;
图 2为本发明实施例中 Portal认证方法的实现流程示意图一; 图 3为本发明实施例中 Portal认证系统的网络拓朴结构示意图一; 图 4为本发明实施例中 Portal认证的实现流程示意图一;
图 5为本发明实施例中 Portal认证系统的网络拓朴结构示意图二; 图 6为本发明实施例中 Portal认证的实现流程示意图二;
图 7为本发明实施例中 Portal认证系统的网络拓朴结构示意图三; 图 8为本发明实施例中 Portal认证的实现流程示意图三;
图 9为本发明实施例中 BNG的结构示意图;
图 10为本发明实施例中 Portal服务器的结构示意图;
图 11为本发明实施例中 Portal认证系统的网络拓朴结构示意图四。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将参考附 图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的情况下, 本发明所记载的实施例及实施例中的特征可以相互组合。
发明人在实施本发明的过程中发现,相关技术提供的 Portal认证方式存 在以下问题:
首先、 故障风险考虑不足。 由于 Portal服务器同时存储着多个 BNG上 大量的在线用户信息, 且目前 Portal服务器没有涉及与 BNG间的在线用户 信息实时同步机制, 一旦 BNG故障并快速重启, Portal服务器不会及时清 除用户的状态信息, 导致 Portal服务器与 BNG间的用户信息不一致, 出现 用户无法访问网络的情况。例如:在 Portal服务器上管理的在线用户没有成 功下线的情况下, BNG重启后会重新为用户分配 IP地址, 并将用户状态置 为未认证状态。如果用户被分配相同的地址,那么当 BNG将该用户的 HTTP 请求重定向到 Portal服务器时, Portal服务器会认为该用户状态为在线, 直 接给用户推出认证成功的页面, 而不会向用户提供输入用户名和密码的认 证页面, 导致该用户最终不能成功上网, 而 BNG上该用户状态始终为未认 证状态。
其次、 对 IPv6支持存在不足。 由于当前 Portal服务器上的用户标识为 用户的 IP地址, 而在 IPv6网络等新的网络环境中, 用户可能同时拥有多个 IPv6地址, 并且可以动态释放或申请其中一个或多个地址。 如果某 IPv6用 户釆用某 IP地址首次发起 HTTP请求并被重定向到 Portal服务器完成认证 之后, 如果该用户釆用另一 IP地址访问 Portal服务器提交下线请求时, 由 于 Portal服务器上没有该另一 IP地址已通过认证的记录, 则无法完成该用 户的下线流程, 继而可能导致用户计费不会停止等诸多问题。
此外, 除上述问题之外, 当前的 portal认证方式对诸如定制化 /个性化 页面推送、 用户移动性接入等等功能的需求都不能完全满足。
图 2为本发明实施例中 Portal认证方法的流程示意图,如图 2所示, 包 括如下步骤:
步骤 201 : Portal服务器收到用户终端发送的 HTTP请求。
这里, 所述 HTTP请求包括: 用户终端的 HTTP连接建立请求、 用户 终端通过 HTTP连接发送的用户终端计量信息查询请求, 以及用户终端下
线请求。 其中, 所述计量信息包括时长、 流量。
步骤 202: 所述 Portal服务器向所述用户终端当前接入的 BNG发送信 息查询消息。
这里, 所述信息查询消息用于指示 BNG反馈用户终端的各种信息, 所 述用户终端信息包括以下信息至少一种: 用户终端的 IP地址集(即用户终 端的全部 IP地址); 用户终端的位置信息; 端的计量信息; 用户终端的认证 状态。
步骤 203: 所述 BNG根据所述 Portal服务器发送的信息查询消息, 搜 集所述用户终端的信息。
步骤 204: 所述 BNG将搜集到的用户终端的信息通过应答消息反馈给 所述 Portal服务器。
作为一个实施例, 所述方法还包括: 所述 Portal服务器收到所述 BNG 发送的应答消息后, 根据所述用户终端发送的 HTTP请求和所述应答消息 向用户终端提供对应的页面和 /或信息。
作为一个实施例, 上文所述信息查询消息和所述应答消息釆用 Portal 协议格式进行封装, 或釆用 RADIUS协议格式进行封装。
作为一个实施例, 对于漫游的用户终端 (即处于漫游接入场景中的用 户终端)或移动的用户终端(即处于移动接入场景中的用户终端), 如果用 户终端切换至所述 BNG后用户终端的 IP地址不变, 所述方法还包括: 所述 BNG在用户终端访问所述 Portal服务器的 HTTP请求中的统一资 源定位符 ( URL, Uniform Resource Locator )字段中加入自身的标识信息。
作为一个实施例, 所述 BNG的标识信息可为所述 BNG的系统名。 下面结合实际应用场景作进一步详细说明。
本发明实施例记载用户终端的认证的处理, 包括定制化 /个人化页面的 推送,本发明实施例中 Portal认证系统的网络拓朴结构示意图一如图 3所示,
包括: UE 21、 BNG 22、 Portal服务器 23、 AAA服务器 24和网络侧服务 器 25, 与图 3所示的 Portal认证系统对应地, 图 4为本发明实施例中 Portal 认证处理的实现流程示意图一, 如图 4所示, 包括以下步骤:
步骤 401: UE与 BNG进行交互获取自身的 IP地址。
步骤 402: UE向网络侧服务器发起 HTTP请求时, BNG判断该 UE未 经过认证, 则将该 HTTP请求重定向到 Portal服务器。
步骤 403: Portal服务器向 BNG发送信息查询消息, 要求 BNG反馈该 UE的 IP地址集和 UE认证状态。
优选地, Portal服务器在所述信息查询消息中还可以要求 BNG反馈该 UE的位置信息。
步骤 404: BNG收到 Portal服务器发送的信息查询消息后, 搜集该 UE 的全部 IP地址信息和认证状态信息。
这里, 若 Portal服务器在信息查询消息中还可以要求 BNG反馈该 UE 的位置信息, 则 BNG同时也需要搜集该 UE的位置信息。
步骤 405: BNG向 Portal服务器发送应答消息, 将该 UE的 IP地址集 和认证状态发送给所述 Portal服务器。
这里, 若 Portal服务器在信息查询消息中还要求 BNG反馈该 UE的位 置信息, 则所述 BNG同时将该 UE的位置信息携带在所述应答消息中发送 给所述 Portal服务器。
步骤 406: Portal服务器收到所述应答消息后, 判断该 UE尚未认证, 则向 UE提供认证页面, 要求用户输入认证信息, 如 UE名、 密码等。
优选地, 所述 Portal服务器向 UE提供认证页面前与 UE完成 HTTP连 接的建立。
这里, Portal服务器还可根据应答消息中的 UE的位置信息向 UE推送 定制化 /个人化的认证页面, 如: 根据商家要求推送 UE地理位置周边的商
户信息等。
步骤 407: UE向 Portal服务器提供认证信息, 即在 UE认证页面内输 入认证信息并提交。
步骤 408: Portal服务器收到认证信息后, 与 AAA服务器、 BNG进行 交互, 完成 UE的认证。
步骤 409: Portal服务器向 UE推送认证结果的页面。
若认证成功, 则 Portal服务器向 UE推送认证成功的页面; 否则, 推送 认证失败的页面。
优选地, Portal服务器根据 UE的位置信息推送定制化 /个人化的认证成 功页面或认证失败页面,如:根据商家要求推送 UE地理位置周边的商户信 息, 或者, 由于 UE欠费导致认证失败时, 推送附近的营业厅地址信息、 自 助缴费用户终端位置信息等。
步骤 410: 认证成功后, UE再次发送 HTTP请求访问网络侧服务器。 步骤 411 : BNG判断该 UE已经通过认证, 不再重定向 UE的 HTTP请 求, 为 UE与网络侧服务器建立 HTTP连接。
可见,本发明实施例由于 Portal服务器釆用了 "无状态"处理机制, 即: 不实时存储用户状态信息的机制, 故 BNG重启前后, UE的地址获取、 认 证流程完全相同, 规避了相关技术中 BNG故障重启后, 因 Portal服务器与 BNG中的用户终端的状态信息不一致导致的用户终端无法访问网络等一系 列问题。
这里, 在用户终端漫游接入场景中, 用户终端位置移动后需要重新认 证,用户终端重新接入的 BNG重新发起强推认证,服务器找到对应的 BNG 地址进行强推认证。 此时, 如果允许用户终端漫游前后 IP地址不变化, 那 么 Portal服务器无法根据用户终端的 IP地址找到用户终端位置移动后重新 接入的 BNG。 此时, 需要 Portal服务器存储 BNG的系统名 (system-name)
与 BNG地址的映射关系来实现对 BNG的准确定位, 相应的, 该实施例所 述步骤 402还包括:
BNG在重定向用户终端的 HTTP请求时,在所述请求的 URL中携带自 身的标识信息, 如: 系统名 (system-name ), 所述 Portal服务器根据所述 system-name与 BNG地址的映射关系找到对应的 BNG地址。
优选地, 在用户终端移动性接入场景中, 用户终端移动位置后 IP地址 不变化且无需重新认证, Portal服务器感知不到在线用户终端发生了位置移 动,但用户终端重新与 Portal服务器建立 HTTP连接时,用户终端位置移动 后重新接入的 BNG需要对用户终端访问 Portal服务器的 HTTP请求执行"重 定向 " 操作, 并在所述请求的 URL中携带 BNG的系统名 ( system-name ), 以便实现用户终端下线、 计量信息查询等功能。
本实施例中还记载 IPv6用户终端执行下线操作。本发明实施例中 Portal 认证系统的网络拓朴结构示意图二如图 5所示,包括:用户终端 31、 BNG 32、 Portal服务器 33和 AAA服务器 34, 与图 5所示的 Portal认证系统对应地, 图 6为本发明实施例中 Portal认证的实现流程示意图二,如图 6所示, 包括 以下步骤:
步骤 601 : 用户终端使用另一 IPv6地址 IP2访问 Portal服务器, 重新 发起 HTTP连接建立请求。
本实施例中用户终端上线认证流程与前述相同, 所述上线认证流程中 该用户使用的 IPv6地址为 IP1。
步骤 602: Portal服务器向 BNG发送信息查询消息, 要求 BNG反馈该 用户终端的 IP地址集和用户终端认证状态。
步骤 603: BNG收到 Portal服务器发送的查询消息后, 搜集该用户终 端的全部 IP地址信息和认证状态信息。
步骤 604: BNG向 Portal服务器发送应答消息, 将该用户终端的 IP地
址集和用户终端认证状态发送给所述 Portal服务器。
步骤 605: Portal服务器收到应答消息后,判断该用户终端已经过认证, 则向用户终端提供认证通过页面。
优选地, Portal服务器向用户终端提供认证通过页面前与用户终端完成 HTTP连接的建立。
步骤 606: 用户终端向 Portal服务器发送下线请求, 如: 用户在用户终 端认证通过页面内点击下线按钮。
步骤 607: Portal服务器收到下线请求后, 与 AAA服务器、 BNG进行 交互, 完成用户终端下线流程。
步骤 608: Portal服务器向用户终端推送认证下线结果页面。
若用户终端下线成功,则 Portal服务器向用户终端推送认证下线成功页 面, 否则推送认证下线失败页面。
步骤 609: 用户终端下线成功后, 用户终端通过发起 HTTP建立连接请 求再次访问网络侧服务器。
步骤 610,: BNG判断该用户终端未经过认证, 再次将该 HTTP建立连 接请求重定向到 Portal服务器。
可见,本发明实施例由于 Portal服务器釆用了 "无状态"处理机制, 即: 不实时存储用户状态信息的机制, 故用户终端釆用另一 IP地址访问 Portal 服务器提交下线请求时, Portal服务器向 BNG重新获取该用户终端的状态 信息, 便于用户终端继续访问网络, 本发明适应了 IPv6网络等新的网络环 境。
本发明实施例还对用户终端进行计量信息查询的处理进行说明, 本发 明实施例中 Portal认证系统的网络拓朴结构示意图三如图 7所示, 包括: 用 户终端 41、 BNG 42和 Portal服务器 43, 与图 7所示的 Portal认证系统对 应地,图 8为本发明实施例中 Portal认证的实现流程示意图三,如图 8所示,
包括以下步骤:
步骤 801 :用户终端向 Portal服务器发送计量信息查询请求,包括时长、 流量等, 即: 用户终端用户可在认证通过页面内输入认证信息并提交。
本实施例中, 用户终端上线认证流程与前述关于上线认证的处理流程 相同。
这里, 所述计量信息查询请求为所述 HTTP请求中的一种。
优选地,若用户终端已关闭 Portal服务器提供的认证页面,那么用户终 端与 Portal服务器将重新建立 HTTP连接,所述 HTTP连接的建立过程与前 述步骤 601至步骤 605相同。
步骤 802: Portal服务器向 BNG发送信息查询消息, 要求 BNG反馈该 用户终端的计量信息。
步骤 803: BNG收到 Portal服务器的查询消息后, 搜集该用户终端的 计量信息。
步骤 804: BNG向 Portal服务器发送应答消息, 将该用户终端的计量 信息发送给 Portal服务器。
步骤 805: Portal服务器收到应答消息后, 向用户终端提供计量信息页 面 /信息。
本发明实施例还记载了一种 BNG, 如图 9所示, 所述 BNG包括: 搜 集处理模块 51和第一发送模块 52; 其中,
所述搜集处理模块 51, 配置为根据所述 Portal服务器发送的信息查询 消息, 搜集所述用户终端的信息;
所述第一发送模块 52,配置为将所述搜集处理模块 51搜集到的用户终 端的信息通过应答消息反馈给所述 Portal服务器。
这里, 所述搜集处理模块 51可由 BNG中的中央处理器(CPU, Central Processing Unit )、 数字信号处理器(DSP, Digital Singnal Processor )或可
编程逻辑阵列 (FPGA, Field - Programmable Gate Array ) 实现; 所述第一 发送模块 52可由 BNG中支持相应网络通信协议栈如 IPv6协议栈的微处理 器实现。
优选地, 作为一个实施例, 所述搜集处理模块 51, 还配置为在当所述 用户终端为漫游的用户终端或移动的用户终端, 且所述用户终端的 IP地址 在发生 BNG切换保持时不变时,在所述用户终端访问 Portal服务器的 HTTP 请求的 URL字段中加入所述 BNG的标识信息。
本发明实施例还记载了一种 Portal服务器, 如图 10所示, 所述 Portal 服务器包括:
接收模块 61,配置为收到用户终端发送的超文本传输协议 HTTP请求; 第二发送模块 62, 配置为向所述用户终端当前接入的宽带网络网关 BNG发送信息查询消息。
这里, 所述接收模块 61、 第二发送模块 62可由 Portal服务器中支持相 应网络通信协议栈如 IPv6协议栈的微处理器实现。
作为一个实施例,所述接收模块 61,还配置为收到所述 BNG发送的应 答消息;
所述第二发送模块 62, 还配置为根据所述用户终端发送的 HTTP请求 和所述应答消息向用户终端提供对应的页面和 /或信息。
所述接收模块 61、第二发送模块 62可由 Portal服务器中支持相应网络 通信协议栈如 IPv6协议栈的微处理器实现。
与图 9所示的 BNG、 以及图 10所示的 Portal服务器对应地, 本发明实 施例还记载了一种 Portal认证系统, 如图 11所示, 所述系统包括: 用户终 端 71、 BNG 72和 Portal服务器 73;
所述 BNG 72, 配置为根据所述 Portal服务器 73发送的信息查询消息, 搜集所述用户终端 71的信息, 并将搜集到的用户终端 71 的信息通过应答
消息反馈给所述 Portal服务器 73;
所述 Portal服务器 73, 配置为收到所述用户终端 71发送的 HTTP请求 后, 向所述用户终端 71当前接入的 BNG 72发送信息查询消息。
其中, 所述 Portal服务器 73, 还配置为在收到所述 BNG 72发送的应 答消息后, 根据所述用户终端发送的 HTTP请求和所述应答消息向所述用 户终端提供对应的页面和 /或信息。
其中, 所述 BNG 72, 还配置为当所述用户终端 72为漫游的用户终端 或移动的用户终端, 且所述用户终端 72的 IP地址在所述用户终端 72切换 至所述 BNG后保持不变时, 在所述用户终端 72访问所述 Portal服务器 73 的 HTTP请求的 URL字段中加入所述 BNG 72自身的标识信息。
可见, 本发明实施例所述 BNG、 Portal服务器和系统中, 由于 Portal 服务器釆用了 "无状态" 处理机制, 即: 不实时存储用户状态信息的机制, 故 BNG重启前后, UE的地址获取、 认证流程完全相同, 规避了现有 BNG 故障重启后, 因 Portal服务器与 BNG中的用户终端的状态信息不一致导致 的用户终端无法访问网络等一系列问题; 此外, 在用户终端釆用另一 IP地 址访问 Portal服务器提交下线请求时, Portal服务器向 BNG重新获取该用 户终端的状态信息, 便于用户终端继续访问网络, 适应了 IPv6网络等新的 网络环境。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: 移动存储设备、 只读存储器 (ROM, ead-Only Memory ), 随机存取存者器( RAM, Random Access Memory ), 磁碟或者光 盘等各种可以存储程序代码的介质。
或者, 本发明上述集成的单元如果以软件功能模块的形式实现并作为
独立的产品销售或使用时, 也可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明实施例的技术方案本质上或者说对现有技术做出 贡献的部分可以以软件产品的形式体现出来, 该计算机软件产品存储在一 个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机、 服务器、 或者网络设备等)执行本发明各个实施例所述方法的全部或 部分。 而前述的存储介质包括: 移动存储设备、 ROM、 RAM, 磁碟或者光 盘等各种可以存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应以所述权利要求的保护范围为准。
Claims
1、 一种门户 Portal认证方法, 所述方法包括:
Portal服务器收到用户终端发送的超文本传输协议 HTTP请求后,向所 述用户终端当前接入的宽带网络网关 BNG发送信息查询消息;
所述 BNG根据所述 Portal服务器发送的信息查询消息, 搜集所述用户 终端的信息,并将搜集到的用户终端的信息通过应答消息反馈给所述 Portal 服务器。
2、 根据权利要求 1所述的方法, 其中, 所述 HTTP请求包括: 用户终 端的 HTTP连接建立请求、 用户终端通过 HTTP连接发送的用户终端计量 信息查询请求、 以及用户终端下线请求。
3、 根据权利要求 1所述的方法, 其中, 所述信息查询消息用于指示所 述 BNG反馈用户终端信息, 所述用户终端信息包括以下信息至少一种: 用 户终端的网际协议 IP地址集; 用户终端的位置信息; 用户终端的计量信息; 用户终端的认证状态。
4、 根据权利要求 1所述的方法, 其中, 所述信息查询消息和所述应答 消息釆用 Portal协议的封装格式、 或釆用远程用户拨号认证系统 RADIUS 协议的封装格式。
5、根据权利要求 1至 4中任一项所述的方法, 其中, 所述方法还包括: 所述 Portal服务器在收到所述 BNG发送的应答消息后, 根据所述用户 终端发送的 HTTP请求和所述应答消息向所述用户终端提供对应的页面和 / 或信息。
6、 根据权利要求 1至 4中任一项所述的方法, 其中, 当所述用户终端 为漫游的用户终端或移动的用户终端,且所述用户终端切换至所述 BNG后 所述用户终端的 IP地址保持不变时, 所述方法还包括:
所述 BNG在用户终端访问所述 Portal服务器的 HTTP请求的统一资源
定位符 URL字段中加入所述 BNG自身的标识信息。
7、 根据权利要求 6所述的方法, 其中, 所述 BNG的标识信息为所述 BNG的系统名。
8、 一种门户 Portal认证方法, 所述方法包括:
Portal服务器收到用户终端发送的超文本传输协议 HTTP请求后,向所 述用户终端当前接入的宽带网络网关 BNG发送信息查询消息;
所述信息查询消息用于供所述 BNG搜集所述用户终端的信息,并将搜 集到的用户终端的信息通过应答消息反馈给所述 Portal服务器。
9、 根据权利要求 8所述的方法, 其中, 所述 HTTP请求包括: 用户终 端的 HTTP连接建立请求、 用户终端通过 HTTP连接发送的用户终端计量 信息查询请求、 以及用户终端下线请求。
10、 根据权利要求 8所述的方法, 其中, 所述信息查询消息用于指示 所述 BNG反馈用户终端信息, 所述用户终端信息包括以下信息至少一种: 用户终端的网际协议 IP地址集; 用户终端的位置信息; 用户终端的计量信 息; 用户终端的认证状态。
11、 根据权利要求 8 所述的方法, 其中, 所述信息查询消息和所述应 答消息釆用 Portal协议的封装格式、或釆用远程用户拨号认证系统 RADIUS 协议的封装格式。
12、 根据权利要求 8至 11中任一项所述的方法, 其中, 所述方法还包 括:
所述 Portal服务器在收到所述 BNG发送的应答消息后, 根据所述用户 终端发送的 HTTP请求和所述应答消息向所述用户终端提供对应的页面和 / 或信息。
13、 根据权利要求 12所述的方法, 其中, 所述 BNG的标识信息为所 述 BNG的系统名。
14、 一种宽带网络网关 BNG, 所述 BNG包括: 搜集处理模块和第一 发送模块; 其中,
所述搜集处理模块,配置为根据所述门户 Portal服务器发送的信息查询 消息, 搜集所述用户终端的信息;
所述第一发送模块, 配置为将搜集处理模块搜集到的用户终端的信息 通过应答消息反馈给所述 Portal服务器。
15、 根据权利要求 14所述的 BNG, 其中, 所述搜集处理模块, 还配置 为在当所述用户终端为漫游的用户终端或移动的用户终端, 且所述用户终 端的网际协议 IP地址在发生 BNG切换保持时不变时, 在所述用户终端访 问 Portal服务器的 HTTP请求的 URL字段中加入所述 BNG的标识信息。
16、 一种门户 Portal服务器, 所述 Portal服务器包括:
接收模块, 配置为收到用户终端发送的超文本传输协议 HTTP请求; 第二发送模块, 配置为向所述用户终端当前接入的宽带网络网关 BNG 发送信息查询消息。
17、 根据权利要求 16所述的 Portal服务器, 其中,
所述接收模块, 还配置为收到所述 BNG发送的应答消息;
所述第二发送模块, 还配置为根据所述用户终端发送的 HTTP请求和 所述应答消息向用户终端提供对应的页面和 /或信息。
18、 一种门户 Portal认证系统, 所述系统包括: 用户终端、 宽带网络网 关 BNG和 Portal服务器; 其中,
所述 BNG, 配置为根据所述 Portal服务器发送的信息查询消息, 搜集 所述用户终端的信息, 并将搜集到的用户终端的信息通过应答消息反馈给 所述 Portal服务器;
所述 Portal服务器, 配置为收到所述用户终端发送的超文本传输协议 HTTP请求后, 向所述用户终端当前接入的 BNG发送信息查询消息。
19、 根据权利要求 18所述的系统, 其中,
所述 Portal服务器, 还配置为在收到所述 BNG发送的应答消息后, 根 据所述用户终端发送的 HTTP请求和所述应答消息向所述用户终端提供对 应的页面和 /或信息。
20、 根据权利要求 18或 19所述的系统, 其中,
所述 BNG, 还配置为当所述用户终端为漫游的用户终端或移动的用户 终端, 且所述用户终端的 IP地址在所述用户终端切换至所述 BNG后保持 不变时,在所述用户终端访问所述 Portal服务器的 HTTP请求的统一资源定 位符 URL字段中加入所述 BNG自身的标识信息。
21、 一种计算机存储介质, 所述计算机存储介质中存储有计算机可执 行指令, 所述计算机可执行指令用于执行权利要求 1至 7任一项所述的门 户 Portal认证方法。
22、 一种计算机存储介质, 所述计算机存储介质中存储有计算机可执 行指令, 所述计算机可执行指令用于执行权利要求 8至 13任一项所述的门 户 Portal认证方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/916,423 US20160226849A1 (en) | 2013-09-04 | 2014-05-09 | Portal authentication method, broadband network gateway, portal server and system |
| EP14787472.1A EP3043509A4 (en) | 2013-09-04 | 2014-05-09 | Portal authentication method, broadband network gateway (bng), portal server and system |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310399004.7 | 2013-09-04 | ||
| CN201310399004.7A CN104426660A (zh) | 2013-09-04 | 2013-09-04 | 一种Portal认证方法、BNG、Portal服务器和系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014173335A1 true WO2014173335A1 (zh) | 2014-10-30 |
Family
ID=51791065
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/077197 Ceased WO2014173335A1 (zh) | 2013-09-04 | 2014-05-09 | 门户认证方法、宽带网络网关、门户服务器和系统 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20160226849A1 (zh) |
| EP (1) | EP3043509A4 (zh) |
| CN (1) | CN104426660A (zh) |
| WO (1) | WO2014173335A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113765902A (zh) * | 2021-08-25 | 2021-12-07 | 厦门亿联网络技术股份有限公司 | 一种离线授权方法、装置及系统 |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10454897B1 (en) * | 2016-01-21 | 2019-10-22 | Amazon Technologies, Inc. | Proxy captive portal traffic for input-limited devices |
| US10601832B1 (en) | 2016-03-30 | 2020-03-24 | Amazon Technologies, Inc. | Proxy captive portal traffic for input-limited devices |
| CN107786596A (zh) * | 2016-08-26 | 2018-03-09 | 南京中兴软件有限责任公司 | 用户状态处理方法、装置及系统 |
| CN113329454B (zh) * | 2020-02-29 | 2023-01-06 | 华为技术有限公司 | 发布路由的方法、网元、系统及设备 |
| CN111866880B (zh) * | 2020-07-28 | 2023-07-18 | Oppo广东移动通信有限公司 | 信息推送方法、装置、电子设备以及存储介质 |
| KR20220133716A (ko) * | 2021-03-25 | 2022-10-05 | 삼성전자주식회사 | 가상 기업망을 구성하기 위한 장치 및 방법 |
| CN115037518B (zh) * | 2022-05-09 | 2024-11-01 | 新华三技术有限公司 | 一种接入控制方法、装置、电子设备及存储介质 |
| US12489729B2 (en) * | 2022-09-28 | 2025-12-02 | Verizon Patent And Licensing Inc. | Profile-based routing and access control for management interface of virtual network services |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2405005B (en) * | 2003-07-16 | 2005-12-14 | Sun Microsystems Inc | System and method for single-sign-on access to a resource via a portal server |
| US7359982B1 (en) * | 2002-12-26 | 2008-04-15 | International Business Machines Corporation | System and method for facilitating access to content information |
| CN101582856A (zh) * | 2009-06-29 | 2009-11-18 | 杭州华三通信技术有限公司 | 一种门户服务器与宽带接入设备的会话建立方法及其系统 |
| CN102075504A (zh) * | 2009-11-20 | 2011-05-25 | 杭州华三通信技术有限公司 | 一种实现二层门户认证的方法、系统及门户服务器 |
| CN103024040A (zh) * | 2012-12-13 | 2013-04-03 | 福建星网锐捷网络有限公司 | 处理网页认证用户重复登录的方法和系统 |
Family Cites Families (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010054097A1 (en) * | 2000-12-21 | 2001-12-20 | Steven Chafe | Monitoring and reporting of communications line traffic information |
| KR100420265B1 (ko) * | 2001-11-15 | 2004-03-02 | 한국전자통신연구원 | 무선 인터넷 망간 접속 방법 |
| US20030115316A1 (en) * | 2001-12-07 | 2003-06-19 | Siew-Hong Yang-Huffman | System and method for network usage metering |
| US7685295B2 (en) * | 2002-12-19 | 2010-03-23 | Chantry Networks Inc. | Wireless local area communication network system and method |
| CN1813454B (zh) * | 2003-04-28 | 2012-09-05 | 钱特利网络公司 | 无线通信网络上的移动单元会话管理的系统和方法 |
| US20060069782A1 (en) * | 2004-09-16 | 2006-03-30 | Michael Manning | Method and apparatus for location-based white lists in a telecommunications network |
| US7917440B2 (en) * | 2006-07-07 | 2011-03-29 | Microsoft Corporation | Over-the-air delivery of metering certificates and data |
| US7707415B2 (en) * | 2006-09-07 | 2010-04-27 | Motorola, Inc. | Tunneling security association messages through a mesh network |
| CN101516126B (zh) * | 2009-03-24 | 2011-04-13 | 华为技术有限公司 | 一种无线局域网接入异种网络的方法和装置 |
| US20110128943A1 (en) * | 2009-12-02 | 2011-06-02 | Chang Hong Shan | WiFi and WiMAX Internetworking |
| US20130111024A1 (en) * | 2011-10-26 | 2013-05-02 | Deepinder Singh Setia | Dynamic Walled Garden |
| CN103200159B (zh) * | 2012-01-04 | 2016-06-22 | 中国移动通信集团公司 | 一种网络访问方法和设备 |
| CN103209159B (zh) * | 2012-01-13 | 2016-06-22 | 中国电信股份有限公司 | 门户认证方法和系统 |
| CN102868758B (zh) * | 2012-09-29 | 2016-12-21 | 华为技术有限公司 | 门户推送的方法和网络设备 |
-
2013
- 2013-09-04 CN CN201310399004.7A patent/CN104426660A/zh active Pending
-
2014
- 2014-05-09 WO PCT/CN2014/077197 patent/WO2014173335A1/zh not_active Ceased
- 2014-05-09 US US14/916,423 patent/US20160226849A1/en not_active Abandoned
- 2014-05-09 EP EP14787472.1A patent/EP3043509A4/en not_active Withdrawn
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7359982B1 (en) * | 2002-12-26 | 2008-04-15 | International Business Machines Corporation | System and method for facilitating access to content information |
| GB2405005B (en) * | 2003-07-16 | 2005-12-14 | Sun Microsystems Inc | System and method for single-sign-on access to a resource via a portal server |
| CN101582856A (zh) * | 2009-06-29 | 2009-11-18 | 杭州华三通信技术有限公司 | 一种门户服务器与宽带接入设备的会话建立方法及其系统 |
| CN102075504A (zh) * | 2009-11-20 | 2011-05-25 | 杭州华三通信技术有限公司 | 一种实现二层门户认证的方法、系统及门户服务器 |
| CN103024040A (zh) * | 2012-12-13 | 2013-04-03 | 福建星网锐捷网络有限公司 | 处理网页认证用户重复登录的方法和系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3043509A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113765902A (zh) * | 2021-08-25 | 2021-12-07 | 厦门亿联网络技术股份有限公司 | 一种离线授权方法、装置及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104426660A (zh) | 2015-03-18 |
| EP3043509A4 (en) | 2017-03-08 |
| US20160226849A1 (en) | 2016-08-04 |
| EP3043509A1 (en) | 2016-07-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014173335A1 (zh) | 门户认证方法、宽带网络网关、门户服务器和系统 | |
| US20230224803A1 (en) | Provisioning a device in a network | |
| CN101262500B (zh) | 推送登录页面的方法、接入控制器和web认证服务器 | |
| CN108496380B (zh) | 服务器和存储介质 | |
| CN103297967B (zh) | 一种无线局域网接入的用户认证方法、装置及系统 | |
| CN102695167B (zh) | 移动用户身份标识管理方法和装置 | |
| JP2014514633A (ja) | 割り当てられたネットワークアドレスを有するデバイスにアクセスするウェブプロキシサーバを使用したシステムおよび方法 | |
| MXPA05009417A (es) | Sistema, metodo y aparato para servicios de localizacion de un usuario con base en un plano (lcs). | |
| CN110505188B (zh) | 一种终端认证方法、相关设备和认证系统 | |
| WO2012174885A1 (zh) | 一种信息发送方法及网关 | |
| CN102457514A (zh) | 面向移动终端的无线网络的短信身份认证方法 | |
| JP2012531134A (ja) | 発展型パケットシステムにおける端末のマルチアクセス方法及びシステム | |
| CN104852941A (zh) | 面向区域的Web服务系统及方法 | |
| CN110366844A (zh) | 网络通信中的改进及与网络通信相关的改进 | |
| WO2018045798A1 (zh) | 网络认证方法、相关装置 | |
| TW201517668A (zh) | 網路共用裝置、系統及方法 | |
| CN114944927A (zh) | 基于Portal认证的无客户端互斥访问平台 | |
| CN105635148B (zh) | 一种Portal认证方法及装置 | |
| KR101506594B1 (ko) | 신원과 위치 정보가 분리된 네트워크에서 사용자가 icp 웹사이트에 로그인 하는 방법, 시스템 및 로그인 장치 | |
| US20140177523A1 (en) | Gateway Selection Based on Geographical Location | |
| WO2007137482A1 (fr) | Procédé, système et dispositif de taxation dans un réseau d'interfonctionnement du système hyperfréquence global | |
| WO2004039112A1 (en) | Location-based services perform method and location service middle ware | |
| US12001853B2 (en) | Device bootstrapping | |
| KR20170019981A (ko) | 통화 및 웹 서비스의 연동방법 및 이를 위한 통신서버 | |
| EP3046312A1 (en) | Method and device for processing identification information |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14787472 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 14916423 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| REEP | Request for entry into the european phase |
Ref document number: 2014787472 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2014787472 Country of ref document: EP |