CN116266909A - Authentication method, device and system of wireless fidelity WiFi network - Google Patents

Authentication method, device and system of wireless fidelity WiFi network Download PDF

Info

Publication number
CN116266909A
CN116266909A CN202111542798.9A CN202111542798A CN116266909A CN 116266909 A CN116266909 A CN 116266909A CN 202111542798 A CN202111542798 A CN 202111542798A CN 116266909 A CN116266909 A CN 116266909A
Authority
CN
China
Prior art keywords
authentication
screen device
wifi network
information
screen
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
CN202111542798.9A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202111542798.9A priority Critical patent/CN116266909A/en
Publication of CN116266909A publication Critical patent/CN116266909A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/009Security arrangements; Authentication; Protecting privacy or anonymity specially adapted for networks, e.g. wireless sensor networks, ad-hoc networks, RFID networks or cloud networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides an authentication method, device and system of a wireless fidelity WiFi network, wherein the method is applied to a non-screen device and comprises the following steps: receiving a redirection message sent by an authentication server, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent by the authentication server when the authentication server determines that the non-screen device needs to perform authentication of the WiFi network; forwarding the redirection message to the screen equipment, wherein the access address is used for displaying an authentication interface by the screen equipment and acquiring authentication information of the WiFi network input by the authentication interface; receiving authentication information sent by the screen equipment; and sending an authentication message to an authentication server, wherein the authentication message carries authentication information, and the authentication information is used for the authentication server to determine whether the non-screen device passes the authentication of the WiFi network. According to the authentication method and the authentication server, the authentication of the WiFi network can be completed through the screen-free equipment, and the screen-free equipment can access Internet resources through the authentication server.

Description

