Networking method based on bar code scanning

By scanning the barcode of the IoT device with a barcode scanner to obtain connection parameters and set networking information, a Bluetooth connection is directly established with the target device, solving the problem of complex and time-consuming networking of IoT devices and achieving a fast and reliable networking process.

CN120676476APending Publication Date: 2025-09-19XIAMEN PVTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510775719.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-10
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

The networking operations of existing IoT devices are complex, time-consuming, and inefficient.

Method used

The barcode of the target device is scanned by the scanning device to obtain the Bluetooth connection parameters, and the network key and group parameters are set by the scanning device to directly establish a Bluetooth connection with the target device and perform the networking procedure.

Benefits of technology

Significantly reduce the complexity of networking procedures, improve networking efficiency, reduce manual operation steps, avoid errors, and quickly complete networking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120676476A_ABST
    Figure CN120676476A_ABST
Patent Text Reader

Abstract

The invention discloses a networking method based on bar code scanning. The networking method comprises the following steps: scanning a bar code of a target device through a code scanning device to obtain a Bluetooth connection parameter of the target device; the code scanning device establishes Bluetooth connection with the target device according to the Bluetooth connection parameter of the target device; setting a networking key and grouping parameters through a code scanning device; transmitting the networking key and the grouping parameters to a target device through a code scanning device; and performing a networking procedure via the target device according to the networking network key and the grouping parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a networking method, in particular to a networking method based on barcode scanning. Background Art

[0002] With the rapid development of the Internet of Things (IoT), more and more smart devices (such as lighting devices or various home appliances) are being integrated with the IoT. However, users need to frequently add or manage these smart devices.

[0003] However, to add an IoT device to the IoT, users need to manually input various necessary data into the IoT device to complete the networking process. However, this method is not only extremely complicated in operation but also takes a lot of time, making it inconvenient and inefficient.

[0004] Therefore, how to propose a networking method to effectively solve the above-mentioned problems of the prior art has become an urgent issue. Summary of the Invention

[0005] According to one embodiment of the present invention, a networking method based on barcode scanning is proposed, which includes the following steps: scanning a barcode of a target device by a barcode scanning device to obtain Bluetooth connection parameters of the target device; establishing a Bluetooth connection with the target device according to the Bluetooth connection parameters of the target device by the barcode scanning device; setting a networking network key and grouping parameters by the barcode scanning device; transmitting the networking network key and grouping parameters to the target device by the barcode scanning device; and performing a networking procedure by the target device according to the networking network key and grouping parameters.

[0006] In one embodiment, the target device is a lighting device or other similar components.

[0007] In one embodiment, the target device is a moving object sensor, an environmental sensor, or other similar components.

[0008] In one embodiment, the code scanning device is a smart phone, a smart watch, a smart ring, a tablet computer, or a laptop computer.

[0009] In one embodiment, the barcode of the target device is a one-dimensional barcode or a two-dimensional barcode.

[0010] In one embodiment, the networking method further includes the following steps: scanning a barcode of a main control device by a barcode scanning device to obtain Bluetooth connection parameters; establishing a Bluetooth connection with the main control device by the barcode scanning device according to the Bluetooth connection parameters; setting WiFi connection information and IoT cloud platform connection parameters via the barcode scanning device; transmitting the WiFi connection information and IoT cloud platform connection parameters to the main control device by the barcode scanning device; connecting to the Internet by the main control device according to the WiFi connection information; and connecting to the IoT cloud platform by the main control device according to the IoT cloud platform connection parameters.

[0011] In one embodiment, the barcode of the main control device is a one-dimensional barcode or a two-dimensional barcode.

[0012] In one embodiment, the main control device is a gateway or a main control server.

[0013] In one embodiment, the networking method further includes the following steps: obtaining device information of the master device via a code scanning device; and uploading the device information to a cloud server by the code scanning device to perform a registration process for the master device.

[0014] In one embodiment, the device information includes a device identifier.

[0015] As described above, the barcode scanning-based networking method according to the embodiments of the present invention may have one or more of the following advantages:

