Access method, device and system of wireless network

CN116405939BActive Publication Date: 2026-09-18HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310303156.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2026-09-18
Estimated Expiration
2043-03-24

AI Technical Summary

Technical Problem

[0004]然而,当无线网络的SSID或者密码出现变更时,用户需要按照上述方法依次将每个智能设备重新接入无线网络中,操作流程十分繁琐

Benefits of technology

[0029] The wireless network access method, apparatus, and system provided in this application, when a smart device is already connected to a target wireless network, if the login verification information of the target wireless network changes, disconnects the smart device from the target wireless network and sends the changed target verification information to an authorization management device. Then, it receives a target access request sent by the smart device based on the target verification information and authenticates the smart device based on the authentication code included in the target access request. Finally, if the authentication is successful, it authorizes the smart device to reconnect to the target wireless network. This not only significantly improves the access speed when a smart device reconnects to the wireless network, simplifies the user's operation process, and enables rapid device reconnection, but also greatly enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116405939B_ABST
    Figure CN116405939B_ABST
Patent Text Reader

Abstract

The application discloses an access method, device and system of a wireless network, and relates to the technical field of smart home, and the access method comprises the following steps: in the case that a smart device has accessed a target wireless network, if login verification information of the target wireless network is changed, disconnecting the connection between the smart device and the target wireless network, and sending the changed target verification information to an authorized management device; receiving a target access request sent by the smart device based on the target verification information, and performing identity verification on the smart device based on an identity verification code contained in the target access request; in the case that the identity verification is passed, authorizing the smart device to re-access the target wireless network. The access method, device and system of the wireless network provided by the application are used for improving the access speed of an authorized device of a wireless network when the device needs to re-access the wireless network due to the change of wireless network login verification information, and realizing the fast reconnection of the device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home technology, and in particular to a wireless network access method, device and system. Background Technology

[0002] With the rapid development of technology and the advancement of wireless communication technology, more and more smart devices have appeared in our lives, such as smart water dispensers, smart speakers, and cameras. These devices need to be connected to wireless networks to achieve remote control.

[0003] In related technologies, when the aforementioned smart device first connects to a wireless network, the user needs to enter the Service Set Identifier (SSID) and password of the wireless network on a mobile phone, tablet, or other terminal device. The terminal device then synchronizes the SSID and password of the wireless network to the smart device. The smart device then connects to the corresponding wireless network based on the received SSID and password.

[0004] However, when the SSID or password of the wireless network changes, users need to reconnect each smart device to the wireless network in turn using the above method, which is a very cumbersome process. Summary of the Invention

[0005] The purpose of this application is to provide a wireless network access method, apparatus, and system to improve the access speed of authorized devices in a wireless network when they need to reconnect to the wireless network due to changes in wireless network login verification information, thereby enabling the device to reconnect quickly.

[0006] In a first aspect, this application provides a method for accessing a wireless network, applied to a router, the method comprising:

[0007] If the login verification information of the target wireless network changes while the smart device is already connected to the target wireless network, the connection between the smart device and the target wireless network is disconnected, and the changed target verification information is sent to the authorization management device. The device receives a target access request sent by the smart device based on the target verification information and authenticates the smart device based on the authentication code included in the target access request. If the authentication is successful, the device is authorized to reconnect to the target wireless network. Herein, the smart device is an authorized access device of the target wireless network; the target wireless network is the wireless network provided by the router; and the authentication code is sent by the authorization management device to the smart device after receiving the target verification information.

[0008] Optionally, before sending the modified target verification information to the authorization management device, the method further includes: sending an authentication request to the authorization management device when the login verification information of the target wireless network changes; receiving an authentication response sent by the authorization management device in response to the authentication request; and authenticating the authorization management device according to the first dynamic identity code contained in the authentication response; the step of sending the modified target verification information to the authorization management device includes: sending the target verification information to the authorization management device when the authentication of the authorization management device is successful.

[0009] Optionally, before sending the modified target verification information to the authorization management device, the method further includes: receiving a verification information acquisition request sent by the authorization management device after detecting a change in the login verification information of the target wireless network; verifying the authorization management device based on the second dynamic identity code contained in the verification information acquisition request; and sending the modified target verification information to the authorization management device includes: sending the target verification information to the authorization management device if the authentication of the authorization management device is successful.

[0010] Optionally, the authentication of the authorization management device includes: obtaining a third dynamic identity code generated by the router based on a first generation time; comparing the third dynamic identity code with a target dynamic identity code; if the comparison results are the same, then the authentication of the authorization management device is determined to be successful; otherwise, the authentication of the authorization management device is determined to be unsuccessful; wherein, the third dynamic identity code is generated by the router according to a preset generation method; and the first generation time is the time when the authorization management device generates the target dynamic identity code according to the preset generation method.

