CN113207123A - Wireless network access method and device based on browser, storage medium and terminal - Google Patents

Wireless network access method and device based on browser, storage medium and terminal Download PDF

Info

Publication number
CN113207123A
CN113207123A CN202110469160.0A CN202110469160A CN113207123A CN 113207123 A CN113207123 A CN 113207123A CN 202110469160 A CN202110469160 A CN 202110469160A CN 113207123 A CN113207123 A CN 113207123A
Authority
CN
China
Prior art keywords
wireless network
authentication
browser
portal
accessed
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.)
Pending
Application number
CN202110469160.0A
Other languages
Chinese (zh)
Inventor
余家旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202110469160.0A priority Critical patent/CN113207123A/en
Publication of CN113207123A publication Critical patent/CN113207123A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/02Network-specific arrangements or communication protocols supporting networked applications involving the use of web-based technology, e.g. hyper text transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security

Abstract

A wireless network access method and device based on a browser, a storage medium and a terminal are provided, the method comprises the following steps: when the WIFI access is overtime and a wireless network which is accessed once is searched, calling a preset browser; controlling the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed; acquiring target login information corresponding to the current URL address and the wireless network to be accessed according to the saved URL address, the service cluster identifier of the wireless network and the corresponding login information; sending an authentication request to a portal website, enabling the portal website to perform identity authentication on user equipment sending the authentication request according to target login information in the authentication request, and feeding back an authentication result; and when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed. By the scheme, the login operation of the user can be simulated, so that the wireless network access operation based on the browser is simplified.

Description

