WO2017166806A1 - 一种基于浏览器的接入认证页面跳转方法及用户终端 - Google Patents

一种基于浏览器的接入认证页面跳转方法及用户终端 Download PDF

Info

Publication number
WO2017166806A1
WO2017166806A1 PCT/CN2016/103900 CN2016103900W WO2017166806A1 WO 2017166806 A1 WO2017166806 A1 WO 2017166806A1 CN 2016103900 W CN2016103900 W CN 2016103900W WO 2017166806 A1 WO2017166806 A1 WO 2017166806A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
browser
access authentication
user
setting
Prior art date
Application number
PCT/CN2016/103900
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 WO2017166806A1 publication Critical patent/WO2017166806A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing

Definitions

  • the present invention relates to the field of access authentication page jump technology, and more particularly, to a browser-based access authentication page jump method and a user terminal.
  • Portal authentication is one of the popular technologies for wireless network access authentication.
  • the portal page When a user accesses a wireless network, the portal page is automatically popped up, prompting the user to enter account information and complete access authentication.
  • the Portal authentication is mainly based on the Web page. Whether the wireless terminal automatically pops up the Portal page or the user manually opens the Portal page, the essence of the Portal page is to pop up the Portal page by means of the local browser of the wireless terminal. After the Portal authentication is completed, the user can complete the Portal authentication. Get access to the Internet.
  • the user needs to log out actively it is sometimes difficult to find the page when the authentication succeeds (there may be too many pages or accidentally close the page). At this time, the user can only passively log off by timeout by turning off the wireless of the terminal.
  • this operation mode is cumbersome, the user experience is very poor, and it also causes a certain amount of error in Internet traffic or time-based billing.
  • the Portal authentication success page prompts the user to maintain the Portal authentication page in the background of the system. Do not close this page, so that the login function cannot be completed.
  • click the "Logout” button to complete the logout.
  • the user may operate incorrectly, and it is easy to close the Portal authentication page, thereby causing the function to fail.
  • the user switches back and forth to find several pages in the background, which is inefficient and has a poor user experience, especially when the user opens a lot of pages, this function has almost no value.
  • the present invention provides a browser-based access authentication page jump method, and the method includes:
  • the user terminal runs a programming language server webpage or hypertext script inserted in the access authentication page;
  • the current interface is switched to the browser, and the browser's home page and/or favorites jump to the access authentication page.
  • the setting the access authentication page as the first page and/or the favorite of the browser includes:
  • the method further includes:
  • the user terminal automatically logs in to the access authentication page by using the user identity saved by the browser;
  • the The method also includes:
  • the user terminal receives the access authentication success message and the refresh page message sent by the access server; the refresh page message is the remaining network access time of the user or the remaining user traffic;
  • the user terminal receives the re-authentication message sent by the access server.
  • the method further includes:
  • the user terminal refreshes the access authentication page and prompts the user whether to log out of the Internet.
  • the invention also provides a user terminal, the user terminal comprising:
  • a running module configured to run a programming language server webpage or a hypertext script inserted in the access authentication page
  • a setting module configured to set the access authentication page as a browser homepage and/or a favorite
  • a jump module configured to switch the current interface to the browser, and jump to the access authentication page in a top page and/or a favorite of the browser.
  • the setting module includes:
  • a first setting submodule configured to set the access authentication page as a first page and a favorite of the browser
  • a first prompt sub-module configured to prompt the user to set the access authentication page as a top page and a favorite of the browser when the first page and the favorite settings of the browser fail;
  • a second setting submodule configured to set the access authentication page as a top page and a favorite of the browser
  • a second prompting sub-module configured to prompt the user to set the access authentication page to be the first page or the favorite of the browser when the first page of the browser or the setting of the favorite fails;
  • a third setting submodule configured to set the access authentication page as a front page of the browser
  • a fourth setting submodule configured to: when the first page of the browser fails to be set, perform the access authentication The page is set in the browser's favorites;
  • a third prompt sub-module configured to prompt the user to set the access authentication page to be the first page or the favorite of the browser when the browser setting of the browser fails;
  • a fifth setting submodule configured to set the access authentication page as a bookmark in the browser
  • a sixth setting submodule configured to set the access authentication page as a front page of the browser when the browser setting of the browser fails;
  • the fourth prompt sub-module is configured to prompt the user to set the access authentication page to be the first page or the favorite of the browser when the first page setting of the browser fails.
  • the user terminal further includes:
  • a login module configured to switch the current interface to the browser in the switching jump module, and save the first page and/or the favorite of the browser to the access authentication page, save by using the browser User identity is automatically logged into the access authentication page;
  • a sending module configured to send a request to the access server to refresh the access authentication page, so that the access server determines, according to the sending request, whether the user access authentication is successful.
  • the user terminal further includes:
  • a receiving module configured to: after the sending module sends a request to the access server to refresh the access authentication page, when the user access authentication succeeds, receiving an access authentication success message and a refresh sent by the access server And receiving a re-authentication message sent by the access server when the user fails to perform access authentication or access authentication; the refresh page message is the remaining online time of the user or the remaining user traffic.
  • the user terminal further includes:
  • the refresh prompting module is configured to refresh the access authentication page after the receiving module receives the refresh page message sent by the access server, and prompt the user whether to log out of the Internet.
  • the invention runs a programming language server webpage or a hypertext script inserted in the access authentication page through the user terminal; and sets the access authentication page as a browser homepage and/or a favorite; when it is necessary to log off the Internet, The current interface switches to the browser, the browser's home page and/or favorites jump Go to the access authentication page.
  • the browser automatically jumps to the access authentication success page or the browser's favorite folder to jump to the access authentication success page, and presses the "logout" button in the access authentication page. Logging out is convenient and fast, which improves the user experience, reduces billing errors, and avoids the embarrassing situation of looking back and forth for the original authentication success page.
  • FIG. 1 is a flowchart of an embodiment of a browser-based access authentication page jump method according to the present invention
  • FIG. 2 is a flowchart of an embodiment of setting a method for setting an access authentication page as a browser home page and/or a favorite in a browser-based access authentication page jump method according to the present invention
  • FIG. 3 is a flowchart of another embodiment of setting a method for setting an access authentication page as a method for setting a top page of a browser and/or a favorite in a browser-based access authentication page jump method according to the present invention
  • FIG. 4 is a flowchart of another embodiment of a method for setting an access authentication page as a browser home page and/or a favorite in a browser-based access authentication page jump method according to the present invention
  • FIG. 5 is a flowchart of another embodiment of setting a method for setting an access authentication page as a method for setting a home page and/or a bookmark of a browser in a browser-based access authentication page jump method according to the present invention
  • FIG. 6 is a flowchart of another embodiment of a browser-based access authentication page jump method according to the present invention.
  • FIG. 7 is a flowchart of another embodiment of a browser-based access authentication page jump method according to the present invention.
  • FIG. 8 is a flowchart of another embodiment of a browser-based access authentication page jump method according to the present invention.
  • FIG. 9 is a structural diagram of an embodiment of a user terminal according to the present invention.
  • FIG. 10 is a structural diagram of an embodiment of a setting module in a user terminal according to the present invention.
  • FIG. 11 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • FIG. 12 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • FIG. 13 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • FIG. 14 is a structural diagram of an embodiment of a user terminal in a system application according to the present invention.
  • the technical solution of the present invention runs a programming language server webpage or a hypertext script inserted in the access authentication page through the user terminal; and sets the access authentication page as a browser homepage and/or a favorite; Switching the current interface to the browser, the browser's home page and/or favorites jumping to the access authentication page.
  • FIG. 1 is a flowchart of an embodiment of a browser-based access authentication page jump method according to the present invention. The specific process is as follows:
  • Step S101 The user terminal runs a programming language server webpage or a hypertext script inserted in the access authentication page;
  • Hypertext means that the page can contain images, links, and even non-text elements such as music and programs.
  • Step S102 and setting the access authentication page as a browser homepage and/or a favorite;
  • the access authentication page is set to the browser's home page and/or favorites, that is, the access authentication page is added to the browser's home page and/or favorites.
  • step S103 when the online connection needs to be logged out, the current interface is switched to the browser, and the home page and/or the favorite of the browser jump to the access authentication page.
  • the user terminal receives the switching instruction of the “Browser Access Authentication” of the user, and then switches the current interface to the browser, and the browser's home page jumps. Go to the access authentication page and/or the browser's favorites to jump to the access authentication page;
  • the access authentication page includes the remaining time of the Internet and the “Logout” login button. When the user needs to log out of the Internet, the user can click the “Logout” button.
  • Step S102 sets the access authentication page as the first page and/or the favorite of the browser as shown in FIG. 2, and the specific steps are as follows:
  • Step S201 setting the access authentication page as the first page and the favorite of the browser
  • an access authentication page is set in the browser's home page and in the favorites.
  • the browser's home page displays the access authentication page fails, including the browser's home page setting is unsuccessful and the display is unsuccessful, the browser's favorites are passed.
  • the access authentication page is displayed; or when the browser's favorites display access authentication page fails, including the browser's favorite setting is unsuccessful and the display is unsuccessful, the access authentication page is displayed through the browser home page.
  • Step S202 If the first page and the favorite settings of the browser fail, the user is prompted to set the access authentication page as the first page and the favorite of the browser.
  • the setting is unsuccessful and the display is unsuccessful, that is, when the browser's home page and the favorites cannot display the access authentication page, the user is prompted to set the access authentication.
  • the page is the browser's home page and favorites, which requires the user to manually enter.
  • Step S102 setting the access authentication page as the first page and/or the favorite of the browser is also shown in FIG. 3, and the specific steps are as follows:
  • Step S301 setting the access authentication page as the first page and the favorite of the browser
  • an access authentication page is set in the browser's home page and in the favorites.
  • the browser's home page displays the access authentication page fails, including the browser's home page setting is unsuccessful and the display is unsuccessful, the browser's favorites are passed.
  • the access authentication page is displayed; or when the browser's favorites display access authentication page fails, including the browser's favorite setting is unsuccessful and the display is unsuccessful, the access authentication page is displayed through the browser home page.
  • Step S302 If the first page or the favorite setting of the browser fails, the user is prompted to set the access authentication page as the first page or the favorite of the browser.
  • the browser's home page or favorite settings fail, the setting is unsuccessful and the display is unsuccessful. That is, when the browser's home page or the favorite cannot display the access authentication page, the user is prompted to set the access authentication page as the browser's home page or favorite, that is, the user needs to manually input.
  • Step S102 sets the access authentication page as the first page and/or the favorite of the browser. As shown in FIG. 4, the specific steps are as follows:
  • Step S401 setting the access authentication page as a front page of the browser
  • the user terminal may also set the access authentication page only as the home page of the browser, and display the access authentication page through the home page of the browser.
  • Step S402 if the first page setting of the browser fails, the access authentication page is set in the browser's favorites;
  • the access authentication page may be set in the browser's favorites, and the access authentication page is displayed through the browser's favorites.
  • Step S403 if the browser setting of the browser fails, prompting the user to set the access authentication page as the first page or the favorite of the browser.
  • the browser's favorite setting is unsuccessful and the display is unsuccessful, that is, when the browser's favorite cannot display the access authentication page, the user is prompted to set the access authentication page as The home page or favorites of the browser.
  • Step S102 sets the access authentication page as the first page and/or the favorite of the browser. As shown in FIG. 5, the specific steps are as follows:
  • Step S501 setting the access authentication page as a bookmark in the browser
  • the user terminal may also only set the access authentication page as a browser's favorite, and display the access authentication page through the browser's favorite.
  • Step S502 if the browser setting of the browser fails, setting the access authentication page as the first page of the browser;
  • the access authentication page may be set on the browser's homepage, and displayed through the browser's home page. Enter the certification page.
  • Step S503 if the first page setting of the browser fails, prompting the user to set the access authentication page as the first page or the favorite of the browser.
  • the browser's homepage setting fails, the browser's homepage setting is unsuccessful and the display is unsuccessful, that is, when the browser's homepage cannot display the access authentication page, the user is prompted to set the access authentication page as the browser. Home or favorites.
  • step S103 After the current interface is switched to the browser in step S103, after the home page and/or the bookmark of the browser jumps to the access authentication page, the method is further processed as shown in FIG. as follows:
  • Step S601 The user terminal automatically logs in to the access authentication page by using the user identity saved by the browser.
  • the browser cookie stores the user identity, which includes the username and password.
  • Step S602 and sending a request to the access server to refresh the access authentication page
  • sending the request to the access server to refresh the access authentication page is: the access server determines, according to the sending request, whether the user access authentication succeeds.
  • Step S602 after sending a request to the access server to refresh the access authentication page, the method is further processed as shown in FIG. 7, and the specific steps are as follows:
  • Step S701 If the user access authentication is successful, the user terminal receives an access authentication success message and a refresh page message sent by the access server.
  • the refresh page message is the remaining network access time of the user or the remaining user traffic.
  • Step S702 If the user fails to perform access authentication or access authentication fails, the user terminal receives the re-authentication message sent by the access server.
  • the access authentication failure includes the unsuccessful access authentication setting or the unsuccessful access authentication display.
  • step S701 After the step S701 receives the refresh page message sent by the access server, the method is further processed as shown in FIG. 8. The specific steps are as follows:
  • Step S801 the user terminal refreshes the access authentication page.
  • refreshing the access authentication page is also refreshing the online duration of the user terminal, so as to display the remaining time of the Internet access to the user.
  • Step S802 prompting the user whether to log out of the Internet.
  • the “Logout” button is displayed on the access authentication page, and the “Logout” button is prompted to log off the Internet.
  • the user terminal executes the JSP or HTML script inserted in the authentication success page, sets the authentication success page as the browser's home page or adds to the favorites; then the user switches the APP to the Internet.
  • the user's home page and/or favorites will jump to the Portal authentication success page to automatically refresh the user's online information (such as the remaining time or traffic).
  • the user can exit the Internet by clicking the "Logout" button on the authentication success page.
  • Step 1 The wireless access point robs the access authentication request of the user terminal
  • the wireless access point listens to the local 80 port (open port), and robs the user terminal of the access authentication request (the first HTTP Request online request);
  • the user terminal Before the access authentication request of the user terminal is robbed, the user terminal associates one SSID (Service Set Identifier) of the wireless access point, and divides one WLAN into several sub-networks that require different identity verification (each subnet has An SSID), each subnet requires independent authentication, and only authenticated users can enter the corresponding subnet to prevent unauthorized users from entering the network.
  • SSID Service Set Identifier
  • Step 2 redirect the response packet of the access authentication request to the network address of the access authentication page.
  • redirecting is to redirect various network requests to other locations through various methods (eg, web page redirection, domain name redirection, and routing change are also data path via path). a kind of redirection);
  • the access authentication page is a page specified by the access server, and the network address is a URL (WWW). Uniform Resource Locator flag) address.
  • Step 3 The user terminal acquires a network address of the redirected access authentication page.
  • the user terminal After the user terminal receives the web address of the access authentication page, the user accesses the access authentication page according to the network address of the access authentication page;
  • the user terminal After the access authentication page is opened, the user terminal enters the user name and password on the access authentication page, initiates an access authentication request to the access server, and the access server verifies the user name and password.
  • the audit is passed, the access authentication succeeds; otherwise, the indication is successful. Access authentication failed;
  • the access server sends the audit result and the online terminal length of the user terminal to the user terminal; when the access result is approved, the user terminal displays a reminder to allow the user to access the Internet, and sends the access authentication success message to the wireless device.
  • the access point when the access result is unapproved, the user terminal is prompted to re-enter the user name and/or password.
  • the access authentication request means that the user terminal sends a request for confirming whether the access authentication is successful to the access server on the access authentication page.
  • Step 4 After receiving the access authentication success message, the wireless access point activates the access authority of the user;
  • the Internet access authority specifically refers to a certain subnet SSID (Service Set Identifier) that the user terminal can access the wireless access point and the Internet access time/flow rate of the user terminal.
  • SSID Service Set Identifier
  • Step 5 After receiving the access authentication success message sent by the access server, the user terminal opens the access authentication success page, and prompts the user to successfully access the authentication, and displays the remaining time of the user's Internet access.
  • FIG. 9 is a structural diagram of an embodiment of a user terminal according to the present invention.
  • the user terminal 900 includes an operation module 901, a setting module 902, and a switching jump module 903.
  • the running module 901 is configured to run a programming language server webpage or a hypertext script inserted in the access authentication page;
  • the hypertext script is an HTML script.
  • a setting module 902 configured to set the access authentication page as a browser homepage and/or a favorite
  • the access authentication page is set to the browser's home page and/or favorites, that is, the access authentication page is added to the browser's home page and/or favorites.
  • the switch jump module 903 is configured to switch the current interface to the browser, and the browser's home page and/or favorites jump to the access authentication page.
  • the user terminal receives the switching instruction of the “Browser Access Authentication” of the user, and then switches the current interface to the browser, and the browser's home page jumps. Go to the access authentication page and/or the browser's favorites to jump to the access authentication page;
  • the access authentication page includes the remaining time of the Internet and the “Logout” login button. When the user needs to log out of the Internet, the user can click the “Logout” button.
  • the specific configuration of the setting module 902 is as shown in FIG. 10.
  • the setting module 902 includes a first setting sub-module 9021, a first prompting sub-module 9022, a second setting sub-module 9023, a second prompting sub-module 9024, and a third setting sub-module. 9025, a fourth setting sub-module 9026, a third prompt sub-module 9027, a fifth setting sub-module 9028, a sixth setting sub-module 9029, and a fourth prompt sub-module 9030,
  • a first setting sub-module 9021 configured to set the access authentication page as a first page and a favorite of the browser
  • an access authentication page is set in the browser's home page and in the favorites.
  • the browser's home page displays the access authentication page fails, including the browser's home page setting is unsuccessful and the display is unsuccessful, the browser's favorites are passed.
  • the access authentication page is displayed; or when the browser's favorites display access authentication page fails, including the browser's favorite setting is unsuccessful and the display is unsuccessful, the access authentication page is displayed through the browser home page.
  • the first prompt sub-module 9022 is configured to prompt the user to set the access authentication page as the first page and the favorite of the browser when the first page and the favorite settings of the browser fail.
  • the setting is unsuccessful and the display is unsuccessful, that is, when the browser's home page and the favorites cannot display the access authentication page, the user is prompted to set the access authentication.
  • the page is the browser's home page and favorites, which requires the user to manually enter.
  • a second setting submodule 9023 configured to set the access authentication page as a page of the browser And favorites
  • an access authentication page is set in the browser's home page and in the favorites.
  • the browser's home page displays the access authentication page fails, including the browser's home page setting is unsuccessful and the display is unsuccessful, the browser's favorites are passed.
  • the access authentication page is displayed; or when the browser's favorites display access authentication page fails, including the browser's favorite setting is unsuccessful and the display is unsuccessful, the access authentication page is displayed through the browser home page.
  • the second prompt sub-module 9024 is configured to prompt the user to set the access authentication page to be the first page or the favorite of the browser when the first page of the browser or the favorite setting fails;
  • the browser's homepage or favorite setting fails, the setting is unsuccessful and the display is unsuccessful, that is, when the browser's homepage or the favorite cannot display the access authentication page, the user is prompted to set the access authentication page as The browser's home page or favorites, which requires the user to manually enter.
  • a third setting sub-module 9025 configured to set the access authentication page as a front page of the browser
  • the user terminal may also set the access authentication page only as the home page of the browser, and display the access authentication page through the home page of the browser.
  • a fourth setting sub-module 9026 configured to: when the first page setting of the browser fails, set the access authentication page in a bookmark of the browser;
  • the access authentication page may be set in the browser's favorites, and the access authentication page is displayed through the browser's favorites.
  • the third prompt sub-module 9027 is configured to prompt the user to set the access authentication page to be the first page or the favorite of the browser when the browser setting of the browser fails.
  • the browser's favorite setting is unsuccessful and the display is unsuccessful, that is, when the browser's favorite cannot display the access authentication page, the user is prompted to set the access authentication page as The home page or favorites of the browser.
  • a fifth setting sub-module 9028 configured to set the access authentication page as a collection of the browser Inside the clip
  • the user terminal may also only set the access authentication page as a browser's favorite, and display the access authentication page through the browser's favorite.
  • a sixth setting sub-module 9029 configured to set the access authentication page as a front page of the browser when the browser setting of the browser fails;
  • the access authentication page may be set on the browser's home page, and the access authentication page is displayed through the browser's home page.
  • the fourth prompt sub-module 9030 is configured to prompt the user to set the access authentication page as the first page or the favorite of the browser when the first page setting of the browser fails.
  • the browser's homepage setting fails, the browser's homepage setting is unsuccessful and the display is unsuccessful, that is, when the browser's homepage cannot display the access authentication page, the user is prompted to set the access authentication page as the browser. Home or favorites.
  • FIG. 11 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • the user terminal 900 includes an operation module 901, a setting module 902, a switching jump module 903, a login module 904, and a sending module 905.
  • the module 902 and the switching jump module 903 are as shown in FIG.
  • the login module 904 is configured to switch, by the switch jump module, the current interface to the browser, after the browser's first page and/or the favorite jumps to the access authentication page, by using the browser
  • the saved user identity is automatically logged into the access authentication page
  • the browser cookie saves the user identity, which includes the username and password.
  • the sending module 905 is configured to send a request to the access server to refresh the access authentication page, so that the access server determines, according to the sending request, whether the user access authentication succeeds.
  • sending the request to the access server to refresh the access authentication page is: the access server determines, according to the sending request, whether the user access authentication succeeds.
  • the user terminal 900 includes an operation module 901, a setting module 902, a switching jump module 903, a login module 904, a sending module 905, and The receiving module 906, wherein the running module 901, the setting module 902, and the switching jump module 903, the login module 904 and the sending module 905 are as shown in FIG.
  • the receiving module 906 is configured to: after the sending module sends a request to the access server to refresh the access authentication page, when the user access authentication succeeds, receiving an access authentication success message sent by the access server Refreshing the page message; receiving the re-authentication message sent by the access server when the user fails to perform access authentication or access authentication; the refresh page message is the remaining network access time of the user or the remaining user traffic .
  • the refresh page message is the remaining network access time of the user or the remaining user traffic
  • the access authentication failure includes the unsuccessful access authentication setting or the unsuccessful access authentication display.
  • FIG. 13 is a structural diagram of another embodiment of a user terminal according to the present invention.
  • the user terminal 900 includes an operation module 901, a setting module 902, a switching jump module 903, a login module 904, a sending module 905, a receiving module 906, and a refresh prompting module. 907, wherein the running module 901, the setting module 902, and the switching jump module 903, the login module 904, the sending module 905, and the receiving module 906 are as shown in FIG.
  • the refresh prompt 907 is configured to refresh the access authentication page after the receiving module receives the refresh page message sent by the access server, and prompt the user whether to log out of the Internet.
  • the “Logout” button is displayed on the access authentication page, and the “Logout” button is prompted to log off the Internet.
  • FIG. 14 is a structural diagram of an embodiment of a user terminal in a system application according to the present invention.
  • the system includes a user terminal 900 and an access server 1401.
  • the user terminal 900 is configured to run a programming language server webpage or a hypertext script inserted in the access authentication page; and set the access authentication page as a browser homepage and/or a favorite; when it is required to log off the Internet, Switching the current interface to the browser, the browser's home page and/or favorites jumping to the access authentication page;
  • the user terminal 900 is further configured to switch the current interface to the browser, and the first page and/or the browser of the browser jump to the access authentication page, and the user identity saved by the browser is automatically logged in. And accessing the authentication page; and sending a request to the access server 1401 to refresh the access authentication page The access server 1401 determines whether the user access authentication succeeds according to the sending request.
  • the user terminal 900 is further configured to: after sending the request to the access server 1401 to refresh the access authentication page, if the user access authentication is successful, receiving an access authentication success message and a refresh page message sent by the access server 1401;
  • the refresh page message is the remaining network access time of the user or the remaining user traffic; if the user fails to perform access authentication or access authentication fails, the re-authentication message sent by the access server 1401 is received;
  • the user terminal 900 is further configured to: after receiving the refresh page message sent by the access server 1401, refresh the access authentication page, and prompt the user whether to log out of the Internet.
  • the access server 1401 receives a request for refreshing the access authentication page sent by the user terminal 900, and determines whether the user access authentication succeeds according to the request for refreshing the access authentication page; if the access authentication is successful, Sending an access authentication success message and a refresh page message to the user terminal 900; if the user fails to perform access authentication or access authentication failure, sending a re-authentication message to the user terminal 900.
  • the functional modules of the user terminal 900 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 user terminal 900 can also have other functional modules to implement various specific steps to overcome the convenient and quick logout. 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)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种基于浏览器的接入认证页面跳转方法,所述方法包括:用户终端运行接入认证页面中插入的编程语言服务端网页或超文本脚本(S101);并将所述接入认证页面设置为浏览器的首页和/或收藏夹(S102);当需要注销上网时,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面(S103)。如此,当用户需要注销上网时,在浏览器的首页自动跳转至接入认证成功页或浏览器的收藏夹跳转至接入认证成功页,在接入认证页面中按下"注销"按钮退出登录,方便快捷,提高了用户体验,同时减少了计费误差,避免了来回查找原来认证成功页的尴尬情景。

