Wireless local area network connection method and device, electronic equipment and storage medium

Through the wireless access point, the distribution state will be automatically entered and the beacon frame will be broadcast. Combined with Wi-Fi, the WSC authentication process will be simply configured, which will solve the problem that users need to manually operate and re-access after the wireless LAN device is updated, and the unsensed access network is achieved , improves user experience and reduces maintenance costs.

CN119136197APending Publication Date: 2024-12-13MAIPU COMM TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411334688.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

After updating the configuration, existing wireless LAN devices require users to manually operate and re-connect to the network, resulting in increased user maintenance costs and reduced user experience.

Method used

The wireless access point automatically enters the distribution network state when updating the configuration, periodically broadcasts specific beacon frames, and authenticates according to the detected request frames of the received site device. If successful, updates will be obtained through the Wi-Fi simple configuration WSC authentication process. The configuration parameters afterwards realize automatic access to the wireless LAN.

Benefits of technology

Automatically access the updated network without manual operation of the user, simplifying operation steps, improving user experience and reducing user maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119136197A_ABST
    Figure CN119136197A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and provides a wireless local area network connection method and device, electronic equipment and a storage medium. The method comprises the following steps: when a wireless access point updates configuration parameters of a wireless local area network, setting a working mode as a configuration updating mode, and periodically broadcasting a specific beacon frame; if a detection request frame carrying button configuration (PBC) information sent by the site equipment after the site equipment identifies the specific beacon frame is received, authenticating the site equipment according to the detection request frame; and when the station equipment is successfully authenticated, sending a first detection response frame indicating that the PBC function is supported to the station equipment, so that the station equipment receives the first detection response frame, acquires the updated configuration parameters by executing a Wi-Fi simple configuration WSC authentication process, and is connected with the wireless access point according to the updated configuration parameters. Therefore, the network with the updated configuration can be automatically accessed without manual operation of a user, network access without perception is realized, and the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a wireless local area network connection method, device, electronic equipment and storage medium. Background Art

[0002] WLAN (Wireless Local Area Network) is a wireless communication technology. For WLAN devices on the market, when users modify the wireless parameters of an AP (Access Point) and reconnect to the AP, they usually need to re-operate on the STA (Station) device. For example, manually scan and search for APs and enter passwords, or complete network access through WPS (Wi-Fi Protected Setup).

[0003] WPS is a certification project organized and implemented by the WiFi Alliance. Its main purpose is to simplify the security encryption configuration of wireless networks. Wireless products with this function often have a function key on the body, called the WPS button. Users need to press this button to establish a secure connection between the site device and the wireless access point. Currently, these methods require users to manually operate to re-access the network after the wireless LAN configuration is updated. This requires notifying each user after the configuration is updated, which increases user maintenance costs. The operation steps for re-accessing the network are cumbersome, which reduces the user experience. Summary of the invention

[0004] In view of this, an object of the present invention is to provide a wireless local area network connection method, device, electronic device and storage medium.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] In a first aspect, the present invention provides a wireless local area network connection method, which is applied to a wireless access point, and the method comprises:

[0007] When updating the configuration parameters of the wireless local area network, the working mode is set to the configuration update mode, and a specific beacon frame is broadcast periodically;

[0008] If a probe request frame carrying the button configuration PBC information is received and sent by the site device after identifying the specific beacon frame, authenticating the site device according to the probe request frame;

[0009] When the site device is successfully authenticated, a first probe response frame indicating support for the PBC function is sent to the site device, so that the site device receives the first probe response frame, obtains updated configuration parameters by executing the Wi-Fi Simple Configuration WSC authentication process, and connects to the wireless access point according to the updated configuration parameters.

[0010] In an optional implementation manner, the database of the wireless access point stores the MAC address of each site device that has been successfully authenticated historically, and the probe request frame carries the MAC address of the site device;

[0011] The step of authenticating the site device according to the probe request frame comprises:

[0012] Among all MAC addresses in the database, query whether there is a MAC address carried by the probe request frame;

[0013] If so, it is determined that the site device authentication is successful;

[0014] If not present, it is determined that the site device authentication fails.

[0015] In an optional embodiment, the method further comprises:

[0016] In the case where the authentication of the site device fails, a second probe response frame indicating that the PBC function is not supported is sent to the site device, so that the site device receives the second probe response frame, obtains updated configuration parameters by executing a regular authentication process, and connects to the wireless access point according to the updated configuration parameters.