Wireless network access method and device based on browser, storage medium and terminal
Technical Field
The embodiment of the invention relates to the technical field of wireless networks, in particular to a wireless network access method and device based on a browser, a storage medium and a terminal.
Background
At present, the authentication modes of WIFI include Portal (Portal) authentication and 802.1x identity authentication, and the basic process of Portal authentication is as follows: the client first acquires an IP address (a static IP address may be used) through a Dynamic Host Configuration Protocol (DHCP) protocol, but the client cannot log on the Internet (Internet) using the acquired IP address, and can only access a specific IP address, which is usually an IP address of a Portal server, before Portal authentication is passed.
After a user logs in a Portal website (Portal Server), the user can browse content on the Portal website, such as free information of advertisements, news and the like, and simultaneously the user can input a user name and a password on a webpage, the user name and the password can be transmitted to the Portal Server by a Webpage (WEB) client application program, and then the Portal Server and a Network Attached Storage (NAS) are interacted to realize Portal authentication of the user.
802.1X is a standard for authenticating a network client (or port) based on a user ID or device. This procedure is called "port-level authentication". It uses Remote Authentication Dial In User Service (RADIUS) method and divides it into three different groups: a supplicant, an authenticator, and an authorization server. The 802.1X standard applies to back-end communication implementations that attempt to connect to a port or other device. IEEE 802.1X provides automatic user identification, centralized authentication, key management, and LAN connection configuration.
Some WIFI servers providing mandatory Portal Authentication (Captive Portal) also need to perform WEB Authentication (WEB Authentication) when a user opens a browser to access a WEB page, and in general WEB Authentication, a server provides a login page to request the user to input a user name and a password, including a short message verification code and the like. In many occasions, the mobile phone link WIFI needs to be authenticated in a webpage authentication (WEB authentication) mode. When the user does not operate for a period of time, the WIFI is automatically disconnected, when the user uses the data service again, the WIFI server can prompt the user to perform authentication again, and due to the fact that the timeout time set by the WIFI server is very short, unnecessary troubles are caused to the user due to repeated login.
Disclosure of Invention
The technical problem solved by the embodiment of the invention is how to simplify the wireless network access operation based on the browser.
In order to solve the above technical problem, an embodiment of the present invention provides a wireless network access method based on a browser, including: when the WIFI access is overtime and a wireless network which is accessed once is searched, calling a preset browser; controlling the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed; acquiring a current URL address and target login information corresponding to a wireless network to be accessed according to the saved URL address, a service cluster identifier of the wireless network and the corresponding login information, wherein the current URL address is related to the portal authentication page; sending an authentication request to a portal website, enabling the portal website to perform identity authentication on user equipment sending the authentication request according to the target login information in the authentication request, and feeding back an authentication result; and when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed.
Optionally, the authentication request includes: the current URL address, the target login information and the portal authentication page.
Optionally, the invoking a preset browser includes: and calling the browser in the background.
Optionally, the invoking the browser in the background includes: when a network monitoring module in the user equipment searches a wireless network, transmitting portal information to the browser, wherein the portal information comprises a URL (uniform resource locator) address of a portal authentication page; and controlling the browser to start at the background according to the portal information.
Optionally, the controlling the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed includes: when a network monitoring module in the user equipment searches a wireless network, acquiring an IP address of the wireless network to be accessed; controlling the browser to send a hypertext transfer protocol request to the portal website, wherein the hypertext transfer protocol request comprises the IP address of the wireless network to be accessed; and controlling the browser to redirect to the portal authentication page of the wireless network to be accessed according to the received loading information of the portal authentication page, wherein the loading information of the portal authentication page is generated by the portal website according to the text transfer protocol request.
Optionally, the login information includes: a user name and a password.
Optionally, the password is a password corresponding to the first login of the user name, or a password obtained by updating the password corresponding to the user name.
Optionally, the sending the authentication request to the web portal includes: filling the login information into an input box corresponding to the portal authentication page; and triggering a login button on the portal authentication page, generating the authentication request and sending the authentication request to the portal website.
Optionally, the wireless network access method based on a browser further includes: and when the authentication result indicates that the authentication fails, outputting authentication failure prompt information.
Optionally, after the authentication failure prompt information is output, the method further includes: and jumping to the portal authentication page.
Optionally, the wireless network access method based on a browser further includes: when the wireless network to be accessed is searched for the first time, controlling the browser to start in a foreground; controlling the browser to be directed to the portal authentication page; acquiring login information input by a user, and storing the URL address, the service cluster identifier of the wireless network and the login information; when a login button on the portal authentication page is detected to be triggered, an authentication request is generated and sent to the portal website, so that the portal website performs identity authentication on the user equipment sending the authentication request according to login information in the authentication request, and an authentication result is fed back; and when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed.
The embodiment of the invention also provides a wireless network access device based on the browser, which comprises: the calling unit is used for calling a preset browser when the WIFI access is overtime and a wireless network which is accessed once is searched; the portal authentication page orientation unit is used for controlling the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed; the target login information acquisition unit is used for acquiring target login information corresponding to a current URL address and a wireless network to be accessed according to the saved URL address, the service cluster identifier of the wireless network and the corresponding login information, wherein the current URL address is related to the portal authentication page; the sending unit is used for sending an authentication request to a portal website, so that the portal website performs identity authentication on the user equipment sending the authentication request according to the target login information in the authentication request, and feeds back an authentication result; and the access unit is used for accessing the wireless network to be accessed when the authentication result indicates that the authentication is passed.
An embodiment of the present invention further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transitory storage medium, and on which a computer program is stored, where the computer program is executed by a processor to perform any of the above steps of the browser-based wireless network access method.
The embodiment of the invention also provides a terminal, which comprises a memory and a processor, wherein the memory is stored with a computer program capable of running on the processor, and the processor executes the steps of any wireless network access method based on the browser when running the computer program.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
when the WIFI access is overtime and a wireless network which is accessed once is searched, a preset browser is called, the browser is controlled to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed, target login information corresponding to the current URL address and the wireless network to be accessed is obtained according to the saved URL address, the service cluster identification of the wireless network and the corresponding login information, an authentication request is sent to a portal website, the portal website performs identity authentication on user equipment which sends the authentication request according to the target login information in the authentication request, and an authentication result is fed back. And when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed. When the WIFI access is overtime, the browser is called and redirected to the portal authentication page of the wireless network to be accessed, and then the target login information corresponding to the current URL address and the wireless network to be accessed is automatically acquired, so that the login operation of a user is simulated, the user does not need to manually input the login information, the automatic access based on the wireless network of the browser is realized, and the wireless network access operation based on the browser can be simplified.
Drawings
Fig. 1 is a flowchart of a wireless access method based on a browser in an embodiment of the present invention;
fig. 2 is a flowchart of another browser-based wireless access method in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a wireless access device based on a browser in an embodiment of the present invention.
Detailed Description
As described above, some WIFI servers providing mandatory Portal Authentication (Captive Portal) also need to perform WEB Authentication when a user opens a browser to access a WEB page, and in general WEB Authentication, a server provides a login page to request the user to input a user name and a password, including a short message verification code. In many occasions, the mobile phone link WIFI needs to be authenticated in a webpage authentication (WEB authentication) mode. When the user does not operate for a period of time, the WIFI is automatically disconnected, when the user uses the data service again, the WIFI server can prompt the user to perform authentication again, and due to the fact that the timeout time set by the WIFI server is very short, unnecessary troubles are caused to the user due to repeated login. Particularly, in some application scenarios, a user fixedly uses some wireless networks, the timeout time set by the WIFI server is short, and the situation that the user logs in repeatedly is easily caused, and after the WIFI access is overtime each time, the user needs to input a user name and a password through a login page again to log in again for verification, so that the user re-login operation is complicated, and the user experience is influenced.
In order to solve the above problems, in the embodiment of the present invention, when the WIFI access is overtime and a wireless network that has been accessed is searched, a preset browser is invoked, according to the searched wireless network to be accessed, the browser is controlled to redirect to a portal authentication page of the wireless network to be accessed, according to a stored URL address, a service cluster identifier of the wireless network, and corresponding login information, a target login information corresponding to a current URL address and the wireless network to be accessed is obtained, an authentication request is sent to a portal website, wherein the portal website performs identity authentication on user equipment that sends the authentication request according to the target login information in the authentication request, and feeds back an authentication result. And when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed. When the WIFI access is overtime, the browser is called and redirected to the portal authentication page of the wireless network to be accessed, and then the target login information corresponding to the current URL address and the wireless network to be accessed is automatically acquired, so that the login operation of a user is simulated, the user does not need to manually input the login information, the automatic access based on the wireless network of the browser is realized, and the wireless network access operation based on the browser can be simplified.
In order to make the aforementioned objects, features and advantages of the embodiments of the present invention more comprehensible, specific embodiments accompanied with figures are described in detail below.
Referring to fig. 1, a flowchart of a wireless network access method based on a browser in the embodiment of the present invention is shown, which may specifically include the following steps:
and S101, when the WIFI access is overtime and a wireless network which is accessed once is searched, calling a preset browser.
In a specific implementation, the called browser may be a browser preset for wireless network access, or may be a browser used by a user as a default.
In some embodiments, the browser may be invoked in the foreground.
In other embodiments, the browser may be invoked in the background. And the browser is called in the background, so that the interference to the user can be reduced, and the user experience is further improved.
In some non-limiting embodiments, the browser may be invoked in the background by: when a network monitoring module in the user equipment searches a wireless network, sending portal information to the browser, wherein the portal information comprises a Uniform Resource Locator (URL) address of a portal authentication page; and controlling the browser to start at the background according to the portal information.
For example, when a user is connected to a certain WIFI and is not used for more than a set time, the WIFI access is timed out. For another example, after a user connects to a certain WIFI, an area moves, the area where the user is located exceeds the coverage area of the certain WIFI, and the user returns to the area covered by the certain WIFI again, and then the WIFI access is overtime.
And step S102, controlling the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed.
In some non-limiting embodiments, when the network monitoring module in the user equipment searches for a wireless network, an IP address of the wireless network to be accessed is obtained; controlling the browser to send a hypertext transfer protocol Request (Http Request) to the Portal website (Portal Server), wherein the Http Request includes an IP address of the wireless network to be accessed; the portal website generates loading information of the portal authentication page according to the text transmission protocol request and sends the loading information of the portal authentication page to a browser; and controlling the browser to redirect to the portal authentication page of the wireless network to be accessed according to the received loading information of the portal authentication page.
And step S103, acquiring target login information corresponding to the current URL address and the wireless network to be accessed according to the saved URL address, the service cluster identifier of the wireless network and the corresponding login information.
In a specific implementation, the current URL address is associated with the portal authentication page.
In particular implementations, the login information may include a username and password. The password may include a dynamic password and a static password.
In some embodiments, when the password is a dynamic password, the dynamic password may be an authentication code if the user name is a mobile phone number.
In some embodiments, when the password is a static password, the password may be a password corresponding to the first login of the user name, or a password obtained by updating the password corresponding to the user name.
In some embodiments, when the password is a static password, the user name and the corresponding password and other related information are saved when the user name is first logged in. Other relevant information may include the URL address and the service cluster identification (WIFI SSID) of the wireless network, etc. Namely, the mapping relation among the URL address, the WIFI SSID and the login information is established, and the subsequent search of the login information is facilitated.
In other embodiments, when the user name is a mobile phone number and the password is a dynamic password, and under the condition that the user authorization is obtained to read and send the short message, the browser can automatically fill the obtained mobile phone number into an input box of the user name according to the input tag, and find and trigger a button for obtaining the verification code. And when detecting that the short message with the verification code is received, acquiring the verification code in the short message, wherein the verification code is the password.
Step S104, sending an authentication request to the portal website.
In specific implementation, the portal site performs identity authentication on the user equipment sending the authentication request according to the target login information in the authentication request, and feeds back an authentication result.
In some non-limiting embodiments, the authentication request may include information such as the current URL address, the target login information, and the portal authentication page.
Step S104 may further include: the browser can fill the login information into an input box corresponding to the portal authentication page; and triggering a login button on the portal authentication page, generating the authentication request and sending the authentication request to the portal website.
The browser can automatically fill the acquired login information (such as a user name and a password) in the corresponding input box according to the URL address and the input tag, find a login button on a portal authentication page, automatically trigger the login button, generate an authentication request and send the authentication request to the portal website.
The portal website may be pre-stored with a URL address, a wireless network cluster service identifier, login information, and the like. The pre-stored URL address, the wireless network cluster service identifier, the login information, and the like may be acquired when the user registers for the first time, and the login information may also be login information obtained after the user registers for the first time and updates the information registered for the first time. The mapping relationship among the pre-stored URL address, the wireless network cluster service identifier and the login information may be stored in a NAS coupled to the portal website. The portal site can compare the login information in the authentication information with the stored login information, and when the stored login information comprises the login information in the authentication information, the portal site can confirm that the authentication is passed. Otherwise, if the stored login information does not include the login information in the authentication request, the authentication is confirmed to fail.
And step S105, when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed.
In a specific implementation, when the authentication result indicates that the authentication is passed, the portal site may allow the access to the wireless network to be accessed, and at this time, the user equipment sending the authentication request accesses the wireless network to be accessed. And when the authentication result indicates that the authentication fails, the portal website does not allow the access to the wireless network to be accessed, and at the moment, the user equipment sending the authentication request fails to access the wireless network to be accessed.
In particular implementations, when the authentication result indicates that authentication failed, authentication failure prompt information may be output.
In some embodiments, after the authentication failure prompt message is output, the user can jump to the portal authentication page again. The user can input login information through the jumped portal authentication page to re-perform portal authentication of the wireless network.
In this embodiment, in order to facilitate better understanding and implementation of the embodiments of the present invention for those skilled in the art, the following describes the procedure of the first login.
Specifically, when the wireless network to be accessed is searched for the first time, the browser is controlled to be started in a foreground; controlling the browser to be directed to the portal authentication page; acquiring login information input by a user, and storing the URL address, the service cluster identifier of the wireless network and the login information; when a login button on the portal authentication page is detected to be triggered, an authentication request is generated and sent to the portal website, so that the portal website performs identity authentication on the user equipment sending the authentication request according to login information in the authentication request, and an authentication result is fed back; and when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed.
In specific implementation, a user can search for a wireless network to be accessed in a manual adding mode, or can search for the wireless network by automatically discovering the wireless network function through user equipment, and the user can select the network to be accessed from the searched networks.
In a specific implementation, the authentication request includes: the current URL address, the login information and the portal authentication page.
In a specific implementation, the wireless access method based on the browser provided in the foregoing embodiment may be implemented by a user equipment, or may be implemented by a chip or a chip module on the user equipment. The network monitoring module and the browser provided in the above embodiments may be installed in the user equipment.
In order to facilitate those skilled in the art to better understand and implement the embodiments of the present invention, a browser-based wireless network access method is described below with reference to fig. 2.
A network monitoring module and a browser may be configured on the user device. The network monitoring module may be configured to monitor a network on the user device. The network monitoring module may be configured to monitor a network connection condition of the user equipment, such as a WIFI connection, a data network connection, a bluetooth connection, an ethernet connection, and the like.
In step S1, the network monitoring module sends the portal information to the browser.
When logging in for the first time, a network Monitor (network Monitor) can acquire an IP address of a wireless network triggering a connection operation when detecting that a user triggers the connection operation of the wireless network. In addition, the network monitoring module sends portal information to the Browser (Browser). The Portal information (Portal message) includes a URL address of the Portal authentication page.
In step S2, the browser starts in the foreground.
In step S3, the browser sends a text transfer protocol request to a web Portal (Portal Server).
The IP address of the wireless network that triggered the wireless network connection operation may be included in the text transfer protocol Request (Http Request).
In step S4, the portal feeds back the loading information of the portal authentication page.
The Portal website generates loading information (Portal Page Loaded) of a Portal authentication Page according to the text transfer protocol request, and feeds the loading information back to the browser. And the browser loads the portal authentication page according to the loading information of the portal authentication page fed back by the portal website so as to realize directional loading of the portal authentication page.
In step S5, login information input by the user is acquired.
In a specific implementation, an input (input) tag is configured on the portal authentication page, and the user can input login information at a position corresponding to the input tag. For example, when the login information includes a user name and a password, the user name may be input at a position corresponding to the user name, and the password may be input at a position corresponding to the password.
And step S6, saving the login information.
The browser can store the acquired login information in the user equipment.
Further, when saving the login information, a corresponding relationship between the login information and the URL and the service set identifier SSID is established. Through the corresponding relation between the login information and the URL and the service cluster identifier SSID of the wireless network, when WIFI access timeout occurs, target login information can be automatically acquired conveniently according to the URL and the service cluster identifier SSID of the wireless network.
Step S7, an authentication request is sent to the web portal.
In a specific implementation, the authentication Request (Request Auth) may include the login information current URL address, the login information, and the portal authentication page. And the portal website carries out identity authentication on the user equipment sending the authentication request according to the authentication request and feeds back an authentication result.
In a specific implementation, the portal site may store the latest login information of the user, and the portal site may compare the latest login information stored by the portal site with the login information in the authentication request to authenticate the user equipment sending the authentication request.
In step S8, the authentication pass result is fed back.
In some embodiments, Success may be used to characterize the authentication result pass.
In step S9, the browser sends a portal authentication pass notification to the network monitoring module.
Further, when the authentication result fails, an authentication failure prompt may be output to inform the user of the authentication failure.
Further, it is also possible to automatically jump to the portal authentication page to enable the user to perform login authentication again.
And step S10, when the WIFI access is overtime and the accessed wireless network is searched, the network monitoring module sends portal information to the browser.
And after the network monitoring module receives the link request and acquires the WLAN IP address, the network monitoring module sends portal information to the browser.
In step S11, the browser is started in the background.
In step S12, the browser sends an Http Request to the web portal.
In step S13, the portal site sends the loading information of the portal authentication page to the browser.
The Portal website generates loading information (Portal Page Loaded) of a Portal authentication Page according to the text transfer protocol request, and feeds the loading information back to the browser. And the browser loads the portal authentication page according to the loading information of the portal authentication page fed back by the portal website so as to realize the redirection loading of the portal authentication page.
Step S14, the login information is filled into the input box corresponding to the portal authentication page.
Specifically, target login information corresponding to the current URL address and the wireless network to be accessed is obtained according to the saved URL address, the service cluster identifier of the wireless network and the corresponding login information. The browser can automatically fill the user name and the password into the corresponding input box according to the saved URL address and the input label.
In step S15, the browser sends an authentication request to the web portal.
In a specific implementation, after the browser fills the user name and the password into the corresponding input box, the browser finds a login button on the portal authentication page, and triggers a login operation to send an authentication request to the portal website. So as to realize the operation process of simulating the authentication login of the user.
In step S16, the authentication pass result is fed back.
In step S17, the browser sends a portal authentication pass notification to the network monitoring module.
By adopting the wireless network access method based on the browser provided by the embodiment, the operation of the user can be simulated from the side of the user equipment without changing the WIFI login process of the existing wireless network service (WLAN Server) or supporting the WIFI protocol of an additional Server, so that the user experience is improved. Due to the fact that the operation of clicking the page by the user is simulated, the universality of different Portal authentication pages can be achieved, and the universality is good.
The embodiment of the invention also provides a wireless network access device based on the browser. Referring to fig. 3, a schematic structural diagram of a wireless network access device based on a browser in an embodiment of the present invention is given, where the wireless network access device 30 based on a browser specifically includes:
the calling unit 31 is configured to call a preset browser when the WIFI access is overtime and a wireless network which has been accessed is searched;
a portal authentication page directing unit 32, configured to control the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed;
a target login information obtaining unit 33, configured to obtain, according to the stored URL address, the service cluster identifier of the wireless network, and corresponding login information, target login information corresponding to a current URL address and a wireless network to be accessed, where the current URL address is related to the portal authentication page;
a sending unit 34, configured to send an authentication request to a web portal, so that the web portal performs identity authentication on the user equipment sending the authentication request according to the target login information in the authentication request, and feeds back an authentication result;
and the access unit 35 is configured to access the wireless network to be accessed when the authentication result indicates that authentication passes.
In a specific implementation, reference may be made to the description of any one of the wireless network access methods based on a browser provided in the foregoing embodiments for a specific working principle and a working flow of the wireless network access apparatus 30 based on a browser, which are not described herein again.
In a specific implementation, the above-mentioned wireless network access device 30 based on a browser may correspond to a chip having a wireless network access processing function in a terminal (also referred to as a user equipment); or to a chip having a data processing function, such as a baseband chip; or the chip module group corresponds to the user equipment and comprises a chip with a wireless network access processing function; or to a chip module having a chip with data processing function, or to a user equipment.
In a specific implementation, each module/unit included in each apparatus and product described in the foregoing embodiments may be a software module/unit, may also be a hardware module/unit, or may also be a part of a software module/unit and a part of a hardware module/unit.
For example, for each device or product applied to or integrated into a chip, each module/unit included in the device or product may be implemented by hardware such as a circuit, or at least a part of the module/unit may be implemented by a software program running on a processor integrated within the chip, and the rest (if any) part of the module/unit may be implemented by hardware such as a circuit; for each device or product applied to or integrated with the chip module, each module/unit included in the device or product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components of the chip module, or at least some of the modules/units may be implemented by using a software program running on a processor integrated within the chip module, and the rest (if any) of the modules/units may be implemented by using hardware such as a circuit; for each device and product applied to or integrated in the terminal, each module/unit included in the device and product may be implemented by using hardware such as a circuit, and different modules/units may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least part of the modules/units may be implemented by using a software program running on a processor integrated in the terminal, and the rest (if any) part of the modules/units may be implemented by using hardware such as a circuit.
An embodiment of the present invention further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transitory storage medium, and on which a computer program is stored, where the computer program, when executed by a processor, performs the steps of the wireless network access method based on a browser shown in fig. 1 and fig. 2.
An embodiment of the present invention further provides a terminal, which includes a memory and a processor, where the memory stores a computer program capable of running on the processor, and the processor executes the steps of the wireless network access method based on a browser shown in fig. 1 and 2 when running the computer program.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in any computer readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A wireless network access method based on a browser is characterized by comprising the following steps:
when the WIFI access is overtime and a wireless network which is accessed once is searched, calling a preset browser;
controlling the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed;
acquiring a current URL address and target login information corresponding to a wireless network to be accessed according to the saved URL address, a service cluster identifier of the wireless network and the corresponding login information, wherein the current URL address is related to the portal authentication page;
sending an authentication request to a portal website, enabling the portal website to perform identity authentication on user equipment sending the authentication request according to the target login information in the authentication request, and feeding back an authentication result;
and when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed.
2. The browser-based wireless network access method of claim 1, wherein the authentication request comprises: the current URL address, the target login information and the portal authentication page.
3. The browser-based wireless network access method of claim 1 or 2, wherein the invoking of the preset browser comprises:
and calling the browser in the background.
4. The browser-based wireless network access method of claim 3, wherein said invoking the browser in the background comprises:
when a network monitoring module in the user equipment searches a wireless network, transmitting portal information to the browser, wherein the portal information comprises a URL (uniform resource locator) address of a portal authentication page;
and controlling the browser to start at the background according to the portal information.
5. The browser-based wireless network access method of claim 4, wherein the controlling the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed comprises:
when a network monitoring module in the user equipment searches a wireless network, acquiring an IP address of the wireless network to be accessed;
controlling the browser to send a hypertext transfer protocol request to the portal website, wherein the hypertext transfer protocol request comprises the IP address of the wireless network to be accessed;
and controlling the browser to redirect to the portal authentication page of the wireless network to be accessed according to the received loading information of the portal authentication page, wherein the loading information of the portal authentication page is generated by the portal website according to the text transfer protocol request.
6. The browser-based wireless network access method of claim 1, wherein the login information comprises: a user name and a password.
7. The browser-based wireless network access method of claim 6, wherein the password is a password corresponding to the first login of the user name, or a password obtained by updating the password corresponding to the user name.
8. The browser-based wireless network access method of claim 1 or 2, wherein said sending an authentication request to a web portal comprises:
filling the login information into an input box corresponding to the portal authentication page;
and triggering a login button on the portal authentication page, generating the authentication request and sending the authentication request to the portal website.
9. The browser-based wireless network access method of claim 1, further comprising:
and when the authentication result indicates that the authentication fails, outputting authentication failure prompt information.
10. The browser-based wireless network access method of claim 9, wherein after outputting the authentication failure prompt message, further comprising:
and jumping to the portal authentication page.
11. The browser-based wireless network access method of claim 1, further comprising:
when the wireless network to be accessed is searched for the first time, controlling the browser to start in a foreground;
controlling the browser to be directed to the portal authentication page;
acquiring login information input by a user, and storing the URL address, the service cluster identifier of the wireless network and the login information;
when a login button on the portal authentication page is detected to be triggered, an authentication request is generated and sent to the portal website, so that the portal website performs identity authentication on the user equipment sending the authentication request according to login information in the authentication request, and an authentication result is fed back;
and when the authentication result indicates that the authentication is passed, accessing the wireless network to be accessed.
12. A wireless network access device based on a browser, comprising:
the calling unit is used for calling a preset browser when the WIFI access is overtime and a wireless network which is accessed once is searched;
the portal authentication page orientation unit is used for controlling the browser to redirect to a portal authentication page of the wireless network to be accessed according to the searched wireless network to be accessed;
the target login information acquisition unit is used for acquiring target login information corresponding to a current URL address and a wireless network to be accessed according to the saved URL address, the service cluster identifier of the wireless network and the corresponding login information, wherein the current URL address is related to the portal authentication page;
the sending unit is used for sending an authentication request to a portal website, so that the portal website performs identity authentication on the user equipment sending the authentication request according to the target login information in the authentication request, and feeds back an authentication result;
and the access unit is used for accessing the wireless network to be accessed when the authentication result indicates that the authentication is passed.
13. A computer-readable storage medium, being a non-volatile storage medium or a non-transitory storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the browser-based wireless network access method of any one of claims 1 to 11.
14. A terminal comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, wherein the processor, when executing the computer program, performs the steps of the browser-based wireless network access method of any one of claims 1 to 11.
CN202110469160.0A 2021-04-28 2021-04-28 Wireless network access method and device based on browser, storage medium and terminal Pending CN113207123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110469160.0A CN113207123A (en) 2021-04-28 2021-04-28 Wireless network access method and device based on browser, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110469160.0A CN113207123A (en) 2021-04-28 2021-04-28 Wireless network access method and device based on browser, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN113207123A true CN113207123A (en) 2021-08-03

