WIFI wireless networking method and apparatus, and storage medium

By scanning the code to obtain the serial number and communication address of the WiFi router, it shares it with the online router, solving the problem that existing WiFi Mesh network devices need to be re-organized when the device is replaced or damaged, and achieving simplification of user operations and flexibility in device replacement.

WO2025055221A1PCT designated stage expired Publication Date: 2025-03-20BOWEI TECHNOLOGY COMPANY LIMITED
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/070172
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-14
Filing Date
2024-01-02
Publication Date
2025-03-20

AI Technical Summary

Technical Problem

When the existing WiFi Mesh network equipment is damaged or replaced, the user needs to re-organize the network, and the setup process is complicated, which is inconvenient for non-technical personnel.

Method used

By scanning the code, obtaining the device serial number of the WiFi router, generating a QR code, analyzing and decrypting the scan code information, obtaining the communication address, and sharing the address with all online routers to realize wireless networking.

Benefits of technology

This simplifies user operations and reduces technical difficulty. Users can arbitrarily select devices as the main gateway or sub-AP, improving the flexibility of device replacement and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024070172_20032025_PF_FP_ABST
    Figure CN2024070172_20032025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are a WiFi wireless networking method and apparatus, and a storage medium. The method comprises the following steps: collecting code scanning information; on the basis of the code scanning information, acquiring a corresponding serial number; on the basis of the serial number, acquiring a corresponding communication address; acquiring all online routers; and sharing the communication address with all the online routers.
Need to check novelty before this filing date? Find Prior Art

Description

WiFi wireless networking method, device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202311181522.1, filed on September 14, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of wireless networking, and in particular to a WiFi wireless networking method, device, and storage medium. Background Art

[0004] In recent years, with the increase in per capita living area and people's increasing demand for wireless networks, WiFi Mesh (wireless mesh network) network devices have appeared in more and more homes.

[0005] Some Wi-Fi Mesh network devices purchased by users are factory-installed as either a main gateway or a sub-AP (Access Point). Others are not factory-installed, requiring users to configure the gateway as either the main gateway or sub-AP through a management interface or mobile app before networking. However, the former lacks flexibility; if the main gateway is damaged, a new one must be purchased to re-establish the network. While the latter, while flexible, comes with certain technical difficulties and is cumbersome, making it difficult for non-technical personnel to master.

[0006] Summary of the Invention

[0007] The present disclosure provides a WiFi wireless networking method, device, and storage medium. Through one or more embodiments of the present disclosure, the above-mentioned technical problems are solved or at least partially solved.

[0008] In a first aspect of the present disclosure, a WiFi wireless networking method is provided, comprising the steps of: collecting scan code information; obtaining a corresponding serial number based on the scan code information; obtaining a corresponding communication address based on the serial number; obtaining all online routers; and sharing the communication address with all the online routers.

[0009] In some embodiments of the present disclosure, the collecting of scan code information includes the steps of: obtaining a WiFi router; obtaining a device serial number of the WiFi router; generating a corresponding QR code based on the device serial number; attaching the QR code to the corresponding WiFi router; scanning the QR code to obtain scan code information corresponding to the QR code; and analyzing the scan code information corresponding to the QR code.

[0010] In some embodiments of the present disclosure, the collecting of scanned code information further includes the step of: decrypting the scanned code information.

[0011] In some embodiments of the present disclosure, decrypting the scanned code information includes the steps of: collecting surface information of the scanned code information; obtaining a preset decryption database; collecting serial number decryption information corresponding to the surface information according to the decryption database; and outputting the serial number decryption information.

[0012] In some embodiments of the present disclosure, the obtaining of the corresponding serial number according to the scanned code information includes the steps of: obtaining a preset information serial number database; and collecting the serial number corresponding to the scanned code information from the information serial number database.

[0013] In some embodiments of the present disclosure, the acquiring of the corresponding communication address according to the serial number comprises the steps of: acquiring a preset address serial number database; and collecting the communication address corresponding to the serial number from the address serial number database.

[0014] In some embodiments of the present disclosure, obtaining all online routers includes the steps of: selecting a target router; sending a first signal to the target router; obtaining a second signal fed back by the target router; and determining whether the first signal corresponds to the second signal; if so, determining that the target router is an online router; if not, determining that the target router is not online.

[0015] In a second aspect of the present disclosure, a WiFi wireless networking device is provided, comprising: an information collection module for collecting code scanning information; a serial number acquisition module for acquiring a corresponding serial number based on the code scanning information; an address acquisition module for acquiring a corresponding communication address based on the serial number; a router acquisition module for acquiring all online routers; and an address sharing module for sharing the communication address with all the online routers.