Authentication method, device and system of wireless fidelity WiFi network
Technical Field
The embodiment of the application relates to the technical field of wireless communication, in particular to a method, a device and a system for authenticating a wireless fidelity WiFi network.
Background
Commercial wireless fidelity (Wireless Fidelity, wiFi) networks are becoming increasingly popular, which typically employ Portal (Portal) authentication, and thus commercial WiFi networks are also known as Portal WiFi networks.
After the device accesses the Portal WiFi network, the device needs to authenticate the Portal WiFi network through a World Wide Web (WEB) interface. The user inputs authentication information (such as a mobile phone number and a verification code) on the WEB interface to finish authentication of the Portal WiFi network, and then the equipment can access Internet resources through the Portal WiFi network.
However, in the authentication process of the Portal WiFi network, the device needs to display a WEB interface, and the authentication process of the Portal WiFi network cannot be performed for the non-screen device, so that an authentication method for the Portal WiFi network of the non-screen device is needed to realize that the non-screen device accesses internet resources.
Disclosure of Invention
The authentication method, the authentication device and the authentication system for the wireless fidelity WiFi network can enable the non-screen device to finish authentication of the WiFi network through the screen device, and enable the non-screen device to access Internet resources through the authentication server.
In a first aspect, the present application provides an authentication method of a WiFi network, applied to a non-screen device, the method includes: receiving a redirection message sent by an authentication server, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent by the authentication server when the authentication server determines that the non-screen device needs to authenticate the WiFi network; forwarding the redirection message to a screen device, wherein the access address is used for displaying the authentication interface by the screen device and acquiring the authentication information of the WiFi network input by the authentication interface; receiving the authentication information sent by the on-screen equipment; and sending an authentication message to the authentication server, wherein the authentication message carries the authentication information, and the authentication information is used for the authentication server to determine whether the non-screen device passes the authentication of the WiFi network.
According to the method, the non-screen device can display the authentication interface and acquire the authentication information through the screen device, and further authentication of the WiFi network is completed, so that the non-screen device can access internet resources through the authentication server.
Optionally, the redirection message may further carry a status code, where the status code is used to indicate that the non-screen device needs to perform authentication of the WiFi network.
The on-screen device can analyze the redirected message to obtain the access address. And then acquiring data of the authentication interface based on the access address, and displaying the authentication interface based on the data of the authentication interface to present the authentication interface to the user.
The authentication interface may include an authentication information input box in which the user may input authentication information. The authentication information may include an account number, which may be a cell phone number, and a verification code. For example, after the screen device obtains the mobile phone number input by the authentication interface, the screen device may send the mobile phone number to the authentication server through the screen-free device. The authentication server sends the verification code to the screen equipment through the operator where the mobile phone number is located. The screen equipment acquires the verification code input by the authentication interface, thereby acquiring authentication information.
Taking the example that the authentication information comprises a mobile phone number and a verification code, the verification code is sent by the authentication server, the authentication server can determine whether the verification code in the authentication information is the same as the verification code of the mobile phone number sent by the authentication server. If the authentication result is the same, determining that the non-screen equipment passes through the WiFi network; if not, it is determined that the non-screen device fails authentication of the WiFi network.
In one possible implementation, the method further includes: and sending a request message to the authentication server, wherein the request message carries target address information of the non-screen equipment, and the target address information is used for the authentication server to determine whether the non-screen equipment needs to perform authentication of the WiFi network.
In a possible implementation manner, the authentication message further carries the target address information.
In one possible implementation, the destination address information includes a media access control (Media Access Control, MAC) address of the off-screen device.
In one possible implementation, the method further includes: receiving a notification message sent by the authentication server, wherein the notification message carries an authentication result of the WiFi network of the non-screen equipment and data of an authentication result interface; and forwarding the notification message to the on-screen equipment, wherein the data of the authentication result interface are used for displaying the authentication result interface by the on-screen equipment.
The authentication result includes authentication success and authentication failure. The authentication interface may include a text box in which the authentication result is displayed to inform the user of the authentication result of the WiFi network of the non-screen device.
In one possible implementation, the method further includes: when the authentication result indicates that the non-screen device passes the authentication of the WiFi network, an association request is sent to the authentication server; receiving an association response to the association request sent by the authentication server; and accessing the Internet through the authentication server.
In one possible implementation, the method further includes: receiving indication information of the WiFi network sent by the screen equipment; and establishing the connection of the WiFi network with the authentication server based on the indication information.
The indication information may include a name of the WiFi network. Optionally, the indication information may further include a password of the WiFi network. The on-screen device can send an air message carrying indication information to the off-screen device based on the WiFi network. The air message includes a name field and a password field, the name field including the name of the WiFi network.
In a second aspect, the present application provides a method for authenticating a WiFi network, applied to a screen device, where the method includes: receiving a redirection message sent by a non-screen device, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent to the non-screen device when the authentication server determines that the non-screen device needs to perform authentication of the WiFi network; displaying the authentication interface based on the access address; acquiring authentication information of the WiFi network input by the authentication interface; and sending the authentication information to the non-screen device, wherein the non-screen device is used for sending an authentication message carrying the authentication information to the authentication server, and the authentication information is used for the authentication server to determine whether the non-screen device passes the authentication of the WiFi network.
In one possible implementation, the method further includes: receiving a notification message sent by the non-screen device, wherein the notification message carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface, and the notification message is sent to the non-screen device by the authentication server; and displaying the authentication result interface based on the data of the authentication result interface.
In one possible implementation, the method further includes: and sending indication information of the WiFi network to the non-screen equipment, wherein the indication information is used for establishing connection of the non-screen equipment and the WiFi network with the authentication server.
In a third aspect, the present application provides an authentication method of a WiFi network, applied to an authentication server, the method including: when the non-screen device is determined to need to authenticate the WiFi network, sending a redirection message to the non-screen device, wherein the redirection message carries an access address of an authentication interface of the WiFi network, the non-screen device is used for forwarding the redirection message to the screen device, and the access address is used for displaying the authentication interface by the screen device and acquiring authentication information of the WiFi network input by the authentication interface; receiving an authentication message sent by the non-screen device, wherein the authentication message carries the authentication information, and the authentication information is sent by the screen device to the non-screen device; and determining whether the non-screen device passes the authentication of the WiFi network or not based on the authentication information.
In one possible implementation, the method further includes: receiving a request message sent by the non-screen equipment, wherein the request message carries target address information of the non-screen equipment; and determining whether the non-screen device needs to authenticate the WiFi network or not based on the target address information.
In a possible implementation manner, the authentication server includes an information set, where the information set stores address information of a plurality of devices, the plurality of devices pass authentication of the WiFi network, and the authentication message further carries the target address information; the determining whether the non-screen device needs to perform authentication of the WiFi network based on the target address information includes: determining whether the non-screen device needs to authenticate the WiFi network or not by searching whether the target address information is stored in the information set or not; the method further comprises the steps of: and when the authentication of the non-screen device through the WiFi network is determined, storing the target address information in the information set.
In one possible implementation, the method further includes: the method comprises the steps that a notification message is sent to the non-screen device, the notification message carries authentication results of the WiFi network of the non-screen device and data of an authentication result interface, the non-screen device is used for forwarding the notification message to the screen device, and the data of the authentication result interface is used for displaying the authentication result interface by the screen device.
In one possible implementation, the method further includes: receiving an association request sent by the non-screen device, wherein the association request is sent by the non-screen device when the authentication result indicates that the non-screen device passes the authentication of the WiFi network; and sending an association response to the non-screen device, wherein the non-screen device is used for accessing the Internet through the authentication server when receiving the association response.
In a fourth aspect, the present application provides an authentication apparatus for a WiFi network, applied to a non-screen device, the apparatus including: the receiving and transmitting module is used for receiving a redirection message sent by the authentication server, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent by the authentication server when the authentication server determines that the non-screen device needs to authenticate the WiFi network; the receiving and transmitting module is further configured to forward the redirection packet to a on-screen device, where the access address is used for the on-screen device to display the authentication interface and obtain authentication information of the WiFi network input by the authentication interface; the receiving and transmitting module is also used for receiving the authentication information sent by the screen equipment; the receiving and transmitting module is further configured to send an authentication message to the authentication server, where the authentication message carries the authentication information, and the authentication information is used by the authentication server to determine whether the non-screen device passes authentication of the WiFi network.
In one possible implementation manner, the transceiver module is further configured to send a request packet to the authentication server, where the request packet carries target address information of the non-screen device, and the target address information is used by the authentication server to determine whether the non-screen device needs to perform authentication of the WiFi network.
In a possible implementation manner, the authentication message further carries the target address information.
In one possible implementation, the destination address information includes a media access control MAC address of the screenless device.
In a possible implementation manner, the transceiver module is further configured to receive a notification packet sent by the authentication server, where the notification packet carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface; and forwarding the notification message to the on-screen equipment, wherein the data of the authentication result interface are used for displaying the authentication result interface by the on-screen equipment.
In a possible implementation manner, the transceiver module is further configured to send an association request to the authentication server when the authentication result indicates that the non-screen device passes authentication of the WiFi network; the receiving and transmitting module is further used for receiving an association response to the association request sent by the authentication server; the apparatus further comprises: and the processing module is used for accessing the Internet through the authentication server.
In a possible implementation manner, the transceiver module is further configured to receive indication information of the WiFi network sent by the on-screen device; and the processing module is further used for establishing connection of the WiFi network with the authentication server based on the indication information.
In a fifth aspect, the present application provides an authentication apparatus for a WiFi network, applied to a on-screen device, the apparatus including: the receiving and transmitting module is used for receiving a redirection message sent by the non-screen device, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent to the non-screen device when the authentication server determines that the non-screen device needs to perform authentication of the WiFi network; the processing module is used for displaying the authentication interface based on the access address; the processing module is further used for acquiring the authentication information of the WiFi network, which is input by the authentication interface; the receiving and transmitting module is further configured to send the authentication information to the no-screen device, where the no-screen device is configured to send an authentication message carrying the authentication information to the authentication server, and the authentication information is used by the authentication server to determine whether the no-screen device passes authentication of the WiFi network.
In a possible implementation manner, the transceiver module is further configured to receive a notification packet sent by the non-screen device, where the notification packet carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface, and the notification packet is sent by the authentication server to the non-screen device; the processing module is further used for displaying the authentication result interface based on the data of the authentication result interface.
In a possible implementation manner, the transceiver module is further configured to send, to the non-screen device, indication information of the WiFi network, where the indication information is used to establish a connection between the non-screen device and the authentication server.
In a sixth aspect, the present application provides an authentication device of a WiFi network, applied to an authentication server, the device including: the device comprises a receiving and transmitting module, a wireless network interface module and a wireless network interface module, wherein the receiving and transmitting module is used for transmitting a redirection message to the wireless network interface module when determining that the wireless network interface module needs to perform the authentication of the WiFi network, the redirection message carries an access address of an authentication interface of the WiFi network, the wireless network interface module is used for transmitting the redirection message to the screen device, and the access address is used for displaying the authentication interface and acquiring the authentication information of the WiFi network input by the authentication interface by the screen device; the receiving and transmitting module is further configured to receive an authentication message sent by the non-screen device, where the authentication message carries the authentication information, and the authentication information is sent by the on-screen device to the non-screen device; and the processing module is used for determining whether the non-screen device passes the authentication of the WiFi network or not based on the authentication information.
In a possible implementation manner, the transceiver module is further configured to receive a request packet sent by the non-screen device, where the request packet carries target address information of the non-screen device; and the processing module is further used for determining whether the non-screen device needs to perform authentication of the WiFi network or not based on the target address information.
In a possible implementation manner, the authentication server includes an information set, where the information set stores address information of a plurality of devices, the plurality of devices pass authentication of the WiFi network, and the authentication message further carries the target address information; the processing module is specifically configured to determine whether the non-screen device needs to perform authentication of the WiFi network by searching whether the information set stores the target address information; the processing module is further configured to store the target address information in the information set when it is determined that the non-screen device passes authentication of the WiFi network.
In one possible implementation manner, the transceiver module is further configured to send a notification packet to the non-screen device, where the notification packet carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface, the non-screen device is configured to forward the notification packet to the on-screen device, and the data of the authentication result interface is configured to display the authentication result interface by the on-screen device.
In a possible implementation manner, the transceiver module is further configured to receive an association request sent by the non-screen device, where the association request is sent by the non-screen device when the authentication result indicates that the non-screen device passes authentication of the WiFi network; and sending an association response to the non-screen device, wherein the non-screen device is used for accessing the Internet through the authentication server when receiving the association response.
In a seventh aspect, the present application provides an authentication apparatus of a WiFi network, including: one or more processors; a memory for storing one or more computer programs or instructions; when executed by the one or more processors, causes the one or more processors to implement the method of any of the first aspects.
In an eighth aspect, the present application provides an authentication apparatus of a WiFi network, including: one or more processors; a memory for storing one or more computer programs or instructions; when executed by the one or more processors, causes the one or more processors to implement the method of any of the second aspects.
In a ninth aspect, the present application provides an authentication apparatus of a WiFi network, including: one or more processors; a memory for storing one or more computer programs or instructions; when the one or more computer programs or instructions are executed by the one or more processors, the one or more processors are caused to implement the method of any of the third aspects.
In a tenth aspect, the present application provides an authentication device of a WiFi network, comprising a processor configured to perform the method of any one of the first to third aspects.
In an eleventh aspect, the present application provides a computer readable storage medium comprising a computer program or instructions which, when executed on a computer, cause the computer to perform the method of any one of the first to third aspects.
In a twelfth aspect, the present application provides an authentication system of a WiFi network, the system including a no-screen device, a screen device, and an authentication server; the authentication server is used for sending a redirection message to the non-screen device when the non-screen device is determined to need to perform authentication of the wireless fidelity WiFi network, wherein the redirection message carries an access address of an authentication interface of the WiFi network; the non-screen device is used for forwarding the redirection message to the on-screen device; the on-screen device is used for displaying the authentication interface based on the access address and acquiring the authentication information of the WiFi network input by the authentication interface; the on-screen device is further used for sending the authentication information to the off-screen device; the non-screen device is further configured to send an authentication message carrying the authentication information to the authentication server; the authentication server is further configured to determine whether the non-screen device passes authentication of the WiFi network based on the authentication information.
In a possible implementation manner, the no-screen device is further configured to send a request packet to the authentication server, where the request packet carries target address information of the no-screen device; the authentication server is further configured to determine, based on the target address information, whether the non-screen device needs to perform authentication of the WiFi network.
In a possible implementation manner, the authentication server includes an information set, where the information set stores address information of a plurality of devices, the plurality of devices pass authentication of the WiFi network, and the authentication message further carries the target address information; the authentication server is specifically configured to determine whether the non-screen device needs to perform authentication of the WiFi network by searching whether the information set stores the target address information; the authentication server is further configured to store the target address information in the information set when it is determined that the non-screen device passes authentication of the WiFi network.
In one possible implementation, the destination address information includes a media access control MAC address of the screenless device.
In a possible implementation manner, the authentication server is further configured to send a notification packet to the non-screen device, where the notification packet carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface; the non-screen device is further configured to forward the notification packet to the on-screen device; the on-screen device is further used for displaying the authentication result interface based on the data of the authentication result interface.
In a possible implementation manner, the no-screen device is further configured to send an association request to the authentication server when the authentication result indicates that the no-screen device passes authentication of the WiFi network; the authentication server is further used for sending an association response of the association request to the non-screen device; the non-screen device is further used for accessing the Internet through the authentication server.
In a possible implementation manner, the on-screen device is further configured to send, to the off-screen device, indication information of the WiFi network; the non-screen device is further used for establishing connection of the WiFi network with the authentication server based on the indication information.
Drawings
Fig. 1 is a schematic structural diagram of an authentication system of a WiFi network according to an embodiment of the present application;
fig. 2 is a flow chart of an authentication method of a WiFi network according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an authentication interface according to an embodiment of the present application;
fig. 4 is a block diagram of an authentication device of a WiFi network according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an authentication device of a WiFi network according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms first and second and the like in the description and in the claims of embodiments of the present application are used for distinguishing between different objects and not necessarily for describing a particular sequential order of objects. For example, a first range and a second range, etc. are used to distinguish between different ranges, and are not used to describe a particular order of ranges.
In the embodiments of the present application, words such as "in one example," "illustratively," or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "in one example," "illustratively," or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "in one example," "illustratively," or "such as" is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "at least one" means one or more, and the meaning of "a plurality" means two or more. For example, the plurality of processing units refers to two or more processing units; the plurality of systems means two or more systems.
A Portal WiFi network is a WiFi network in which devices need to be authenticated through a WEB interface after being connected, and is widely used in public areas (such as schools, malls, hotels, etc.). However, the non-screen device cannot display the WEB interface, so that the Portal WiFi network is accessed, and the authentication of the Portal WiFi network cannot be completed, so that internet resources cannot be accessed.
The embodiment of the application provides an authentication system of a WiFi network, which can be used for authentication of the WiFi network of a non-screen device. Referring to fig. 1, fig. 1 is a schematic structural diagram of an authentication system of a WiFi network according to an embodiment of the present application, where the authentication system 10 includes a screen device 101, a non-screen device 102, and an authentication server 103. The non-screen device 102 establishes a communication connection with both the screen device 101 and the authentication server.
Optionally, a connection based on a short-range communication technology may be established between the on-screen device 101 and the off-screen device 102, where the short-range communication technology may include a WiFi network, and bluetooth, where the WiFi network may be WiFi soft AP (WiFi soft AP), and the bluetooth may be bluetooth low energy (Bluetooth Low Energy, BLE).
The authentication system 10 may also include a Wireless access point (Wireless Access Point, wireless AP) 104, with the Wireless device accessing a Portal WiFi network through the Wireless AP 104 to enable communication with the authentication server. Fig. 1 also shows the Internet (Internet), which is accessible to the non-screen device 102 via the wireless AP 104 and the authentication server 103 after authentication of the non-screen device 102 via the WiFi network.
The on-screen device is a terminal device with a display screen, and may include a smart phone, a tablet computer, a notebook computer, a personal digital assistant, and the like, for example. The non-screen device does not have a display screen and may include, for example, a camera, an intelligent robot, and the like. The wireless AP may include a wireless router, a wireless gateway, a wireless bridge, and the like.
As shown in fig. 1, the on-screen device 101 may include a first distribution network module 1011, a message processing module 1012, and a User Interface (UI) module 1013. The screenless device 102 may include a second distribution network module 1021 and a network proxy module 1022.
It should be noted that, the system and device structures and the service scenario described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application, and those skilled in the art can know that, with the evolution of the system and device structures and the appearance of new service scenarios, the technical solutions provided in the embodiments of the present application are applicable to similar technical problems.
The embodiment of the application provides an authentication method of a WiFi network, which can be applied to the authentication system of the WiFi network, for example, the authentication system 10 shown in fig. 1 includes a device, a server, and a wireless AP. Any device in the authentication system may employ different modules to perform the method. This method will be described below by taking the authentication system 10 shown in fig. 1 as an example.
Referring to fig. 2, fig. 2 is a flowchart of a WiFi network authentication method provided in an embodiment of the present application, where the method may include the following procedures:
201. the non-screen device sends a request message to the authentication server, wherein the request message carries target address information of the non-screen device.
The screenless device may send a request message to the authentication server based on a transmission control protocol (Transmission Control Protocol, TCP) or an internetworking protocol (Internet Protocol, IP). The request message may be a message in hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) format. The destination address information includes the MAC address of the non-screen device. The process of sending the request message may be performed by the second distribution network module 1021 in the non-screen device 102 shown in fig. 1.
Before sending a request message to the authentication server, the non-screen device needs to establish a connection of the WiFi network with the authentication server so as to communicate with the authentication server. The on-screen device can firstly establish a transmission channel based on a short-range communication technology with the off-screen device, then the on-screen device sends indication information of the WiFi network to the off-screen device, and the off-screen device establishes connection of the WiFi network with the authentication server based on the indication information. The on-screen device may send the indication information through the first distribution network module 1011 shown in fig. 1, and the off-screen device may receive the indication information through the second distribution network module 1021 and establish a connection with the authentication server for the WiFi network. The WiFi network may be a WiFi network to which the on-screen device is currently connected, or a WiFi network determined based on the received connection instruction, and the connection instruction may be sent by the on-screen device based on a determination instruction of the user for the WiFi network.
The indication information may include a name of the WiFi network, which may be a service set identifier (Service Set Identifier, SSID). Optionally, the indication information may further include a password of the WiFi network.
For example, the on-screen device may send the indication information to the off-screen device based on a short-range communication technique. Taking the short-range communication technology of the WiFi network as an example, the on-screen device can send an air message carrying indication information to the off-screen device based on the WiFi network. The air message includes a name field and a password field, the name field including the name of the WiFi network. When the indication information includes a password of the WiFi network, the password field includes the password; when the indication information does not include a password for the WiFi network, the password field is null.
The wireless device scans the SSID signal based on the received SSID, and establishes connection with the wireless AP which sends the SSID signal after scanning the SSID signal so as to establish connection of the WiFi network with the authentication server. The wireless AP then sends an internet protocol (Internet Protocol, IP) address request to the authentication server, which allocates an IP address of the wireless AP based on the received IP address request, and sends the IP address to the wireless AP. And the non-screen equipment adopts the IP address sent by the authentication server when communicating with the authentication server through the wireless AP, namely the request message also carries the IP address of the non-screen equipment.
202. The authentication server determines whether the non-screen device needs to perform authentication of the WiFi network based on the target address information.
The authentication server comprises an information set, wherein the information set stores address information of a plurality of devices, and the devices pass through the authentication of the WiFi network. The authentication server can determine whether the non-screen device needs to perform authentication of the WiFi network by searching whether target address information is stored in the information set. When the information set stores target address information, the authentication server determines that the non-screen equipment does not need to perform authentication of the WiFi network; when the target address information is not stored in the information set, the authentication server determines that the non-screen device needs to perform authentication of the WiFi network.
It should be noted that, the destination address of the request packet may not be the address of the authentication server. At this time, the request message is intercepted by the authentication server when transmitted to the server indicated by the destination address, so as to determine whether the non-screen device needs to perform authentication of the WiFi network.
The subsequent process can be executed when the non-screen device needs to perform the authentication of the WiFi network, and the authentication server can forward the request message to the server indicated by the destination address when the non-screen device does not need to perform the authentication of the WiFi network.
203. When the non-screen device is determined to need to perform the authentication of the WiFi network, the authentication server sends a redirection message to the non-screen device, wherein the redirection message carries an access address of an authentication interface of the WiFi network.
Optionally, the redirection message may further carry a status code, where the status code is used to indicate that the non-screen device needs to perform authentication of the WiFi network.
When it is determined that the non-screen device does not need to perform the authentication of the WiFi network, the authentication server may further send a request response message carrying a status code to the non-screen device, where the status code is used to indicate that the non-screen device does not need to perform the authentication of the WiFi network.
204. The non-screen device forwards the redirected message to the screen device.
The non-screen device may receive the redirect message through the second distribution network module 1021 shown in fig. 1 and forward the redirect message to the network proxy module 1022. The network proxy module 1022 enables proxy functions to forward redirect messages to the on-screen device, such as to pass through the redirect message to the message handling module 1012 shown in fig. 1.
205. The on-screen device displays an authentication interface based on the access address.
The on-screen device receives the redirected message through the message processing module 1012 and then analyzes the redirected message to obtain the access address. And then acquires data of the authentication interface based on the access address, and transmits the data of the authentication interface to the UI module 1013.UI module 1013 displays the authentication interface based on the data of the authentication interface to present the authentication interface to the user.
The authentication interface may include an authentication information input box in which the user may input authentication information. The authentication information may include an account number and a verification code. For example, referring to fig. 3, fig. 3 is a schematic diagram of an authentication interface provided in an embodiment of the present application, where an authentication interface a shows an input box a1 corresponding to an "account number" and an input box a2 corresponding to an "verification code".
206. And the on-screen equipment acquires the authentication information of the WiFi network input by the authentication interface.
The authentication information may include an account number, which may be a cell phone number, and a verification code. For example, after the on-screen device obtains the mobile phone number input by the authentication interface, the on-screen device may send the mobile phone number to the authentication server through the off-screen device and the wireless AP. The authentication server sends the verification code to the screen equipment through the operator where the mobile phone number is located. The screen equipment acquires the verification code input by the authentication interface, thereby acquiring authentication information.
207. The on-screen device sends authentication information to the off-screen device.
The on-screen device may send a message (e.g., an http message) carrying authentication information to the off-screen device. The on-screen device may send a message carrying authentication information to the network proxy module 1022 of the off-screen device through the message processing module 1012 shown in fig. 1.
208. The non-screen device sends an authentication message carrying authentication information to an authentication server.
The non-screen device receives the authentication information through the network proxy module 1022 and then transparently transmits the authentication information to the second distribution network module 1021. The second distribution network module 1021 sends an authentication message carrying authentication information to the authentication server. As mentioned above, the authentication message also carries the IP address of the non-screen device.
The authentication message may also carry destination address information (e.g., a MAC address), which is address information of the non-screen device because the authentication message is sent by the non-screen device.
209. The authentication server determines whether the screenless device is authenticated by the WiFi network based on the authentication information.
Taking the authentication information including the mobile phone number and the verification code as an example, as can be seen from the foregoing description, the verification code is sent by the authentication server, and the authentication server can determine whether the verification code in the authentication information is the same as the verification code of the mobile phone number sent by the authentication server. If the authentication result is the same, determining that the non-screen equipment passes through the WiFi network; if not, it is determined that the non-screen device fails authentication of the WiFi network.
When the authentication message received by the authentication server also carries the target address information, the authentication server can store the target address information in the information set after determining that the non-screen device passes the authentication of the WiFi network. Therefore, after the non-screen device is accessed to the WiFi network next time, the Internet resources can be accessed without authentication of the WiFi network.
210. The authentication server sends a notification message to the non-screen device, wherein the notification message carries the authentication result of the WiFi network of the non-screen device and data of an authentication result interface.
The authentication result includes authentication success and authentication failure.
211. The non-screen device forwards the notification message to the screen device.
The non-screen device may receive the notification message through the second distribution network module 102 and then forward the notification message to the network proxy module 1022. The network proxy module 1022 transparently passes notification messages to the message processing module 1012 of the on-screen device.
When the authentication result indicates authentication of the non-screen device through the WiFi network, the non-screen device may send an association request to the authentication server. The authentication server sends an association response to the non-screen device based on the received association request, and the non-screen device can access the Internet through the authentication server after receiving the association response.
212. The on-screen device displays the authentication result interface based on the data of the authentication result interface.
The authentication interface may include a text box in which the authentication result is displayed to inform the user of the authentication result of the WiFi network of the non-screen device.
In summary, according to the authentication method of the WiFi network provided in the embodiment of the present application, when the authentication server determines that the no-screen device needs to perform authentication of the WiFi network, the authentication server sends a redirection packet to the no-screen device, where the redirection packet carries an access address of an authentication interface of the WiFi network, the no-screen device forwards the redirection packet to the screen device, the screen device displays the authentication interface based on the access address, obtains authentication information of the WiFi network input by the authentication interface, and then sends the authentication information to the no-screen device, and the no-screen device forwards the authentication information to the authentication server, where the authentication server determines whether the no-screen device passes authentication of the WiFi network based on the authentication information. The non-screen device can display an authentication interface and acquire authentication information through the screen device, and further authentication of the WiFi network is completed, so that the non-screen device can access internet resources through the authentication server.
The sequence of the method provided by the embodiment of the application can be properly adjusted, and the process can be correspondingly increased or decreased according to the situation. For example, the foregoing process 201 may not be performed, at which point the authentication server may determine the target address information based on the received user instructions to determine whether the wireless device requires authentication of the WiFi network. The foregoing processes 211 and 212 may not be performed, and any method that is easily conceivable to a person skilled in the art within the scope of the present disclosure should be covered in the protection scope of the present application, which is not limited in this embodiment.
The authentication method of the WiFi network provided by the embodiment of the application is introduced mainly from the interaction point of the devices. It will be appreciated that each device, in order to implement the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application may divide the functional modules of each device according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 4 is a block diagram of an authentication device for a WiFi network according to an embodiment of the present application, where each function module is divided by using corresponding functions, the authentication device 300 for a WiFi network may include a transceiver module 301 and a processing module 302. The authentication device of the WiFi network may be a non-screen device, a screen device or an authentication server, or may be a chip or other combination device, component or the like with the function of the positioning device. When the authentication apparatus 300 of the WiFi network is a non-screen device, a screen device, or an authentication server, the transceiver module 301 may be a transceiver, and the transceiver may include an antenna, a radio frequency circuit, and the like; the processing module 302 may be a processor (or processing circuitry), such as a baseband processor, which may include one or more central processing units (central processing unit, CPU) therein. When the authentication apparatus 300 of the WiFi network is a device or part having the above functions, the transceiver module 301 may be a radio frequency unit; the processing module 302 may be a processor (or processing circuit), such as a baseband processor. When the authentication device 300 of the WiFi network is a chip system, the transceiver module 301 may be an input/output interface of a chip (e.g. a baseband chip); the processing module 302 may be a processor (or processing circuit) of a system-on-chip and may include one or more central processing units. It should be appreciated that the transceiver module 301 in the embodiments of the present application may be implemented by a transceiver or transceiver related circuit components; the processing module 302 may be implemented by a processor or processor-related circuit component (alternatively referred to as a processing circuit).
For example, when the authentication apparatus 300 of the WiFi network is a chip or a functional unit of a non-screen device, the transceiver module 301 may be configured to perform all of the transceiving operations performed by the non-screen device in the embodiment shown in fig. 2, and/or other processes for supporting the techniques described herein; the processing module 302 may be used to perform all but the transceiving operations performed by the screenless device in the embodiment illustrated in fig. 2, and/or other processes for supporting the techniques described herein.
The transceiver module 301 may include a transmitting module and/or a receiving module, configured to perform the operations of transmitting and receiving performed by the non-screen device in the embodiment shown in fig. 2, and the authentication apparatus of the WiFi network includes:
the receiving and transmitting module is used for receiving a redirection message sent by the authentication server, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent by the authentication server when the authentication server determines that the non-screen device needs to authenticate the WiFi network;
the receiving and transmitting module is further configured to forward the redirection packet to a on-screen device, where the access address is used for the on-screen device to display the authentication interface and obtain authentication information of the WiFi network input by the authentication interface;
The receiving and transmitting module is also used for receiving the authentication information sent by the screen equipment;
the receiving and transmitting module is further configured to send an authentication message to the authentication server, where the authentication message carries the authentication information, and the authentication information is used by the authentication server to determine whether the non-screen device passes authentication of the WiFi network.
With the above scheme, the transceiver module is further configured to send a request packet to the authentication server, where the request packet carries target address information of the no-screen device, and the target address information is used by the authentication server to determine whether the no-screen device needs to perform authentication of the WiFi network.
By combining the scheme, the authentication message also carries the target address information.
In combination with the above scheme, the target address information includes a media access control MAC address of the non-screen device.
With the above scheme, the transceiver module is further configured to receive a notification message sent by the authentication server, where the notification message carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface; and forwarding the notification message to the on-screen equipment, wherein the data of the authentication result interface are used for displaying the authentication result interface by the on-screen equipment.
With the above scheme, the transceiver module is further configured to send an association request to the authentication server when the authentication result indicates that the non-screen device passes authentication of the WiFi network; receiving an association response to the association request sent by the authentication server; the authentication device of the WiFi network further comprises: and the processing module is used for accessing the Internet through the authentication server.
With the above scheme, the transceiver module is further configured to receive indication information of the WiFi network sent by the on-screen device; and the processing module is further used for establishing connection of the WiFi network with the authentication server based on the indication information.
For example, when the authentication apparatus 300 of the WiFi network is a chip or a functional unit of a screen device, the transceiver module 301 may be configured to perform all of the transceiving operations performed by the screen device in the embodiment shown in fig. 2, and/or other processes for supporting the techniques described herein; the processing module 302 may be used to perform all but the transceiving operations performed by the on-screen device in the embodiment illustrated in fig. 2, and/or other processes for supporting the techniques described herein.
The transceiver module 301 may include a transmitting module and/or a receiving module, configured to perform the operations of transmitting and receiving performed by the on-screen device in the embodiment shown in fig. 2, and the authentication apparatus of the WiFi network includes:
the receiving and transmitting module is used for receiving a redirection message sent by the non-screen device, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent to the non-screen device when the authentication server determines that the non-screen device needs to perform authentication of the WiFi network;
the processing module is used for displaying the authentication interface based on the access address;
the processing module is further used for acquiring the authentication information of the WiFi network, which is input by the authentication interface;
the receiving and transmitting module is further configured to send the authentication information to the no-screen device, where the no-screen device is configured to send an authentication message carrying the authentication information to the authentication server, and the authentication information is used by the authentication server to determine whether the no-screen device passes authentication of the WiFi network.
With the above scheme, the transceiver module is further configured to receive a notification message sent by the non-screen device, where the notification message carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface, and the notification message is sent by the authentication server to the non-screen device; the processing module is further used for displaying the authentication result interface based on the data of the authentication result interface.
With the above scheme, the transceiver module is further configured to send, to the non-screen device, indication information of the WiFi network, where the indication information is used to establish connection between the non-screen device and the authentication server.
For example, when the authentication device 300 of the WiFi network is a chip or a functional unit of an authentication server, the transceiver module 301 may be used to perform all of the transceiving operations performed by the authentication server in the embodiment shown in fig. 2, and/or other processes for supporting the techniques described herein; the processing module 302 may be used to perform all but the transceiving operations performed by the authentication server in the embodiment illustrated in fig. 2, and/or other processes for supporting the techniques described herein.
The transceiver module 301 may include a transmitting module and/or a receiving module, configured to perform the operations of transmitting and receiving performed by the authentication server in the embodiment shown in fig. 2, and the authentication device of the WiFi network includes:
the device comprises a receiving and transmitting module, a wireless network interface module and a wireless network interface module, wherein the receiving and transmitting module is used for transmitting a redirection message to the wireless network interface module when determining that the wireless network interface module needs to perform the authentication of the WiFi network, the redirection message carries an access address of an authentication interface of the WiFi network, the wireless network interface module is used for transmitting the redirection message to the screen device, and the access address is used for displaying the authentication interface and acquiring the authentication information of the WiFi network input by the authentication interface by the screen device;
The receiving and transmitting module is further configured to receive an authentication message sent by the non-screen device, where the authentication message carries the authentication information, and the authentication information is sent by the on-screen device to the non-screen device;
and the processing module is used for determining whether the non-screen device passes the authentication of the WiFi network or not based on the authentication information.
With the above scheme, the transceiver module is further configured to receive a request packet sent by the non-screen device, where the request packet carries target address information of the non-screen device; and the processing module is further used for determining whether the non-screen device needs to perform authentication of the WiFi network or not based on the target address information.
With the above scheme, the authentication server comprises an information set, the information set stores address information of a plurality of devices, the plurality of devices pass authentication of the WiFi network, and the authentication message also carries the target address information; the processing module is specifically configured to determine whether the non-screen device needs to perform authentication of the WiFi network by searching whether the information set stores the target address information; the processing module is further configured to store the target address information in the information set when it is determined that the non-screen device passes authentication of the WiFi network.
With the above scheme, the transceiver module is further configured to send a notification packet to the non-screen device, where the notification packet carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface, the non-screen device is configured to forward the notification packet to the on-screen device, and the data of the authentication result interface is used for the on-screen device to display the authentication result interface.
With the above scheme, the transceiver module is further configured to receive an association request sent by the non-screen device, where the association request is sent by the non-screen device when the authentication result indicates that the non-screen device passes the authentication of the WiFi network; the transceiver module is further configured to send an association response to the non-screen device, where the non-screen device is configured to access the internet through the authentication server when the association response is received.
Fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, where the electronic device 400 may be a non-screen device or a chip or a functional module in the non-screen device; the device can also be a screen device or a chip or a functional module in the screen device; or may be an authentication server or a chip or a functional module in the authentication server. As shown in fig. 5, the electronic device 400 includes a processor 401, a transceiver 402, and a communication line 403.
Wherein the processor 401 is configured to perform any of the steps of the method embodiment shown in fig. 2, and when performing a message transmission such as a received redirect message, the transceiver 402 and the communication line 403 may be selectively invoked to complete the corresponding operation.
Further, the electronic device 400 may also include a memory 404. The processor 401, the memory 404, and the transceiver 402 may be connected by a communication line 403.
Processor 401 is, among other things, a CPU, general purpose processor network processor (network processor, NP), digital signal processor (digital signal processing, DSP), microprocessor, microcontroller, programmable logic device (programmable logic device, PLD), or any combination thereof. The processor 401 may also be any other device having a processing function, such as a circuit, a device, or a software module, without limitation.
A transceiver 402 for communicating with other devices or other communication networks, which may be ethernet, radio access network (radio access network, RAN), wireless local area network (wireless local area networks, WLAN), etc. The transceiver 402 may be a module, circuitry, transceiver, or any device capable of enabling communications.
The transceiver 402 is mainly used for receiving and transmitting data, and may include a transmitter and a receiver for respectively transmitting and receiving signals; operations other than signal transmission and reception are realized by a processor, such as information processing, calculation, and the like.
Communication lines 403 for conveying information between components included in electronic device 400.
In one design, the processor may be considered logic circuitry and the transceiver may be considered interface circuitry.
Memory 404 for storing instructions. Wherein the instructions may be computer programs.
The memory 404 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and direct memory bus RAM (DR RAM). The memory 404 may also be a compact disk (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media, or other magnetic storage device, etc. It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
It is noted that the memory 404 may exist separately from the processor 401 or may be integrated with the processor 401. Memory 404 may be used to store instructions or program code or some data, etc. The memory 404 may be located within the electronic device 400 or may be located outside the electronic device 400 without limitation. The processor 401 is configured to execute instructions stored in the memory 404, so as to implement the method provided in the foregoing embodiments of the present application.
In one example, processor 401 may include one or more CPUs, such as CPU0 and CPU1 in fig. 5.
As an alternative implementation, electronic device 400 includes multiple processors, e.g., processor 407 may be included in addition to processor 401 in fig. 5.
As an alternative implementation, electronic device 400 also includes an output device 405 and an input device 406. Illustratively, the input device 406 is a keyboard, mouse, microphone, or joystick device, and the output device 405 is a display screen, speaker (spaker), or the like.
It should be noted that the electronic device 400 may be a system-on-chip or a device having a similar structure as in fig. 5. The chip system may be composed of a chip or may include a chip and other discrete devices. Acts, terms and the like referred to between embodiments of the present application may be referenced to each other without limitation. In the embodiment of the present application, the name of the message or the name of the parameter in the message, etc. interacted between the devices are only an example, and other names may also be adopted in the specific implementation, and are not limited. Further, the constituent structure shown in fig. 5 does not constitute a limitation of the electronic device 400, and the electronic device 400 may include more or less components than those shown in fig. 5, or may combine some components, or may be a different arrangement of components, in addition to those shown in fig. 5.
The processors and transceivers described herein may be implemented on integrated circuits (integrated circuit, ICs), analog ICs, radio frequency ICs, mixed signal ICs, application specific integrated circuits (application specific integrated circuit, ASIC), printed circuit boards (printed circuit board, PCB), electronic devices, and the like. The processor and transceiver may also be fabricated using a variety of IC process technologies such as complementary metal oxide semiconductor (complementary metal oxide semiconductor, CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (Bipolar Junction Transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
As yet another implementation, the transceiver module 301 in fig. 4 may be replaced by the transceiver 402 in fig. 5, and the transceiver 402 may integrate the functions of the transceiver module 301; the processing module 302 may be replaced by a processor 407, which processor 407 may integrate the functions of the processing module 302. Further, the authentication device 300 of the WiFi network shown in fig. 4 may further include a memory (not shown in the figure). When the transceiver module 301 is replaced by the transceiver 402 and the processing module 302 is replaced by the processor 407, the authentication apparatus 300 of the WiFi network according to the embodiment of the present application may be the electronic device 400 shown in fig. 5.
Fig. 6 is a schematic structural diagram of an authentication device of a WiFi network according to an embodiment of the present application. The authentication device of the WiFi network can be suitable for the scene shown in the embodiment of the method. For ease of illustration, fig. 6 shows only the major components of the authentication device of the WiFi network, including the processor, memory, control circuitry, and input-output devices. The processor is mainly used for processing the communication protocol and the communication data, executing the software program and processing the data of the software program. The memory is mainly used for storing software programs and data. The control circuit is mainly used for supplying power and transmitting various electric signals. The input/output device is mainly used for receiving data input by a user and outputting the data to the user.
When the authentication device of the WiFi network is a non-screen device, a screen device or an authentication server, the control circuit can be a main board, the memory comprises a hard disk, a RAM, a ROM and other media with storage functions, the processor can comprise a baseband processor and a central processing unit, the baseband processor is mainly used for processing communication protocols and communication data, the central processing unit is mainly used for controlling the authentication device of the whole WiFi network, executing a software program, processing the data of the software program, and the input and output device comprises a display screen, a keyboard, a mouse and the like; the control circuit may further include or be connected to a transceiver circuit or transceiver, for example: network interfaces, etc., for transmitting or receiving data or signals, such as data transmissions and communications with other devices. Further, the wireless communication device can also comprise an antenna for receiving and transmitting wireless signals and transmitting data/signals with other devices.
According to the method provided by the embodiment of the application, the application further provides a computer program product, which comprises computer program code, which when run on a computer causes the computer to perform the method according to any of the embodiments of the application.
Embodiments of the present application also provide a computer-readable storage medium. All or part of the above-described method embodiments may be implemented by a computer or an apparatus having information processing capabilities to control the implementation of relevant hardware, and the computer program or the set of instructions may be stored in the above-described computer-readable storage medium, and the computer program or the set of instructions may include the above-described method embodiments when executed. The computer readable storage medium may be an internal storage unit of the screenless device, the on-screen device, or the authentication server of any of the previous embodiments, such as a hard disk or a memory of the screenless device, the on-screen device, or the authentication server. The computer readable storage medium may also be an external storage device of the above-mentioned no-screen device, on-screen device, or authentication server, such as a plug-in hard disk, smart Media Card (SMC), secure Digital (SD) card, flash card (flash card), or the like, which are provided on the above-mentioned no-screen device, on-screen device, or authentication server. Further, the computer-readable storage medium may further include both the internal storage unit of the above-described no-screen device, on-screen device, or authentication server and an external storage device. The computer readable storage medium is used for storing the computer program or instructions and other programs and data required by the non-screen device, the on-screen device or the authentication server. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (personal computer, server, network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (21)

1. An authentication method of a wireless fidelity WiFi network, applied to a non-screen device, the method comprising:
receiving a redirection message sent by an authentication server, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent by the authentication server when the authentication server determines that the non-screen device needs to authenticate the WiFi network;
forwarding the redirection message to a screen device, wherein the access address is used for displaying the authentication interface by the screen device and acquiring the authentication information of the WiFi network input by the authentication interface;
receiving the authentication information sent by the on-screen equipment;
and sending an authentication message to the authentication server, wherein the authentication message carries the authentication information, and the authentication information is used for the authentication server to determine whether the non-screen device passes the authentication of the WiFi network.
2. The method according to claim 1, wherein the method further comprises:
and sending a request message to the authentication server, wherein the request message carries target address information of the non-screen equipment, and the target address information is used for the authentication server to determine whether the non-screen equipment needs to perform authentication of the WiFi network.
3. The method of claim 2, wherein the authentication message further carries the destination address information.
4. A method according to claim 2 or 3, wherein the destination address information comprises a media access control, MAC, address of the non-screen device.
5. The method according to any one of claims 1 to 4, further comprising:
receiving a notification message sent by the authentication server, wherein the notification message carries an authentication result of the WiFi network of the non-screen equipment and data of an authentication result interface;
and forwarding the notification message to the on-screen equipment, wherein the data of the authentication result interface are used for displaying the authentication result interface by the on-screen equipment.
6. The method of claim 5, wherein the method further comprises:
When the authentication result indicates that the non-screen device passes the authentication of the WiFi network, an association request is sent to the authentication server;
receiving an association response to the association request sent by the authentication server;
and accessing the Internet through the authentication server.
7. The method according to any one of claims 1 to 6, further comprising:
receiving indication information of the WiFi network sent by the screen equipment;
and establishing the connection of the WiFi network with the authentication server based on the indication information.
8. An authentication method of a wireless fidelity WiFi network, applied to a screen device, the method comprising:
receiving a redirection message sent by a non-screen device, wherein the redirection message carries an access address of an authentication interface of a WiFi network, and the redirection message is sent to the non-screen device when the authentication server determines that the non-screen device needs to perform authentication of the WiFi network;
displaying the authentication interface based on the access address;
acquiring authentication information of the WiFi network input by the authentication interface;
and sending the authentication information to the non-screen device, wherein the non-screen device is used for sending an authentication message carrying the authentication information to the authentication server, and the authentication information is used for the authentication server to determine whether the non-screen device passes the authentication of the WiFi network.
9. The method of claim 8, wherein the method further comprises:
receiving a notification message sent by the non-screen device, wherein the notification message carries an authentication result of the WiFi network of the non-screen device and data of an authentication result interface, and the notification message is sent to the non-screen device by the authentication server;
and displaying the authentication result interface based on the data of the authentication result interface.
10. The method according to claim 8 or 9, characterized in that the method further comprises:
and sending indication information of the WiFi network to the non-screen equipment, wherein the indication information is used for establishing connection of the non-screen equipment and the WiFi network with the authentication server.
11. An authentication method of a wireless fidelity WiFi network, applied to an authentication server, the method comprising:
when the non-screen device is determined to need to authenticate the WiFi network, sending a redirection message to the non-screen device, wherein the redirection message carries an access address of an authentication interface of the WiFi network, the non-screen device is used for forwarding the redirection message to the screen device, and the access address is used for displaying the authentication interface by the screen device and acquiring authentication information of the WiFi network input by the authentication interface;
Receiving an authentication message sent by the non-screen device, wherein the authentication message carries the authentication information, and the authentication information is sent by the screen device to the non-screen device;
and determining whether the non-screen device passes the authentication of the WiFi network or not based on the authentication information.
12. The method of claim 11, wherein the method further comprises:
receiving a request message sent by the non-screen equipment, wherein the request message carries target address information of the non-screen equipment;
and determining whether the non-screen device needs to authenticate the WiFi network or not based on the target address information.
13. The method of claim 12, wherein the authentication server includes an information set, the information set storing address information of a plurality of devices, the plurality of devices passing authentication of the WiFi network, the authentication message further carrying the target address information;
the determining whether the non-screen device needs to perform authentication of the WiFi network based on the target address information includes:
determining whether the non-screen device needs to authenticate the WiFi network or not by searching whether the target address information is stored in the information set or not;
The method further comprises the steps of:
and when the authentication of the non-screen device through the WiFi network is determined, storing the target address information in the information set.
14. The method according to any one of claims 11 to 13, further comprising:
the method comprises the steps that a notification message is sent to the non-screen device, the notification message carries authentication results of the WiFi network of the non-screen device and data of an authentication result interface, the non-screen device is used for forwarding the notification message to the screen device, and the data of the authentication result interface is used for displaying the authentication result interface by the screen device.
15. The method of claim 14, wherein the method further comprises:
receiving an association request sent by the non-screen device, wherein the association request is sent by the non-screen device when the authentication result indicates that the non-screen device passes the authentication of the WiFi network;
and sending an association response to the non-screen device, wherein the non-screen device is used for accessing the Internet through the authentication server when receiving the association response.
16. An authentication device for a WiFi network, comprising:
One or more processors;
a memory for storing one or more computer programs or instructions;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1 to 7.
17. An authentication device for a WiFi network, comprising:
one or more processors;
a memory for storing one or more computer programs or instructions;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 8 to 10.
18. An authentication device for a WiFi network, comprising:
one or more processors;
a memory for storing one or more computer programs or instructions;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 11 to 15.
19. An authentication device of a WiFi network, comprising a processor configured to perform the method of any of claims 1 to 15.
20. A computer readable storage medium comprising a computer program or instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1 to 15.
21. An authentication system of a wireless fidelity WiFi network is characterized by comprising a non-screen device, a screen device and an authentication server;
the authentication server is used for sending a redirection message to the non-screen device when the non-screen device is determined to need to perform authentication of the wireless fidelity WiFi network, wherein the redirection message carries an access address of an authentication interface of the WiFi network;
the non-screen device is used for forwarding the redirection message to the on-screen device;
the on-screen device is used for displaying the authentication interface based on the access address and acquiring the authentication information of the WiFi network input by the authentication interface;
the on-screen device is further used for sending the authentication information to the off-screen device;
the non-screen device is further configured to send an authentication message carrying the authentication information to the authentication server;
the authentication server is further configured to determine whether the non-screen device passes authentication of the WiFi network based on the authentication information.
CN202111542798.9A 2021-12-16 2021-12-16 Authentication method, device and system of wireless fidelity WiFi network Pending CN116266909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111542798.9A CN116266909A (en) 2021-12-16 2021-12-16 Authentication method, device and system of wireless fidelity WiFi network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111542798.9A CN116266909A (en) 2021-12-16 2021-12-16 Authentication method, device and system of wireless fidelity WiFi network

Publications (1)

Publication Number Publication Date
CN116266909A true CN116266909A (en) 2023-06-20

Family

ID=86742732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111542798.9A Pending CN116266909A (en) 2021-12-16 2021-12-16 Authentication method, device and system of wireless fidelity WiFi network

Country Status (1)

Country Link
CN (1) CN116266909A (en)

Similar Documents

Publication Publication Date Title
US9820083B2 (en) Method and system for data sharing
CN110366112B (en) Positioning method and related equipment
US10880240B2 (en) Message transmission method and device, terminal and storage medium
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
KR20140130501A (en) Shared network access via a peer-to-peer link
US11452156B2 (en) Configuration system, client device, embedded device configuration method, and storage medium
WO2021170248A1 (en) Access traffic steering using a plurality of steering connections over different access networks
US20170118581A1 (en) Switching to advertising locator after connection establishment
US11496946B2 (en) Transmission path switching method and apparatus
WO2018120553A1 (en) Network sharing method terminal
US20180184283A1 (en) Wireless configuration of wireless distribution system (wds) wi-fi range extenders using non-wi-fi wireless communication channels
US9826432B2 (en) Remote socket connection for data offload
CN113518475B (en) Communication method, device and system
CN116266909A (en) Authentication method, device and system of wireless fidelity WiFi network
CN113994762A (en) Method and device for associating session
CN106231538A (en) A kind of method and apparatus of OneM2M framework apparatus bound
JP2015513729A (en) Data access method and apparatus
CN115426139A (en) Access control method based on SIM card information and communication device
CN116156667A (en) Session establishment method and device of Internet of things equipment
CN115225652A (en) Method and system for determining edge service platform, electronic equipment and storage medium
KR20150035218A (en) Wireless communication terminal, wireless communication system and method for transmitting/receiving data of wireless communication system
CN104980471A (en) Network request packet report method, device and system
WO2023179294A1 (en) Communication method and apparatus
CN116055184B (en) Channel connection method, device and medium based on network protocol
WO2022062182A1 (en) Communication connection method and apparatus, storage medium, and electronic device

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