Wireless network authentication method, device, equipment and storage medium
By obtaining mobile terminal requests in the wireless network management and authentication cloud, collecting attribute information and performing social media identity authentication, obtaining the user's OpenId, and determining whether to follow the account, the problems of inconvenient wireless network authentication and fan attraction are solved, achieving the effect of simplified authentication and effective fan attraction.
Patent Information
- Application Number
- CN202310766829.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2043-06-27
AI Technical Summary
Existing wireless network authentication methods are inconvenient to operate and cannot effectively attract fans and traffic, especially social media account authentication methods cannot provide effective commercial fan attraction effects.
By obtaining the wireless network usage request from the mobile terminal, sending the preset Portal page, collecting attribute information and selecting the authentication method, using APP verification or web page verification for social media identity authentication, obtaining the user's OpenId, calling the fan verification API to determine whether to follow the social media account, and providing wireless network services after verification is passed.
This simplifies the wireless network authentication process, avoids login operations and additional terminal scanning, and enables the wireless network provider to attract followers and traffic on social media.
Smart Images

Figure CN116567630B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things application technology, and in particular to a wireless network authentication method, device, equipment and storage medium. Background Art
[0002] With the development and widespread adoption of wireless network (Wi-Fi) technology, wireless network authentication methods are becoming increasingly diverse, including portal authentication, SMS authentication, and username and password authentication. In recent years, with the rapid development of social media, some wireless network authentication methods have also emerged that integrate social media, such as QR code authentication. When connecting to Wi-Fi, a portal pops up, directing users to scan a QR code using a social media app (application) for authentication; and social media account authentication. When connecting to Wi-Fi, a portal pops up, redirecting users to the social media website for account authentication. Once authenticated, the user is redirected back to the portal page for wireless network authentication and access. However, QR code authentication can only increase the activity of some social media apps; it cannot further verify accounts and relationships, nor does it have the effect of attracting followers or traffic. Social media account authentication only verifies the existence of an account on social media and obtains some basic user information, failing to effectively attract followers or traffic to businesses / enterprises providing wireless networks. Authentication methods that redirect users to social media websites often require users to log in or scan a QR code using a separate terminal, making them inconvenient. Therefore, there is a need to simplify wireless network service user authentication while attracting followers and traffic to the wireless network provider's social media account. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a wireless network authentication method, apparatus, device and storage medium that can simplify wireless network service user authentication operations. The specific solution is as follows:
[0004] In a first aspect, the present application discloses a wireless network authentication method, which is applied to wireless network management and authentication cloud, including:
[0005] Obtaining a wireless network use request sent by a mobile terminal of a wireless network user, and sending a first preset portal page to the mobile terminal based on the wireless network request;
[0006] Collecting attribute information of the mobile terminal through the first preset portal page and obtaining the identity authentication method selected by the wireless network user; the identity authentication method includes APP authentication and web page authentication;
[0007] Performing social media identity authentication on the wireless network user based on the identity authentication method;
[0008] If the verification is successful, the user OpenId of the wireless network user is obtained through the preset cloud H5 page;
[0009] Calling a preset follower verification API based on the user OpenId and the corresponding wireless network provider's management OpenId to determine whether the wireless network user has followed a preset social media account;
[0010] If the wireless network user has followed the account, the attribute information is sent to a preset wireless network device through a preset information sending channel, so that the preset wireless network device provides wireless network usage services for the wireless network user.
[0011] Optionally, when the identity authentication method is APP authentication, performing social media identity authentication on the wireless network user based on the identity authentication method includes:
[0012] Collecting attribute information of the mobile terminal through a second preset Portal page, where the second Portal page is displayed by jumping to a first preset network link or a preset authentication QR code on the first preset Portal page;
[0013] The attribute information collected by the second preset Portal page is obtained based on the preset cloud H5 page, and the user login API of the preset social media is called to perform social media identity authentication on the wireless network user.
[0014] Optionally, when the identity authentication method is web page authentication, performing social media identity authentication on the wireless network user based on the identity authentication method includes:
[0015] The social media identity authentication of the wireless network user is performed based on the OAuth webpage by obtaining the login authorization information of the wireless network user; the preset social media is displayed through a second preset network link on the first preset portal page.
[0016] Optionally, after collecting the attribute information of the mobile terminal through the first preset portal page, the method further includes:
[0017] The attribute information and the preset release duration are sent to a preset wireless network device through the preset information sending channel, so that the preset wireless network device provides the wireless network user with a wireless network use service with the preset release duration.
[0018] Optionally, after calling a preset follower verification API based on the user OpenId and the wireless network provider's management OpenId to determine whether the wireless network user follows a preset social media account, the method further includes:
[0019] If the wireless network user does not follow the preset social media account, a follow link of the preset social media will be displayed to the wireless network user through a preset prompt page; so that the wireless network user can follow the preset social media account through the follow link.
[0020] Optionally, after presenting the preset social media follow-up link to the wireless network user via a preset prompt page, the method further includes:
[0021] The preset fan verification API is called periodically by the local backend within the preset release time to determine whether the wireless network user follows the preset social media account, until the wireless network user follows the preset social media account or the preset release time is reached.
[0022] Optionally, before obtaining the wireless network use request sent by the mobile terminal of the wireless network user, the method further includes:
[0023] Acquire device information of the preset wireless network device sent by the wireless network provider;
[0024] Based on the configuration information issued by the wireless network provider, the wireless network, the page information of the first preset Portal page, and the page information of the second preset Portal page are configured accordingly;
[0025] Using the corresponding information of the preset social media and the user information of the wireless network provider obtained through the preset cloud H5 page to perform management user authorization to obtain the management OpenId;
[0026] The management OpenId is stored, and a preset authentication QR code is generated that can jump to the second preset Portal page.
[0027] In a second aspect, the present application discloses a wireless network authentication device, which is applied to wireless network management and authentication cloud, including:
[0028] A request acquisition module, configured to acquire a wireless network use request sent by a mobile terminal of a wireless network user, and send a first preset Portal page to the mobile terminal based on the wireless network request;
[0029] An attribute collection module, configured to collect attribute information of the mobile terminal through the first preset portal page and obtain an authentication method selected by the wireless network user; the authentication method includes APP authentication and web page authentication;
[0030] An identity authentication module, configured to perform social media identity authentication on the wireless network user based on the identity authentication method;
[0031] A user ID acquisition module is used to obtain the user OpenId of the wireless network user through a preset cloud H5 page if the verification is successful;
[0032] A user determination module is configured to call a preset follower verification API based on the user OpenId and the management OpenId of the wireless network provider to determine whether the wireless network user follows a preset social media account;
[0033] The information sending module is used to send the attribute information to the preset wireless network device through a preset information sending channel if the wireless network user follows the account, so that the preset wireless network device can provide wireless network usage services to the wireless network user.
[0034] In a third aspect, the present application discloses an electronic device, comprising:
[0035] Memory, used to store computer programs;
[0036] The processor is configured to execute the computer program to implement the aforementioned wireless network authentication method.
[0037] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program implements the aforementioned wireless network authentication method when executed by a processor.
[0038] As can be seen, in this application, a wireless network usage request sent by a mobile terminal of a wireless network user is obtained, and a first preset portal page is sent to the mobile terminal based on the wireless network request; attribute information of the mobile terminal is collected through the first preset portal page, and the authentication method selected by the wireless network user is obtained; the authentication method includes APP authentication and web page authentication; social media authentication of the wireless network user is performed based on the authentication method; if the authentication is successful, the user OpenId of the wireless network user is obtained through a preset cloud H5 page; the preset fan verification API is called based on the user OpenId and the corresponding wireless network provider's management OpenId to determine whether the wireless network user has followed the preset social media account; if the wireless network user has followed the account, the attribute information is sent to the preset wireless network device through a preset information sending channel, so that the preset wireless network device provides wireless network usage services to the wireless network user. In this way, the wireless network provider only needs to complete the social media authentication according to the specified form after sending the wireless network usage request, avoiding the login operation or scanning with other terminals, simplifying the wireless network authentication steps, and at the same time achieving the effect of attracting fans and traffic for the preset social media of the wireless network provider. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0040] Figure 1 A flowchart of a wireless network authentication method disclosed in this application;
[0041] Figure 2 A flowchart of a specific wireless network authentication method disclosed in this application;
[0042] Figure 3 A flowchart of a specific wireless network authentication method disclosed in this application;
[0043] Figure 4 A flowchart of a specific wireless network authentication method disclosed in this application;
[0044] Figure 5 A flowchart of a specific wireless network authentication method disclosed in this application;
[0045] Figure 6This is a schematic diagram of the structure of a wireless network authentication device disclosed in this application;
[0046] Figure 7 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0048] The existing wireless network authentication method is extremely inconvenient and cannot achieve the effect of attracting fans and traffic. This embodiment will specifically introduce a more convenient wireless network authentication method.
[0049] See also Figure 1 As shown, the embodiment of the present application discloses a method for using wireless network authentication, which is applied to wireless network management and authentication cloud, including:
[0050] Step S11: obtaining a wireless network use request sent by a mobile terminal of a wireless network user, and sending a first preset portal page to the mobile terminal based on the wireless network request.
[0051] In this embodiment, the wireless network user uses a mobile terminal to send a wireless network usage request to the wireless network device, that is, to perform a wireless network connection operation, and then the mobile terminal will pop up a first preset Portal page, which can collect attribute information of the mobile terminal.
[0052] Step S12: collecting attribute information of the mobile terminal through the first preset Portal page, and obtaining the identity authentication method selected by the wireless network user; the identity authentication method includes APP authentication and web page authentication.
[0053] In this embodiment, after collecting the attribute information of the mobile terminal through the first preset portal page, it also includes: sending the attribute information and the preset release time to the preset wireless network device through the preset information sending channel, so that the preset wireless network device provides the wireless network user with the wireless network usage service of the preset release time. The preset release time can be set accordingly according to the requirements of the wireless network provider when configuring the wireless network device. Then, two identity authentication methods including APP verification and web page verification will be displayed on the first preset portal page. The APP verification is for wireless network users who have downloaded the social media APP specified by the wireless network provider; the web page verification is for wireless network users who have not downloaded the social media APP specified by the wireless network provider.
[0054] Step S13: Performing social media identity authentication on the wireless network user based on the identity authentication method.
[0055] In this embodiment, in a specific embodiment, when the identity authentication method is APP authentication, the social media identity authentication of the wireless network user based on the identity authentication method includes: collecting attribute information of the mobile terminal through a second preset portal page, and the second portal page is displayed by jumping to a first preset network link or a preset authentication QR code on the first preset portal page; obtaining the attribute information collected by the second preset portal page based on the preset cloud H5 (HTML5, fifth generation hypertext markup language) page, and calling the user login API (Application Programming Interface) of the preset social media to perform social media identity authentication on the wireless network user. That is, when the identity authentication method selected by the wireless network user is APP authentication, the user can jump to the second preset portal page through the first preset network link provided on the first preset portal page. Alternatively, the user can jump to the second preset portal page by scanning the preset authentication QR code using the social media APP. It should be noted that the preset authentication QR code is displayed through the first preset portal page, but the wireless network provider can print out the preset authentication QR code in advance and paste it at the place where the wireless network is provided, guiding the wireless network user to open the social media APP to scan the QR code. In this way, the wireless network user does not need to take a screenshot and save the QR code displayed on the first preset Portal page, which facilitates the wireless network user to perform authentication operations. When the page jumps to the second preset Portal page, the second preset Portal page will collect attribute information again and jump to the preset cloud H5 page with the attribute information. The cloud H5 page will call the user login API of the social media to verify the user's social media account. Because it is opened in the social media APP, the social media JS SDK can be directly called for verification and authorization without the need to re-login, which simplifies the wireless network authentication process. It should be noted that due to the different methods of jumping to the second preset Portal page, when the preset authentication QR code is used to jump to the second preset Portal page, the attribute information cannot be transmitted to the second preset Portal page through the first preset Portal page. Therefore, it is necessary to use the second preset Portal page to collect the attribute information again.
[0056] In another specific embodiment, when the identity authentication method is web page authentication, the social media identity authentication of the wireless network user based on the identity authentication method includes: obtaining the login authorization information of the wireless network user based on the OAuth web page to perform social media identity authentication on the wireless network user; and jumping to display the preset social media through the second preset network link on the first preset portal page. That is, if the mobile terminal used by the wireless network user does not have the social media APP installed, or cannot be installed, such as a PC (Personal Computer), it can be achieved by calling the OAuth web page authentication of the social media. Jump to the OAuth (Authorization) web page of the social media through the second preset network link on the first preset portal page. Then, based on the OAuth web page, obtain the login authorization information of the wireless network user to perform social media identity authentication on the wireless network user. In this way, wireless network users who do not have the social media APP installed can also complete social media identity authentication.
[0057] Step S14: If the verification is successful, the user OpenId of the wireless network user is obtained through a preset cloud H5 page.
[0058] In this embodiment, the cloud H5 page will first call the social media user login API to verify the user's social media account. After the verification is passed, the Token and the user OpenId of the wireless network user are obtained.
[0059] Step S15: calling a preset follower verification API according to the user OpenId and the management OpenId of the corresponding wireless network provider to determine whether the wireless network user has followed a preset social media account.
[0060] In this embodiment, a social media follower verification API is called based on the user's OpenId and the corresponding wireless network provider's management OpenId to verify whether the user has followed the wireless network provider's social media account. Since the wireless network management and authentication cloud stores multiple wireless network provider management OpenIds, both the user's OpenId and the corresponding wireless network provider's management OpenId are needed to call the social media follower verification API to verify whether the user has followed the wireless network provider's social media account. After calling the preset follower verification API based on the user's OpenId and the wireless network provider's management OpenId to determine whether the wireless network user has followed a preset social media account, the method further includes: if the wireless network user has not followed the preset social media account, displaying a follow link for the preset social media account to the wireless network user via a preset prompt page, so that the wireless network user can follow the preset social media account via the follow link. The preset follower verification API is then periodically called by the local backend within a preset release time period to determine whether the wireless network user has followed the preset social media account, until the wireless network user follows the preset social media account or the preset release time period has expired.
[0061] Step S16: If the wireless network user has followed the account, the attribute information is sent to a preset wireless network device through a preset information sending channel, so that the preset wireless network device provides wireless network usage services to the wireless network user.
[0062] In this embodiment, if the wireless network user has already followed the account, the attribute information is sent to the preset wireless network device via a preset information transmission channel, so that the preset wireless network device can provide wireless network usage services to the wireless network user. If the user has already followed / is the wireless network provider, the user is prompted on the page that they have followed / are the user, and a cloud API is called to send a user release command to the device, and the user is prompted that they can access the Internet. The attribute information is sent to the preset wireless network device via a preset information transmission channel, so that the preset wireless network device can provide wireless network usage services to the wireless network user. In another specific embodiment, the attribute information can be obtained from the wireless network management and authentication cloud by the wireless network device actively polling.
[0063] As can be seen, in this embodiment, a wireless network usage request sent by a mobile terminal of a wireless network user is obtained, and a first preset portal page is sent to the mobile terminal based on the wireless network request; attribute information of the mobile terminal is collected through the first preset portal page, and the authentication method selected by the wireless network user is obtained; the authentication method includes APP authentication and web page authentication; social media authentication of the wireless network user is performed based on the authentication method; if the authentication is successful, the user OpenId of the wireless network user is obtained through a preset cloud H5 page; a preset fan verification API is called based on the user OpenId and the corresponding wireless network provider's management OpenId to determine whether the wireless network user has followed a preset social media account; if the wireless network user has followed the account, the attribute information is sent to a preset wireless network device through a preset information sending channel, so that the preset wireless network device can provide wireless network usage services to the wireless network user. In this way, the wireless network provider only needs to complete social media authentication according to the specified form after sending the wireless network usage request, avoiding the login operation or scanning with other terminals, simplifying the wireless network authentication steps, and at the same time achieving the effect of attracting fans and traffic for the preset social media of the wireless network provider.
[0064] The above embodiment introduces the process of network authentication of the wireless network user. This embodiment will specifically introduce the configuration process of the wireless network provider.
[0065] See also Figure 2 As shown, the embodiment of the present application discloses a specific wireless network authentication method, which is applied to wireless network management and authentication cloud, including:
[0066] Step S21: Acquire the device information of the preset wireless network device sent by the wireless network provider.
[0067] like Figure 3 As shown, the wireless network provider first applies for a third-party application on the social media platform and applies for corresponding public APIs, such as the preset follower verification API and user login API. Then, the device information of the preset wireless network device providing the wireless network is input into the wireless network management and authentication cloud for storage.
[0068] Step S22: Based on the configuration information sent by the wireless network provider, the wireless network, the page information of the first preset Portal page, and the page information of the second preset Portal page are configured accordingly.
[0069] In this embodiment, the wireless network provider sends corresponding configuration information to the wireless network management and authentication cloud, and based on the configuration information sent by the wireless network provider, the wireless network, the page information of the first preset Portal page, and the page information of the second preset Portal page are configured accordingly, and then stored accordingly.
[0070] Step S23: Using the corresponding information of the preset social media and the user information of the wireless network provider obtained through the preset cloud H5 page, management user authorization is performed to obtain the management OpenId.
[0071] In this embodiment, the corresponding information of the preset social media is used, where the corresponding information includes but is not limited to the social media application ID / Secret and homepage address; the wireless network provider uses its own social media account to access the cloud H5 page, perform authorization, obtain the token and manage the OpenId.
[0072] Step S24: storing the management OpenId and generating a preset authentication QR code that can jump to the second preset Portal page.
[0073] After obtaining the management OpenId, it can be stored or configured on a portal page so that after obtaining the user OpenId, the corresponding management OpenId can be selected from the portal page for follower verification. Finally, a preset authentication QR code is generated that can jump to the second preset portal page. This QR code does not change and is posted at a location where a wireless network is provided, instructing the wireless network user to open a social media app and scan the QR code. This eliminates the need for the wireless network user to take a screenshot and save the QR code displayed on the first preset portal page, making authentication easier for the wireless network user.
[0074] It can be seen that in this embodiment, the device information of the preset wireless network device sent by the wireless network provider is first obtained; based on the configuration information sent by the wireless network provider, the page information of the wireless network, the first preset Portal page and the second preset Portal page are configured accordingly; the corresponding information of the preset social media and the user information of the wireless network provider obtained through the preset cloud H5 page are used to manage user authorization to obtain the management OpenId; the management OpenId is stored, and a preset authentication QR code that can jump to the second preset Portal page is generated. In this way, a system is established. Figure 4In the network connection relationship shown, the terminal connects to the wireless network device through the wireless network and accesses the network through the wireless network device. The wireless network device and the wireless network management / authentication cloud maintain a long-term configuration channel to ensure that the configuration takes effect in real time. This can improve the efficiency of network authentication.
[0075] The above embodiments specifically describe the wireless network configuration and authentication process. However, in real-time applications, portal pages can be hosted on either the cloud or the device; social media APIs can be invoked from the cloud or from an HTML5 client; and cloud-based HTML5 can also be hosted on the device, requiring the device to be whitelisted for the social media app. Therefore, this embodiment specifically describes a network authentication method for deploying a portal page on a device.
[0076] See also Figure 5As shown, when a user's mobile terminal connects to a wireless network, a portal page pops up, temporarily granting network access for a configurable few minutes. The user is then guided through social media authentication. This can be done in the following ways: If the social media app supports launching the app directly via a link and redirecting to the authentication page, the portal page can provide a redirect link. If not, a QR code generated during configuration can be posted in a location accessible by the wireless network, directing the user to open the social media app and scan the code. After the social media app scans the QR code, it first redirects to the portal page. The portal page directly accesses the device's API to obtain information such as the user's MAC (Media Access Control Address) and SSID (Service Set Identifier) number, and then uses this information to redirect to the H5 page in the cloud. The H5 page in the cloud first calls the social media user login API to authenticate the user's social media account. Upon successful authentication, it obtains a token and the user's OpenID. Because the app is opened within the social media app, it can directly call the social media JSSDK for authentication and authorization, eliminating the need to log in again. The social media follower verification API is then called based on the user's OpenId and the wireless network provider's OpenId to verify whether the user has already followed the wireless network provider's social media account. If not, the user will be prompted on the page to follow and given a link to jump directly to the social media account's homepage to follow. If not, the cloud backend will start a task to call the follower verification API at regular intervals within the temporary release period to verify whether the user has followed. If the query confirms that the user has followed, a user release command will be sent to the device. If the user has already followed / or is the wireless network provider's account, the page will prompt the user that they have followed / are the real person, and the cloud API will be called to send a user release command to the device, and the user will be notified that they can now access the Internet. If the user's terminal does not have the social media app installed, or cannot be installed (such as on a PC), this can be achieved by calling the social media's OAuth web authentication; the portal page displays an authentication link to guide users who do not have the social media app installed to click on it. After clicking, they will jump to the social media's OAuth authentication webpage; after OAuth login authorization, they will jump back to the cloud's H5 authentication page. When returning to the cloud's H5 page, the social media's user login API will be called to verify the user's social media account; the cloud's command to release the user will send the user's MAC address, VLAN, connected SSID serial number, validity period and other information, which will be sent directly to the device through the configuration channel and take effect directly on the device.
[0077] refer to Figure 6The present application also discloses a wireless network authentication device for use in wireless network management and authentication cloud, including:
[0078] A request acquisition module 11 is configured to acquire a wireless network use request sent by a mobile terminal of a wireless network user, and send a first preset portal page to the mobile terminal based on the wireless network request;
[0079] The attribute collection module 12 is used to collect attribute information of the mobile terminal through the first preset portal page and obtain the identity authentication method selected by the wireless network user; the identity authentication method includes APP authentication and web page authentication;
[0080] An identity authentication module 13, configured to perform social media identity authentication on the wireless network user based on the identity authentication method;
[0081] The user ID acquisition module 14 is used to obtain the user OpenId of the wireless network user through a preset cloud H5 page if the verification is successful;
[0082] A user determination module 15 is configured to call a preset follower verification API based on the user OpenId and the management OpenId of the wireless network provider to determine whether the wireless network user follows a preset social media account;
[0083] The information sending module 16 is configured to send the attribute information to a preset wireless network device through a preset information sending channel if the wireless network user follows the account, so that the preset wireless network device can provide wireless network usage services to the wireless network user.
[0084] As can be seen, in this embodiment, a wireless network usage request sent by a mobile terminal of a wireless network user is obtained, and a first preset portal page is sent to the mobile terminal based on the wireless network request; attribute information of the mobile terminal is collected through the first preset portal page, and the authentication method selected by the wireless network user is obtained; the authentication method includes APP authentication and web page authentication; social media authentication of the wireless network user is performed based on the authentication method; if the authentication is successful, the user OpenId of the wireless network user is obtained through a preset cloud H5 page; a preset fan verification API is called based on the user OpenId and the corresponding wireless network provider's management OpenId to determine whether the wireless network user has followed a preset social media account; if the wireless network user has followed the account, the attribute information is sent to a preset wireless network device through a preset information sending channel, so that the preset wireless network device can provide wireless network usage services to the wireless network user. In this way, the wireless network provider only needs to complete social media authentication according to the specified form after sending the wireless network usage request, avoiding the login operation or scanning with other terminals, simplifying the wireless network authentication steps, and at the same time achieving the effect of attracting fans and traffic for the preset social media of the wireless network provider.
[0085] In some specific embodiments, the identity authentication module 13 may specifically include:
[0086] an attribute collection unit, configured to collect attribute information of the mobile terminal through a second preset Portal page, wherein the second Portal page is displayed by jumping to a first preset network link or a preset authentication QR code on the first preset Portal page;
[0087] The first identity authentication unit is configured to obtain the attribute information collected by the second preset Portal page based on the preset cloud H5 page, and to call the user login API of the preset social media to perform social media identity authentication on the wireless network user.
[0088] In some specific embodiments, the identity authentication module 13 may specifically include:
[0089] The second identity authentication unit is used to obtain the login authorization information of the wireless network user based on the OAuth webpage to perform social media identity authentication on the wireless network user; the preset social media is displayed by jumping to the second preset network link on the first preset Portal page.
[0090] In some specific embodiments, the wireless network authentication device may further include:
[0091] The network temporary release module is used to send the attribute information and the preset release duration to the preset wireless network device through the preset information sending channel, so that the preset wireless network device can provide the wireless network user with the wireless network usage service of the preset release duration.
[0092] In some specific embodiments, the wireless network authentication device may further include:
[0093] The follower determination module is used to display a follow link of the preset social media to the wireless network user through a preset prompt page if the wireless network user does not follow the preset social media account; so that the wireless network user can follow the preset social media account through the follow link.
[0094] In some specific embodiments, the wireless network authentication device may further include:
[0095] A device information acquisition module, configured to acquire device information of the preset wireless network device sent by the wireless network provider;
[0096] An information configuration module, configured to configure the wireless network, the page information of the first preset Portal page, and the page information of the second preset Portal page accordingly based on the configuration information issued by the wireless network provider;
[0097] A management authorization module, configured to perform management user authorization using the corresponding information of the preset social media and the user information of the wireless network provider obtained through the preset cloud H5 page to obtain the management OpenId;
[0098] The QR code generation module is used to store the management OpenId and generate a preset authentication QR code that can jump to the second preset Portal page.
[0099] Furthermore, the embodiment of the present application also discloses an electronic device, Figure 7 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram should not be considered as any limitation to the scope of application of the present application.
[0100] Figure 7This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps of the wireless network authentication method disclosed in any of the aforementioned embodiments. Furthermore, the electronic device 20 in this embodiment may be a computer.
[0101] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device. The communication protocol it follows is any communication protocol that can be applied to the technical solution of this application and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world. Its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0102] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0103] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222, and can be Windows Server, NetWare, Unix, Linux, etc. In addition to including a computer program capable of performing the wireless network authentication method performed by the electronic device 20 as disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program capable of performing other specific tasks.
[0104] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when executed by a processor, the computer program implements the aforementioned wireless network authentication method. The specific steps of this method can be referred to the corresponding contents disclosed in the aforementioned embodiments and will not be repeated here.
[0105] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. Reference can be made to the descriptions of the identical or similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and the relevant parts can be referred to the descriptions of the methods.
[0106] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0107] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0108] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0109] The above is a detailed introduction to the technical solution provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A wireless network authentication method, characterized in that: Applied to wireless network management and authentication cloud, including: Obtaining a wireless network use request sent by a mobile terminal of a wireless network user, and sending a first preset portal page to the mobile terminal based on the wireless network use request; Collecting attribute information of the mobile terminal through the first preset portal page and obtaining the identity authentication method selected by the wireless network user; the identity authentication method includes APP authentication and web page authentication; Performing social media identity authentication on the wireless network user based on the identity authentication method; If the verification is successful, the user OpenId of the wireless network user is obtained through the preset cloud H5 page; Calling a preset follower verification API based on the user OpenId and the corresponding wireless network provider's management OpenId to determine whether the wireless network user has followed a preset social media account; If the wireless network user has followed the account, the attribute information is sent to a preset wireless network device through a preset information sending channel, so that the preset wireless network device provides wireless network usage services for the wireless network user.
2. The wireless network authentication method according to claim 1, wherein: When the identity authentication method is APP authentication, performing social media identity authentication on the wireless network user based on the identity authentication method includes: collecting attribute information of the mobile terminal through a second preset portal page, where the second preset portal page is displayed by jumping to a first preset network link or a preset authentication QR code on the first preset portal page; The attribute information collected by the second preset Portal page is obtained based on the preset cloud H5 page, and the user login API of the preset social media is called to perform social media identity authentication on the wireless network user.
3. The wireless network authentication method according to claim 1, wherein: When the identity authentication method is web page authentication, performing social media identity authentication on the wireless network user based on the identity authentication method includes: The social media identity authentication of the wireless network user is performed based on the OAuth webpage by obtaining the login authorization information of the wireless network user; the preset social media is displayed through a second preset network link on the first preset portal page.
4. The wireless network authentication method according to claim 1, wherein: After collecting the attribute information of the mobile terminal through the first preset portal page, the method further includes: The attribute information and the preset release duration are sent to a preset wireless network device through the preset information sending channel, so that the preset wireless network device provides the wireless network user with a wireless network use service with the preset release duration.
5. The wireless network authentication method according to claim 4, wherein: After calling a preset follower verification API based on the user OpenId and the wireless network provider's management OpenId to determine whether the wireless network user follows a preset social media account, the method further includes: If the wireless network user does not follow the preset social media account, a follow link of the preset social media will be displayed to the wireless network user through a preset prompt page; so that the wireless network user can follow the preset social media account through the follow link.
6. The wireless network authentication method according to claim 5, wherein: After presenting the preset social media follow-up link to the wireless network user via the preset prompt page, the method further includes: The preset fan verification API is called periodically by the local backend within the preset release time to determine whether the wireless network user follows the preset social media account, until the wireless network user follows the preset social media account or the preset release time is reached.
7. The wireless network authentication method according to claim 2, wherein: Before obtaining the wireless network use request sent by the mobile terminal of the wireless network user, the method further includes: Acquire device information of the preset wireless network device sent by the wireless network provider; Based on the configuration information issued by the wireless network provider, the wireless network, the page information of the first preset Portal page, and the page information of the second preset Portal page are configured accordingly; Using the corresponding information of the preset social media and the user information of the wireless network provider obtained through the preset cloud H5 page to perform management user authorization to obtain the management OpenId; The management OpenId is stored, and a preset authentication QR code is generated that can jump to the second preset Portal page.
8. A wireless network authentication device, characterized in that: Applied to wireless network management and authentication cloud, including: a request acquisition module, configured to acquire a wireless network use request sent by a mobile terminal of a wireless network user, and send a first preset Portal page to the mobile terminal based on the wireless network use request; An attribute collection module, configured to collect attribute information of the mobile terminal through the first preset portal page and obtain an authentication method selected by the wireless network user; the authentication method includes APP authentication and web page authentication; An identity authentication module, configured to perform social media identity authentication on the wireless network user based on the identity authentication method; A user ID acquisition module is used to obtain the user OpenId of the wireless network user through a preset cloud H5 page if the verification is successful; A user determination module is configured to call a preset follower verification API based on the user OpenId and the management OpenId of the wireless network provider to determine whether the wireless network user follows a preset social media account; The information sending module is used to send the attribute information to the preset wireless network device through a preset information sending channel if the wireless network user follows the account, so that the preset wireless network device can provide wireless network usage services to the wireless network user.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is configured to execute the computer program to implement the wireless network authentication method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that Used to store a computer program, which, when executed by a processor, implements the wireless network authentication method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Wireless network authentication method and device
CN109391472A
Wireless network access method and device based on browser, storage medium and terminal
CN113207123A