[0011] Optionally, the step of authenticating the smart device based on the authentication code included in the target access request includes: obtaining a fourth dynamic identity code generated by the router based on a second generation time; comparing the fourth dynamic identity code with the authentication code; if the comparison results are the same, then determining that the authentication of the smart device is successful; otherwise, determining that the authentication of the smart device fails; wherein, the second generation time is the time when the authorization management device generates the authentication code according to a preset generation method.

[0012] Secondly, this application also provides another method for accessing a wireless network, applied to an authorization management device, the method comprising:

[0013] The system receives target verification information sent by the router when the login verification information of the target wireless network changes; generates an authentication code according to a preset generation method, and sends the authentication code, the second time of generating the authentication code, and the target verification information to the smart device, so that the smart device can access the target wireless network based on the authentication code, the second time, and the target verification information; wherein, the smart device is an authorized access device of the target wireless network; and the target wireless network is a wireless network provided by the router.

[0014] Optionally, before receiving the target verification information sent by the router when the login verification information of the target wireless network changes, the method further includes: receiving an authentication request sent by the router when the login verification information of the target wireless network changes; in response to the authentication request, generating a first dynamic identity code according to the preset generation method, and sending an authentication response to the router; receiving the target verification information sent by the router when the login verification information of the target wireless network changes includes: receiving the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorized management device based on the first dynamic identity code is successful; wherein, the authentication response includes: the first dynamic identity code and the first time of generating the first dynamic identity code.

[0015] Optionally, before receiving the target verification information sent by the router when the login verification information of the target wireless network changes, the method further includes: sending a verification information acquisition request to the router when a change in the login verification information of the target wireless network is detected; the verification request includes a second dynamic identity code generated by the authorization management device according to the preset generation method; receiving the target verification information sent by the router when the login verification information of the target wireless network changes includes: receiving the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorization management device based on the second dynamic identity code is successful.

[0016] Thirdly, this application also provides a wireless network access device, comprising:

[0017] The control module is configured to disconnect the smart device from the target wireless network if the login verification information of the target wireless network changes when the smart device is already connected to the target wireless network; the sending module is configured to send the changed target verification information to the authorization management device; the receiving module is configured to receive the target access request sent by the smart device based on the target verification information; the authentication module is configured to authenticate the smart device based on the authentication code contained in the target access request; the control module is further configured to authorize the smart device to reconnect to the target wireless network if the authentication is successful; wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router; and the authentication code is sent by the authorization management device to the smart device after receiving the target verification information.

[0018] Optionally, the sending module is further configured to send an authentication request to the authorization management device when the login verification information of the target wireless network changes; the receiving module is further configured to receive an authentication response sent by the authorization management device in response to the authentication request; the authentication module is further configured to authenticate the authorization management device according to the first dynamic identity code contained in the authentication response; and the sending module is specifically configured to send the target verification information to the authorization management device when the authentication of the authorization management device is successful.

[0019] Optionally, the receiving module is further configured to receive a verification information acquisition request sent by the authorization management device after detecting a change in the login verification information of the target wireless network; the authentication module is further configured to authenticate the authorization management device according to the second dynamic identity code contained in the verification information acquisition request; specifically, the authentication module is configured to send the target verification information to the authorization management device when the authentication of the authorization management device is successful.

[0020] Optionally, the device further includes: an acquisition module; the acquisition module is used to acquire a third dynamic identity code generated by the router based on a first generation time; the identity verification module is specifically used to compare the third dynamic identity code with a target dynamic identity code, and if the comparison results are the same, it is determined that the identity verification of the authorization management device is successful; otherwise, it is determined that the identity verification of the authorization management device fails; wherein, the third dynamic identity code is generated by the router according to a preset generation method; the first generation time is the time when the authorization management device generates the target dynamic identity code according to the preset generation method.

[0021] Optionally, the acquisition module is further configured to acquire the fourth dynamic identity code generated by the router based on the second generation time; the authentication module is specifically configured to compare the fourth dynamic identity code with the authentication code, and if the comparison results are the same, it is determined that the authentication of the smart device is successful; otherwise, it is determined that the authentication of the smart device fails; wherein, the second generation time is the time when the authorization management device generates the authentication code according to the preset generation method.

[0022] Fourthly, this application also provides another wireless network access device, including:

[0023] A receiving module is used to receive target verification information sent by the router when the login verification information of the target wireless network changes; a generating module is used to generate an authentication code according to a preset generation method; a sending module is used to send the authentication code, the second time of generating the authentication code, and the target verification information to a smart device, so that the smart device can access the target wireless network based on the authentication code, the second time, and the target verification information; wherein, the smart device is an authorized access device of the target wireless network; and the target wireless network is a wireless network provided by the router.

[0024] Optionally, the receiving module is further configured to receive an authentication request sent by the router when the login verification information of the target wireless network changes; the generating module is further configured to generate a first dynamic identity code in response to the authentication request according to the preset generation method; the sending module is further configured to send an authentication response to the router; the receiving module is specifically configured to receive the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorized management device based on the first dynamic identity code is successful; wherein, the authentication response includes: the first dynamic identity code and the first time of generating the first dynamic identity code.