[0017] In a second aspect, the present invention provides a wireless local area network connection method, applied to a site device, the method comprising:

[0018] receiving and identifying a specific beacon frame broadcasted by a wireless access point when updating configuration parameters of a wireless local area network;

[0019] After identifying the specific beacon frame, setting the working mode to the configuration update mode, and sending a probe request frame carrying the button configuration PBC information to the wireless access point, so that the wireless access point authenticates the site device according to the probe request frame;

[0020] If a first detection response frame indicating support for the PBC function is received and sent by the wireless access point when determining that the site device authentication is successful, updated configuration parameters are obtained by executing the Wi-Fi Simple Configuration WSC authentication process, and the wireless access point is connected according to the updated configuration parameters.

[0021] In an optional embodiment, the method further comprises:

[0022] When the specific beacon frame is not identified, acquiring updated configuration parameters by executing a conventional authentication process, and connecting to the wireless access point according to the updated configuration parameters; or,

[0023] If a second probe response frame indicating that the PBC function is not supported and sent by the wireless access point when determining that the site device authentication fails is received, updated configuration parameters are obtained by executing a conventional authentication process, and the wireless access point is connected according to the updated configuration parameters.

[0024] In an optional embodiment, the configuration parameters include a network name and a key;

[0025] The step of acquiring updated configuration parameters by executing the WSC authentication process and connecting to the wireless access point according to the updated configuration parameters includes:

[0026] By executing the WSC authentication process to exchange information with the wireless access point, the local original network name or original key is updated, the updated network name or updated key is obtained, and the wireless access point is connected according to the updated network name or the updated key.

[0027] In a third aspect, the present invention provides a wireless local area network connection device, applied to a wireless access point, the device comprising:

[0028] An update module, used to set the working mode to the configuration update mode and periodically broadcast specific beacon frames when updating the configuration parameters of the wireless local area network;

[0029] an authentication module, configured to authenticate the site device according to the detection request frame if a detection request frame carrying the button configuration PBC information sent by the site device after identifying the specific beacon frame is received;

[0030] The first connection module is used to send a first detection response frame indicating support for the PBC function to the site device when the site device is authenticated successfully, so that the site device receives the first detection response frame, obtains updated configuration parameters by executing the Wi-Fi Simple Configuration WSC authentication process, and connects to the current wireless access point according to the updated configuration parameters.

[0031] In a fourth aspect, the present invention provides a wireless local area network connection device, applied to a site device, the device comprising:

[0032] An identification module, used to receive and identify a specific beacon frame broadcast by a wireless access point when updating configuration parameters of a wireless local area network;

[0033] a sending module, configured to set the working mode to a configuration update mode after identifying the specific beacon frame, and to send a probe request frame carrying button configuration PBC information to the wireless access point, so that the wireless access point authenticates the site device according to the probe request frame;

[0034] The second connection module is used to obtain updated configuration parameters by executing the Wi-Fi simple configuration WSC authentication process if a first detection response frame indicating support for the PBC function is received and sent by the wireless access point when determining that the site device authentication is successful, and connect to the wireless access point according to the updated configuration parameters.

[0035] In a fifth aspect, the present invention provides an electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the wireless local area network connection method described in any one of the aforementioned embodiments, or the wireless local area network connection method described in any one of the aforementioned embodiments.

[0036] In a sixth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the wireless local area network connection method described in any one of the aforementioned embodiments is implemented, or the wireless local area network connection method described in any one of the aforementioned embodiments is implemented.

[0037] The present invention provides a wireless local area network connection method, device, electronic device and storage medium, the method comprising: when the wireless access point updates the configuration parameters of the wireless local area network, the working mode is set to the configuration update mode, and a specific beacon frame is periodically broadcast; if a probe request frame carrying button configuration PBC information sent by the site device after identifying the specific beacon frame is received, the site device is authenticated according to the probe request frame; when the site device is successfully authenticated, a first probe response frame indicating support for the PBC function is sent to the site device, so that the site device receives the first probe response frame, and obtains the updated configuration parameters by executing the Wi-Fi simple configuration WSC authentication process, and connects to the wireless access point according to the updated configuration parameters. By making the wireless access point automatically enter the network configuration state when updating the configuration, and automatically accessing the wireless local area network through the WSC authentication process when the site device is successfully authenticated. Therefore, the network after the updated configuration can be automatically accessed without manual operation by the user, realizing imperceptible access to the network and improving the user experience.