Description

一种基于浏览器的接入认证页面跳转方法及用户终端 技术领域
本发明涉及接入认证页面跳转技术领域,更具体地,涉及一种基于浏览器的接入认证页面跳转方法及用户终端。
背景技术
当前无线覆盖越来越多,使用手机等移动终端设备也越来越多。Portal认证是无线网络接入认证的流行技术之一,当用户接入某一无线网络时,会自动弹出Portal页面,提示用户输入帐户信息,完成接入认证。目前Portal认证主要基于Web页面来完成,无论是无线终端自动弹出Portal页还是用户手动打开Portal页,其实质都要借助于无线终端的本地浏览器弹出Portal页,当用户完成Portal认证后,即可得到上网权限。当用户需要主动注销登录时,有时很难找到当初认证成功时页面(可能页面太多或不小心关闭页面),此时用户只能通过关闭终端的无线,通过超时来实现被动注销登录。但这种操作方式繁琐,用户体验很差,并且还会造成一定的上网流量或时长计费的误差。
通过Portal认证成功页提示用户在系统后台保持本Portal认证页面,不要关闭此页面,以免无法完成主动退出登录功能。当用户需要“注销”登录时,查找并切换到原来的Portal页,点击“注销”按钮后完成退出登录。此方案在实际实用中,用户可能操作失误,容易关闭Portal认证页面,从而导致功能失效。另一方面用户来回切换查找后台若干页面,效率很低,用户体验很差,特别当用户打开的页面很多时,此功能几乎没有价值。
发明内容
有鉴于此,本发明提出一种基于浏览器的接入认证页面跳转方法,所述方法包括:
用户终端运行接入认证页面中插入的编程语言服务端网页或超文本脚本;
并将所述接入认证页面设置为浏览器的首页和/或收藏夹;
当需要注销上网时,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面。
进一步地,所述将所述接入认证页面设置为浏览器的首页和/或收藏夹,具体包括:
将所述接入认证页面设置为所述浏览器的首页和收藏夹内,若所述浏览器的首页和收藏夹设置均失败,则提示用户将所述接入认证页面设置为所述浏览器的首页和收藏夹;或者,
将所述接入认证页面设置为所述浏览器的首页和收藏夹内,若所述浏览器的首页或收藏夹设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;或者,
将所述接入认证页面设置为所述浏览器的首页,若所述浏览器的首页设置失败,则将所述接入认证页面设置在所述浏览器的收藏夹内;若所述浏览器的收藏夹设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;或者,
将所述接入认证页面设置为所述浏览器的收藏夹内,若所述浏览器的收藏夹设置失败,则将所述接入认证页面设置为所述浏览器的首页;若所述浏览器的首页设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内。
进一步地,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面之后,所述方法还包括:
用户终端通过所述浏览器保存的用户身份自动登录所述接入认证页面;
并向接入服务器发送请求刷新所述接入认证页面,以便所述接入服务器根据所述发送请求判断所述用户是否接入认证成功。
进一步地,所述向接入服务器发送请求刷新所述接入认证页面之后,所述 方法还包括:
若所述用户接入认证成功,则用户终端接收所述接入服务器发送的接入认证成功消息和刷新页面消息;所述刷新页面消息为所述用户剩余上网时长或所述用户剩余流量;
若所述用户没有进行接入认证或接入认证失败,则用户终端接收所述接入服务器发送的重新认证消息。
进一步地,用户终端接收所述接入服务器发送的刷新页面消息之后,所述方法还包括:
用户终端刷新所述接入认证页面,并提示所述用户是否需要注销上网。
本发明还提出一种用户终端,所述用户终端包括:
运行模块,用于运行接入认证页面中插入的编程语言服务端网页或超文本脚本;
设置模块,用于将所述接入认证页面设置为浏览器的首页和/或收藏夹;
切换跳转模块,用于将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹中跳转至所述接入认证页面。
进一步地,所述设置模块包括:
第一设置子模块,用于将所述接入认证页面设置为所述浏览器的首页和收藏夹内;
第一提示子模块,用于在所述浏览器的首页和收藏夹设置均失败时,提示用户将所述接入认证页面设置为所述浏览器的首页和收藏夹;
第二设置子模块,用于将所述接入认证页面设置为所述浏览器的首页和收藏夹内;
第二提示子模块,用于在所述浏览器的首页或收藏夹设置失败时,提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;
第三设置子模块,用于将所述接入认证页面设置为所述浏览器的首页;
第四设置子模块,用于在所述浏览器的首页设置失败时,将所述接入认证 页面设置在所述浏览器的收藏夹内;
第三提示子模块,用于在所述浏览器的收藏夹设置失败时,提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;
第五设置子模块,用于将所述接入认证页面设置为所述浏览器的收藏夹内;
第六设置子模块,用于在所述浏览器的收藏夹设置失败时,将所述接入认证页面设置为所述浏览器的首页;
第四提示子模块,用于在所述浏览器的首页设置失败时,提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内。
进一步地,所述用户终端还包括:
登录模块,用于在所述切换跳转模块将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面之后,通过所述浏览器保存的用户身份自动登录所述接入认证页面;
发送模块,用于向接入服务器发送请求刷新所述接入认证页面,以便所述接入服务器根据所述发送请求判断所述用户是否接入认证成功。
进一步地,所述用户终端还包括:
接收模块,用于在所述发送模块向接入服务器发送请求刷新所述接入认证页面之后,在所述用户接入认证成功时,接收所述接入服务器发送的接入认证成功消息和刷新页面消息;在所述用户没有进行接入认证或接入认证失败时,接收所述接入服务器发送的重新认证消息;所述刷新页面消息为所述用户剩余上网时长或所述用户剩余流量。
进一步地,所述用户终端还包括:
刷新提示模块,用于在所述接收模块接收所述接入服务器发送的刷新页面消息之后,刷新所述接入认证页面,并提示所述用户是否需要注销上网。
本发明通过用户终端运行接入认证页面中插入的编程语言服务端网页或超文本脚本;并将所述接入认证页面设置为浏览器的首页和/或收藏夹;当需要注销上网时,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转 至所述接入认证页面。如此,当用户需要注销上网时,在浏览器的首页自动跳转至接入认证成功页或浏览器的收藏夹跳转至接入认证成功页,在接入认证页面中按下“注销”按钮退出登录,方便快捷,提高了用户体验,同时减少了计费误差,避免了来回查找原来认证成功页的尴尬情景。
附图说明
图1为本发明基于浏览器的接入认证页面跳转方法的一种实施例的流程图;
图2为本发明基于浏览器的接入认证页面跳转方法中将接入认证页面设置为浏览器的首页和/或收藏夹的设置方法的一种实施例的流程图;
图3为本发明基于浏览器的接入认证页面跳转方法中将接入认证页面设置为浏览器的首页和/或收藏夹的设置方法的另一种实施例的流程图;
图4为本发明基于浏览器的接入认证页面跳转方法中将接入认证页面设置为浏览器的首页和/或收藏夹的设置方法的另一种实施例的流程图;
图5为本发明基于浏览器的接入认证页面跳转方法中将接入认证页面设置为浏览器的首页和/或收藏夹的设置方法的另一种实施例的流程图;
图6为本发明基于浏览器的接入认证页面跳转方法的另一种实施例的流程图;
图7为本发明基于浏览器的接入认证页面跳转方法的另一种实施例的流程图;
图8为本发明基于浏览器的接入认证页面跳转方法的另一种实施例的流程图;
图9为本发明用户终端的一种实施例的结构图;
图10为本发明用户终端中设置模块的一种实施例的结构图;
图11为本发明用户终端的另一种实施例的结构图;
图12为本发明用户终端的另一种实施例的结构图;
图13为本发明用户终端的另一种实施例的结构图;
图14为本发明用户终端在系统应用中的一种实施例的结构图。
具体实施方式
本发明技术方案通过用户终端运行接入认证页面中插入的编程语言服务端网页或超文本脚本;并将所述接入认证页面设置为浏览器的首页和/或收藏夹;当需要注销上网时,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面。
为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例并参照附图,对本发明进一步详细说明。
图1为本发明基于浏览器的接入认证页面跳转方法的一种实施例的流程图,具体流程如下:
步骤S101,用户终端运行接入认证页面中插入的编程语言服务端网页或超文本脚本;
具体地,编程语言服务端网页JSP(JSP全名为Java Server Pages,中文名为java服务器页面;Java是一种可以撰写跨平台应用程序的面向对象的程序设计语言),超文本脚本为HTML脚本(“超文本”就是指页面内可以包含图片、链接,甚至音乐、程序等非文字元素)。
步骤S102,并将所述接入认证页面设置为浏览器的首页和/或收藏夹;
具体地,将所述接入认证页面设置为浏览器的首页和/或收藏夹,也就是说,将接入认证页面添加到浏览器的首页和/或收藏夹。
步骤S103,当需要注销上网时,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面。
具体地,通过用户点击当前界面任务栏中“浏览器接入认证”按钮,用户终端接收用户“浏览器接入认证”的切换指令后,将当前界面切换至浏览器,浏览器的首页跳转至接入认证页面和/或浏览器的收藏夹跳转至接入认证页面;
接入认证页面中包括上网剩余时长、“注销”登录按钮,当用户需要注销上网时,用户可以点击“注销”按钮。
其中,步骤S102将所述接入认证页面设置为浏览器的首页和/或收藏夹如附图2所示,具体步骤如下:
步骤S201,将所述接入认证页面设置为所述浏览器的首页和收藏夹内;
具体地,在浏览器的首页和收藏夹中都设置接入认证页面,当浏览器的首页显示接入认证页面失败包括浏览器的首页设置不成功和显示不成功时,通过浏览器的收藏夹显示接入认证页面;或当浏览器的收藏夹显示接入认证页面失败包括浏览器的收藏夹设置不成功和显示不成功时,通过浏览器首页显示接入认证页面。
步骤S202,若所述浏览器的首页和收藏夹设置均失败,则提示用户将所述接入认证页面设置为所述浏览器的首页和收藏夹。
具体地,当浏览器的首页和收藏夹设置均失败包括设置不成功和显示不成功,也就是,在浏览器的首页和收藏夹均不能显示接入认证页面时,向用户提示设置接入认证页面为浏览器的首页和收藏夹,也就是需要用户手动输入。
步骤S102将所述接入认证页面设置为浏览器的首页和/或收藏夹还如附图3所示,具体步骤如下:
步骤S301,将所述接入认证页面设置为所述浏览器的首页和收藏夹内;
具体地,在浏览器的首页和收藏夹中都设置接入认证页面,当浏览器的首页显示接入认证页面失败包括浏览器的首页设置不成功和显示不成功时,通过浏览器的收藏夹显示接入认证页面;或当浏览器的收藏夹显示接入认证页面失败包括浏览器的收藏夹设置不成功和显示不成功时,通过浏览器首页显示接入认证页面。
步骤S302,若所述浏览器的首页或收藏夹设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内。
具体地,当浏览器的首页或收藏夹设置失败包括设置不成功和显示不成功, 也就是,在浏览器的首页或收藏夹不能显示接入认证页面时,向用户提示设置接入认证页面为浏览器的首页或收藏夹,也就是需要用户手动输入。
步骤S102将所述接入认证页面设置为浏览器的首页和/或收藏夹还如附图4所示,具体步骤如下:
步骤S401,将所述接入认证页面设置为所述浏览器的首页;
具体地,用户终端也可仅将接入认证页面设置为浏览器的首页,通过浏览器的首页显示接入认证页面。
步骤S402,若所述浏览器的首页设置失败,则将所述接入认证页面设置在所述浏览器的收藏夹内;
具体地,当浏览器的首页设置失败包括浏览器的首页设置不成功和显示不成功,可将接入认证页面设置在浏览器的收藏夹中,通过浏览器的收藏夹显示接入认证页面。
步骤S403,若所述浏览器的收藏夹设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内。
具体地,当浏览器的收藏夹设置失败包括浏览器的收藏夹设置不成功和显示不成功,也就是当浏览器的收藏夹不能显示接入认证页面时,向用户提示设置接入认证页面为浏览器的首页或收藏夹。
步骤S102将所述接入认证页面设置为浏览器的首页和/或收藏夹还如附图5所示,具体步骤如下:
步骤S501,将所述接入认证页面设置为所述浏览器的收藏夹内;
具体地,用户终端也可仅将接入认证页面设置为浏览器的收藏夹,通过浏览器的收藏夹显示接入认证页面。
步骤S502,若所述浏览器的收藏夹设置失败,则将所述接入认证页面设置为所述浏览器的首页;
具体地,当浏览器的收藏夹设置失败包括浏览器的收藏夹设置不成功和显示不成功,可将接入认证页面设置在浏览器的首页,通过浏览器的首页显示接 入认证页面。
步骤S503,若所述浏览器的首页设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内。
具体地,当浏览器的首页设置失败包括浏览器的首页设置不成功和显示不成功,也就是当浏览器的首页不能显示接入认证页面时,向用户提示设置接入认证页面为浏览器的首页或收藏夹。
其中,在步骤S103将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面之后,所述方法进一步处理如图6所示,具体步骤如下:
步骤S601,用户终端通过所述浏览器保存的用户身份自动登录所述接入认证页面;
具体地,浏览器Cookie(数据)保存用户身份,用户身份包括用户名和密码。
步骤S602,并向接入服务器发送请求刷新所述接入认证页面;
具体地,向接入服务器发送请求刷新所述接入认证页面目的是:所述接入服务器根据所述发送请求判断所述用户是否接入认证成功。
其中,步骤S602,向接入服务器发送请求刷新所述接入认证页面之后,所述方法进一步处理如图7所示,具体步骤如下:
步骤S701,若所述用户接入认证成功,则用户终端接收所述接入服务器发送的接入认证成功消息和刷新页面消息;
具体地,所述刷新页面消息为所述用户剩余上网时长或所述用户剩余流量。
步骤S702,若所述用户没有进行接入认证或接入认证失败,则用户终端接收所述接入服务器发送的重新认证消息。
具体地,接入认证失败包括接入认证设置不成功或接入认证显示不成功。
其中,步骤S701用户终端接收所述接入服务器发送的刷新页面消息之后,所述方法进一步处理如图8所示,具体步骤如下:
步骤S801,用户终端刷新所述接入认证页面;
具体地,刷新所述接入认证页面也就是刷新用户终端的上网时长,以便向用户显示上网剩余时长。
步骤S802,提示所述用户是否需要注销上网。
具体地,在用户终端刷新接入认证页面后,在接入认证页面显示“注销”按钮,提示按“注销”按钮进行注销上网。
综上所述,在用户接入认证成功后,用户终端执行认证成功页面中插入的JSP或HTML脚本,将认证成功页设置为浏览器的首页或添加到收藏夹中;然后用户切换APP正常上网,当需要主动“注销”退出登录时,再次打开浏览器,浏览器的首页和/或收藏夹跳转至Portal(接入)认证成功页面,自动刷新用户上网信息(比如上多剩余时长或流量);当用户需要注销上网时,用户在认证成功页面中点击“注销”按钮,即可退出上网。
其中,用户终端接入认证成功之前,具体处理如下所示:
步骤一,所述无线接入点劫获用户终端的接入认证请求;
具体地,无线接入点监听本地80端口(开放端口),劫获用户终端的接入认证请求(第一个HTTP Request上网请求);
在劫获用户终端的接入认证请求之前,用户终端关联无线接入点的某一个SSID(服务集标识),将一个无线局域网分为几个需要不同身份验证的子网络(每个子网都有一个SSID),每一个子网络都需要独立的身份验证,只有通过身份验证的用户才可以进入相应的子网络,防止未被授权的用户进入本网络。
步骤二,并将所述接入认证请求的响应报文重定向到所述接入认证页面的网络地址;
具体地,重定向(Redirect)就是通过各种方法将各种网络请求重新定个方向转到其它位置(如:网页重定向、域名的重定向、路由选择的变化也是对数据报文经由路径的一种重定向);
其中,接入认证页面是接入服务器指定的页面,网络地址为URL(WWW 统一资源定位标志)地址。
步骤三,用户终端获取重定向的所述接入认证页面的网络地址;
具体地,当用户终端接收到所述接入认证页面的网址后,根据所述接入认证页面的网络地址打开所述接入认证页面;
打开接入认证页面后,用户终端在接入认证页面输入用户名和密码,向接入服务器发起接入认证请求,接入服务器审核用户名和密码,审核通过时,表示接入认证成功;否则,表示接入认证失败;
在审核后,接入服务器将审核结果和用户终端的上网时长发送给用户终端;在接入结果为审核通过时,则通过用户终端显示提醒允许用户上网,并将接入认证成功消息发送给无线接入点;在接入结果为未审核通过,则通过用户终端提示用户重新输入用户名和/或密码。
并在审核通过时,将接入认证成功的消息发送给无线接入点;
其中,接入认证请求,是指所述用户终端在所述接入认证页面通过向接入服务器发送用于确认接入认证是否成功的请求。
步骤四,无线接入点接收到接入认证成功消息后,开通所述用户的上网权限;
具体地,上网权限,具体是指用户终端能够接入无线接入点的某一子网SSID(服务集标识)及用户终端的上网时长/流量等。
步骤五,用户终端收到接入服务器发送的接入认证成功消息后,打开接入认证成功页面,并提示用户接入认证成功,显示用户上网剩余时长。
图9为本发明用户终端的一种实施例的结构图,用户终端900包括运行模块901、设置模块902和切换跳转模块903,
运行模块901,用于运行接入认证页面中插入的编程语言服务端网页或超文本脚本;
具体地,编程语言服务端网页JSP,超文本脚本为HTML脚本。
设置模块902,用于将所述接入认证页面设置为浏览器的首页和/或收藏夹;
具体地,将所述接入认证页面设置为浏览器的首页和/或收藏夹,也就是说,将接入认证页面添加到浏览器的首页和/或收藏夹。
切换跳转模块903,用于将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹中跳转至所述接入认证页面。
具体地,通过用户点击当前界面任务栏中“浏览器接入认证”按钮,用户终端接收用户“浏览器接入认证”的切换指令后,将当前界面切换至浏览器,浏览器的首页跳转至接入认证页面和/或浏览器的收藏夹跳转至接入认证页面;
接入认证页面中包括上网剩余时长、“注销”登录按钮,当用户需要注销上网时,用户可以点击“注销”按钮。
其中,设置模块902具体结构如图10所示,设置模块902包括第一设置子模块9021、第一提示子模块9022、第二设置子模块9023、第二提示子模块9024、第三设置子模块9025、第四设置子模块9026、第三提示子模块9027、第五设置子模块9028、第六设置子模块9029和第四提示子模块9030,
第一设置子模块9021,用于将所述接入认证页面设置为所述浏览器的首页和收藏夹内;
具体地,在浏览器的首页和收藏夹中都设置接入认证页面,当浏览器的首页显示接入认证页面失败包括浏览器的首页设置不成功和显示不成功时,通过浏览器的收藏夹显示接入认证页面;或当浏览器的收藏夹显示接入认证页面失败包括浏览器的收藏夹设置不成功和显示不成功时,通过浏览器首页显示接入认证页面。
第一提示子模块9022,用于在所述浏览器的首页和收藏夹设置均失败时,提示用户将所述接入认证页面设置为所述浏览器的首页和收藏夹;
具体地,当浏览器的首页和收藏夹设置均失败包括设置不成功和显示不成功,也就是,在浏览器的首页和收藏夹均不能显示接入认证页面时,向用户提示设置接入认证页面为浏览器的首页和收藏夹,也就是需要用户手动输入。
第二设置子模块9023,用于将所述接入认证页面设置为所述浏览器的首页 和收藏夹内;
具体地,在浏览器的首页和收藏夹中都设置接入认证页面,当浏览器的首页显示接入认证页面失败包括浏览器的首页设置不成功和显示不成功时,通过浏览器的收藏夹显示接入认证页面;或当浏览器的收藏夹显示接入认证页面失败包括浏览器的收藏夹设置不成功和显示不成功时,通过浏览器首页显示接入认证页面。
第二提示子模块9024,用于在所述浏览器的首页或收藏夹设置失败时,提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;
具体地,当浏览器的首页或收藏夹设置失败包括设置不成功和显示不成功,也就是,在浏览器的首页或收藏夹不能显示接入认证页面时,向用户提示设置接入认证页面为浏览器的首页或收藏夹,也就是需要用户手动输入。
第三设置子模块9025,用于将所述接入认证页面设置为所述浏览器的首页;
具体地,用户终端也可仅将接入认证页面设置为浏览器的首页,通过浏览器的首页显示接入认证页面。
第四设置子模块9026,用于在所述浏览器的首页设置失败时,将所述接入认证页面设置在所述浏览器的收藏夹内;
具体地,当浏览器的首页设置失败包括浏览器的首页设置不成功和显示不成功,可将接入认证页面设置在浏览器的收藏夹中,通过浏览器的收藏夹显示接入认证页面。
第三提示子模块9027,用于在所述浏览器的收藏夹设置失败时,提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;
具体地,当浏览器的收藏夹设置失败包括浏览器的收藏夹设置不成功和显示不成功,也就是当浏览器的收藏夹不能显示接入认证页面时,向用户提示设置接入认证页面为浏览器的首页或收藏夹。
第五设置子模块9028,用于将所述接入认证页面设置为所述浏览器的收藏 夹内;
具体地,用户终端也可仅将接入认证页面设置为浏览器的收藏夹,通过浏览器的收藏夹显示接入认证页面。
第六设置子模块9029,用于在所述浏览器的收藏夹设置失败时,将所述接入认证页面设置为所述浏览器的首页;
具体地,当浏览器的收藏夹设置失败包括浏览器的收藏夹设置不成功和显示不成功,可将接入认证页面设置在浏览器的首页,通过浏览器的首页显示接入认证页面。
第四提示子模块9030,用于在所述浏览器的首页设置失败时,提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内。
具体地,当浏览器的首页设置失败包括浏览器的首页设置不成功和显示不成功,也就是当浏览器的首页不能显示接入认证页面时,向用户提示设置接入认证页面为浏览器的首页或收藏夹。
图11为本发明用户终端的另一种实施例的结构图,用户终端900包括运行模块901、设置模块902、切换跳转模块903、登录模块904和发送模块905,其中,运行模块901、设置模块902和切换跳转模块903如图9所示,
登录模块904,用于在所述切换跳转模块将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面之后,通过所述浏览器保存的用户身份自动登录所述接入认证页面;
具体地,浏览器Cookie保存用户身份,用户身份包括用户名和密码。
发送模块905,用于向接入服务器发送请求刷新所述接入认证页面,以便所述接入服务器根据所述发送请求判断所述用户是否接入认证成功。
具体地,向接入服务器发送请求刷新所述接入认证页面目的是:所述接入服务器根据所述发送请求判断所述用户是否接入认证成功。
图12为本发明用户终端的另一种实施例的结构图,用户终端900包括运行模块901、设置模块902、切换跳转模块903、登录模块904、发送模块905和 接收模块906,其中,运行模块901、设置模块902和切换跳转模块903登录模块904和发送模块905如图11所示,
接收模块906,用于在所述发送模块向接入服务器发送请求刷新所述接入认证页面之后,在所述用户接入认证成功时,接收所述接入服务器发送的接入认证成功消息和刷新页面消息;在所述用户没有进行接入认证或接入认证失败时,接收所述接入服务器发送的重新认证消息;所述刷新页面消息为所述用户剩余上网时长或所述用户剩余流量。
具体地,所述刷新页面消息为所述用户剩余上网时长或所述用户剩余流量,接入认证失败包括接入认证设置不成功或接入认证显示不成功。
图13为本发明用户终端的另一种实施例的结构图,用户终端900包括运行模块901、设置模块902、切换跳转模块903、登录模块904、发送模块905、接收模块906和刷新提示模块907,其中,运行模块901、设置模块902和切换跳转模块903登录模块904、发送模块905和接收模块906如图12所示,
刷新提示模907,用于在所述接收模块接收所述接入服务器发送的刷新页面消息之后,刷新所述接入认证页面,并提示所述用户是否需要注销上网。
具体地,在用户终端刷新接入认证页面后,在接入认证页面显示“注销”按钮,提示按“注销”按钮进行注销上网。
图14为本发明用户终端在系统应用中的一种实施例的结构图,系统包括用户终端900和接入服务器1401,
用户终端900,用于运行接入认证页面中插入的编程语言服务端网页或超文本脚本;并将所述接入认证页面设置为浏览器的首页和/或收藏夹;当需要注销上网时,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面;
用户终端900,还用于将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面之后,通过所述浏览器保存的用户身份自动登录所述接入认证页面;并向接入服务器1401发送请求刷新所述接入认证页 面,以便接入服务器1401根据所述发送请求判断所述用户是否接入认证成功。
用户终端900,还用于向接入服务器1401发送请求刷新所述接入认证页面之后,若所述用户接入认证成功,则接收接入服务器1401发送的接入认证成功消息和刷新页面消息;所述刷新页面消息为所述用户剩余上网时长或所述用户剩余流量;若所述用户没有进行接入认证或接入认证失败,则接收接入服务器1401发送的重新认证消息;
用户终端900,还用于接收接入服务器1401发送的刷新页面消息之后,刷新所述接入认证页面,并提示所述用户是否需要注销上网。
接入服务器1401,接收用户终端900发送的刷新所述接入认证页面的请求,根据所示刷新所述接入认证页面的请求判断所述用户是否接入认证成功;若接入认证成功时,向用户终端900发送接入认证成功消息和刷新页面消息;若所述用户没有进行接入认证或接入认证失败,向用户终端900发送重新认证消息。
应当理解,本实施例提供的用户终端900的功能模块可以为软件模块或者软硬件结合的功能模块,其可以通过处理器执行而实现如上所述的功能。并且,用户终端900还可以具有其他功能模块来实现克服了方便快捷的注销上网各个具体步骤,具体可以参阅以上方法实施例的相应描述。
另外,所属技术领域的技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,并被通讯内部的处理器执行,前述的程序在被执行时处理器可以执行包括上述方法实施例的全部或者部分步骤。其中,所述处理器可以作为一个或多个处理器芯片实施,或者可以为一个或多个专用集成电路(Application Specific Integrated Circuit,ASIC)的一部分;而前述的存储介质可以包括但不限于以下类型的存储介质:闪存(Flash Memory)、存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限 制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (10)

  1. 一种基于浏览器的接入认证页面跳转方法,其特征在于,所述方法包括:
    用户终端运行接入认证页面中插入的编程语言服务端网页或超文本脚本;
    并将所述接入认证页面设置为浏览器的首页和/或收藏夹;
    当需要注销上网时,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面。
  2. 如权利要求1所述的方法,其特征在于,所述将所述接入认证页面设置为浏览器的首页和/或收藏夹,具体包括:
    将所述接入认证页面设置为所述浏览器的首页和收藏夹内,若所述浏览器的首页和收藏夹设置均失败,则提示用户将所述接入认证页面设置为所述浏览器的首页和收藏夹;或者,
    将所述接入认证页面设置为所述浏览器的首页和收藏夹内,若所述浏览器的首页或收藏夹设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;或者,
    将所述接入认证页面设置为所述浏览器的首页,若所述浏览器的首页设置失败,则将所述接入认证页面设置在所述浏览器的收藏夹内;若所述浏览器的收藏夹设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;或者,
    将所述接入认证页面设置为所述浏览器的收藏夹内,若所述浏览器的收藏夹设置失败,则将所述接入认证页面设置为所述浏览器的首页;若所述浏览器的首页设置失败,则提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内。
  3. 如权利要求1所述的方法,其特征在于,将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面之后,所述方法还包括:
    用户终端通过所述浏览器保存的用户身份自动登录所述接入认证页面;
    并向接入服务器发送请求刷新所述接入认证页面,以便所述接入服务器根据所述发送请求判断所述用户是否接入认证成功。
  4. 如权利要求3所述的方法,其特征在于,所述向接入服务器发送请求刷新所述接入认证页面之后,所述方法还包括:
    若所述用户接入认证成功,则用户终端接收所述接入服务器发送的接入认证成功消息和刷新页面消息;所述刷新页面消息为所述用户剩余上网时长或所述用户剩余流量;
    若所述用户没有进行接入认证或接入认证失败,则用户终端接收所述接入服务器发送的重新认证消息。
  5. 如权利要求4所述的方法,其特征在于,用户终端接收所述接入服务器发送的刷新页面消息之后,所述方法还包括:
    用户终端刷新所述接入认证页面,并提示所述用户是否需要注销上网。
  6. 一种用户终端,其特征在于,所述用户终端包括:
    运行模块,用于运行接入认证页面中插入的编程语言服务端网页或超文本脚本;
    设置模块,用于将所述接入认证页面设置为浏览器的首页和/或收藏夹;
    切换跳转模块,用于将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹中跳转至所述接入认证页面。
  7. 如权利要求6所述的用户终端,其特征在于,所述设置模块包括:
    第一设置子模块,用于将所述接入认证页面设置为所述浏览器的首页和收藏夹内;
    第一提示子模块,用于在所述浏览器的首页和收藏夹设置均失败时,提示用户将所述接入认证页面设置为所述浏览器的首页和收藏夹;
    第二设置子模块,用于将所述接入认证页面设置为所述浏览器的首页和收藏夹内;
    第二提示子模块,用于在所述浏览器的首页或收藏夹设置失败时,提示用 户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;
    第三设置子模块,用于将所述接入认证页面设置为所述浏览器的首页;
    第四设置子模块,用于在所述浏览器的首页设置失败时,将所述接入认证页面设置在所述浏览器的收藏夹内;
    第三提示子模块,用于在所述浏览器的收藏夹设置失败时,提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内;
    第五设置子模块,用于将所述接入认证页面设置为所述浏览器的收藏夹内;
    第六设置子模块,用于在所述浏览器的收藏夹设置失败时,将所述接入认证页面设置为所述浏览器的首页;
    第四提示子模块,用于在所述浏览器的首页设置失败时,提示用户将所述接入认证页面设置为所述浏览器的首页或收藏夹内。
  8. 如权利要求6所述的用户终端,其特征在于,所述用户终端还包括:
    登录模块,用于在所述切换跳转模块将当前界面切换到所述浏览器,所述浏览器的首页和/或收藏夹跳转至所述接入认证页面之后,通过所述浏览器保存的用户身份自动登录所述接入认证页面;
    发送模块,用于向接入服务器发送请求刷新所述接入认证页面,以便所述接入服务器根据所述发送请求判断所述用户是否接入认证成功。
  9. 如权利要求8所述的用于终端,其特征在于,所述用户终端还包括:
    接收模块,用于在所述发送模块向接入服务器发送请求刷新所述接入认证页面之后,在所述用户接入认证成功时,接收所述接入服务器发送的接入认证成功消息和刷新页面消息;在所述用户没有进行接入认证或接入认证失败时,接收所述接入服务器发送的重新认证消息;所述刷新页面消息为所述用户剩余上网时长或所述用户剩余流量。
  10. 如权利要求9所述的用户终端,其特征在于,所述用户终端还包括:
    刷新提示模块,用于在所述接收模块接收所述接入服务器发送的刷新页面消息之后,刷新所述接入认证页面,并提示所述用户是否需要注销上网。