[0025] Optionally, the sending module is further configured to send a verification information acquisition request to the router when a change is detected in the login verification information of the target wireless network; the verification request includes a second dynamic identity code generated by the authorization management device according to the preset generation method; the receiving module is specifically configured to receive the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorization management device based on the second dynamic identity code is successful.

[0026] This application also provides an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute, through the computer program, steps of implementing the wireless network access method as described in either the first or second aspect above.

[0027] This application also provides a computer-readable storage medium comprising a stored program, wherein the program, when executed, implements the steps of the wireless network access method as described in either the first or second aspect above.

[0028] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the wireless network access method as described in either the first or second aspect above.

[0029] The wireless network access method, apparatus, and system provided in this application, when a smart device is already connected to a target wireless network, if the login verification information of the target wireless network changes, disconnects the smart device from the target wireless network and sends the changed target verification information to an authorization management device. Then, it receives a target access request sent by the smart device based on the target verification information and authenticates the smart device based on the authentication code included in the target access request. Finally, if the authentication is successful, it authorizes the smart device to reconnect to the target wireless network. This not only significantly improves the access speed when a smart device reconnects to the wireless network, simplifies the user's operation process, and enables rapid device reconnection, but also greatly enhances the user experience. Attached Figure Description

[0030] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0031] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0032] Figure 1 This is a schematic diagram of the hardware environment for an interaction method of a smart device according to an embodiment of this application;

[0033] Figure 2 This is one of the flowcharts illustrating the wireless network access method provided in this application;

[0034] Figure 3 This is the second flowchart illustrating the wireless network access method provided in this application;

[0035] Figure 4 This is the third flowchart illustrating the wireless network access method provided in this application;

[0036] Figure 5 This is a schematic diagram of the structure of a wireless network access device provided in this application;

[0037] Figure 6 This is a schematic diagram of the structure of another wireless network access device provided in this application;

[0038] Figure 7 This is a schematic diagram of the electronic device provided in this application. Detailed Implementation

[0039] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0040] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0041] According to one aspect of the embodiments of this application, a method for accessing a wireless network is provided. This method is widely applicable to whole-house intelligent digital control application scenarios such as smart homes, smart home ecosystems, and intelligence house ecosystems. Optionally, in this embodiment, the above-mentioned wireless network access method can be applied to, for example... Figure 1 The hardware environment shown consists of terminal device 102 and server 104. For example... Figure 1As shown, server 104 is connected to terminal device 102 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data processing services for server 104.

[0042] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity), Bluetooth. The terminal device 102 may not be limited to PC, mobile phone, tablet computer, smart air conditioner, smart range hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projector, smart TV, smart clothes rack, smart curtains, smart audio-visual equipment, smart socket, smart speaker, smart speaker box, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart robot vacuum cleaner, smart window cleaning robot, smart mopping robot, smart air purifier, smart steam oven, smart microwave oven, smart water heater, smart air purifier, smart water dispenser, smart door lock, etc.

[0043] To address the technical problem in related technologies where the operation steps for smart devices to reconnect to wireless networks are cumbersome due to login verification information, this application provides a wireless network access method that enables smart devices to automatically reconnect. This method synchronizes changed login verification information through a third-party authorized management device and adds an identity verification step, making the login verification process more secure and reliable. This not only significantly improves the access speed of smart devices reconnecting to wireless networks and simplifies user operations, enabling rapid device reconnection, but also greatly enhances the user experience.

[0044] The wireless network access method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0045] like Figure 2 As shown in the figure, an embodiment of this application provides a wireless network access method applied to a router, which may include the following steps 201 to 203:

[0046] Step 201: If the login verification information of the target wireless network changes when the smart device has already connected to the target wireless network, disconnect the smart device from the target wireless network and send the changed target verification information to the authorization management device.

[0047] Wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router.

[0048] For example, the aforementioned smart device can be an IoT device with wireless network access capability in a smart home, such as a smart refrigerator, smart TV, or smart air conditioner. This smart device can establish a connection with the Internet through a wireless network, allowing users to remotely control it via mobile devices such as smartphones and tablets.

[0049] For example, the aforementioned smart device can access the router's wireless network via a user's mobile terminal. In related technologies, the access method may include: the mobile terminal synchronizing the SSID and login verification information of the already accessed wireless network to the smart device; the smart device then accesses the wireless network based on the received SSID and password; the user may also edit the SSID and password of the wireless network the smart device needs to access in the mobile terminal's information editing interface, so that the smart device can access the indicated wireless network.

[0050] For example, when a smart device connects to a wireless network, it can maintain its connection if the SSID and password of the wireless network remain unchanged, and it can reconnect to the wireless network after the wireless network stops and resumes service. However, if the SSID and / or password of the wireless network connected to by the smart device changes, the smart device will be unable to connect to the changed wireless network based on the original login authentication information.