[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 A schematic diagram of a scenario provided by an embodiment of the present invention is shown;

[0041] Figure 2 A block diagram of an electronic device provided by an embodiment of the present invention is shown;

[0042] Figure 3 A schematic diagram showing a flow chart of a wireless local area network connection method applied to a wireless access point provided by an embodiment of the present invention;

[0043] Figure 4 A schematic diagram showing a flow chart of a wireless local area network connection method applied to a station device provided in an embodiment of the present invention;

[0044] Figure 5 A functional module diagram of a first wireless local area network connection device applied to a wireless access point provided by an embodiment of the present invention is shown;

[0045] Figure 6 A functional module diagram of a second wireless local area network connection device applied to a station device provided by an embodiment of the present invention is shown.

[0046] Icon: 100 - electronic device; 110 - processor; 120 - memory; 130 - communication module; 400 - first wireless LAN connection device; 410 - update module; 430 - authentication module; 450 - first connection module; 500 - second wireless LAN connection device; 510 - identification module; 530 - sending module; 550 - second connection module. DETAILED DESCRIPTION

[0047] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0048] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0049] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0050] See also Figure 1 , is a schematic diagram of a scenario provided by an embodiment of the present invention. It includes a wireless access point and a site device. The wireless access point is a central device of a wireless local area network, which is used to transmit wireless signals. The site device is a client device of a wireless local area network, which is used to receive wireless signals transmitted by the wireless access point. The wireless access point can be a wireless router, a wireless network card, etc. The site device can be a smart phone, a personal computer, a tablet computer, a netbook, a wearable device, etc.

[0051] See also Figure 2 , is a block diagram of an electronic device provided by an embodiment of the present invention. The structure of the electronic device can be used to implement the above Figure 1 The electronic device 100 includes a processor 110, a memory 120, and a communication module 130, and each component is directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0052] The processor 110 is used to read / write data or programs stored in the memory 120 and execute corresponding functions. It can be a general-purpose processor, including a CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be a DSP digital signal processor, an ASIC application-specific integrated circuit, an FPGA off-the-shelf programmable gate array or other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.

[0053] The memory 120 is used to store programs or data. The memory 120 can be a RAM (Random Access Memory), a ROM (Read Only Memory), a PROM (Programmable Read-Only Memory), an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electric Erasable Programmable Read-Only Memory), etc.

[0054] The communication module 130 is used to perform signaling or data communications with other devices.

[0055] Understandably, Figure 2 The structure shown is only a schematic diagram of the structure of the electronic device 100. The electronic device 100 may also include Figure 2 More or fewer components as shown, or with Figure 2 Different configurations are shown. Figure 2 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0056] The following will take the wireless access point as the execution subject to introduce the wireless local area network connection method provided by the embodiment of the present invention. Figure 3 , is a flow chart of a wireless local area network connection method applied to a site device provided in an embodiment of the present invention.

[0057] Step S202, when updating the configuration parameters of the wireless local area network, the working mode is set to the configuration update mode, and a specific beacon frame is broadcast periodically.

[0058] In this embodiment, when the wireless access point updates the configuration parameters of the wireless local area network, it will set its own working mode to the configuration update mode, that is, enter the network configuration state, and will periodically broadcast a specific beacon frame. This specific beacon frame can be understood as a Beacon (beacon frame) carrying a specific identifier.

[0059] It can be understood that, compared with the method in the prior art that requires the user to manually press the WPS button to enable the wireless access point to enter the network configuration state, the embodiment of the present invention automatically changes the working mode when the wireless access point updates the configuration parameters, so that the wireless access point automatically enters the network configuration state, thereby eliminating the need for manual operation by the user and simplifying the operation steps.

[0060] Step S204: if a probe request frame carrying the button configuration PBC information and sent by the site device after identifying the specific beacon frame is received, the site device is authenticated according to the probe request frame.

[0061] Step S206, when the site device authentication is successful, a first probe response frame indicating support for the PBC function is sent to the site device, so that the site device receives the first probe response frame, obtains updated configuration parameters by executing the Wi-Fi Simple Configuration WSC authentication process, and connects to the wireless access point according to the updated configuration parameters.