[0016] (1) In one embodiment of the present invention, the networking method includes the following steps: scanning the barcode of the target device by a barcode scanning device to obtain the Bluetooth connection parameters of the target device; establishing a Bluetooth connection with the target device by the barcode scanning device according to the Bluetooth connection parameters of the target device; setting the networking network key and grouping parameters by the barcode scanning device; transmitting the networking network key and grouping parameters to the target device by the barcode scanning device; and performing a networking procedure by the target device according to the networking network key and grouping parameters. Through the above networking mechanism, the user can directly establish a Bluetooth connection with the target device by the barcode scanning device and directly set the networking network key and grouping parameters. Then, the target device performs a networking procedure according to the networking network key and grouping parameters. The above networking mechanism based on barcode scanning can greatly reduce the complexity of the networking procedure and effectively solve the networking procedure, so that multiple target devices can quickly achieve local networking. Therefore, the networking method can not only complete the networking procedure more conveniently, but also greatly improve the efficiency of the networking procedure.

[0017] (2) In one embodiment of the present invention, the barcode scanning-based networking mechanism allows a user to directly establish a Bluetooth connection with a target device through a barcode scanning device and directly set the network key and grouping parameters. In this way, the networking method can minimize the number of manual operation steps, thereby effectively reducing the occurrence of human errors. Therefore, the networking method can correctly and reliably complete the networking process to avoid the occurrence of networking process errors.

[0018] (3) In one embodiment of the present invention, the networking method further includes the following steps: scanning the barcode of the main control device by a code scanning device to obtain Bluetooth connection parameters; establishing a Bluetooth connection with the main control device according to the Bluetooth connection parameters by the code scanning device; setting WiFi connection information and IoT cloud platform connection parameters via the code scanning device; transmitting the WiFi connection information and IoT cloud platform connection parameters to the main control device by the code scanning device; connecting to the Internet according to the WiFi connection information by the main control device; and connecting to the IoT cloud platform according to the IoT cloud platform connection parameters by the main control device. As can be seen from the above, the main control device can also quickly complete the Internet connection settings and the IoT cloud platform connection settings through a similar mechanism, so that the main control device can execute various IoT operations as quickly as possible. Therefore, this networking method can meet the needs of actual applications.

[0019] (4) In one embodiment of the present invention, the user can also use a barcode scanning device to scan the barcodes of multiple controlled devices to obtain the necessary networking information and Bluetooth connection parameters of each controlled device, and transmit the networking information and Bluetooth connection parameters to the main control device. In this way, the main control device can communicate with each controlled device based on the networking information and Bluetooth connection parameters and perform networking procedures for these controlled devices. The above-mentioned automatic networking mechanism executed by the main control device can effectively improve the efficiency of the networking process, and thus can meet the needs of different applications.

[0020] (5) In one embodiment of the present invention, the networking method can be applied to various IoT systems to effectively improve the efficiency of the networking process, reduce the overall cost of the networking process, and realize various desired intelligent applications. Therefore, the networking method can achieve excellent practicality, enabling it to meet the needs of different applications and conform to future development trends. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 FIG. 4 is a block diagram of an Internet of Things system according to a first embodiment of the present invention.

[0022] Figure 2 FIG. 4 is a schematic diagram illustrating the operation status of the Internet of Things system according to the first embodiment of the present invention.

[0023] Figure 3 This is a flowchart of a barcode scanning-based networking method according to a first embodiment of the present invention.

[0024] Figure 4 FIG. 4 is a block diagram of an Internet of Things system according to a second embodiment of the present invention.

[0025] Figure 5 FIG. 4 is a schematic diagram illustrating the operation status of an Internet of Things system according to a second embodiment of the present invention.

[0026] Figure 6 This is a flowchart of a barcode scanning-based networking method according to a second embodiment of the present invention.

[0027] Description of reference numerals:

[0028] 11-Scanning device; 111-Image capture module; 12-Target device; 22-Master control device; 23-IoT cloud platform; 24-Cloud server; 25-Controlled device; CD1, CD2, CD3-Barcodes; Bp1, Bp2-Bluetooth connection parameters; Kp1-Network key; Gp-Group parameters; Wp-WiFi connection information; Cp-IoT cloud platform connection parameters; DT-Device information; S31-S35, S61-S66-Step flow.