[0051] For example, the target authentication information may include at least one of the following: the SSID of the target wireless network and the access password of the target wireless network.

[0052] For example, when the login verification information of the target wireless network changes, the router can send the changed target verification information to the authorization management device based on the communication connection established with the authorization management device.

[0053] Step 202: Receive the target access request sent by the smart device based on the target verification information, and authenticate the smart device based on the authentication code contained in the target access request.

[0054] The authentication code is sent by the authorization management device to the smart device after receiving the target authentication information.

[0055] For example, after receiving the target authentication information sent by the router, the authorization management device can send the target authentication information to a smart device, which may include one or more devices. After receiving the target authentication information sent by the authorization management device, the smart device can reconnect to the target wireless network based on the target authentication information.

[0056] Step 203: If the authentication is successful, authorize the smart device to reconnect to the target wireless network.

[0057] For example, before a smart device can access a target wireless network, it needs to be authenticated to verify whether it is an authorized device. The smart device can perform authentication based on the authentication code carried by the authorization management device when sending the target authentication information.

[0058] For example, once the router successfully authenticates a smart device, it can authorize the smart device to reconnect to the target wireless network. At this point, the smart device can reconnect to the target wireless network based on this authorization.

[0059] It should be noted that since data is transmitted wirelessly between routers, authorization management devices, and smart devices, there is a risk of information leakage or the device being impersonated as an authorized device. Therefore, an authentication process needs to be added during the login verification information synchronization process.

[0060] Optionally, in this embodiment, communication between the router and the authorization management device, as well as communication between the router and the smart device, can be verified using an identity code calculated based on time.

[0061] In one possible implementation, the step 201 above, in which the router sends the modified target authentication information to the authorization management device, may include the following steps 201a1 to 201a4:

[0062] Step 201a1: If the login verification information of the target wireless network changes, send an authentication request to the authorization management device.

[0063] Step 201a2: Receive the authentication response sent by the authorization management device in response to the authentication request.

[0064] Step 201a3: Authenticate the authorized management device based on the first dynamic identity code contained in the authentication response.

[0065] For example, if the login verification information of the target wireless network changes, the router can proactively authenticate with the authorized management device and send the changed target verification information to the authorized management device after successful authentication.

[0066] For example, the router can authenticate the authorization management device based on the first dynamic identity code in the authentication response sent by the authorization management device in response to the authentication request sent by the router.

[0067] Step 201a4: If the authentication of the authorization management device is successful, send the target authentication information to the authorization management device.

[0068] In another possible implementation, the step 201 above, in which the router sends the modified target authentication information to the authorization management device, may include the following steps 201b1 to 201b3:

[0069] Step 201b1: Receive the verification information retrieval request sent by the authorization management device after detecting a change in the login verification information of the target wireless network.

[0070] Step 201b2: Obtain the second dynamic identity code contained in the verification information request and verify the identity of the authorization management device.

[0071] For example, the authorization management device can detect in real time whether the login verification information of the target wireless network has changed. When the authorization management device detects that the login verification information of the target wireless network has changed, it can actively send a request to the router to obtain the changed login verification information.

[0072] Step 201b3: If the authentication of the authorization management device is successful, send the target authentication information to the authorization management device.

[0073] Specifically, the authentication of the authorized management device in steps 201a3 and 201b2 above may include the following steps 201c1 and 201c2:

[0074] Step 201c1: Obtain the third dynamic identity code generated by the router based on the first generation time.

[0075] Step 201c2: Compare the third dynamic identity code with the target dynamic identity code. If the comparison results are the same, the authentication of the authorization management device is determined to be successful; otherwise, the authentication of the authorization management device is determined to be unsuccessful.

[0076] The third dynamic identity code is generated by the router according to a preset generation method; the first generation time is the time when the authorization management device generates the target dynamic identity code according to the preset generation method.

[0077] For example, the first, second, and third dynamic identity codes are all generated using the same preset generation method, and their generated values ​​correspond to the time; that is, identity codes generated within the same time period using this preset generation method are identical. Based on this, dynamic identity codes can be generated on the authorization management device and the router respectively, and the generation time can be used to determine whether the two dynamic identity codes are consistent, thereby completing the authentication of the authorization management device.

[0078] Understandably, the authorization management device generates the first dynamic identity code according to a preset generation method and sends it to the router immediately. The router, upon receiving the first dynamic identity code, regenerates the third dynamic identity code according to the preset generation method. The router then compares the third dynamic identity code with the first dynamic identity code. If they are the same, it indicates that the authorization management device and the router used the same algorithm, and the router can confirm that the authorization management device is a trusted device.

[0079] In one possible implementation, to prevent brute-force attacks, the router can add an expiration period to the identity code, that is, if the time difference between the current time and the first time is greater than a preset time difference, the first dynamic identity code is determined to be invalid.