[0062] It is understandable that PBC (Push Button Configuration) is a way of connecting to the network provided by WPS technology, that is, triggering the network connection process by pressing a button. The existing method is that the user first presses the WPS button on the wireless access point to put the wireless access point in the network configuration state for a period of time, and then the user presses the WPS button on the site device within the time period to trigger the connection process between the wireless access point and the site device.

[0063] Since the existing method is complicated and cumbersome to operate, the embodiment of the present invention simplifies the triggering operation by broadcasting a specific beacon frame and authenticating the site device. That is, during the process of the wireless access point periodically broadcasting a specific beacon frame, if a site device recognizes the specific beacon frame, it will send a probe request frame (Probe Request) carrying PBC information to the wireless access point to request the wireless access point to access the network through the PBC function.

[0064] The wireless access point will then authenticate the site device based on the received probe request frame. If the wireless access point determines that the site device is successfully authenticated, it will send a probe response frame (ProbeResponse) carrying a True mark, i.e., the first probe response frame, to the site device. It can be understood that the wireless access point accepts the site device's request to access the network through the PBC function by sending a probe response frame indicating support for the PBC function to the site device.

[0065] After receiving the first detection response frame, the site device can obtain the updated configuration parameters by executing the WSC authentication process, and connect to the wireless access point according to the updated configuration parameters to access the wireless LAN with updated configuration. Among them, the WSC (Wi-Fi Simple Configuration) authentication process is a standard process for achieving secure network connection through a simplified wireless network configuration method. That is, the user does not need to operate manually, and the site device can automatically access the wireless LAN with updated configuration.

[0066] It can be seen that based on the above steps, when the wireless access point updates the configuration parameters of the wireless LAN, it sets the working mode to the configuration update mode and periodically broadcasts a specific beacon frame; if a probe request frame carrying the button configuration PBC information sent by the site device after identifying the specific beacon frame is received, the site device is authenticated according to the probe request frame; if the site device is successfully authenticated, the first probe response frame indicating support for the PBC function is sent to the site device, so that the site device receives the first probe response frame, and obtains the updated configuration parameters by executing the Wi-Fi simple configuration WSC authentication process, and connects to the wireless access point according to the updated configuration parameters. By making the wireless access point automatically enter the network configuration state when updating the configuration, and automatically passing the WSC authentication process to access the wireless LAN when the site device is successfully authenticated. Therefore, the network with updated configuration can be automatically accessed without manual operation by the user, realizing imperceptible access to the network and improving the user experience.

[0067] Optionally, for step S204, an embodiment of the present invention provides a possible implementation method.

[0068] Step S204-1: query all MAC addresses in the database to see whether the MAC address carried by the probe request frame exists.

[0069] Step S204-3A: If yes, it is determined that the site device authentication is successful.

[0070] Step S204-3B: If it does not exist, it is determined that the site device authentication fails.

[0071] It is understandable that the database of the wireless access point stores the MAC address of each site device that has been successfully authenticated in the past. And the received probe request frame carries the MAC address of the site device. Then the wireless access point can authenticate the site device by querying the database to prevent illegal devices from accessing the wireless LAN.

[0072] In this embodiment, the wireless access point can query whether the MAC address carried by the probe request frame exists in all MAC addresses in the database. If it exists, it means that the site device sending the probe request frame has been connected to the wireless access point before, and the site device is considered not to be an illegal device, and then the authentication of the site device is determined to be successful, that is, the site device is allowed to access the wireless LAN through the WSC authentication process, thereby realizing non-perception access to the network.

[0073] If it does not exist, it means that the site device sending the probe request frame has not been connected to the wireless access point before, and it is considered that the site may be an illegal device. Then the site device authentication is determined to have failed, that is, the site device is not allowed to access the wireless LAN through the WSC authentication process. In this way, illegal devices can be prevented from accessing the wireless LAN, thereby ensuring the security of the network connection.

[0074] Optionally, after step S204, the embodiment of the present invention further provides an implementation method.

[0075] Step S208, when the site device authentication fails, a second probe response frame indicating that the PBC function is not supported is sent to the site device, so that the site device receives the second probe response frame, obtains updated configuration parameters by executing a regular authentication process, and connects to the wireless access point according to the updated configuration parameters.