[0016] In a third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any of the aforementioned WiFi wireless networking methods.

[0017] In a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute any of the aforementioned WiFi wireless networking methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0019] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0020] FIG1 is a schematic diagram showing a flow chart of a WiFi wireless networking method according to some embodiments of the present disclosure;

[0021] FIG2 shows a schematic structural diagram of a WiFi wireless networking device according to some embodiments of the present disclosure;

[0022] FIG3 shows a schematic structural diagram of an electronic device according to some embodiments of the present disclosure;

[0023] FIG4 shows a schematic structural diagram of a non-transitory computer-readable storage medium according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0025] Figure 1 shows a schematic flow chart of a WiFi wireless networking method according to some embodiments of the present disclosure. As shown in Figure 1 , the present disclosure provides a WiFi wireless networking method, which includes steps S1 to S5.

[0026] In step S1, the code scanning information is collected.

[0027] In some embodiments of the present disclosure, the collecting of scan code information includes the steps of: obtaining a WiFi router; obtaining a device serial number of the WiFi router; generating a corresponding QR code based on the device serial number; attaching the QR code to the corresponding WiFi router; scanning the QR code to obtain scan code information corresponding to the QR code; and analyzing the scan code information corresponding to the QR code.

[0028] In some embodiments, it is necessary to uniformly enter information such as the SN (Serial Number) and communication address of the WiFi router into the database, and the device serial number and communication address of the WiFi router are stored one-to-one in the database. The communication address of the router includes the following MAC (Media Access Control Address) addresses for the two frequency bands of 2.4G and 5G: WiFi 2.4G MAC and WiFi 5G MAC. The database contains the above information such as the SN and communication address of all shipped WiFi routers, and the database will be uniformly entered into the cloud server. When each WiFi router leaves the factory, the device serial number SN of the WiFi router can be generated into a QR code, and the QR code can be affixed to the corresponding WiFi router.

[0029] In some embodiments of the present disclosure, in order to improve the confidentiality of information, it is possible to consider encrypting the scanned code information to increase security. In this case, the scanned code information needs to be decrypted when the App scans the code. The collecting of the scanned code information also includes the step of decrypting the scanned code information.

[0030] In some embodiments of the present disclosure, decrypting the scanned code information includes the steps of: collecting surface information of the scanned code information; obtaining a preset decryption database; collecting serial number decryption information corresponding to the surface information according to the decryption database; and outputting the serial number decryption information.

[0031] In some embodiments of the present disclosure, the scanned code information contains surface information. For example, the surface information may be a QR code attached to the surface of a router. At the same time, a decryption database is stored in the cloud server, and the decryption database stores serial number decryption information corresponding to the surface information. After the surface information of the scanned code information is collected, the serial number decryption information corresponding to the surface information can be directly retrieved from the decryption database.

[0032] In step S2, the corresponding serial number is obtained according to the scan code information.

[0033] In some embodiments of the present disclosure, obtaining the corresponding serial number according to the scanned code information includes the steps of: obtaining a preset information serial number database; and collecting the corresponding serial number in the information serial number database according to the scanned code information.

[0034] In some embodiments, an information serial number database is stored in the cloud server, and the scan code information and the corresponding serial number are stored in the information serial number database. After the scan code information or serial number decryption information is obtained, the serial number corresponding to the scan code information or serial number decryption information can be collected from the information serial number database and the serial number can be output.

[0035] In step S3, the corresponding communication address is obtained according to the serial number.

[0036] In some embodiments of the present disclosure, the step of obtaining the corresponding communication address according to the serial number includes the steps of: obtaining a preset address serial number database; and collecting the corresponding communication address in the address serial number database according to the serial number.

[0037] In some embodiments, the cloud server may also store an address serial number database, in which serial numbers and corresponding communication addresses are stored. After the serial number is obtained, the communication address corresponding to the serial number can be collected from the information serial number database and the communication address can be output.

[0038] In step S4, all online routers are acquired.

[0039] In some embodiments of the present disclosure, obtaining all online routers includes the steps of: selecting a target router; sending a first signal to the target router; obtaining a second signal fed back by the target router; determining whether the first signal corresponds to the second signal; if so, determining that the target router is an online router; if not, determining that the target router is not online.

[0040] In some embodiments, when determining whether a target router is online, a first signal is first sent to the router. After receiving the first signal, the router will feedback a second signal. At this time, it is determined whether the first signal and the second signal correspond. If they correspond, the target router is determined to be an online router. If the first signal and the second signal do not correspond, the target router is determined to be offline.

[0041] In step S5, the communication address is shared with all the online routers.

[0042] In some embodiments, after a user purchases their first WiFi router (hereinafter referred to as the first WiFi router), they first create a default group through a mobile app. The devices included in this default group will form a mesh network. In some embodiments, multiple default groups can be created, each corresponding to multiple houses. By scanning the QR code on the casing of the first WiFi router through the mobile app, the phone obtains the device serial number of the first WiFi router and sends it to the cloud server, which then adds this device serial number to the user's default group. At this point, the cloud server will proactively push information about the first WiFi router to all other online routers in the group. The pushed information includes the SN, WiFi 2.4G MAC address, WiFi 5G MAC address, etc. However, since this is the only WiFi router in the group at this time, no other routers can be pushed. The WAN (Wide Area Network) port of the first WiFi router is connected to the upstream network. The first WiFi router obtains an IP address through DHCP (Dynamic Host Configuration Protocol) or PPP (Point to Point Protocol) and connects to the Internet. Next, the first WiFi router performs steps 1-3.

[0043] In step 1: the client built into the first WiFi router connects to the cloud server and sends the device serial number of the first WiFi router to the cloud server. If the cloud server determines that the device serial number of the first WiFi router has been added to a certain group of a certain user, the authentication is successful.

[0044] In Step 2, the first Wi-Fi router will power on the user-configured FrontHaul AP and the default BackHaul AP. The default BackHaul AP's SSID (Service Set Identifier) ​​is hidden and uses a default value. The BackHaul AP's encryption method is typically WPA (Wi-Fi Protected Access) or WPA2 PSK (Wi-Fi Protected Access II Pre-Shared Key), two generations of Wi-Fi security protocols. The default password also uses a default value. The BackHaul AP must be in whitelist mode, which by default disallows any STA (Station) access.

[0045] In step 3, the built-in client of the first WiFi router synchronizes the 2.4G MAC addresses of other routers in the group to the BackHaul AP's whitelist through the cloud server. If other routers in the group have 5G MAC addresses, their 5G MAC addresses also need to be synchronized to the BackHaul AP's whitelist. Since there is only the first WiFi router in the group at this time and no other routers can push, the BackHaul AP's whitelist is empty.

[0046] To add a newly purchased WiFi router (hereinafter referred to as the second WiFi router) to this Mesh network, the user only needs to power on the second WiFi router and scan the QR code on the second WiFi router through the mobile app. At this time, the device serial number of the second WiFi router will also be added to the user's default group, and the cloud server will push the second WiFi router's information (including SN, WiFi 2.4G MAC, WiFi 5G MAC, etc.) to all other online routers in the group. The other routers that receive this information will add the 2.4G MAC and 5G MAC to the BackHaul AP's whitelist respectively. The BackHaul STAs on the second WiFi router will periodically attempt to connect to the surrounding BackHaul APs (also with the preset SSID) using the preset password. Since the second WiFi router's MAC address has been added to the BackHaul AP whitelist for other devices in the group, the second WiFi router can connect to the surrounding BackHaul APs. The second WiFi router will also obtain an IP address from the BackHaul STA via DHCP and initiate a similar authentication process as the first WiFi router. It will then configure the FrontHaul AP and the default BackHaul AP, and synchronize the 2.4G and 5G MAC addresses of other devices in the group to the BackHaul AP whitelist. If other devices need to join this mesh network later, the same process can be followed.

[0047] As shown in Figure 2, the present disclosure provides a WiFi wireless networking device, including: an information collection module 10, used to collect scan code information; a serial number acquisition module 20, used to obtain a corresponding serial number based on the scan code information; an address acquisition module 30, used to obtain a corresponding communication address based on the serial number; a router acquisition module 40, used to obtain all online routers; and an address sharing module 50, used to share the communication address with all the online routers.

[0048] The present disclosure provides a WiFi wireless networking device that can execute a WiFi wireless networking method provided by the above steps.

[0049] It should be understood that the above-described specific embodiments of the present disclosure are merely illustrative of or explanation of the principles of the present disclosure and do not constitute limitations on the present disclosure. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present disclosure shall be included within the scope of protection of the present disclosure. In addition, the claims appended to the present disclosure are intended to cover all variations and modifications that fall within the scope and metes and bounds of the appended claims, or equivalents of such scope and metes and bounds.

[0050] Reference is now made to FIG3 , which illustrates a schematic diagram of the structure of an electronic device 100 suitable for implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG3 is merely an example and should not limit the functionality or scope of use of the embodiments of the present disclosure.

[0051] As shown in FIG3 , the electronic device 100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 102 or a program loaded from a storage device 108 into a random access memory (RAM) 103. Various programs and data required for the operation of the electronic device 100 are also stored in the RAM 103. The processing device 101, the ROM 102, and the RAM 103 are connected to each other via a bus 104. An input / output (I / O) interface 105 is also connected to the bus 104.

[0052] Typically, the following devices may be connected to the I / O interface 105: an input device 106 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 109. The communication device 109 may allow the electronic device 100 to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows the electronic device 100 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0053] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 109, or installed from the storage device 108, or installed from the ROM 102. When the computer program is executed by the processing device 101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0054] Reference is made to FIG4 , which shows a schematic diagram of the structure of a computer-readable storage medium suitable for implementing an embodiment of the present disclosure. The computer-readable storage medium stores a computer program, which, when executed by a processor, can implement any of the WiFi wireless networking methods described above.

[0055] The embodiments of the present disclosure provide a WiFi wireless networking method, apparatus, and storage medium that use a scanning method for networking, which is in line with the usage habits of users in today's society. This networking method does not distinguish between a main gateway and a sub-AP; any device can be used as a main gateway or a sub-AP, greatly simplifying user operation while providing flexibility.

[0056] It should be noted that, in this document, 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 actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0057] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not to be limited to the embodiments shown herein, but is to be construed in the broadest manner consistent with the principles and novel features claimed herein.

Claims

1. A WiFi wireless networking method, comprising: Collect scan code information; Obtaining a corresponding serial number according to the scanned code information; Obtaining a corresponding communication address according to the serial number; Get all the online routers; as well as The communication address is shared with all the online routers.

2. The WiFi wireless networking method according to claim 1, wherein: The collecting of scan code information includes the following steps: Get a WiFi router; Obtain the device serial number of the WiFi router; Generate a corresponding QR code according to the device serial number; Paste the QR code on the corresponding WiFi router; Scan the QR code to obtain the scanning information corresponding to the QR code; as well as Analyze the scan code information corresponding to the QR code.

3. The WiFi wireless networking method according to claim 2, wherein: The analyzing the scanned code information corresponding to the QR code comprises the steps of: Decrypt the scanned code information.

4. The WiFi wireless networking method according to claim 3, wherein: Decrypting the scanned code information includes the steps of: Collecting surface information of the scanned code information; Get the preset decryption database; Collecting serial number decryption information corresponding to the surface information according to the decryption database; as well as The serial number decryption information is output.

5. The WiFi wireless networking method according to claim 1, wherein: The step of obtaining the corresponding serial number according to the scanned code information comprises the following steps: Obtaining a preset information sequence number database; and The serial number corresponding to the scanned code information is collected from the information serial number database.

6. The WiFi wireless networking method according to claim 1, wherein: The step of obtaining the corresponding communication address according to the serial number comprises the following steps: Obtaining a preset address serial number database; and The communication address corresponding to the serial number is collected from the address serial number database.

7. The WiFi wireless networking method according to claim 1, wherein: The steps of obtaining all online routers include: Select the target router; Sending a first signal to the target router; Acquire a second signal fed back by the target router; as well as It is determined whether the first signal corresponds to the second signal. If so, it is determined that the target router is an online router. If not, it is determined that the target router is not online.

8. A WiFi wireless networking device, comprising: Information collection module, used to collect scan code information; A serial number acquisition module, used to acquire the corresponding serial number according to the scan code information; An address acquisition module, used to acquire the corresponding communication address according to the serial number; Router acquisition module, used to obtain all online routers; as well as The address sharing module is used to share the communication address with all the online routers.

9. An electronic device, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to perform the WiFi wireless networking method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium, comprising computer instructions stored thereon, wherein the computer instructions are used to enable the computer to execute the WiFi wireless networking method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method of preventing from joining wrong MESH network and device preventing from joining wrong MESH network

    CN104883272A

  • Method and device for accessing access point to network management

    CN110493366A

  • Networking method of wireless grid network nodes and network node equipment

    CN112073920A

  • Wireless networking method, node and computer readable storage medium

    CN113395721A

  • WiFi wireless networking method and device and storage medium

    CN116916298A