[0080] It should be noted that the verification method of the second dynamic identity code is the same as that of the first dynamic identity code. For details, please refer to the relevant description of the first dynamic identity code.

[0081] For example, based on the above-described authentication process of the router for the authorized management device, step 202 may include steps 202a1 and 202a2:

[0082] Step 202a1: Obtain the fourth dynamic identity code generated by the router based on the second generation time.

[0083] Step 202a2: Compare the fourth dynamic identity code with the identity verification code. If the comparison results are the same, the identity verification of the smart device is determined to be successful; otherwise, the identity verification of the smart device is determined to be unsuccessful.

[0084] The second generation time is the time when the authorization management device generates the authentication code according to the preset generation method.

[0085] For example, the aforementioned fourth dynamic identity code and authentication code are also generated based on a preset generation method. The smart device does not have the function of generating an identity code; the authentication code included in the target access request it sends is generated by the authorization management device according to the preset generation method.

[0086] For example, a smart device can authenticate its access to a target wireless network by using an authentication code generated by an authorization management device.

[0087] like Figure 3 As shown in the figure, an access method for a wireless network provided in this application embodiment is applied to an authorization management device. The method may include the following steps 301 and 302:

[0088] Step 301: Receive the target verification information sent by the router when the login verification information of the target wireless network changes.

[0089] For example, the authorization management device can receive target authentication information sent by the router when the login authentication information of the target wireless network changes, through a communication connection established with the router.

[0090] Step 302: Generate an authentication code according to a preset generation method, and send the authentication code, the second time of generating the authentication code, and the target verification information to the smart device, so that the smart device can access the target wireless network based on the authentication code, the second time, and the target verification information.

[0091] Wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router.

[0092] For example, after receiving the target verification information sent by the router, the authorization management device needs to generate the aforementioned authentication code according to the current time and a preset generation method, and synchronize the generated authentication code, the time of generation of the authentication code, and the received target verification information to the smart device.

[0093] For example, after receiving the authentication code, the second time, and the target authentication information, the smart device can complete the router's authentication based on the received information and reconnect to the target wireless network.

[0094] Optionally, in this embodiment of the application, the authorization management device needs to authenticate itself through the router before receiving the target verification information sent by the router.

[0095] For example, prior to step 301 above, the wireless network access method provided in this application embodiment may further include steps 303 and 304:

[0096] Step 303: Receive the authentication request sent by the router when the login authentication information of the target wireless network changes.

[0097] Step 304: In response to the authentication request, generate a first dynamic identity code according to the preset generation method, and send an authentication response to the router.

[0098] The authentication response includes: the first dynamic identity code and the first time when the first dynamic identity code is generated.

[0099] For example, the authorization management device can passively receive authentication requests sent by the router when the login authentication information of the target wireless network changes.

[0100] Specifically, based on steps 303 and 304 above, step 301 may include the following step 301a:

[0101] Step 301a: Receive the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorized management device is successful based on the first dynamic identity code.

[0102] For example, prior to step 301 above, the wireless network access method provided in this application embodiment may further include the following step 305:

[0103] Step 305: If a change is detected in the login verification information of the target wireless network, a verification information acquisition request is sent to the router; the verification request includes a second dynamic identity code generated by the authorization management device according to the preset generation method.

[0104] For example, the authorization management device can also proactively obtain target authentication information from the router after the target wireless network has changed.

[0105] Specifically, based on step 305 above, step 301 above may include the following step 301b:

[0106] Step 301b: Receive the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorized management device is successful based on the second dynamic identity code.

[0107] It should be noted that the authorized management device can use the original login information to test whether it can successfully access the target wireless network. If an error message is displayed indicating incorrect identity information, it can be determined that the login verification information of the target wireless network has been changed.

[0108] The wireless network access method provided in this application embodiment, when a smart device is already connected to a target wireless network, if the login verification information of the target wireless network changes, disconnects the smart device from the target wireless network and sends the changed target verification information to the authorization management device. Then, it receives a target access request sent by the smart device based on the target verification information and authenticates the smart device based on the authentication code included in the target access request. Finally, if the authentication is successful, it authorizes the smart device to reconnect to the target wireless network. This not only greatly improves the access speed when a smart device reconnects to the wireless network, simplifies the user's operation process, and enables rapid device reconnection, but also significantly enhances the user experience.

[0109] It should be noted that the wireless network access method provided in this application embodiment can be executed by a wireless network access device or a control module within that wireless network access device for executing the wireless network access method. This application embodiment uses the execution of the wireless network access method by a wireless network access device as an example to illustrate the wireless network access device provided in this application embodiment.

[0110] It should be noted that, in the embodiments of this application, the wireless network access methods shown in the accompanying drawings are all illustrated by way of example with reference to one of the accompanying drawings in the embodiments of this application. In specific implementation, the wireless network access methods shown in the accompanying drawings of the above methods can also be implemented in conjunction with any other accompanying drawings that can be combined with the above embodiments, which will not be elaborated here.