[0076] In this embodiment, after the wireless access point authenticates the site device based on the received probe request frame, if it is determined that the site device authentication fails, it will send a probe response frame carrying a False mark, i.e., a second probe response frame, to the site device. It can be understood that the wireless access point rejects the request of the site device to access the network through the PBC function by sending a probe response frame indicating that the PBC function is not supported to the site device.

[0077] After receiving the second detection response frame, the site device can only obtain the updated configuration parameters by executing the regular authentication process, such as by the user manually entering the password or through WPS, and then connect to the wireless access point according to the updated configuration parameters to access the wireless LAN with the updated configuration.

[0078] The following will take the station device as the execution subject to introduce the wireless local area network connection method provided by the embodiment of the present invention. Figure 4 , is a flow chart of a wireless local area network connection method applied to a site device provided in an embodiment of the present invention.

[0079] Step S302: receiving and identifying a specific beacon frame broadcasted by a wireless access point when updating configuration parameters of a wireless local area network.

[0080] Step S304, after identifying the specific beacon frame, the working mode is set to the configuration update mode, and a probe request frame carrying the button configuration PBC information is sent to the wireless access point, so that the wireless access point authenticates the site device according to the probe request frame.

[0081] Step S306: If a first probe response frame indicating support for the PBC function is received and sent by the wireless access point when determining that the site device authentication is successful, the updated configuration parameters are obtained by executing the Wi-Fi Simple Configuration WSC authentication process, and the wireless access point is connected according to the updated configuration parameters.

[0082] In this embodiment, when the wireless access point updates the configuration parameters of the wireless local area network, it will periodically broadcast a specific beacon frame, which carries a specific identifier. When the station device receives the specific beacon frame, it will identify it.

[0083] If the site device recognizes the specific identifier carried by the specific beacon frame, it will set its own working mode to the configuration update mode, that is, enter the network configuration state, and will also send a probe request frame carrying PBC information to the wireless access point to request the wireless access point to access the network through the PBC function. The wireless access point will then authenticate the site device based on the probe request frame. If the wireless access point determines that the site device authentication is successful, it will send a probe response frame carrying a True mark, that is, the first probe response frame, to the site device to indicate that it supports the PBC function, that is, accept the site device's request to access the network through the PBC function.

[0084] After receiving the first detection response frame, the site device can obtain the updated configuration parameters by executing the WSC authentication process, and connect to the wireless access point according to the updated configuration parameters to access the wireless LAN with updated configuration. That is, the user does not need to perform manual operations, and the site device can automatically access the wireless LAN with updated configuration.

[0085] Optionally, after the above step S302, the embodiment of the present invention further provides two implementation methods.

[0086] Step S308: When the specific beacon frame is not identified, the updated configuration parameters are obtained by executing a conventional authentication process, and the wireless access point is connected according to the updated configuration parameters.

[0087] In this embodiment, if the site device does not recognize the specific identifier carried by the specific beacon frame, it can only obtain the updated configuration parameters by executing a regular authentication process, such as by the user manually entering a password or through WPS, and then connect to the wireless access point according to the updated configuration parameters to access the wireless LAN with the updated configuration.

[0088] Step S310: if a second probe response frame indicating that the PBC function is not supported is received and sent by the wireless access point when determining that the site device authentication fails, then the updated configuration parameters are obtained by executing a conventional authentication process, and the wireless access point is connected according to the updated configuration parameters.

[0089] In this embodiment, if the wireless access point determines that the site device authentication fails, it will send a probe response frame carrying a False mark, namely, a second probe response frame, to the site device to indicate that it does not support the PBC function, namely, reject the site device's request to access the network through the PBC function.

[0090] After receiving the second detection response frame, the site device can only obtain the updated configuration parameters by executing the regular authentication process, such as by the user manually entering the password or through WPS, and then connect to the wireless access point according to the updated configuration parameters to access the wireless LAN with the updated configuration.

[0091] Optionally, for step S306, an embodiment of the present invention provides a possible implementation method, namely: by executing the WSC authentication process to exchange information with the wireless access point, the local original network name or original key is updated, the updated network name or updated key is obtained, and the wireless access point is connected according to the updated network name or updated key.

[0092] In this embodiment, the configuration parameters include the network name, i.e., SSID (Service Set Identifier) ​​and the key. The site device can exchange information with the wireless access point by executing the WSC authentication process to update the local original network name or original key, and then obtain the updated network name or updated key, and then connect to the wireless access point according to the updated network name or updated key to access the wireless LAN after the updated configuration. Thus, non-perception access to the network is achieved.