[0029] The detailed features and advantages of the present invention are described in detail in the following embodiments, and the content is sufficient to enable anyone skilled in the relevant art to understand the technical content of the present invention and implement it accordingly. Moreover, based on the content, claims and drawings disclosed in this specification, anyone skilled in the relevant art can easily understand the purposes and advantages of this creation. DETAILED DESCRIPTION

[0030] The following will refer to the relevant drawings to illustrate an embodiment of the networking method based on barcode scanning according to the present invention. For the sake of clarity and convenience of illustration, the components in the drawings may be exaggerated or reduced in size and proportion. In the following description and / or claims, when a component is referred to as being "connected" or "coupled" to another component, it may be directly connected or coupled to the other component or there may be an intervening component; and when a component is referred to as being "directly connected" or "directly coupled" to another component, there is no intervening component. Other words used to describe the relationship between components or layers should be interpreted in the same manner. For ease of understanding, the same components in the following embodiments are illustrated with the same symbols.

[0031] See also Figure 1 , which is a block diagram of an IoT system according to a first embodiment of the present invention. As shown, IoT system 1 includes a code scanning device 11 and multiple target devices 12 (only three target devices 12 are shown in the figure, but this embodiment is merely an example; the number of target devices 12 can vary depending on actual needs).

[0032] The code scanning device 11 includes an image capture module 111. In one embodiment, the code scanning device 11 is a smartphone. In another embodiment, the code scanning device 11 may be a smartwatch, smart ring, tablet computer, laptop computer, or other similar device. In one embodiment, the image capture module 111 is a camera module. In another embodiment, the image capture module 111 may also be a barcode scanner or other similar device.

[0033] Target device 12 has a barcode CD1. In one embodiment, target device 12 is a lighting device. In another embodiment, target device 12 may be a moving object sensor (e.g., an infrared sensor, a microwave sensor, etc.), an environmental sensor (e.g., a thermometer, a hygrometer, etc.), various electrical appliances (e.g., a television, an electric fan, etc.), or other similar devices. In one embodiment, barcode CD1 is a two-dimensional barcode. In another embodiment, barcode CD1 may be a one-dimensional barcode or other existing barcodes.

[0034] Of course, this embodiment is only used for illustration and does not limit the scope of the present invention. Equivalent modifications or changes made according to the Internet of Things system 1 of this embodiment should still be included in the patent scope of the present invention.

[0035] See also Figure 2 , which is a schematic diagram illustrating the operation of the IoT system according to the first embodiment of the present invention. As shown, the barcode CD1 of each target device 12 may store the Bluetooth connection parameters required to establish a Bluetooth connection. A user can scan the barcode CD1 of a target device 12 using the image capture module 111 of the barcode scanning device 11 to obtain the Bluetooth connection parameters Bp1 for each target device 12. This allows the barcode scanning device 11 to establish a Bluetooth connection with the target device 12, enabling communication between the two devices.

[0036] Then, the user may set the networking key Kp and the grouping parameter Gp for the target device 12 , and then transmit the networking key Kp and the grouping parameter Gp to the target device 12 .

[0037] In this way, each target device 12 can obtain its own network key Kp and grouping parameter Gp, so that each target device 12 can perform networking procedures according to its own network key Kp and grouping parameter Gp. In this way, the above-mentioned multiple target devices 12 can quickly achieve local networking.

[0038] As can be seen from the above, this embodiment discloses a unique networking mechanism. A user can directly establish a Bluetooth connection with a target device 12 using a barcode scanning device 11 and directly set the network key Kp and grouping parameter Gp. The target device 12 then proceeds with the networking process based on the network key Kp and grouping parameter Gp. This barcode scanning-based networking mechanism significantly reduces the complexity of the networking process and effectively streamlines it, allowing multiple target devices 12 to quickly establish a local network. Therefore, this networking method not only facilitates the networking process but also significantly improves its efficiency.

[0039] Furthermore, in this embodiment, the barcode scanning-based networking mechanism allows users to directly establish a Bluetooth connection with the target device 12 via the barcode scanning device 11 and directly set the network key Kp and grouping parameter Gp. This minimizes the number of manual steps required, effectively reducing the risk of human error. Consequently, the networking method accurately and reliably completes the networking process, avoiding potential networking errors.