[0111] The wireless network access device provided in this application is described below, and the wireless network access method described below can be referred to in correspondence with the wireless network access method described above.

[0112] Figure 5 This is a schematic diagram of the structure of a wireless network access device provided in an embodiment of this application, as shown below. Figure 5 As shown, it specifically includes:

[0113] The control module 501 is configured to disconnect the smart device from the target wireless network if the login verification information of the target wireless network changes when the smart device has already accessed the target wireless network; the sending module 502 is configured to send the changed target verification information to the authorization management device; the receiving module 503 is configured to receive the target access request sent by the smart device based on the target verification information; the authentication module 504 is configured to authenticate the smart device based on the authentication code contained in the target access request; the control module 501 is further configured to authorize the smart device to re-access the target wireless network if the authentication is successful; wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router; and the authentication code is sent by the authorization management device to the smart device after receiving the target verification information.

[0114] Optionally, the sending module 502 is further configured to send an authentication request to the authorization management device when the login verification information of the target wireless network changes; the receiving module 503 is further configured to receive an authentication response sent by the authorization management device in response to the authentication request; the authentication module 504 is further configured to authenticate the authorization management device according to the first dynamic identity code contained in the authentication response; and the sending module 502 is specifically configured to send the target verification information to the authorization management device when the authentication of the authorization management device is successful.

[0115] Optionally, the receiving module 503 is further configured to receive a verification information acquisition request sent by the authorization management device after detecting a change in the login verification information of the target wireless network; the authentication module 504 is further configured to authenticate the authorization management device according to the second dynamic identity code contained in the verification information acquisition request; specifically, the authentication module 504 is configured to send the target verification information to the authorization management device when the authentication of the authorization management device is successful.

[0116] Optionally, the device further includes: an acquisition module; the acquisition module is used to acquire a third dynamic identity code generated by the router based on a first generation time; the identity verification module 504 is specifically used to compare the third dynamic identity code with a target dynamic identity code, and if the comparison results are the same, it is determined that the identity verification of the authorization management device is successful; otherwise, it is determined that the identity verification of the authorization management device fails; wherein, the third dynamic identity code is generated by the router according to a preset generation method; the first generation time is the time when the authorization management device generates the target dynamic identity code according to the preset generation method.

[0117] Optionally, the acquisition module is further configured to acquire the fourth dynamic identity code generated by the router based on the second generation time; the identity verification module 504 is specifically configured to compare the fourth dynamic identity code with the identity verification code, and if the comparison results are the same, it is determined that the identity verification of the smart device is successful; otherwise, it is determined that the identity verification of the smart device fails; wherein, the second generation time is the time when the authorization management device generates the identity verification code according to the preset generation method.

[0118] Figure 6 This is a schematic diagram of the structure of an access device for a wireless network provided in another embodiment of this application, as shown below. Figure 6 As shown, it specifically includes:

[0119] The receiving module 601 is used to receive target verification information sent by the router when the login verification information of the target wireless network changes; the generating module 602 is used to generate an authentication code according to a preset generation method; the sending module 603 is used to send the authentication code, the second time of generating the authentication code, and the target verification information to the smart device, so that the smart device can access the target wireless network based on the authentication code, the second time, and the target verification information; wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router.

[0120] Optionally, the receiving module 601 is further configured to receive an authentication request sent by the router when the login verification information of the target wireless network changes; the generating module 602 is further configured to generate a first dynamic identity code in response to the authentication request according to the preset generation method; the sending module 603 is further configured to send an authentication response to the router; the receiving module 601 is specifically configured to receive the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorized management device based on the first dynamic identity code is successful; wherein, the authentication response includes: the first dynamic identity code and the first time of generating the first dynamic identity code.

[0121] Optionally, the sending module 603 is further configured to send a verification information acquisition request to the router when a change is detected in the login verification information of the target wireless network; the verification request includes a second dynamic identity code generated by the authorization management device according to the preset generation method; the receiving module 601 is specifically configured to receive the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorization management device based on the second dynamic identity code is successful.

[0122] The wireless network access device provided in this application, when a smart device is already connected to a target wireless network, will disconnect the smart device from the target wireless network if the login verification information of the target wireless network changes, and will send the changed target verification information to an authorization management device. Then, it will receive a target access request sent by the smart device based on the target verification information, and authenticate the smart device based on the authentication code included in the target access request. Finally, if the authentication is successful, it will authorize the smart device to reconnect to the target wireless network. This not only greatly improves the access speed when a smart device reconnects to the wireless network, simplifies the user's operation process, and enables rapid device reconnection, but also significantly enhances the user experience.