[0093] In order to implement the wireless LAN connection method applied to the wireless access point in the above embodiment, an implementation method of a first wireless LAN connection device applied to the wireless access point is given below. Figure 5 , is a functional module diagram of a first wireless local area network connection device provided in an embodiment of the present invention. It should be noted that the basic principle and technical effects of the first wireless local area network connection device 400 provided in this embodiment are the same as those of the above embodiment. For the sake of brief description, for matters not mentioned in this embodiment, reference may be made to the corresponding contents in the above embodiment. The first wireless local area network connection device 400 includes:

[0094] The updating module 410 is used to set the working mode to the configuration updating mode and periodically broadcast specific beacon frames when updating the configuration parameters of the wireless local area network.

[0095] The authentication module 430 is configured to authenticate the site device according to the detection request frame if a detection request frame carrying the button configuration PBC information sent by the site device after the site device identifies the specific beacon frame is received.

[0096] The first connection module 450 is used to send a first detection response frame indicating support for the PBC function to the site device when the site device is successfully authenticated, so that the site device receives the first detection response frame, obtains updated configuration parameters by executing the Wi-Fi simple configuration WSC authentication process, and connects to the current wireless access point according to the updated configuration parameters.

[0097] Optionally, the authentication module 430 is further used to: query whether the MAC address carried by the probe request frame exists among all MAC addresses in the database; if so, determine that the site device authentication is successful; if not, determine that the site device authentication fails.

[0098] Optionally, the first connection module 450 is also used to: when the site device authentication fails, send a second probe response frame to the site device indicating that the PBC function is not supported, so that the site device receives the second probe response frame, obtains updated configuration parameters by executing a regular authentication process, and connects to the wireless access point according to the updated configuration parameters.

[0099] In order to implement the wireless LAN connection method applied to the station device in the above embodiment, an implementation method of a second wireless LAN connection device applied to the station device is given below. Figure 6 , is a functional module diagram of a second wireless LAN connection device provided in an embodiment of the present invention. It should be noted that the basic principle and technical effects of the second wireless LAN connection device 500 provided in this embodiment are the same as those of the above embodiment. For the sake of brief description, for matters not mentioned in this embodiment, reference may be made to the corresponding contents in the above embodiment. The second wireless LAN connection device 500 includes:

[0100] The identification module 510 is used to receive and identify a specific beacon frame broadcasted by a wireless access point when updating configuration parameters of a wireless local area network.

[0101] The sending module 530 is used to set the working mode to the configuration update mode after identifying the specific beacon frame, and send a detection request frame carrying the button configuration PBC information to the wireless access point, so that the wireless access point authenticates the site device according to the detection request frame.

[0102] The second connection module 550 is used to obtain updated configuration parameters by executing the Wi-Fi simple configuration WSC authentication process if a first detection response frame indicating support for the PBC function is received when the wireless access point determines that the site device authentication is successful, and connect to the wireless access point according to the updated configuration parameters.

[0103] Optionally, the second connection module 550 is further used to: when a specific beacon frame is not identified, obtain updated configuration parameters by executing a regular authentication process, and connect to the wireless access point according to the updated configuration parameters; or, if a second probe response frame indicating that the PBC function is not supported and sent by the wireless access point when it is determined that the site device authentication fails is received, obtain updated configuration parameters by executing a regular authentication process, and connect to the wireless access point according to the updated configuration parameters.

[0104] Optionally, the second connection module 550 is also used to: exchange information with the wireless access point by executing the WSC authentication process, update the local original network name or original key, obtain the updated network name or updated key, and connect to the wireless access point according to the updated network name or updated key.

[0105] An embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the wireless local area network connection method disclosed in the embodiment of the present invention is implemented.

[0106] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the wireless local area network connection method disclosed in the embodiment of the present invention is implemented.

[0107] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0108] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0109] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0110] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A wireless local area network connection method, characterized in that: Applied to a wireless access point, the method comprises: When updating the configuration parameters of the wireless local area network, the working mode is set to the configuration update mode, and a specific beacon frame is broadcast periodically; If a probe request frame carrying button configuration PBC information is received and sent by the site device after identifying the specific beacon frame, authenticating the site device according to the probe request frame; When the site device is successfully authenticated, a first probe response frame indicating support for the PBC function is sent to the site device, so that the site device receives the first probe response frame, obtains updated configuration parameters by executing the Wi-Fi Simple Configuration WSC authentication process, and connects to the wireless access point according to the updated configuration parameters.