PCT/CN2016/103900 2016-03-29 2016-10-29 一种基于浏览器的接入认证页面跳转方法及用户终端 WO2017166806A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610185888.XA CN105868351B (zh) 2016-03-29 2016-03-29 一种基于浏览器的接入认证页面跳转方法及用户终端
CN201610185888.X 2016-03-29

Publications (1)

Publication Number Publication Date
WO2017166806A1 true WO2017166806A1 (zh) 2017-10-05

Family

ID=56626275

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103900 WO2017166806A1 (zh) 2016-03-29 2016-10-29 一种基于浏览器的接入认证页面跳转方法及用户终端

Country Status (2)

Country Link
CN (1) CN105868351B (zh)
WO (1) WO2017166806A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871499A (zh) * 2019-01-16 2019-06-11 中国平安财产保险股份有限公司 页面加载方法及客户端
CN112269954A (zh) * 2020-10-28 2021-01-26 连尚(北京)网络科技有限公司 页面使用时长确定方法和装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868351B (zh) * 2016-03-29 2020-03-20 上海斐讯数据通信技术有限公司 一种基于浏览器的接入认证页面跳转方法及用户终端
CN107454592B (zh) * 2017-07-14 2020-11-27 台州市吉吉知识产权运营有限公司 一种在应用程序认证时防止自动Portal弹出的方法及系统
CN108092974B (zh) * 2017-12-14 2021-05-28 杭州迪普科技股份有限公司 上网认证方法及装置
CN112714123A (zh) * 2020-12-27 2021-04-27 杭州迪普科技股份有限公司 上网方法、装置及电子设备
CN112751844B (zh) * 2020-12-28 2022-11-01 杭州迪普科技股份有限公司 一种Portal认证方法、装置及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399724A (zh) * 2007-09-28 2009-04-01 中国电信股份有限公司 面向用户的网络接入和业务使用的一次认证方法
WO2014086253A1 (en) * 2012-12-04 2014-06-12 Tencent Technology (Shenzhen) Company Limited Method and mobile terminal device for certifying webpage
CN104811462A (zh) * 2014-01-26 2015-07-29 中国移动通信集团北京有限公司 一种接入网关重定向方法及接入网关
CN105868351A (zh) * 2016-03-29 2016-08-17 上海斐讯数据通信技术有限公司 一种基于浏览器的接入认证页面跳转方法及用户终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789351B (zh) * 2011-05-20 2015-03-18 腾讯科技(深圳)有限公司 一种切换浏览界面的方法及装置
CN103761123B (zh) * 2013-12-31 2018-10-12 广州华多网络科技有限公司 功能启动方法、装置及终端
CN104361004B (zh) * 2014-10-11 2017-09-22 北京奇虎科技有限公司 浏览器收藏夹数据的处理方法与浏览器
CN104484165B (zh) * 2014-11-24 2017-10-10 北京奇虎科技有限公司 一种浏览器收藏夹数据处理方法、浏览器客户端和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399724A (zh) * 2007-09-28 2009-04-01 中国电信股份有限公司 面向用户的网络接入和业务使用的一次认证方法
WO2014086253A1 (en) * 2012-12-04 2014-06-12 Tencent Technology (Shenzhen) Company Limited Method and mobile terminal device for certifying webpage
CN104811462A (zh) * 2014-01-26 2015-07-29 中国移动通信集团北京有限公司 一种接入网关重定向方法及接入网关
CN105868351A (zh) * 2016-03-29 2016-08-17 上海斐讯数据通信技术有限公司 一种基于浏览器的接入认证页面跳转方法及用户终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871499A (zh) * 2019-01-16 2019-06-11 中国平安财产保险股份有限公司 页面加载方法及客户端
CN112269954A (zh) * 2020-10-28 2021-01-26 连尚(北京)网络科技有限公司 页面使用时长确定方法和装置
CN112269954B (zh) * 2020-10-28 2024-05-03 连尚(北京)网络科技有限公司 页面使用时长确定方法和装置

Also Published As

Publication number Publication date
CN105868351A (zh) 2016-08-17
CN105868351B (zh) 2020-03-20

Similar Documents

Publication Publication Date Title
WO2017166806A1 (zh) 一种基于浏览器的接入认证页面跳转方法及用户终端
US11716324B2 (en) Systems and methods for location-based authentication
US10257183B2 (en) Method and apparatus for identity federation gateway
US10057251B2 (en) Provisioning account credentials via a trusted channel
CN108293053B (zh) 经由浏览器对客户端应用进行单点登录验证
US9641513B2 (en) Methods and systems for controlling mobile terminal access to a third-party server
US10693856B2 (en) Automatic authentication switching in online live chat applications
US8448233B2 (en) Dealing with web attacks using cryptographically signed HTTP cookies
CN115021991A (zh) 未经管理的移动设备的单点登录
EP2792120A1 (en) Method and apparatus for providing federated service accounts
CN105188060A (zh) 一种面向移动终端的单点登录认证方法及系统
US11916905B2 (en) Secure identity provider authentication for native application to access web service
WO2016011251A1 (en) System and method for accessing telephony services via an application plug-in
CN105873053B (zh) 一种接入认证页面嵌入网页的方法、系统及无线接入点
US10505902B2 (en) Securely identifying a device using a DNS-controlled proxy
US11240225B1 (en) Single sign-on techniques
CN109639788B (zh) 用于语音对话平台的跨域名联调方法及系统
CN114338078B (zh) 一种cs客户端登录方法及装置
CN114095483A (zh) 密码代填方法、装置、电子设备和存储介质
WO2017049908A1 (zh) 一种重定向的方法及装置
CN113518091B (zh) 多用户认证方法、装置、系统及存储介质

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: 16896575

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896575

Country of ref document: EP

Kind code of ref document: A1