[0123] Figure 7 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 7As shown, the electronic device may include a processor 710, a communications interface 720, a memory 730, and a communication bus 740, wherein the processor 710, communications interface 720, and memory 730 communicate with each other via the communication bus 740. The processor 710 can call logical instructions in the memory 730 to execute a wireless network access method. This method includes: if the login verification information of the target wireless network changes when the smart device is already connected to the target wireless network, disconnecting the smart device from the target wireless network and sending the changed target verification information to the authorization management device; receiving a target access request sent by the smart device based on the target verification information, and authenticating the smart device based on the authentication code contained in the target access request; and authorizing the smart device to re-access the target wireless network if the authentication is successful. Here, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by a router; and the authentication code is sent by the authorization management device to the smart device after receiving the target verification information. Alternatively, the system receives target verification information sent by the router when the login verification information for the target wireless network changes; generates an authentication code according to a preset generation method, and sends the authentication code, the second time of generating the authentication code, and the target verification information to the smart device, enabling the smart device to access the target wireless network based on the authentication code, the second time, and the target verification information; wherein, the smart device is an authorized access device of the target wireless network; and the target wireless network is a wireless network provided by the router.

[0124] Furthermore, the logical instructions in the aforementioned memory 730 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0125] On the other hand, this application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the wireless network access method provided by the above methods. The method includes: if the login verification information of the target wireless network changes when the smart device has already accessed the target wireless network, disconnecting the smart device from the target wireless network and sending the changed target verification information to an authorization management device; receiving a target access request sent by the smart device based on the target verification information, and authenticating the smart device based on the authentication code contained in the target access request; and authorizing the smart device to re-access the target wireless network if the authentication is successful. Wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by a router; and the authentication code is sent by the authorization management device to the smart device after receiving the target verification information. Alternatively, the system receives target verification information sent by the router when the login verification information for the target wireless network changes; generates an authentication code according to a preset generation method, and sends the authentication code, the second time of generating the authentication code, and the target verification information to the smart device, enabling the smart device to access the target wireless network based on the authentication code, the second time, and the target verification information; wherein, the smart device is an authorized access device of the target wireless network; and the target wireless network is a wireless network provided by the router.

[0126] Furthermore, this application also provides a computer-readable storage medium, comprising a stored program, wherein the program, when executed, performs the wireless network access method provided by the methods described above. This method includes: if a smart device is already connected to a target wireless network, and the login verification information of the target wireless network changes, disconnecting the smart device from the target wireless network and sending the changed target verification information to an authorization management device; receiving a target access request sent by the smart device based on the target verification information, and authenticating the smart device based on the authentication code included in the target access request; and authorizing the smart device to reconnect to the target wireless network if the authentication is successful. Herein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by a router; and the authentication code is sent by the authorization management device to the smart device after receiving the target verification information. Alternatively, receiving target verification information sent by the router when the login verification information of the target wireless network changes; generating an authentication code according to a preset generation method, and sending the authentication code, a second time of generating the authentication code, and the target verification information to the smart device, enabling the smart device to access the target wireless network based on the authentication code, the second time, and the target verification information; herein, the smart device is an authorized access device of the target wireless network; and the target wireless network is a wireless network provided by a router.

[0127] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0128] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0129] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for accessing a wireless network, characterized in that, Applied to a router, the method includes: If the login verification information of the target wireless network changes when the smart device has already been connected to the target wireless network, the connection between the smart device and the target wireless network will be disconnected, and an authentication request will be sent to the authorization management device. The system receives an authentication response sent by the authorization management device in response to the authentication request, and authenticates the authorization management device based on the first dynamic identity code contained in the authentication response. If the authentication of the authorization management device is successful, the modified target authentication information is sent to the authorization management device. Receive the target access request sent by the smart device based on the target verification information, and authenticate the smart device based on the authentication code contained in the target access request; If the authentication is successful, the smart device is authorized to reconnect to the target wireless network; Wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router; the authentication code is sent by the authorization management device to the smart device after receiving the target authentication information; the first dynamic identity code is a dynamic identity code generated by the authorization management device in response to the authentication request according to a preset generation method; The authentication of the authorized management device includes: The third dynamic identity code generated by the router based on a first generation time is obtained, and the third dynamic identity code is compared with a target dynamic identity code; wherein the third dynamic identity code is generated by the router according to a preset generation method; the first generation time is the time when the authorization management device generates the target dynamic identity code according to the preset generation method; The authentication of the smart device includes: Obtain the fourth dynamic identity code generated by the router based on the second generation time, and compare the fourth dynamic identity code with the authentication code; wherein, the second generation time is the time when the authorization management device generates the authentication code according to the preset generation method.

2. The wireless network access method according to claim 1, characterized in that, Sending the modified target verification information to the authorized management device includes: Receive the verification information retrieval request sent by the authorization management device after detecting a change in the login verification information of the target wireless network; The authorized management device is authenticated based on the second dynamic identity code contained in the verification information acquisition request. If the authentication of the authorization management device is successful, the target authentication information is sent to the authorization management device.