2. The wireless local area network connection method according to claim 1, characterized in that: The database of the wireless access point stores the MAC address of each site device that has been successfully authenticated in the past, and the probe request frame carries the MAC address of the site device; The step of authenticating the site device according to the probe request frame comprises: Among all MAC addresses in the database, query whether there is a MAC address carried by the probe request frame; If so, it is determined that the site device authentication is successful; If not present, it is determined that the site device authentication fails.

3. The wireless local area network connection method according to claim 1, characterized in that: The method further comprises: In the case where the authentication of the site device fails, a second probe response frame indicating that the PBC function is not supported is sent to the site device, so that the site device receives the second probe response frame, obtains updated configuration parameters by executing a regular authentication process, and connects to the wireless access point according to the updated configuration parameters.

4. A wireless local area network connection method, characterized in that: Applied to a site device, the method comprises: receiving and identifying a specific beacon frame broadcasted by a wireless access point when updating configuration parameters of a wireless local area network; After identifying the specific beacon frame, setting the working mode to the configuration update mode, and sending a probe request frame carrying the button configuration PBC information to the wireless access point, so that the wireless access point authenticates the site device according to the probe request frame; If a first detection response frame indicating support for the PBC function is received and sent by the wireless access point when determining that the site device authentication is successful, updated configuration parameters are obtained by executing the Wi-Fi Simple Configuration WSC authentication process, and the wireless access point is connected according to the updated configuration parameters.

5. The wireless local area network connection method according to claim 4, characterized in that: The method further comprises: When the specific beacon frame is not identified, acquiring updated configuration parameters by executing a conventional authentication process, and connecting to the wireless access point according to the updated configuration parameters; or, If a second probe response frame indicating that the PBC function is not supported and sent by the wireless access point when determining that the site device authentication fails is received, updated configuration parameters are obtained by executing a conventional authentication process, and the wireless access point is connected according to the updated configuration parameters.

6. The wireless local area network connection method according to claim 4, characterized in that: The configuration parameters include a network name and a key; The step of acquiring updated configuration parameters by executing the WSC authentication process and connecting to the wireless access point according to the updated configuration parameters includes: By executing the WSC authentication process to exchange information with the wireless access point, the local original network name or original key is updated, the updated network name or updated key is obtained, and the wireless access point is connected according to the updated network name or the updated key.

7. A wireless local area network connection device, characterized in that: Applied to a wireless access point, the device comprises: An update module, used to set the working mode to the configuration update mode and periodically broadcast specific beacon frames when updating the configuration parameters of the wireless local area network; an authentication module, configured to authenticate the site device according to the detection request frame if a detection request frame carrying the button configuration PBC information sent by the site device after identifying the specific beacon frame is received; The first connection module is used to send a first detection response frame indicating support for the PBC function to the site device when the site device is authenticated successfully, so that the site device receives the first detection response frame, obtains updated configuration parameters by executing the Wi-Fi Simple Configuration WSC authentication process, and connects to the current wireless access point according to the updated configuration parameters.

8. A wireless local area network connection device, characterized in that: Applied to site equipment, the device comprises: An identification module, used to receive and identify a specific beacon frame broadcast by a wireless access point when updating configuration parameters of a wireless local area network; a sending module, configured to set the working mode to a configuration update mode after identifying the specific beacon frame, and to send a probe request frame carrying button configuration PBC information to the wireless access point, so that the wireless access point authenticates the site device according to the probe request frame; The second connection module is used to obtain updated configuration parameters by executing the Wi-Fi simple configuration WSC authentication process if a first detection response frame indicating support for the PBC function is received and sent by the wireless access point when determining that the site device authentication is successful, and connect to the wireless access point according to the updated configuration parameters.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the method for connecting to a wireless local area network described in any one of claims 1 to 3 or the method for connecting to a wireless local area network described in any one of claims 4 to 6 is implemented.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the wireless local area network connection method described in any one of claims 1 to 3 is implemented, or the wireless local area network connection method described in any one of claims 4 to 6 is implemented.

Citation Information

Patent Citations

  • Method and device for establishing wireless local area network connection

    CN108605277A