[0040] Of course, this embodiment is only used for illustration and does not limit the scope of the present invention. Equivalent modifications or changes made according to the Internet of Things system 1 of this embodiment should still be included in the patent scope of the present invention.

[0041] See also Figure 3 , which is a flow chart of the barcode scanning-based networking method of the first embodiment of the present invention. As shown in the figure, the barcode scanning-based networking method of this embodiment includes the following steps:

[0042] Step S31 : Scanning the barcode CD1 of the target device 12 via the barcode scanning device 11 to obtain the Bluetooth connection parameter Bp1 of the target device 12 .

[0043] Step S32 : The code scanning device 11 establishes a Bluetooth connection with the target device 12 according to the Bluetooth connection parameter Bp1 of the target device 12 .

[0044] Step S33 : Setting the network key Kp and grouping parameter Gp via the code scanning device 11 .

[0045] Step S34 : The network key Kp and the grouping parameter Gp are transmitted to the target device 12 via the code scanning device 11 .

[0046] Step S35: The target device 12 performs a networking procedure according to the networking key Kp and the grouping parameter Gp.

[0047] Of course, this embodiment is only used for illustration and does not limit the scope of the present invention. Equivalent modifications or changes made according to the barcode scanning-based networking method of this embodiment should still be included in the patent scope of the present invention.

[0048] Although the steps of the method described in the present invention are shown and described in a particular order, the order of operation of each method can be changed, and some steps can be performed in a reverse order, or some steps can be performed simultaneously with other steps. In another embodiment, different steps can be implemented in an intermittent and / or alternating manner.

[0049] See also Figure 4 , which is a block diagram of an IoT system according to a second embodiment of the present invention. As shown, IoT system 2 includes a barcode scanning device 11, a master control device 22, an IoT cloud platform 23, a cloud server 24, and multiple controlled devices 25 (only three are shown in the figure, but this embodiment is merely an example; the number of controlled devices 25 can vary depending on actual needs).

[0050] The code scanning device 11 includes an image capture module 111. In one embodiment, the code scanning device 11 is a smartphone. In another embodiment, the code scanning device 11 may be a smartwatch, smart ring, tablet computer, laptop computer, or other similar device. In one embodiment, the image capture module 111 is a camera module. In another embodiment, the image capture module 111 may also be a barcode scanner or other similar device.

[0051] The main control device 22 has a barcode CD2. In one embodiment, the main control device 22 is a gateway. In another embodiment, the main control device 22 may be a main control server or other similar device. In one embodiment, the barcode CD2 is a two-dimensional barcode. In another embodiment, the barcode CD2 may be a one-dimensional barcode or other existing barcode.

[0052] Controlled device 25 has a barcode CD3. In one embodiment, controlled device 25 is a lighting device. In another embodiment, controlled device 25 may be a moving object sensor (e.g., an infrared sensor, a microwave sensor, etc.), an environmental sensor (e.g., a thermometer, a hygrometer, etc.), various electrical appliances (e.g., a television, an electric fan, etc.), or other similar devices. In one embodiment, barcode CD3 is a two-dimensional barcode. In another embodiment, barcode CD3 may be a one-dimensional barcode or other existing barcodes.

[0053] The IoT cloud platform 23 and the cloud server 24 are connected to each other for communication.

[0054] Of course, this embodiment is only used for illustration and does not limit the scope of the present invention. Equivalent modifications or changes made according to the Internet of Things system 1 of this embodiment should still be included in the patent scope of the present invention.

[0055] See also Figure 5 , which is a schematic diagram illustrating the operation of the IoT system according to the second embodiment of the present invention. As shown, the barcode CD2 of the master device 22 may store the Bluetooth connection parameters required to establish a Bluetooth connection. A user can scan the barcode CD2 of the master device 22 using the image capture module 111 of the barcode scanning device 11 to obtain the Bluetooth connection parameters Bp2 of the master device 22. This allows the barcode scanning device 11 to establish a Bluetooth connection with the master device 22 for mutual communication. After the Bluetooth connection is established, the barcode scanning device 11 can obtain the device information DT of the master device 22; this device information DT may include a device identifier.