Family

ID=77027149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110469160.0A Pending CN113207123A (en) 2021-04-28 2021-04-28 Wireless network access method and device based on browser, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN113207123A (en)

Similar Documents

Publication Publication Date Title
JP6726426B2 (en) Login-free method and device between terminals
CN104158808B (en) Portal authentication method and its device based on APP applications
US9332054B2 (en) Captive portal redirection using display layout information
EP2571228B1 (en) Access control method and system, and access terminal
CN101702717B (en) Method, system and equipment for authenticating Portal
US10721320B2 (en) Redirection method, apparatus, and system
US11201861B2 (en) Server for providing a token
CN110300117B (en) IOT device and user binding authentication method, device and medium
CN105868351B (en) Access authentication page skipping method based on browser and user terminal
CN108259457B (en) WEB authentication method and device
US10070359B2 (en) Dynamic generation of per-station realm lists for hot spot connections
CN104836812A (en) Portal authentication method, device and system
US20140359738A1 (en) Communication apparatus, method of controlling, and storage medium
US10390217B2 (en) Wireless configuration of wireless distribution system (WDS) Wi-Fi range extenders using non-Wi-Fi-wireless communication channels
CN110248364B (en) IOT equipment network distribution method, device, equipment and medium
CN106954214B (en) Electronic device and control method thereof
US20190253891A1 (en) Portal aggregation service mapping subscriber device identifiers to portal addresses to which connection and authentication requests are redirected and facilitating mass subscriber apparatus configuration
CN113207123A (en) Wireless network access method and device based on browser, storage medium and terminal
CN104837134A (en) Web authentication user registration method, device and system
CN107534859B (en) Network authentication method, client, terminal equipment and platform
CN108076500B (en) Method and device for managing local area network and computer readable storage medium
US10505913B2 (en) Communication management system, access point, communication management device, connection control method, communication management method, and program
CN109831407A (en) Captive portals (CAPTIVE PORTAL) detection
EP2003853A1 (en) Method for managing functions of a mobile phone during a browsing session, remote gateway and remote phone managing unit
US20160234685A1 (en) Methods and Devices for Processing Identification Information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination