Wireless network connection method, wireless network connection system, and electronic device
Through link authentication and information interaction, the problem of wireless distribution network equipment relying on Bluetooth and cumbersome operations is solved, and low-cost and efficient wireless distribution network is achieved.
Patent Information
- Application Number
- PCT/CN2025/077021
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-29
- Filing Date
- 2025-02-12
- Publication Date
- 2025-10-02
AI Technical Summary
Existing wireless network configuration equipment requires Bluetooth functionality and the configuration process is cumbersome, making information reuse impossible.
The first device and the second device perform link authentication, device information verification, key negotiation and two-way authentication to achieve interaction and reuse of wireless network configuration information.
It achieves low-cost, fast and efficient wireless network distribution, avoids dependence on Bluetooth function, and simplifies user operations.
Smart Images

Figure CN2025077021_02102025_PF_FP_ABST
Abstract
Description
Wireless network distribution method, wireless network distribution system and electronic equipment Technical Field
[0001] The disclosed embodiments of the present application relate to the field of wireless communication technology, and more specifically, to a wireless network distribution method, a wireless network distribution system, and an electronic device. Background Art
[0002] Currently, devices on the market that require wireless network configuration are mainly implemented through Bluetooth, SoftAP, and QR code recognition. Bluetooth network configuration is the most convenient and quickest, but it requires the device to be equipped with a communication chip with Bluetooth function. At the same time, the network configuration process also requires customers to enter relevant information about the network they are about to join, and information reuse cannot be achieved, making the process relatively cumbersome. Summary of the Invention
[0003] According to the embodiments of the present application, the present application proposes a wireless network distribution method, a wireless network distribution system and an electronic device to solve the above technical problems.
[0004] The first aspect of the present application discloses a wireless network configuration method, which is applied to a first device, and the method includes: the first device receives a notification command from a third device; in response to the notification command, the first device performs link authentication with a second device that enters pairing mode; in response to the link authentication being completed, the first device verifies the device information of the second device; in response to the verification being passed, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected; the first device receives an instruction from the third device that the second device is selected; in response to the instruction that the second device is selected, the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0005] In some embodiments, the first device and the second device perform link authentication, including: the first device receives data corresponding to a management frame sent by the second device, wherein the data corresponding to the management frame includes preset data; the first device determines whether to be paired with the second device based on the preset data; in response to the first device and the second device being paired, the first device parses the data corresponding to the management frame to perform key negotiation with the second device; in response to the key negotiation being completed, the first device and the second device perform two-way authentication using a preset algorithm.
[0006] In some embodiments, the first device performs link authentication with the second device, further comprising: in response to the first device having accessed a hotspot, the first device enters sleep mode to perform link authentication with the second device that has entered pairing mode, wherein the sleep mode indicates that the hotspot does not send data to the first device; in response to the first device not having accessed a hotspot, the first device directly performs link authentication with the second device that has entered pairing mode.
[0007] In some embodiments, the first device verifies the device information of the second device, including: in response to the completion of link authentication, the first device receives the device information of the second device sent by the second device; the first device sends the device information of the second device to a fourth device for record verification, thereby realizing the verification of the device information of the second device.
[0008] In some embodiments, in response to the notification command, the first device enters a listening mode to perform link authentication with the second device that has entered a pairing mode.
[0009] The second aspect of the present application discloses a wireless network configuration method, including: applied to a second device, the method including: in response to the second device entering pairing mode, the second device performing link authentication with a first device entering listening mode, wherein the link authentication is completed for instructing the first device to verify the device information of the second device, the verification of the device information of the second device is passed for instructing the first device to send the device information of the second device to the third device, the device information of the second device is used to instruct the third device to send an instruction that the second device is selected to the first device, and the instruction that the second device is selected is used to instruct the first device to send the network configuration information of the first device to the second device; the second device receives the network configuration information of the first device from the first device, and performs network configuration based on the network configuration information of the first device.
[0010] In some embodiments, the second device performs link authentication with the first device, including: the second device manages frames based on preset rules to obtain data corresponding to the management frames, wherein the data corresponding to the management frames include preset data; in response to the second device being paired with the first device, the second device performs key negotiation with the first device, wherein the pairing of the second device with the first device is determined based on the preset data; in response to the key negotiation being completed, the second device performs two-way authentication with the first device using a preset algorithm.
[0011] In some embodiments, the second device performs link authentication with the first device, further comprising: in response to not detecting the first device, the second device broadcasts the data corresponding to the management frame in a multi-channel manner; in response to detecting the first device, the second device broadcasts the data corresponding to the management frame in a single-channel manner.
[0012] In some embodiments, in response to a network configuration instruction, the second device initiates a network connection; the second device performs device registration verification with a fourth device; in response to completion of the device registration verification, the second device sends a completion instruction to the first device, thereby achieving wireless network configuration.
[0013] The third aspect of the present application discloses a wireless network configuration method, including: applied to a third device, the method including: the third device determines a first device bound to the third device, and sends a notification command to the first device, wherein the first device is in a listening mode to perform a link authentication with a second device entering a pairing mode, wherein the link authentication is completed to instruct the first device to verify the device information of the second device, and the verification of the device information of the second device is passed to instruct the first device to send the device information of the second device to the third device; in response to receiving the device information of the second device from the first device, the third device sends an instruction to the first device that the second device is selected, so that the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0014] In some embodiments, the third device prompts to send a network configuration instruction to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0015] In some embodiments, the third device sends an instruction to the first device that the second device is selected, including: in response to the first device receiving the instruction to select the second device, the third device sends an instruction to the first device that the second device is selected, so that the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0016] In some embodiments, the third device displays the second device based on the device information of the second device, so that the third device receives an instruction to select the second device.
[0017] The fourth aspect of the present application discloses a wireless network distribution system, which includes at least a first device for executing the wireless network distribution method as described in the first aspect; and a second device for executing the wireless network distribution method as described in the second aspect.
[0018] In a fifth aspect, the present application discloses a wireless network configuration method, which is applied to a wireless network configuration system, wherein the wireless network configuration system includes a first device and a second device, and the method includes: the first device receives a notification command from a third device; in response to the notification command, the first device performs link authentication with the second device entering pairing mode; in response to the link authentication being completed, the first device verifies the device information of the second device; in response to the verification being passed, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected; the first device receives an instruction from the third device that the second device is selected; in response to the instruction that the second device is selected, the first device sends the network configuration information of the first device to the second device; the second device receives the network configuration information of the first device and performs network configuration based on the network configuration information of the first device.
[0019] The sixth aspect of the present application discloses an electronic device, comprising a memory and a processor coupled to each other, wherein the processor is configured to execute program instructions stored in the memory to implement the wireless network configuration method described in the first, second and third aspects.
[0020] The seventh aspect of the present application discloses a first electronic device, comprising a memory and a processor coupled to each other, the processor being used to execute program instructions stored in the memory to achieve: the first device receives a notification command from a third device; in response to the notification command, the first device performs link authentication with a second device entering pairing mode; in response to completion of the link authentication, the first device verifies the device information of the second device; in response to the verification being passed, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected; the first device receives an instruction from the third device that the second device is selected; in response to the instruction that the second device is selected, the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0021] In some embodiments, the first device and the second device perform link authentication, including: the first device receives data corresponding to a management frame sent by the second device, wherein the data corresponding to the management frame includes preset data; the first device determines whether to be paired with the second device based on the preset data; in response to the first device and the second device being paired, the first device parses the data corresponding to the management frame to perform key negotiation with the second device; in response to the key negotiation being completed, the first device and the second device perform two-way authentication using a preset algorithm.
[0022] In an eighth aspect, the present application discloses a second electronic device, comprising a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to achieve: in response to the second device entering pairing mode, performing link authentication with the first device entering listening mode, wherein the link authentication is completed to instruct the first device to verify the device information of the second device, and the verification of the device information of the second device is passed to instruct the first device to send the device information of the second device to the third device, and the device information of the second device is used to instruct the third device to send an instruction that the second device is selected to the first device, and the instruction that the second device is selected is used to instruct the first device to send the network configuration information of the first device to the second device; the second device receives the network configuration information of the first device from the first device, and performs network configuration based on the network configuration information of the first device.
[0023] In some embodiments, the second device performs link authentication with the first device, including: the second device manages frames based on preset rules to obtain data corresponding to the management frames, wherein the data corresponding to the management frames include preset data; in response to the second device being paired with the first device, the second device performs key negotiation with the first device, wherein the pairing of the second device with the first device is determined based on the preset data; in response to the key negotiation being completed, the second device performs two-way authentication with the first device using a preset algorithm.
[0024] The beneficial effects of the present application are as follows: the first device receives a notification command from the third device, and in response to the notification command, the first device performs link authentication with the second device that enters the pairing mode, and in response to the completion of the link authentication, the first device verifies the device information of the second device, and after the verification is passed, the first device sends the device information of the second device to the third device, and the third device receives the device information of the second device, thereby sending an instruction to the first device that the second device is selected. Furthermore, the first device sends the network configuration information of the first device to the second device, and the second device directly performs network configuration based on the network configuration information of the first device. That is to say, device discovery can be achieved only by using the wireless network configuration method, and Bluetooth function support is not required, and the hardware cost is low; and the wireless network configuration process is simple, and the main interaction can be completed by communication and authentication between devices to realize information reuse, without the need for user participation, that is, low-cost, fast and efficient wireless network configuration is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The present application will be further described below with reference to the accompanying drawings and implementation methods, in which:
[0026] FIG1 is a flow chart of a wireless network configuration method according to an embodiment of the present application;
[0027] FIG2 is a flow chart of a wireless network configuration method according to another embodiment of the present invention;
[0028] FIG3 is a schematic diagram of a data frame corresponding to a management frame according to an embodiment of the present application;
[0029] FIG4 is a schematic diagram of the effect of radio frequency time division multiplexing according to an embodiment of the present application;
[0030] FIG5 is a flow chart of a wireless network configuration method according to another embodiment of the present application;
[0031] FIG6 is an interactive diagram of a wireless network configuration method according to an embodiment of the present application;
[0032] FIG7 is a schematic diagram of the interaction of link authentication in an embodiment of the present application;
[0033] FIG8 is a schematic diagram of a flow chart of a wireless network configuration method according to an embodiment of the present application;
[0034] FIG9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
[0035] FIG10 is a schematic structural diagram of a wireless network distribution system according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0037] The term "and / or" in this application is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of, for example, including at least one of A, B, and C, can mean including any one or more elements selected from the set consisting of A, B, and C. In addition, the terms "first", "second", and "third" in this application are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0038] In order to enable those skilled in the art to better understand the technical solution of the present application, the technical solution of the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0039] Please refer to FIG1 , which is a flow chart illustrating a wireless network configuration method according to an embodiment of the present application, as applied to a first electronic device. Specifically, the method can be applied to electronic devices with computing functions, such as audio and video equipment, lighting systems, curtain controls, air conditioning controls, security systems, digital cinema systems, audio and video servers, video cabinet systems, network appliances, and the like. It should be noted that the method of the present application is not limited to the flow chart shown in FIG1 , provided that substantially the same result is achieved.
[0040] In some possible implementations, the method may be implemented by a processor calling computer-readable instructions stored in a memory. As shown in FIG1 , the method may include the following steps:
[0041] S11: The first device receives a notification command from the third device.
[0042] The third device can be a mobile phone used to run programs, and the first device can be a network-connected device, meaning that the first device can communicate and interact with the third device. The first device receives a notification command from the third device. For example, first device X receives a notification command from third device Z. This notification command is issued by third device Z when third device Z accesses the device binding interface through a related application and finds a first device X that meets the requirements. In response to the notification command, first device X enters listening mode to interact with other devices. Alternatively, if first device X is already in listening mode, it can interact with other devices based on a notification command issued by third device Z, such as an authorization instruction.
[0043] S12: In response to the notification command, the first device performs link authentication with the second device that enters pairing mode.
[0044] In response to the notification command, the first device performs link authentication with the second device that has entered pairing mode. The second device may be an unpaired device, that is, the second device has not yet been able to communicate and interact with the third device. For example, in response to the first device X receiving the notification command from the third device Z, the first device X performs link authentication with the second device Y that has entered pairing mode. For example, the second device Y may enter pairing mode by pressing a relevant button to alternately send Wi-Fi and / or BLE (Bluetooth Low Energy) broadcast packets, thereby performing link authentication between the first device X and the second device Y.
[0045] S13: In response to the link authentication being completed, the first device verifies the device information of the second device.
[0046] In response to the completion of link authentication, the first device verifies the device information of the second device. For example, in response to the completion of link authentication between the first device X and the second device Y, the first device X verifies the device information of the second device Y, where the device information of the second device Y may be parameter information such as the SN (Serial Number) and MAC (Media Access Control) of the second device Y. The first device X sends the device information of the second device Y to the background server for verification.
[0047] S14: In response to the verification being successful, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected.
[0048] In response to successful verification, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected. For example, the first device X sends the device information of the second device Y to the background server for verification. If the verification is successful, the first device X sends the device information of the second device Y to the third device Z. In response to the third device Z receiving the device information of the second device Y from the first device X, the third device Z sends an instruction to the first device X that the second device Y is selected, wherein the instruction to select the second device Y is generated by displaying the second device Y on the operation interface of the third device Z and being selected by the user.
[0049] S15: The first device receives an instruction from the third device that the second device is selected.
[0050] The first device receives an instruction from the third device that the second device is selected. For example, the first device X receives an instruction from the third device Z that the second device Y is selected. That is, the second device Y is displayed on the operation interface of the third device Z and the user clicks to select it. The third device Z sends the instruction that the second device Y is selected, and then the first device X receives the instruction that the second device Y is selected.
[0051] S16: In response to the instruction that the second device is selected, the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0052] In response to an instruction to select a second device, for example, the first device X receives an instruction to select a second device Y from the third device Z, the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device. That is, the first device X sends the network configuration information of the first device X to the second device Y, so that the second device Y performs network configuration based on the network configuration information of the first device X. The network configuration information of the first device X includes the SSID (Service Set Identifier) and PWD (password) of the first device X.
[0053] In this embodiment, the first device receives a notification command from the third device. In response to the notification command, the first device performs link authentication with the second device that enters pairing mode, and in response to the completion of the link authentication, the first device verifies the device information of the second device. After the verification is passed, the first device sends the device information of the second device to the third device. The third device receives the device information of the second device, and thereby sends an instruction to the first device that the second device is selected. Furthermore, the first device sends the network configuration information of the first device to the second device, and the second device directly performs network configuration based on the network configuration information of the first device. That is to say, device discovery can be achieved using only the wireless network configuration method, and Bluetooth function support is not required, and the hardware cost is low. In addition, the wireless network configuration process is simple, and the main interaction can be completed by communication and authentication between devices to realize information reuse, without user participation, that is, low-cost, fast and efficient wireless network configuration is achieved.
[0054] In some embodiments, a first device and a second device perform link authentication, including: the first device receives data corresponding to a management frame sent by the second device, wherein the data corresponding to the management frame includes preset data; the first device determines whether to be paired with the second device based on the preset data; in response to the pairing of the first device and the second device, the first device parses the data corresponding to the management frame to perform key negotiation with the second device; in response to the completion of the key negotiation, the first device and the second device perform two-way authentication using a preset algorithm.
[0055] The first device receives data corresponding to a management frame sent by the second device. For example, after the first device X enters listening mode and the second device Y enters pairing mode, the first device X receives data corresponding to a management frame sent by the second device Y. The data corresponding to the management frame includes preset data. The preset data may be structured ID data used to determine whether the data is paired, such as custom element ID data. The custom element ID data includes three types: a HANDSHAKE Communication ID, which is used for establishing a secure link; an Endpoint to Endpoint Communication ID, which is used for point-to-point communication after the secure link is established; and a Group Communication ID, which is used for multicast communication. The data packet length is limited to a maximum of 255 bytes.
[0056] The first device determines whether it is paired with the second device based on preset data. For example, when the first device X receives data corresponding to a management frame sent by the second device Y, the first device X determines whether it is a pairing-related management frame based on the custom element ID and the payload data prefix. In response to the pairing of the first and second devices, that is, in response to the management frame data sent by the second device Y being management frame data related to pairing with the first device X, the first device X parses the data corresponding to the management frame to negotiate a key with the second device Y. Alternatively, in response to the first device X determining that the management frame data sent by the second device Y is not a pairing-related management frame based on the custom element ID and the payload data prefix, the first device X discards the data without processing. In response to the completion of key negotiation, the first and second devices perform bidirectional authentication using a preset algorithm. For example, in response to the completion of key negotiation between the first and second devices X and Y, the first and second devices X perform bidirectional authentication using a preset algorithm, where the preset algorithm can be a custom challenge-response algorithm.
[0057] In some embodiments, the link authentication between the first device and the second device also includes: in response to the first device having accessed the hotspot, the first device enters sleep mode to perform link authentication with the second device that has entered pairing mode, wherein the sleep mode indicates that the hotspot does not send data to the first device; in response to the first device not having accessed the hotspot, the first device directly performs link authentication with the second device that has entered pairing mode.
[0058] In response to the first device having accessed the hotspot, the first device enters sleep mode to perform link authentication with the second device that has entered pairing mode, where sleep mode means that the hotspot does not send data to the first device, that is, before sending management frame data, for the first device (STA) that has accessed the hotspot (AP), the first device first sends a sleep command to the hotspot to inform the hotspot that the first device will enter sleep mode to receive / send data corresponding to the management frame. During this period, the data sent to the first device is cached in the hotspot and not sent to the first device. After completing the link authentication, the first device sends a request to exit sleep mode and perform normal reception. If there is data related to the first device (STA data), the hotspot sends the data to the first device. In response to the first device not accessing the hotspot, the first device directly performs link authentication with the second device that has entered pairing mode, that is, the first device does not access the hotspot, and the first device directly receives / sends data corresponding to the management frame to perform link authentication with the second device that has entered pairing mode.
[0059] In some embodiments, the first device verifies the device information of the second device, including: in response to the completion of link authentication, the first device receives the device information of the second device sent by the second device; the first device sends the device information of the second device to a fourth device for record verification, thereby realizing the verification of the device information of the second device.
[0060] In response to the completion of link authentication between the first device and the second device, the first device receives the device information of the second device sent by the second device, and the first device sends the device information of the second device to the fourth device for record verification, thereby verifying the device information of the second device. For example, the first device X receives the device information of the second device Y sent by the second device Y, where the device information of the second device Y may be parameter information such as the SN (Serial Number) and MAC (Media Access Control) of the second device Y. The first device X sends the device information of the second device Y to the fourth device W for record verification, thereby verifying the device information of the second device Y. The fourth device W may be a background server. In response to the verification being successful, the fourth device W sends a confirmation message to the first device X.
[0061] Further, in some embodiments, in response to the notification command, the first device enters a listening mode to perform link authentication with the second device that enters a pairing mode.
[0062] The first device receives a notification command from a third device. In response to the notification command, the first device enters a listening mode to perform link authentication with a second device that has entered pairing mode. For example, in response to first device X receiving a notification command from third device Z, first device X enters a listening mode to perform link authentication with second device Y that has entered pairing mode. For example, second device Y can enter pairing mode by pressing a relevant button to alternately send Wi-Fi and / or BLE (Bluetooth Low Energy) advertising packets, thereby performing link authentication between first device X and second device Y. Further, in response to completion of link authentication, first device X verifies the device information of second device Y. In response to successful verification, first device X sends the device information of second device Y to third device Z, causing third device Z to send an instruction to select second device Y to first device X. First device X receives the instruction to select second device Y from third device Z. In response to the instruction to select second device Y, first device X sends the network configuration information of first device X to second device Y, causing second device Y to perform network configuration based on the network configuration information of first device X.
[0063] Please refer to FIG2 , which is a flowchart illustrating a wireless network configuration method according to another embodiment of the present application, applied to a second electronic device. Specifically, the method can be applied to electronic devices with computing functions, such as audio and video equipment, lighting systems, curtain controls, air conditioning controls, security systems, digital cinema systems, audio and video servers, video cabinet systems, network appliances, etc. It should be noted that the method of the present application is not limited to the flowchart sequence shown in FIG2 , provided that substantially the same result is achieved.
[0064] In some possible implementations, the method may be implemented by a processor calling computer-readable instructions stored in a memory. As shown in FIG2 , the method may include the following steps:
[0065] S21: In response to the second device entering pairing mode, link authentication is performed with the first device entering listening mode, wherein the completion of link authentication is used to instruct the first device to verify the device information of the second device, the verification of the device information of the second device is passed and is used to instruct the first device to send the device information of the second device to the third device, the device information of the second device is used to instruct the third device to send an instruction to the first device that the second device is selected, and the instruction to select the second device is used to instruct the first device to send the network configuration information of the first device to the second device.
[0066] The third device may be a mobile phone used to run the program, the first device may be a network-connected device, that is, the first device can communicate and interact with the third device, and the second device may be an unconnected device, that is, the second device cannot communicate and interact with the third device.
[0067] In response to the second device entering pairing mode, the second device performs link authentication with the first device entering listening mode. For example, the second device Y enters pairing mode by pressing a related button, such as a pairing button, to alternately send Wi-Fi and BLE broadcast packets, and then the second device Y performs link authentication with the first device X entering listening mode. In response to the completion of the link authentication, the first device verifies the device information of the second device, and in response to the verification being successful, sends the device information of the second device to the third device. For example, after the link authentication between the first device X and the second device Y is completed, the first device X verifies the device information of the second device Y. For example, the device information of the second device Y can be parameter information such as the SN (Serial Number) and MAC (Media Access Control) of the second device Y. The first device X sends the device information of the second device Y to the background server for verification. Further, in response to the verification being successful, the first device X sends the device information of the second device Y to the third device Z.
[0068] Furthermore, the third device sends an instruction to the first device that the second device is selected, thereby causing the first device to send the network configuration information of the first device to the second device. That is, after the user clicks the relevant logo of the second device Y on the operation interface of the third device Z, the third device Z sends an instruction to the first device X that the second device Y is selected, and then the first device X sends the network configuration information of the first device X to the second device Y, so that the second device Y performs network configuration based on the network configuration information of the first device X, wherein the network configuration information of the first device X includes the SSID and PWD of the first device X.
[0069] S22: The second device receives the network configuration information of the first device from the first device, and performs network configuration based on the network configuration information of the first device.
[0070] The second device receives the network configuration information of the first device from the first device and performs network configuration based on the network configuration information of the first device. For example, the second device Y receives the network configuration information of the first device X from the first device X and performs network configuration based on the network configuration information of the first device X. That is, the second device Y is connected to the network to communicate and interact with the third device Z.
[0071] In some embodiments, the second device performs link authentication with the first device, including: the second device manages the frame based on preset rules to obtain data corresponding to the management frame, wherein the data corresponding to the management frame includes preset data; in response to the second device being paired with the first device, the second device performs key negotiation with the first device, wherein in response to the first device receiving the data corresponding to the management frame sent by the second device, the first device determines whether to be paired with the second device based on the preset data, and parses the data corresponding to the management frame in response to the pairing; in response to the key negotiation being completed, the second device and the first device perform two-way authentication using a preset algorithm.
[0072] The second device manages the frame based on the preset rules to obtain data corresponding to the management frame, wherein the data corresponding to the management frame includes custom element (Element) ID data. For example, the second device multiplexes the management frame through the 802.11 protocol, wherein 802.11 is a set of wireless local area network (WLAN) standards established by IEEE (Institute of Electrical and Electronics Engineers). The second device multiplexes the management frame through the 802.11 protocol and adds preset data, such as custom element ID data, to initiate a secure link establishment request. As shown in Figure 3, Figure 3 is a framework diagram of the data corresponding to the management frame of an embodiment of the present application. The data corresponding to the management frame includes a MAC header address (MAC Header), element data (Element) and FCS. A custom element ID data may include Element_ID, Lengh, Value, wherein the custom element ID data includes three types: HANDSHAKE Communication ID (handshake communication ID), used for secure link establishment; Endpoint to Endpoint Communication ID (end-to-end communication ID), used for point-to-point communication after the secure link is established; Group Communication ID (multicast communication ID), used for multicast communication, and the data packet length is limited to a maximum of 255 bytes. For pre-set data, a fixed data format header is added to easily distinguish whether it is data from devices within the ecosystem. The data format header includes a specific prefix code, message sequence number, encryption method, protocol version, command word, etc. It can be understood that through the reuse of 802.11 protocols, local networking communication between devices is achieved.
[0073] Furthermore, in response to the first device receiving data corresponding to a management frame sent by the second device, for example, the first device X receiving data corresponding to a management frame sent by the second device Y, the first device X determines whether to pair with the second device based on preset data. That is, in response to the management frame data sent by the second device Y being management frame data related to pairing with the first device X, the first device X parses the data corresponding to the management frame. Then, in response to the second device Y pairing with the first device X, the second device Y performs key negotiation with the first device X. In response to the key negotiation being completed, the second device Y and the first device X perform two-way authentication using a preset algorithm, where the preset algorithm may be a custom challenge-response algorithm.
[0074] In some embodiments, the second device performs link authentication with the first device, further comprising: in response to not detecting the second device, the second device broadcasts the data corresponding to the management frame in a multi-channel manner; in response to detecting the second device, the second device broadcasts the data corresponding to the management frame in a single-channel manner.
[0075] In response to the failure to detect the second device, the second device broadcasts the data corresponding to the management frame in a multi-channel manner, that is, before the first device channel is detected, the channel polling method is used to send data in sequence on the local compliant channel according to the configured number of transmissions and receiving times. After each channel is completed, it switches back to the normal channel and informs the hotspot to enter normal mode to receive data. This cycle is repeated, as shown in Figure 4. Figure 4 is a schematic diagram of the effect of radio frequency time-division multiplexing of an embodiment of the present application. The device switches back and forth between the channel where it works (for example, 1Ch) and the channel where a probe needs to be sent, so as to realize the sending and receiving of data on different channels. It can be understood that through RF (Radio Frequency) time-division multiplexing, the device can communicate on multiple channels. In response to the detection of the second device, the second device broadcasts the data corresponding to the management frame in a single-channel manner, that is, it only sends it on the device channel that needs to communicate.
[0076] In some embodiments, in response to a network configuration instruction, the second device initiates a network connection; the second device performs device registration verification with a fourth device; in response to completion of the device registration verification, the second device sends a completion instruction to the third device, thereby achieving wireless network configuration.
[0077] In response to the network configuration instruction, the second device initiates a network connection. For example, the user presses the network configuration button on the second device Y, so that the second device Y initiates a network connection, and then the second device Y and the fourth device W perform device registration verification. The fourth device W can be a background server. It can be understood that the network configuration button and pairing button mentioned above can be the same button or two buttons. The button can be in the form of hardware or icon, and there is no specific limitation.
[0078] In response to the completion of the device registration verification, the second device Y sends a completion instruction to the third device Z, thereby realizing wireless network configuration. That is, after successful registration, the second device Y and the third device Z can communicate directly, the network configuration process ends, and the third device Z enters the new device usage guidance interface.
[0079] Please refer to Figure 5, which is a flow chart of a wireless network distribution method according to another embodiment of the present application, which is applied to a third device. For example, the execution subject of the method (i.e., the third device) can be an electronic device with computing functions, such as a microcomputer, a laptop computer, a tablet computer, a mobile phone, and other mobile devices.
[0080] It should be noted that the method of the present application is not limited to the process sequence shown in FIG. 5 if substantially the same result is achieved.
[0081] In some possible implementations, the method may be implemented by a processor calling computer-readable instructions stored in a memory. As shown in FIG5 , the method may include the following steps:
[0082] S51: The third device determines the first device bound to the third device and sends a notification command to the first device, wherein the first device is in listening mode to perform link authentication with the second device entering pairing mode, wherein the completion of link authentication is used to instruct the first device to verify the device information of the second device, and the verification of the device information of the second device is passed to instruct the first device to send the device information of the second device to the third device.
[0083] The third device determines the first device bound to the third device. The third device may be a mobile phone used to run a program, and the first device may be a network-provisioned device, that is, the first device can communicate and interact with the third device. For example, the third device Z enters the device binding interface through a related application, and then the third device Z searches for a device that supports fast network provisioning. For example, if the third device Z finds the first device X that can achieve device discovery, the third device Z sends a notification command to the first device X to cause the first device X to enter the listening mode, and the first device X sends a confirmation message of entering the listening mode to the third device Z.
[0084] In this case, the first device enters listening mode to perform link authentication with the second device that enters pairing mode. The second device may be an unpaired device, i.e., the second device has not yet communicated with a third device. For example, the first device X enters listening mode to perform link authentication with the second device Y that enters pairing mode. The second device Y enters pairing mode by pressing a relevant key, such as a pairing key, to alternately send Wi-Fi and / or BLE advertising packets to perform link authentication with the first device X. Link authentication completion is used to instruct the first device to verify the device information of the second device and, in response to successful verification, send the device information of the second device to the third device. In other words, in response to link authentication completion, the first device verifies the device information of the second device and, in response to successful verification, sends the device information of the second device to the third device. For example, when link authentication is completed between the first device X and the second device Y, the first device X verifies the device information of the second device Y, such as parameter information such as the SN (Serial Number) and MAC (Media Access Control) of the second device Y. The first device X sends the device information of the second device Y to the backend server for verification. Further, in response to successful verification, the first device X sends the device information of the second device Y to the third device Z.
[0085] S52: In response to receiving the device information of the second device from the first device, the third device sends an instruction to the first device that the second device is selected, so that the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0086] In response to receiving device information of the second device from the first device, that is, the third device Z receives device information of the second device Y from the first device X, the second device Y is displayed on the operation interface of the third device Z for the user to click and select. The third device sends an instruction to the first device to select the second device, so that the first device sends the first device's network configuration information to the second device. The first device's network configuration information includes the first device's SSID (Service Set Identifier) and PWD (Password), so that the second device can perform network configuration based on the first device's network configuration information. For example, after the user clicks the relevant identification of the second device Y on the operation interface of the third device Z, the third device Z sends an instruction to the first device X to select the second device Y, where the identification information of the second device Y can be displayed in the form of text or graphics on the operation interface of the third device Z, and the specific form is not limited. Furthermore, the first device X sends the first device X's network configuration information to the second device Y, so that the second device Y can perform network configuration based on the first device X's network configuration information. The first device X's network configuration information includes the first device X's SSID and PWD.
[0087] In some embodiments, the third device prompts to send a network configuration instruction to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0088] After the first device sends the network configuration information of the first device to the second device, the third device prompts the user to send a network configuration instruction to the second device. For example, the third device Z prompts the user to press the network configuration button on the second device Y so that the second device Y initiates a network connection, and then the second device Y performs network configuration based on the network configuration information of the first device X.
[0089] In some embodiments, the third device sends an instruction to the first device that the second device is selected, including: in response to the third device receiving the instruction to select the second device, the third device sends an instruction to the first device that the second device is selected, so that the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
[0090] In response to the third device receiving the instruction to select the second device, the third device sends the instruction that the second device is selected to the first device. For example, the third device Z receives the instruction information that the user clicks on the second device Y on the operation interface of the third device Z, and the third device Z sends a confirmation message to the first device X, which in turn causes the first device X to send the network configuration information of the first device X to the second device Y, so that the second device Y performs network configuration based on the network configuration information of the first device X, where the network configuration information of the first device X includes the SSID and PWD of the first device X.
[0091] In some embodiments, the third device displays the second device based on the device information of the second device, so that the third device receives an instruction to select the second device.
[0092] The third device displays the second device based on the device information of the second device, so that the third device receives an instruction to select the second device. For example, the third device Z displays the second device Y based on the device information of the second device Y. For example, based on the device information of the second device Y, the identification information of the second device Y is displayed on the operation interface of the third device Z for the user to select and click, so that the third device Z receives an instruction to select the second device Y.
[0093] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0094] Please refer to FIG6 , which is an interactive diagram of a wireless network configuration method according to an embodiment of the present application. The communication method described in this embodiment may include the following steps:
[0095] S611: The third device determines the first device bound to the third device.
[0096] The third device Z enters the device binding interface through a related application, and then the third device Z searches for a device that supports fast network configuration, that is, determines the first device bound to the third device, for example, queries the first device X that can realize device discovery.
[0097] S612: The third device sends a notification command.
[0098] The third device Z sends a notification command to the first device X, so that the first device X enters the listening mode.
[0099] S613: The first device enters a monitoring mode.
[0100] S614: The first device sends a confirmation message.
[0101] The first device X enters the listening mode, and the first device X sends a confirmation message of entering the listening mode to the third device Z.
[0102] S615: The second device enters pairing mode.
[0103] The second device Y enters pairing mode by pressing a related button, such as a pairing button, to send Wi-Fi and BLE advertising packets alternately.
[0104] S616: The second device performs link authentication with the first device.
[0105] The first device X receives data corresponding to a management frame sent by the second device Y, where the data corresponding to the management frame includes preset data. The first device X determines whether to pair with the second device Y based on the preset data. In response to the first device X and the second device Y being paired, the first device X parses the data corresponding to the management frame to perform key negotiation with the second device Y. In response to the key negotiation being completed, the first device X and the second device Y perform bidirectional authentication using a preset algorithm, thereby completing link authentication.
[0106] S617: The second device sends the device information of the second device to the first device.
[0107] The device information of the second device includes parameter information such as SN (Serial Number) and MAC (Media Access Control).
[0108] S618: The first device verifies the device information of the second device.
[0109] In response to the completion of the link authentication, the first device X receives the device information of the second device Y sent by the second device Y. The first device X sends the device information of the second device Y to the fourth device W for record verification, thereby verifying the device information of the second device Y. The fourth device W can be a background server.
[0110] S619: The verification is successful, and the fourth device W sends a confirmation message to the first device X.
[0111] S620: The first device sends device information of the second device.
[0112] S621: The third device displays the second device.
[0113] The third device Z displays the second device Y based on the device information of the second device Y, so that the third device Z receives an instruction to select the second device Y.
[0114] S622: The third device sends an instruction indicating that the second device is selected.
[0115] The identification information of the second device Y is displayed on the operation interface of the third device Z for the user to select and click, so that the third device Z receives and sends an instruction that the second device Y is selected.
[0116] S623: The first device sends the network configuration information of the first device.
[0117] The network configuration information of the first device includes the SSID (Service Set Identifier) and PWD (password) of the first device.
[0118] S624: The third device prompts the user to press the network configuration button of the second device.
[0119] S625: The second device responds to the network configuration instruction and initiates a network connection.
[0120] S626: The second device and the fourth device perform device registration verification.
[0121] S627: The second device sends a completion instruction.
[0122] S628: The third device enters the device usage guidance interface.
[0123] Please refer to FIG. 7 , which is a schematic diagram of the interaction of link authentication in an embodiment of the present application. The communication method described in this embodiment may include the following steps:
[0124] S710: The second device selects private key a and generates a public key A=aG, that is, the second device selects private key a and generates public key A=aG through the agreed elliptic curve.
[0125] S711: The second device sends the public key A, that is, the second device sends the public key A to the first device.
[0126] S712: The first device selects a private key b and generates a public key B=bG. That is, the first device selects the private key b and generates a public key B=bG through an agreed elliptic curve.
[0127] S713: The first device sends the public key B, that is, the first device sends the public key B to the second device.
[0128] S714: The first device generates a session key ShareX=Ba=baG.
[0129] S715: The second device generates a session key ShareX=aB=abG.
[0130] S716: The second device sends a random number C challenge.
[0131] S717: The first device decrypts the random number C, replies with the random number C and sends a random number D as a challenge.
[0132] S718: The second device confirms its identity, decrypts the random number D and responds.
[0133] S719: The first device performs identity confirmation and enters normal communication state.
[0134] Please refer to FIG8 , which is a flow chart of a wireless network distribution method according to an embodiment of the present application. The method is applied to a wireless network distribution system comprising a first device and a second device. Specifically, the method can be applied to electronic devices with computing functions, such as audio and video equipment, lighting systems, curtain controls, air conditioning controls, security systems, digital cinema systems, audio and video servers, video cabinet systems, and network appliances. It should be noted that the method of the present application is not limited to the flow chart shown in FIG8 , provided that substantially the same results are achieved.
[0135] In some possible implementations, the method may be implemented by a processor calling computer-readable instructions stored in a memory. As shown in FIG8 , the method may include the following steps:
[0136] S81: The first device receives a notification command from the third device.
[0137] The third device may be a mobile phone used to run a program, and the first device may be a network-connected device, that is, the first device can communicate and interact with the third device. The first device receives a notification command from the third device. For example, first device X receives a notification command from third device Z. The notification command is issued by third device Z when third device Z enters the device binding interface through a related application and queries for a first device X that meets the conditions. In response to the notification command, first device X enters listening mode to interact with other devices. Alternatively, first device X, already in listening mode, interacts with other devices based on a notification command, such as an authorization instruction, issued by third device Z.
[0138] S82: In response to the notification command, the first device performs link authentication with the second device that enters pairing mode.
[0139] In response to the notification command, the first device performs link authentication with the second device that has entered pairing mode. The second device may be an unpaired device, that is, the second device has not yet been able to communicate and interact with the third device. For example, in response to the first device X receiving the notification command from the third device Z, the first device X performs link authentication with the second device Y that has entered pairing mode. For example, the second device Y may enter pairing mode by pressing a relevant button to alternately send Wi-Fi and / or BLE (Bluetooth Low Energy) broadcast packets, thereby performing link authentication between the first device X and the second device Y.
[0140] S83: In response to the link authentication being completed, the first device verifies the device information of the second device.
[0141] In response to the completion of link authentication, the first device verifies the device information of the second device. For example, in response to the completion of link authentication between the first device X and the second device Y, the first device X verifies the device information of the second device Y, where the device information of the second device Y may be parameter information such as the SN (Serial Number) and MAC (Media Access Control) of the second device Y. The first device X sends the device information of the second device Y to the background server for verification.
[0142] S84: In response to the verification being successful, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected.
[0143] In response to successful verification, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected. For example, the first device X sends the device information of the second device Y to the background server for verification. If the verification is successful, the first device X sends the device information of the second device Y to the third device Z. In response to the third device Z receiving the device information of the second device Y from the first device X, the third device Z sends an instruction to the first device X that the second device Y is selected, wherein the instruction to select the second device Y is generated by displaying the second device Y on the operation interface of the third device Z and being selected by the user.
[0144] S85: The first device receives an instruction from the third device that the second device is selected.
[0145] The first device receives an instruction from the third device that the second device is selected. For example, the first device X receives an instruction from the third device Z that the second device Y is selected. That is, the second device Y is displayed on the operation interface of the third device Z and the user clicks to select it. The third device Z sends the instruction that the second device Y is selected, and then the first device X receives the instruction that the second device Y is selected.
[0146] S86: In response to the instruction that the second device is selected, the first device sends the network configuration information of the first device to the second device.
[0147] In response to an instruction to select a second device, for example, the first device X receives an instruction to select a second device Y from the third device Z, the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device. That is, the first device X sends the network configuration information of the first device X to the second device Y, so that the second device Y performs network configuration based on the network configuration information of the first device X. The network configuration information of the first device X includes the SSID (Service Set Identifier) and PWD (password) of the first device X.
[0148] S87: The second device receives the network configuration information of the first device, and performs network configuration based on the network configuration information of the first device.
[0149] The second device receives the network configuration information of the first device from the first device and performs network configuration based on the network configuration information of the first device. For example, the second device Y receives the network configuration information of the first device X from the first device X and performs network configuration based on the network configuration information of the first device X. That is, the second device Y is connected to the network to communicate and interact with the third device Z.
[0150] Please refer to Figure 9, which is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Electronic device 90 includes a memory 91 and a processor 92 coupled to each other. Processor 92 is configured to execute program instructions stored in memory 91 to implement the steps of the wireless network distribution method embodiment described above. In a specific implementation scenario, electronic device 90 may include, but is not limited to, a microcomputer or a server, and is not limited here.
[0151] Specifically, the processor 92 is used to control itself and the memory 91 to implement the steps of the above-mentioned wireless network distribution method embodiment. The processor 92 can also be called a CPU (Central Processing Unit). The processor 92 may be an integrated circuit chip with signal processing capabilities. The processor 92 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 92 can be implemented by an integrated circuit chip.
[0152] Please refer to Figure 10, which is a structural diagram of a wireless network distribution system according to an embodiment of the present application. The wireless network distribution system 100 includes a first device 101 and a second device 102, wherein the first device 101 is used to execute the wireless network distribution method as described above, that is, the first device receives a notification command from a third device. In response to the notification command, the first device performs link authentication with the second device that enters pairing mode. In response to the link authentication being completed, the first device verifies the device information of the second device. In response to the verification being passed, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to select the second device to the first device. The first device receives an instruction from the third device that the second device is selected. In response to the instruction that the second device is selected, The first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device; the second device 102 is used to execute the wireless network configuration method as described above, that is, in response to the second device entering the pairing mode, the second device performs link authentication with the first device entering the listening mode, wherein in response to the completion of the link authentication, the first device verifies the device information of the second device, and in response to the verification being passed, sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected, and then the first device sends the network configuration information of the first device to the second device, the second device receives the network configuration information of the first device from the first device, and performs network configuration based on the network configuration information of the first device.
[0153] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.
[0154] In the several embodiments provided in this application, it should be understood that the disclosed methods and related devices can be implemented in other ways. For example, the above-described related device implementation methods are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication disconnection shown or discussed can be through some interfaces, indirect coupling or communication disconnection of devices or units, which can be electrical, mechanical or other forms.
[0155] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of each embodiment method of the present application. 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.
[0157] It is easy for a person skilled in the art to know that many modifications and variations can be made to the apparatus and method while maintaining the teaching content of the present application.Therefore, the above disclosure should be considered as being limited only by the scope of the appended claims.
Claims
1. A wireless network distribution method, wherein: Applied to a first device, the method includes: The first device receives a notification command from a third device; In response to the notification command, the first device performs link authentication with the second device that enters pairing mode; In response to link authentication being completed, the first device verifies device information of the second device; In response to the verification being successful, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected; The first device receives an instruction from the third device that the second device is selected; In response to an instruction to select the second device, the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
2. The method according to claim 1, wherein The first device and the second device perform link authentication, including: The first device receives data corresponding to the management frame sent by the second device, where the data corresponding to the management frame includes preset data; The first device determines whether to pair with the second device based on the preset data; In response to pairing the first device with the second device, the first device parses data corresponding to the management frame to perform key negotiation with the second device; In response to the key negotiation being completed, the first device and the second device perform bidirectional authentication using a preset algorithm.
3. The method according to claim 2, wherein: The first device and the second device perform link authentication, further comprising: In response to the first device having accessed the hotspot, the first device enters a sleep mode to perform link authentication with the second device that has entered pairing mode, wherein the sleep mode indicates that the hotspot does not send data to the first device; In response to the first device not accessing the hotspot, the first device directly performs link authentication with the second device that enters pairing mode.
4. The method according to claim 1, wherein The first device verifies the device information of the second device, including: In response to link authentication being completed, the first device receives the device information of the second device sent by the second device; The first device sends the device information of the second device to the fourth device for record verification, thereby verifying the device information of the second device.
5. The method according to claim 1, wherein Also includes: In response to the notification command, the first device enters a listening mode to perform link authentication with the second device that enters a pairing mode.
6. A wireless network distribution method, wherein: Applied to the second device, the method includes: In response to the second device entering pairing mode, performing link authentication with the first device entering listening mode, wherein completion of the link authentication is used to instruct the first device to verify the device information of the second device, passing the verification of the device information of the second device is used to instruct the first device to send the device information of the second device to the third device, the device information of the second device is used to instruct the third device to send an instruction to the first device that the second device is selected, and the instruction that the second device is selected is used to instruct the first device to send the network configuration information of the first device to the second device; The second device receives the network configuration information of the first device from the first device, and performs network configuration based on the network configuration information of the first device.
7. The method according to claim 6, wherein: The second device performing link authentication with the first device includes: The second device manages the frame based on a preset rule to obtain data corresponding to the management frame, wherein the data corresponding to the management frame includes preset data; In response to the second device being paired with the first device, the second device performing key negotiation with the first device, wherein the pairing of the second device with the first device is determined based on preset data; In response to the key negotiation being completed, the second device and the first device perform bidirectional authentication using a preset algorithm.
8. The method according to claim 7, wherein: The second device performs link authentication with the first device, further comprising: In response to not detecting the first device, the second device broadcasts data corresponding to the management frame in a multi-channel manner; In response to detecting the first device, the second device broadcasts data corresponding to the management frame in a single-channel manner.
9. The method according to claim 8, wherein Also includes: In response to the network configuration instruction, the second device initiates a network connection; The second device performs device registration verification with the fourth device; In response to the completion of the device registration verification, the second device sends a completion instruction to the first device, thereby achieving wireless network configuration.
10. A wireless network distribution method, wherein: Applied to a third device, the method includes: The third device determines a first device bound to the third device and sends a notification command to the first device, wherein the first device is in a listening mode to perform link authentication with a second device that has entered pairing mode, wherein the link authentication is completed for instructing the first device to verify device information of the second device, and the verification of the device information of the second device is passed for instructing the first device to send the device information of the second device to the third device; In response to receiving the device information of the second device from the first device, the third device sends an instruction to the first device that the second device is selected, so that the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
11. The method according to claim 10, wherein: Also includes: The third device prompts to send a network configuration instruction to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
12. The method according to claim 10, wherein: The third device sending an instruction to the first device that the second device is selected includes: In response to the first device receiving an instruction to select the second device, the third device sends an instruction to the first device to select the second device, so that the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
13. The method according to claim 12, wherein: Also includes: The third device displays the second device based on the device information of the second device, so that the third device receives an instruction to select the second device.
14. A wireless distribution network system, wherein: At least: A first device, configured to execute the wireless network configuration method according to any one of claims 1 to 5; The second device is configured to execute the wireless network configuration method according to any one of claims 6 to 9.
15. A wireless network distribution method, wherein: Applied to a wireless distribution network system, the wireless distribution network system includes a first device and a second device, and the method includes: The first device receives a notification command from a third device; In response to the notification command, the first device performs link authentication with the second device that enters pairing mode; In response to link authentication being completed, the first device verifies device information of the second device; In response to the verification being successful, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected; The first device receives an instruction from the third device that the second device is selected; In response to an instruction that the second device is selected, the first device sends the network configuration information of the first device to the second device; The second device receives the network configuration information of the first device and performs network configuration based on the network configuration information of the first device.
16. An electronic device, wherein: The invention comprises a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement the wireless network distribution method according to any one of claims 1 to 13.
17. A first electronic device, wherein: The system comprises a memory and a processor coupled to each other, wherein the processor is configured to execute program instructions stored in the memory to implement: The first device receives a notification command from a third device; In response to the notification command, the first device performs link authentication with the second device that enters pairing mode; In response to link authentication being completed, the first device verifies device information of the second device; In response to the verification being successful, the first device sends the device information of the second device to the third device, so that the third device sends an instruction to the first device that the second device is selected; The first device receives an instruction from the third device that the second device is selected; In response to an instruction to select the second device, the first device sends the network configuration information of the first device to the second device, so that the second device performs network configuration based on the network configuration information of the first device.
18. The apparatus according to claim 17, wherein The first device and the second device perform link authentication, including: The first device receives data corresponding to the management frame sent by the second device, where the data corresponding to the management frame includes preset data; The first device determines whether to pair with the second device based on the preset data; In response to pairing the first device with the second device, the first device parses data corresponding to the management frame to perform key negotiation with the second device; In response to the key negotiation being completed, the first device and the second device perform bidirectional authentication using a preset algorithm.
19. A second electronic device, wherein: The system comprises a memory and a processor coupled to each other, wherein the processor is configured to execute program instructions stored in the memory to implement: In response to the second device entering pairing mode, performing link authentication with the first device entering listening mode, wherein completion of the link authentication is used to instruct the first device to verify the device information of the second device, passing the verification of the device information of the second device is used to instruct the first device to send the device information of the second device to the third device, the device information of the second device is used to instruct the third device to send an instruction to the first device that the second device is selected, and the instruction that the second device is selected is used to instruct the first device to send the network configuration information of the first device to the second device; The second device receives the network configuration information of the first device from the first device, and performs network configuration based on the network configuration information of the first device.
20. The apparatus according to claim 19, wherein The second device performing link authentication with the first device includes: The second device manages the frame based on a preset rule to obtain data corresponding to the management frame, wherein the data corresponding to the management frame includes preset data; In response to the second device being paired with the first device, the second device performing key negotiation with the first device, wherein the pairing of the second device with the first device is determined based on preset data; In response to the key negotiation being completed, the second device and the first device perform bidirectional authentication using a preset algorithm.
Citation Information
Patent Citations
Internet of things equipment network parameter configuration method, Internet of things equipment and system
CN112260871A
Discovery and network distribution method, electronic equipment and system
CN113301543A
Network distribution method, device and equipment for smart home equipment
CN115150217A
Smart home rapid network distribution system and method based on rapid network distribution tool
CN115314377A
Secure Transfer of User Information Between Devices Based on User Credentials
US20180270226A1