[0056] Then, the user can set the WiFi connection information Wp and the IoT cloud platform connection parameters Cp for the main control device 22 , and then transmit the WiFi connection information Wp and the IoT cloud platform connection parameters Cp to the main control device 22 .

[0057] In this way, the master device 22 can obtain the WiFi connection information Wp and the IoT cloud platform connection parameters Cp. The master device 22 can then connect to the Internet based on the WiFi connection information Wp and to the IoT cloud platform 23 based on the IoT cloud platform connection parameters Cp. Furthermore, the user can upload the master device 22's device information DT to the cloud server 24 via the barcode scanning device 11 to register the master device 22. This allows the master device 22 to begin executing various IoT operations.

[0058] In addition, in this embodiment, the user can also use the barcode scanning device 11 to scan the barcode CD3 of multiple controlled devices 25 to obtain the necessary networking information and Bluetooth connection parameters of each controlled device 25, and transmit the networking information and Bluetooth connection parameters to the main control device 25. In this way, the main control device 22 can communicate with each controlled device 25 based on the networking information and Bluetooth connection parameters and perform networking procedures for these controlled devices 25.

[0059] In addition, in this embodiment, the main control device 22 can also obtain device information of each controlled device 25 and connect to the cloud server 24 through the IoT cloud platform 23 to perform registration procedures for these controlled devices.

[0060] As can be seen from the above, the master device 22 can communicate with each controlled device 25 based on the networking information and Bluetooth connection parameters and perform networking procedures for these controlled devices 25. The automatic networking mechanism executed by the master device 22 can effectively improve the efficiency of the networking process, thereby meeting the needs of different applications.

[0061] In addition, the above networking method can be applied to various IoT systems to effectively improve the efficiency of the networking process, reduce the overall cost of the networking process and realize various desired smart applications. Therefore, the networking method can achieve excellent practicality and meet the needs of different applications.

[0062] Of course, this embodiment is only used for illustration and does not limit the scope of the present invention. Equivalent modifications or changes made according to the Internet of Things system 2 of this embodiment should still be included in the patent scope of the present invention.

[0063] It's worth noting that to add an IoT device to the IoT, users must manually enter various necessary data into the IoT device to begin networking. However, this method is not only extremely complex and time-consuming, but also inconvenient and inefficient. In contrast, according to an embodiment of the present invention, a networking method includes the following steps: scanning a target device's barcode using a barcode scanner to obtain the target device's Bluetooth connection parameters; establishing a Bluetooth connection with the target device using the barcode scanner based on the target device's Bluetooth connection parameters; setting a network key and grouping parameters using the barcode scanner; transmitting the network key and grouping parameters to the target device using the barcode scanner; and performing a networking procedure using the target device based on the network key and grouping parameters. Through this networking mechanism, users can directly establish a Bluetooth connection with the target device using the barcode scanner and directly set the network key and grouping parameters. The target device then proceeds with the networking procedure based on the network key and grouping parameters. This barcode scanning-based networking mechanism significantly reduces the complexity of the networking process and effectively streamlines it, enabling multiple target devices to quickly establish a local network. Therefore, the networking method can not only complete the networking procedure more conveniently, but also greatly improve the efficiency of the networking procedure.

[0064] Furthermore, according to an embodiment of the present invention, the barcode scanning-based networking mechanism allows users to directly establish a Bluetooth connection with a target device using a barcode scanning device and directly configure the network key and grouping parameters. This minimizes the number of manual steps required, effectively reducing the risk of human error. Consequently, the networking method can accurately and reliably complete the networking process, avoiding potential networking errors.

[0065] In addition, according to an embodiment of the present invention, this networking method also includes the following steps: scanning the barcode of the main control device by a code scanning device to obtain Bluetooth connection parameters; the code scanning device establishes a Bluetooth connection with the main control device according to the Bluetooth connection parameters; setting WiFi connection information and IoT cloud platform connection parameters via the code scanning device; transmitting the WiFi connection information and IoT cloud platform connection parameters to the main control device by the code scanning device; connecting to the Internet by the main control device according to the WiFi connection information; and connecting to the IoT cloud platform by the main control device according to the IoT cloud platform connection parameters. As can be seen from the above, the main control device can also quickly complete the Internet connection settings and the IoT cloud platform connection settings through a similar mechanism, so that the main control device can perform various IoT operations as quickly as possible. Therefore, this networking method can meet the needs of actual applications.

[0066] Furthermore, according to an embodiment of the present invention, users can also use a barcode scanner to scan the barcodes of multiple controlled devices to obtain the necessary networking information and Bluetooth connection parameters for each controlled device, and then transmit these networking information and Bluetooth connection parameters to the master control device. In this way, the master control device can communicate with each controlled device based on the networking information and Bluetooth connection parameters and perform networking procedures for these controlled devices. This automatic networking mechanism executed by the master control device can effectively improve the efficiency of the networking process, thereby meeting the needs of different applications.

[0067] Furthermore, according to embodiments of the present invention, the networking method can be applied to a variety of IoT systems to effectively improve the efficiency of the networking process, reduce the overall cost of the networking process, and realize a variety of desired intelligent applications. Therefore, the networking method can achieve excellent practicality, enabling it to meet the needs of different applications and conform to future development trends. From the above, it can be seen that the barcode scanning-based networking method according to embodiments of the present invention can indeed achieve excellent technical results.

[0068] See also Figure 6 , which is a flow chart of a barcode scanning-based networking method according to a second embodiment of the present invention. As shown in the figure, the barcode scanning-based networking method according to this embodiment includes the following steps:

[0069] Step S61 : Scan the barcode CD2 of the main control device 22 via the barcode scanning device 11 to obtain the Bluetooth connection parameter Bp2 .

[0070] Step S62: The code scanning device 11 establishes a Bluetooth connection with the main control device 22 according to the Bluetooth connection parameter Bp2.

[0071] Step S63: Setting the WiFi connection information Wp and the IoT cloud platform connection parameters Cp via the code scanning device 11.

[0072] Step S64 : The WiFi connection information Wp and the IoT cloud platform connection parameter Cp are transmitted to the main control device 22 via the code scanning device 11 .

[0073] Step S65: Connect to the Internet via the main control device 22 according to the WiFi connection information Wp.

[0074] Step S66: The main control device 22 connects to the IoT cloud platform 23 according to the IoT cloud platform connection parameter Cp.

[0075] Of course, this embodiment is only used for illustration and does not limit the scope of the present invention. Equivalent modifications or changes made according to the barcode scanning-based networking method of this embodiment should still be included in the patent scope of the present invention.

[0076] Although the steps of the method described in the present invention are shown and described in a particular order, the order of operation of each method can be changed, and some steps can be performed in a reverse order, or some steps can be performed simultaneously with other steps. In another embodiment, different steps can be implemented in an intermittent and / or alternating manner.

[0077] Although the steps of the method described in the present invention are shown and described in a particular order, the order of operation of each method can be changed, and some steps can be performed in a reverse order, or some steps can be performed simultaneously with other steps. In another embodiment, different steps can be implemented in an intermittent and / or alternating manner.

[0078] In summary, according to an embodiment of the present invention, a networking method includes the following steps: scanning a target device's barcode using a barcode scanning device to obtain the target device's Bluetooth connection parameters; establishing a Bluetooth connection with the target device using the barcode scanning device based on the target device's Bluetooth connection parameters; setting a network key and grouping parameters using the barcode scanning device; transmitting the network key and grouping parameters to the target device using the barcode scanning device; and performing a networking procedure using the target device based on the network key and grouping parameters. Through this networking mechanism, a user can directly establish a Bluetooth connection with the target device using the barcode scanning device and directly set the network key and grouping parameters. The target device then performs a networking procedure based on the network key and grouping parameters. This barcode scanning-based networking mechanism significantly reduces the complexity of the networking process and effectively streamlines it, enabling multiple target devices to quickly establish a local network. Therefore, this networking method not only facilitates the completion of the networking process but also significantly improves its efficiency.

[0079] Furthermore, according to an embodiment of the present invention, the barcode scanning-based networking mechanism allows users to directly establish a Bluetooth connection with a target device using a barcode scanning device and directly configure the network key and grouping parameters. This minimizes the number of manual steps required, effectively reducing the risk of human error. Consequently, the networking method can accurately and reliably complete the networking process, avoiding potential networking errors.