3. The wireless network access method according to claim 1 or 2, characterized in that, The authentication of the authorized management device includes: The third dynamic identity code is compared with the target dynamic identity code. If the comparison results are the same, the authentication of the authorization management device is determined to be successful; otherwise, the authentication of the authorization management device is determined to be unsuccessful.

4. The wireless network access method according to claim 1, characterized in that, The authentication of the smart device based on the authentication code contained in the target access request includes: The fourth dynamic identity code is compared with the identity verification code. If the comparison results are the same, the identity verification of the smart device is determined to be successful; otherwise, the identity verification of the smart device is determined to be unsuccessful.

5. A method for accessing a wireless network, characterized in that, Applied to an authorization management device, the method includes: Receive authentication requests sent by the router when the login authentication information of the target wireless network changes; In response to the authentication request, a first dynamic identity code is generated according to a preset generation method, and an authentication response is sent to the router; the authentication response includes: the first dynamic identity code and the first time when the first dynamic identity code was generated. Receive target authentication information sent by the router when the login authentication information of the target wireless network changes; An authentication code is generated according to a preset generation method, and the authentication code, the second time of generating the authentication code, and the target verification information are sent to the smart device, so that the smart device can access the target wireless network based on the authentication code, the second time, and the target verification information; wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router; The target verification information sent by the receiving router when the login verification information of the target wireless network changes includes: The router receives the target verification information when the login verification information of the target wireless network changes and the authentication of the authorized management device is successful based on the first dynamic identity code.

6. The wireless network access method according to claim 5, characterized in that, Before receiving the target verification information sent by the receiving router when the login verification information of the target wireless network changes, the method further includes: If a change is detected in the login verification information of the target wireless network, a verification information acquisition request is sent to the router; the verification request includes a second dynamic identity code generated by the authorization management device according to the preset generation method; The target verification information sent by the receiving router when the login verification information of the target wireless network changes includes: The router receives the target verification information when the login verification information of the target wireless network changes and the authentication of the authorized management device is successful based on the second dynamic identity code.

7. A wireless network access device, characterized in that, Applied to a router, the device includes: The control module is used to disconnect the smart device from the target wireless network if the login verification information of the target wireless network changes when the smart device has already been connected to the target wireless network. The sending module is used to send authentication requests to the authorization management device; A receiving module is configured to receive an authentication response sent by the authorization management device in response to the authentication request; An authentication module is used to authenticate the authorization management device based on the first dynamic identity code contained in the authentication response; The sending module is also used to send the modified target verification information to the authorization management device when the authentication of the authorization management device is successful; The receiving module is also configured to receive a target access request sent by the smart device based on the target verification information; An authentication module is used to authenticate the smart device based on the authentication code contained in the target access request; The control module is also configured to authorize the smart device to reconnect to the target wireless network if the authentication is successful; Wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router; the authentication code is sent by the authorization management device to the smart device after receiving the target authentication information; the first dynamic identity code is a dynamic identity code generated by the authorization management device in response to the authentication request according to a preset generation method; The authentication module is specifically used to obtain a third dynamic identity code generated by the router based on a first generation time, and compare the third dynamic identity code with a target dynamic identity code; wherein, the third dynamic identity code is generated by the router according to a preset generation method; the first generation time is the time when the authorization management device generates the target dynamic identity code according to the preset generation method; The authentication module is further configured to obtain a fourth dynamic identity code generated by the router based on a second generation time, and compare the fourth dynamic identity code with the authentication code; wherein, the second generation time is the time when the authorization management device generates the authentication code according to a preset generation method.

8. A wireless network access device, characterized in that, Applied to an authorization management device, the device includes: The receiving module is used to receive authentication requests sent by the router when the login authentication information of the target wireless network changes; The generation module is used to generate a first dynamic identity code in response to the authentication request, according to a preset generation method. A sending module is configured to send an authentication response to the router; the authentication response includes: the first dynamic identity code and the first time of generating the first dynamic identity code; The receiving module is also used to receive target verification information sent by the router when the login verification information of the target wireless network changes; The generation module is used to generate an authentication code according to a preset generation method; The sending module is used to send the authentication code, the second time of generating the authentication code, and the target verification information to the smart device, so that the smart device can access the target wireless network based on the authentication code, the second time, and the target verification information; Wherein, the smart device is an authorized access device of the target wireless network; the target wireless network is a wireless network provided by the router; The receiving module is specifically used to receive the target verification information sent by the router when the login verification information of the target wireless network changes and the authentication of the authorized management device is successful based on the first dynamic identity code.

9. A wireless network access system, characterized in that, include: A router, an authorization management device, and a smart device; the router performs the wireless network access method as described in any one of claims 1 to 4; The authorization management device performs the wireless network access method as described in claim 5 or 6.

Citation Information

Patent Citations

  • Wireless network configuration method and device

    CN111356149A

  • Equipment method and device, electronic equipment and readable storage medium

    CN114553445A