[0080] In addition, according to an embodiment of the present invention, this networking method also includes the following steps: scanning the barcode of the main control device by a code scanning device to obtain Bluetooth connection parameters; the code scanning device establishes a Bluetooth connection with the main control device according to the Bluetooth connection parameters; setting WiFi connection information and IoT cloud platform connection parameters via the code scanning device; transmitting the WiFi connection information and IoT cloud platform connection parameters to the main control device by the code scanning device; connecting to the Internet by the main control device according to the WiFi connection information; and connecting to the IoT cloud platform by the main control device according to the IoT cloud platform connection parameters. As can be seen from the above, the main control device can also quickly complete the Internet connection settings and the IoT cloud platform connection settings through a similar mechanism, so that the main control device can perform various IoT operations as quickly as possible. Therefore, this networking method can meet the needs of actual applications.

[0081] Furthermore, according to an embodiment of the present invention, users can also use a barcode scanner to scan the barcodes of multiple controlled devices to obtain the necessary networking information and Bluetooth connection parameters for each controlled device, and then transmit these networking information and Bluetooth connection parameters to the master control device. In this way, the master control device can communicate with each controlled device based on the networking information and Bluetooth connection parameters and perform networking procedures for these controlled devices. This automatic networking mechanism executed by the master control device can effectively improve the efficiency of the networking process, thereby meeting the needs of different applications.

[0082] Furthermore, according to embodiments of the present invention, the networking method can be applied to various IoT systems to effectively improve the efficiency of the networking process, reduce the overall cost of the networking process, and realize a variety of desired intelligent applications. Therefore, the networking method can achieve excellent practicality, enabling it to meet the needs of different applications and conform to future development trends.

[0083] It should be noted that although the above embodiments have been described herein, this does not limit the scope of patent protection of the present invention. Therefore, based on the innovative concept of the present invention, changes and modifications to the embodiments described herein, or equivalent structural or equivalent process transformations made using the contents of the present invention's description and drawings, and direct or indirect application of the above technical solutions to other related technical fields are all included in the scope of protection of the present invention's patent.

Claims

1. A networking method based on barcode scanning, characterized in that: include: Scanning the barcode of the target device using a barcode scanning device to obtain the Bluetooth connection parameters of the target device; The code scanning device establishes a Bluetooth connection with the target device according to the Bluetooth connection parameters of the target device: Setting the network key and grouping parameters via the code scanning device; as well as Transmitting the networking network key and the grouping parameters to the target device via the code scanning device; as well as The target device performs a networking procedure according to the networking network key and the grouping parameters.

2. The barcode scanning-based networking method according to claim 1, wherein: The target device is a lighting device.

3. The networking method based on barcode scanning according to claim 1, characterized in that: The target device is a moving object sensor or an environment sensor.

4. The barcode scanning-based networking method according to claim 1, wherein: The code scanning device is a smart phone, a smart watch, a smart ring, a tablet computer or a laptop computer.

5. The barcode scanning-based networking method according to claim 1, wherein: The barcode of the target device is a one-dimensional barcode or a two-dimensional barcode.

6. The barcode scanning-based networking method according to claim 1, wherein: Also includes: Scanning the barcode of the main control device by the barcode scanning device to obtain the Bluetooth connection parameters; The code scanning device establishes a Bluetooth connection with the main control device according to the Bluetooth connection parameters; Setting WiFi connection information and IoT cloud platform connection parameters via the code scanning device; The WiFi connection information and the IoT cloud platform connection parameters are transmitted to the main control device through the code scanning device; as well as connecting to the Internet via the main control device according to the WiFi connection information; as well as The main control device is connected to the Internet of Things cloud platform according to the Internet of Things cloud platform connection parameters.

7. The networking method based on barcode scanning according to claim 6, characterized in that: The barcode of the main control device is a one-dimensional barcode or a two-dimensional barcode.

8. The barcode scanning-based networking method according to claim 6, wherein: The main control device is a gateway or a main control server.

9. The barcode scanning-based networking method according to claim 8, wherein: Also includes: Obtaining device information of the main control device via the code scanning device; as well as The code scanning device uploads the device information to a cloud server to perform a registration procedure for the main control device.

10. The barcode scanning-based networking method according to claim 9, wherein: The device information includes a device identifier.