Network distribution method and device of intelligent equipment, medium and packaging box of intelligent equipment
By setting up a Bluetooth module on the packaging box of smart devices, the home host can scan the device information and automatically connect to the network, solving the problem of complex network connection for smart devices, realizing network access immediately upon opening the box, improving network connection efficiency and the utilization value of the packaging box.
Patent Information
- Application Number
- CN202511031865.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-11-18
AI Technical Summary
The complex network configuration process for smart devices and the high barrier to entry for users have led to a surge in the number of smart devices in home settings.
A Bluetooth module is installed on the packaging box of the smart device to broadcast device information. The home host scans and pushes a network configuration request. After the network configuration request is confirmed, automatic network configuration is achieved, and the device status data is stored through cloud blockchain.
It enables immediate network access upon opening the box, simplifies the network configuration process for smart devices, improves network configuration efficiency, and enhances the utilization value of the packaging box.
Smart Images

Figure CN120979860A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent devices, and in particular to a network configuration method and device of an intelligent device, a medium and a packaging box of the intelligent device. BACKGROUND
[0002] With the popularization of the whole-house intelligent system, the number of intelligent devices in the home scene has increased rapidly; however, the network configuration process of the intelligent devices is complex, and the user operation threshold is high, which has become a core pain point. SUMMARY
[0003] In view of the above problems, an intelligent device network configuration method, device, medium and packaging box of the intelligent device are provided to overcome the above problems or at least partially solve the above problems, comprising:
[0004] A network configuration method of an intelligent device is applied to a home host, a first Bluetooth module is arranged on a packaging box of the intelligent device, and the first Bluetooth module is used to broadcast first device information of the intelligent device; the method comprises:
[0005] After scanning the first device information broadcast by the first Bluetooth module, a network configuration request for the intelligent device is pushed;
[0006] In the case that the network configuration request is confirmed, the intelligent device is configured.
[0007] Optionally, a power supply circuit of the first Bluetooth module is disconnected when the packaging box of the intelligent device is not opened, and the power supply circuit is connected when the packaging box of the intelligent device is opened; the first Bluetooth module is used to broadcast the first device information of the intelligent device when the power supply circuit is connected.
[0008] Optionally, after the network configuration of the intelligent device is successful, the method further comprises:
[0009] Collecting state data of the intelligent device, and encapsulating the state data into a block;
[0010] Uploading the block to a cloud blockchain node for storage.
[0011] The present application also provides a network configuration method of an intelligent device, which is applied to a user mobile device, a first Bluetooth module is arranged on a packaging box of the intelligent device, and the first Bluetooth module is used to broadcast first device information of the intelligent device; the method comprises:
[0012] Receiving a network configuration request for the intelligent device; the network configuration request is pushed by the home host to the user mobile device after scanning the first device information broadcast by the first Bluetooth module;
[0013] Send the smart device to the home host for the network request confirmation information;The home host receives the confirmation information, and the smart device is networked.
[0014] Optionally, the packaging box of the smart device is also provided with a first label module, and the second device information of the smart device is stored in the first label module;The method further comprises:
[0015] After detecting the first label module, the second device information of the smart device stored in the first label is read, and the smart device is verified according to the second device information;
[0016] Verify the home host;
[0017] Get the dynamic network key, and send the dynamic network key to the home host when the smart device and the home host are verified.
[0018] Optionally, the method further comprises:
[0019] Collect the image data of the packaging box, and identify the image data to determine the position information of the first label module;
[0020] According to the position information, the position of the first label module on the packaging box is prompted.
[0021] The embodiment of the application also provides a packaging box of a smart device, the packaging box is provided with a first Bluetooth module, and the first Bluetooth module is used for broadcasting first device information of the smart device to a home host;
[0022] The home host is used for pushing a network request for the smart device after scanning the first device information broadcast by the first Bluetooth module;In the case of network request confirmation, the smart device is networked.
[0023] Optionally, the power supply circuit of the first Bluetooth module is disconnected when the packaging box of the smart device is not opened, and is connected when the packaging box of the smart device is opened;The first Bluetooth module is used for broadcasting the first device information of the smart device when the power supply circuit is connected.
[0024] Optionally, the power supply circuit comprises a power supply unit, a blocking unit and an elastic unit;Wherein:
[0025] The elastic unit is connected with the first Bluetooth module, and the blocking unit blocks or does not block the connection between the elastic unit and the power supply unit based on the opening / closing state of the packaging box.
[0026] Optionally, the packaging box comprises a box body part and a box cover part connected with the box body part; the power supply unit and the elastic unit are located in the box body part, and the barrier unit is connected with the box cover part.
[0027] Optionally, a first label module is further arranged on the packaging box of the smart device, and the first label module stores second device information of the smart device; the first label module is used for triggering a commissioning interface of a user mobile device and triggering the user mobile device to obtain a dynamic network key.
[0028] Optionally, the packaging box further comprises an accessory warehouse, and a second label module is arranged in the accessory warehouse, and the second label module stores at least one of device identification, production batch, and software version of the smart device.
[0029] The embodiment of the present application further provides a commissioning device of a smart device, which is applied to a home host, and a first Bluetooth module is arranged on a packaging box of the smart device, and the first Bluetooth module is used for broadcasting first device information of the smart device; the device comprises:
[0030] a pushing module, which is used for pushing a commissioning request for the smart device after scanning the first device information broadcast by the first Bluetooth module;
[0031] a commissioning module, which is used for commissioning the smart device in the case that the commissioning request is confirmed.
[0032] The embodiment of the present application further provides a commissioning device of a smart device, which is applied to a user mobile device, and a first Bluetooth module is arranged on a packaging box of the smart device, and the first Bluetooth module is used for broadcasting first device information of the smart device; the device comprises:
[0033] a receiving module, which is used for receiving a commissioning request for the smart device; the commissioning request is pushed by a home host to the user mobile device after scanning the first device information broadcast by the first Bluetooth module;
[0034] a confirmation module, which is used for sending confirmation information for the commissioning request to the home host; the home host commissions the smart device after receiving the confirmation information.
[0035] The embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the commissioning method of the smart device.
[0036] The embodiment of the present application has the following advantages:
[0037] In the embodiment of the present application, the first Bluetooth module is arranged on the packaging box of the smart device, and the first Bluetooth module is used to broadcast the first device information of the smart device; after the home server scans the first device information broadcast by the first Bluetooth module, the home server pushes the network configuration request for the smart device; and in the case that the network configuration request is confirmed, the smart device is configured with the network. Through the embodiment of the present application, the smart device can be connected to the network as soon as it is unpacked, thereby simplifying the network configuration process of the smart device and improving the network configuration efficiency; in addition, the embodiment of the present application can improve the utilization value of the packaging box by utilizing the packaging box of the smart device. BRIEF DESCRIPTION OF DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the description of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0039] Figure 1 is a step flow chart of a network configuration method of a smart device according to an embodiment of the present application;
[0040] Figure 2 is a step flow chart of another network configuration method of a smart device according to an embodiment of the present application;
[0041] Figure 3 is a step flow chart of another network configuration method of a smart device according to an embodiment of the present application;
[0042] Figure 4 is a step flow chart of another network configuration method of a smart device according to an embodiment of the present application;
[0043] Figure 5 is a step flow chart of another network configuration method of a smart device according to an embodiment of the present application;
[0044] Figure 6 is a structural schematic diagram of a packaging box of a smart device according to an embodiment of the present application;
[0045] Figure 7 is a structural schematic diagram of a packaging box of a smart device according to an embodiment of the present application;
[0046] Figure 8 is a partial structural schematic diagram of a packaging box of a smart device according to an embodiment of the present application;
[0047] Figure 9 is a step flow chart of triggering and network configuration according to an embodiment of the present application;
[0048] Figure 10 is a step flow chart of an unpacking stage according to an embodiment of the present application;
[0049] Figure 11 This is a flowchart of the steps in the distribution network stage according to an embodiment of the present invention;
[0050] Figure 12 This is a schematic diagram of the structure of a smart device's network distribution device according to an embodiment of the present invention;
[0051] Figure 13 This is a schematic diagram of the structure of a smart device's network distribution device according to an embodiment of the present invention. Detailed Implementation
[0052] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0053] In related technologies, a home hub can be used to connect smart devices with different protocols. The home hub (also known as a smart home central hub or gateway) is the core control device in a smart home, responsible for unified management and coordination of the linkage and communication between smart devices. Its role is similar to a "brain," ensuring that devices with different protocols and brands can work together, improving system stability and response efficiency.
[0054] The home host supports unified access via multiple protocols (e.g., Matter / Zigbee / Wi-Fi) and acts as an edge computing node to process localized commands. Based on the home host, this embodiment of the invention provides a network configuration method for smart devices, enabling out-of-the-box network access. For example, refer to... Figure 1 The diagram illustrates a flowchart of a network configuration method for a smart device according to an embodiment of the present invention, which may include the following steps:
[0055] Step 101: After scanning the first device information broadcast by the first Bluetooth module, push a network configuration request for the smart device.
[0056] In some feasible embodiments, a first Bluetooth module may be provided on the packaging box of the smart device. This first Bluetooth module can be used to broadcast the first device information of the smart device for network configuration by the home host. The first device information may include the device type of the smart device, the firmware version of the smart device, the unique identifier of the smart device, etc., and the embodiments of the present invention do not limit this.
[0057] Exemplarily, the first Bluetooth module can be a Bluetooth Low Energy module; when the packaging box containing the smart device is purchased back home by the user, the first device information of the smart device broadcast by the first Bluetooth module in the packaging box will be scanned by the home gateway.
[0058] In actual application, in order to ensure data security, the data broadcast by the first Bluetooth module can be encrypted, and the decryption key is held by the home gateway; exemplarily, the data can be encrypted by AES128, and the embodiments of the present application do not limit this.
[0059] Exemplarily, the broadcast of the first Bluetooth module can be at an interval of 1 second, and the signal range is ≤5 meters, so as to avoid broadcasting to other non-purchasing users' home gateway for network configuration.
[0060] After receiving the first device information of the smart device, the home gateway can first push a network configuration request for the smart device to the cloud; or push a network configuration request for the smart device to a mobile device (for example, the user's mobile phone), and the mobile device pushes the network configuration request to the cloud.
[0061] The network configuration request can include device_uid, gateway_id, network type (Wi-Fi6 / Bluetooth Mesh), user-selected network configuration mode (such as "automatic network entry"), etc., and the embodiments of the present application do not limit this.
[0062] Step 102, in the case of network configuration request confirmation, network configuration is performed for the smart device.
[0063] In the case of network configuration request confirmation, that is, in the case of allowing the smart device to be network configured, the home gateway can complete the network configuration process with the smart device; exemplarily, the home gateway can issue the previously received NetKey to the smart device, so as to complete the network configuration of the smart device.
[0064] In the embodiments of the present application, the packaging box of the smart device is provided with a first Bluetooth module, the first Bluetooth module is used to broadcast first device information of the smart device; after the home gateway scans the first device information broadcast by the first Bluetooth module, a network configuration request for the smart device is pushed; in the case of network configuration request confirmation, network configuration is performed for the smart device. Through the embodiments of the present application, the smart device can be network configured as soon as the packaging box is opened, so as to simplify the network configuration process of the smart device and improve the network configuration efficiency; in addition, the embodiments of the present application can improve the utilization value of the packaging box by utilizing the packaging box of the smart device.
[0065] Referring to Figure 2 , a step flow chart of another network configuration method of a smart device is shown, which can include the following steps:
[0066] Step 201, after scanning the first device information broadcast by the first Bluetooth module, push the network configuration request for the smart device.
[0067] In an embodiment of the present application, the power supply circuit of the first Bluetooth module is open when the packaging box of the smart device is not opened, and is closed when the packaging box of the smart device is opened; the first Bluetooth module is configured to broadcast the first device information of the smart device when the power supply circuit is closed.
[0068] For example, when the packaging box of the smart device is not opened, the power supply circuit of the first Bluetooth module can be in an open state; at this time, the first Bluetooth module does not run, i.e., does not broadcast the first device information of the smart device.
[0069] Conversely, when the packaging box containing the smart device is transported to the user's home and the packaging box is opened, the power supply circuit of the first Bluetooth module will be in a closed state; at this time, the first Bluetooth module will start broadcasting the first device information of the smart device.
[0070] After receiving the first device information of the smart device, the home hub can first push the network configuration request for the smart device to the cloud; or push the network configuration request for the smart device to a mobile device (for example, the user's mobile phone), and the mobile device pushes the network configuration request to the cloud.
[0071] Step 202, in the case of network configuration request confirmation, network configuration is performed for the smart device.
[0072] In the case of network configuration request confirmation, i.e., in the case of allowing the smart device to be network configured, the home hub can complete the network configuration process with the smart device; for example, the home hub can issue the dynamic network key received by it to the smart device, and the smart device can complete network registration based on the dynamic network key.
[0073] Step 203, after the smart device is successfully network configured, collect the state data of the smart device and encapsulate the state data as a block.
[0074] After the smart device completes network configuration, the home hub can collect the current state data of the smart device at a preset time interval (for example, every 5 minutes) and encapsulate the state data as a block. The state data can include the current state of the smart device, such as an on state or an off state; for example, the smart device is an air conditioner, and the state data can also include the set temperature, the current environment temperature, the wind speed, etc. The state data can also include online, offline, firmware version, abnormal log, etc., which are not limited by the embodiments of the present application.
[0075] The block can include a timestamp, a device ID, a state value, a previous block hash value, etc., which are not limited by the embodiments of the present application.
[0076] Step 204, uploading the block to a cloud blockchain node for storage.
[0077] After obtaining the block, the home host can upload the block to a cloud blockchain node for storage; for example, the block can be transmitted to the cloud blockchain node for storage through TLS1.3 encryption.
[0078] After the cloud blockchain node verifies the hash value (tamper-proofing) of the block, it is linked to the main chain to form an unalterable device state log;
[0079] Users can query the historical state on the blockchain through the APP (for example, "the device was offline on 2024-03-1015:00:00, reason: low battery").
[0080] In the embodiment of the application, after the first device information broadcast by the first Bluetooth module is scanned, the network configuration request for the smart device is pushed; in the case of network configuration request confirmation, the smart device is configured; after the smart device is successfully configured, the state data of the smart device is collected and encapsulated as a block; the block is uploaded to a cloud blockchain node for storage. Through the embodiment of the application, the smart device can be connected to the network out of the box, thereby simplifying the network configuration process of the smart device and improving the network configuration efficiency; in addition, the embodiment of the application can improve the utilization value of the packaging box of the smart device.
[0081] Hereinafter, the method of smart network configuration mentioned in the application is described from the perspective of a user mobile device:
[0082] Referring to Figure 3 , another step flow chart of the network configuration method of the smart device is shown, which can include the following steps:
[0083] Step 301, receiving a network configuration request for a smart device; the network configuration request is pushed by a home host to a user mobile device after the home host scans first device information broadcast by a first Bluetooth module.
[0084] For a user mobile device (such as a mobile phone), a network configuration request for a smart device sent by a host can be received first. For example, the network configuration request can be generated by the host after scanning first device information broadcast by a first Bluetooth module on a packaging box of the smart device, and pushed to the user mobile device.
[0085] Step 302, sending confirmation information for the network configuration request to the home host; the home host configures the smart device after receiving the confirmation information.
[0086] After receiving the network configuration request, the user mobile device can first verify the identity of the home hub; for example, the gateway_id can be queried in the registration list. If the verification is passed, and the user performs a confirmation operation, the user mobile device sends the confirmation information for the network configuration request to the home hub.
[0087] After receiving the confirmation information, the home hub can continue to perform the operation of configuring the network for the smart device; for example, issuing a dynamic network key to the smart device.
[0088] In the embodiment of the application, the network configuration request for the smart device is received; the network configuration request is pushed by the home hub to the user mobile device after scanning the first device information broadcast by the first Bluetooth module; the confirmation information for the network configuration request is sent to the home hub; and the home hub configures the network for the smart device after receiving the confirmation information. Through the embodiment of the application, the out-of-box networking can be realized, thereby simplifying the network configuration process of the smart device and improving the network configuration efficiency; in addition, the use value of the packaging box of the smart device can be improved through the use of the packaging box of the smart device.
[0089] Referring to Figure 4 , a step flow chart of another network configuration method of a smart device is shown, which can include the following steps:
[0090] In step 401, a first label module is further arranged on the packaging box of the smart device, and the second device information of the smart device is stored in the first label module; after detecting the first label module, the second device information of the smart device stored in the first label is read, and the smart device is verified according to the second device information.
[0091] In some feasible embodiments, a first label module can also be arranged on the packaging box of the smart device, which can be an NFC (Near Field Communication) label. The second device information of the smart device can be stored in the first label module; the second device information can include the device ID of the smart device, the device type of the smart device, etc., which is not limited in the embodiment of the application.
[0092] In actual application, the user mobile device can be a device with NFC reading function. When network configuration is needed, the user can place the user mobile device close to the first label module arranged on the packaging box.
[0093] After approaching the first label module, the user mobile device can read the second device information stored in the first label module from the first label module after detecting the first label module.
[0094] After obtaining the second device information, the user mobile device can verify the smart device based on the second device information. For example, the user mobile device can send the second device information to the cloud, and then the cloud verifies.
[0095] Step 402, receiving a network configuration request for the smart device.
[0096] In some possible embodiments, the first Bluetooth module can be arranged on the packaging box of the smart device, and the first Bluetooth module can be used to broadcast the first device information of the smart device for the network configuration operation of the home hub.
[0097] After receiving the first device information of the smart device, the home hub can first push a network configuration request for the smart device to the user mobile device.
[0098] Step 403, verifying the home hub.
[0099] After receiving the network configuration request for the smart device, the user mobile device can first verify the home hub; for example, the user mobile device can verify the identity of the home hub through the cloud after receiving the network configuration request; for example, the cloud can query the registration list through the gateway_id to verify the home hub.
[0100] Step 404, sending confirmation information for the network configuration request to the home hub.
[0101] In some possible embodiments, after receiving the network configuration request, the APP on the user mobile device can jump to the network configuration interface; the operation of jumping to the interface can be performed after the home hub is verified, or can be performed after the smart device is verified, and the embodiments of the present application do not limit this.
[0102] After displaying the network configuration interface on the APP, the user can perform a confirmation operation on the interface; at this time, the user mobile device can generate confirmation information for the network configuration request, and send the confirmation information to the home hub.
[0103] Step 405, obtaining a dynamic network key, and issuing the dynamic network key to the home hub when the smart device and the home hub are verified.
[0104] In some possible embodiments, after the smart device is verified, the user mobile device can obtain the dynamic network key from the cloud.
[0105] After obtaining the dynamic network key and the verification of the smart device and the home hub are passed, the user mobile device can send the obtained dynamic network key to the home hub. After obtaining the dynamic network key, the home hub can send the dynamic network key to the smart device; the smart device can cache the dynamic network key and complete the network configuration based on the dynamic network key.
[0106] After the smart device completes the network configuration, the home hub can synchronize the state of the smart device to the cloud.
[0107] In the embodiment of the application, the packaging box of the smart device is further provided with a first label module, and the second device information of the smart device is stored in the first label module; after detecting the first label module, the second device information of the smart device stored in the first label is read, and the smart device is verified according to the second device information; the network configuration request for the smart device is received; the home hub is verified; the confirmation information of the network configuration request is sent to the home hub; the dynamic network key is obtained, and the dynamic network key is sent to the home hub when the smart device and the home hub are verified. Through the embodiment of the application, the smart device can be connected to the network as soon as it is unpacked, thereby simplifying the network configuration process of the smart device and improving the network configuration efficiency; in addition, the use value of the packaging box of the smart device can be improved by using the packaging box of the smart device.
[0108] Referring to Figure 5 , a step flow chart of another network configuration method of a smart device is shown, which can include the following steps:
[0109] Step 501, image data of the packaging box is collected, and the image data is identified to determine the position information of the first label module.
[0110] In some possible embodiments, after receiving the packaging box containing the smart device, the user may not find the position of the first label module at first; at this time, the user can collect the image data of the packaging box by calling the user mobile device.
[0111] For example, the user can open the camera module in the user mobile device to collect the image data of the packaging box.
[0112] After obtaining the image data, the user mobile device can identify the image data; then, the user mobile device can determine the position information of the image of the first label module in the image data based on the identified result.
[0113] Step 502, the position of the first label module on the packaging box is prompted according to the position information.
[0114] After obtaining the position information, the user mobile device can display a prompt in the interface to prompt the user to go to where to find the first label module.
[0115] For example, the first label module is on the upper side of the packaging box; the image data identifies that the packaging box is inverted, and the user can be prompted downward to prompt the user that the first label module is currently on the "lower side" of the packaging box, and the embodiments of the present application do not make any limitation.
[0116] Step 503, after detecting the first label module, reading the second device information of the smart device stored in the first label, and verifying the smart device according to the second device information.
[0117] In some possible embodiments, the packaging box of the smart device can also be provided with a first label module, and the first label module can be an NFC label. The first label module can store second device information of the smart device; the second device information can include a device ID of the smart device, a device type of the smart device, etc., and the embodiments of the present application do not make any limitation.
[0118] In actual application, the user mobile device can be a device with NFC reading function. When network configuration is needed, the user can move the user mobile device close to the first label module provided on the packaging box.
[0119] After moving close to the first label module, the user mobile device can detect the first label module and read the second device information stored in the first label module from the first label module.
[0120] After obtaining the second device information, the user mobile device can verify the smart device based on the second device information. For example, the user mobile device can send the second device information to the cloud, and then the cloud verifies.
[0121] Step 504, receiving a network configuration request for the smart device.
[0122] In some possible embodiments, the packaging box of the smart device can be provided with a first Bluetooth module, and the first Bluetooth module can be used to broadcast the first device information of the smart device for the network configuration operation of the home host.
[0123] After receiving the first device information of the smart device, the home host can first push a network configuration request for the smart device to the user mobile device.
[0124] Step 505, verifying the home host.
[0125] The user mobile device can verify the home hub after receiving the network configuration request. For example, the user mobile device can verify the identity of the home hub through the cloud after receiving the network configuration request. For example, the cloud can query the registration list through the gateway_id to verify the home hub.
[0126] In step 506, the user mobile device sends the confirmation information of the network configuration request to the home hub.
[0127] In some embodiments, the APP on the user mobile device can jump to the network configuration interface after receiving the network configuration request. The operation of jumping to the interface can be performed after the home hub is verified or after the smart device is verified, which is not limited in the embodiments of the present application.
[0128] After displaying the network configuration interface on the APP, the user can perform the confirmation operation on the interface. At this time, the user mobile device can generate the confirmation information of the network configuration request and send the confirmation information to the home hub.
[0129] In step 507, the dynamic network key is obtained, and the dynamic network key is sent to the home hub when the smart device and the home hub are verified.
[0130] In some embodiments, the user mobile device can obtain the dynamic network key from the cloud after verifying the smart device.
[0131] After obtaining the dynamic network key and verifying the smart device and the home hub, the user mobile device can send the obtained dynamic network key to the home hub. The home hub can send the dynamic network key to the smart device after obtaining the dynamic network key. The smart device can cache the dynamic network key and complete the network configuration based on the dynamic network key.
[0132] After the smart device completes the network configuration, the home hub can synchronize the state of the smart device to the cloud.
[0133] In the embodiment of the present application, image data of the packaging box is collected, and the image data is recognized to determine position information of the first label module; the position information of the first label module on the packaging box is prompted according to the position information; after the first label module is detected, the second device information of the smart device stored in the first label is read, and the smart device is verified according to the second device information; the network configuration request for the smart device is received; the home hub is verified; the confirmation information of the network configuration request is sent to the home hub; the dynamic network key is obtained, and the dynamic network key is issued to the home hub when the smart device and the home hub pass the verification. Through the embodiment of the present application, the smart device can be connected to the network as soon as it is unpacked, thereby simplifying the network configuration process of the smart device and improving the network configuration efficiency. In addition, the use value of the packaging box of the smart device can be improved by using the packaging box of the smart device.
[0134] It should be noted that, for the method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited by the action sequence described, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0135] The embodiment of the present application also provides a packaging box of a smart device, the packaging box being provided with a first Bluetooth module, the first Bluetooth module being used for broadcasting first device information of the smart device to a home hub;
[0136] The home hub is used for pushing a network configuration request for the smart device after scanning the first device information broadcast by the first Bluetooth module; and the smart device is network configured under the condition that the network configuration request is confirmed.
[0137] In some feasible embodiments, the first Bluetooth module can be arranged inside the packaging box or outside the packaging box; since the Bluetooth signal can penetrate the box body of the packaging box, the specific position of the first Bluetooth module in the packaging box is not limited in the embodiments of the present application.
[0138] The first Bluetooth module can be used for broadcasting the first device information of the smart device, so as to be used for the operation of network configuration of the home hub.
[0139] The first Bluetooth module can be a low-power Bluetooth module; when the packaging box containing the smart device is purchased back home by a user, the first device information of the smart device broadcast by the first Bluetooth module in the packaging box will be scanned by the home hub.
[0140] The broadcast of the first Bluetooth module can be interval 1 second, and the signal range is ≤5 meters, so as to avoid broadcasting to other non-purchase users' home hubs for network configuration.
[0141] The home hub can first push a network configuration request for the smart device to the cloud after receiving the first device information of the smart device, or push the network configuration request for the smart device to a mobile device (for example, a user's mobile phone), and the mobile device pushes the network configuration request to the cloud.
[0142] In the case of network configuration request confirmation, that is, in the case of allowing the smart device to be configured, the home hub can complete the network configuration process with the smart device.
[0143] In an embodiment of the present application, the power supply circuit of the first Bluetooth module is open when the packaging box of the smart device is not opened, and is closed when the packaging box of the smart device is opened; the first Bluetooth module is used to broadcast the first device information of the smart device when the power supply circuit is closed.
[0144] In some feasible embodiments, the first Bluetooth module can be provided with a power supply circuit; wherein the power supply circuit can be used to supply power to the first Bluetooth module.
[0145] In actual application, in order to reduce cost and also to reduce the weight of the packaging box, the power of the power supply circuit is limited; therefore, the power supply circuit can be set as:
[0146] When the packaging box of the smart device is not opened, the power supply circuit of the first Bluetooth module can be in an open state; at this time, the first Bluetooth module does not run, that is, does not broadcast the first device information of the smart device.
[0147] Conversely, when the packaging box containing the smart device is transported to the home by the user and the packaging box is opened, the power supply circuit of the first Bluetooth module will be in a closed state; at this time, the first Bluetooth module will start broadcasting the first device information of the smart device.
[0148] Based on this setting, the first Bluetooth module starts broadcasting the first device information of the smart device only when the packaging box is opened; therefore, a low-cost and small-quality battery can be used as the power supply unit of the first Bluetooth module.
[0149] In the embodiment of the present application, the packaging box of the smart device is provided with a first Bluetooth module, and the first Bluetooth module is used to broadcast the first device information of the smart device to the home hub; the home hub is used to push a network configuration request for the smart device after scanning the first device information broadcast by the first Bluetooth module; and the smart device is configured in the case of network configuration request confirmation. Through the embodiment of the present application, the smart device can be connected to the network as soon as the packaging box is opened, thereby simplifying the network configuration process of the smart device and improving the network configuration efficiency; in addition, the packaging box of the smart device is utilized in the embodiment of the present application, thereby improving the utilization value of the packaging box.
[0150] In an embodiment of the present application, the power supply circuit comprises a power supply unit, a blocking unit and a resilient unit; wherein:
[0151] The resilient unit is connected with the first Bluetooth module, and the blocking unit blocks or does not block the connection between the resilient unit and the power supply unit based on the opening / closing state of the packaging box.
[0152] In some possible embodiments, the power supply circuit of the first Bluetooth module can comprise a power supply unit, a blocking unit and a resilient unit; wherein the resilient unit is connected with the first Bluetooth module, and the blocking unit can block or not block the connection between the resilient unit and the power supply unit when the packaging box is in different states. The resilient unit can be a spring, and the blocking unit can be a sheet of non-conductive material; the power supply unit can be a flexible battery + piezoelectric power generation module to realize the power supply of the first Bluetooth module, and the embodiments of the present application do not limit this.
[0153] For example, when the packaging box is in a closed state, i.e., the packaging box is not unpacked, the blocking unit blocks the connection between the resilient unit and the power supply unit, so that the power supply unit is not connected with the resilient unit, i.e., the power supply unit is not connected with the first Bluetooth module. At this time, the first Bluetooth module will be in a state of no power supply, i.e., not working.
[0154] On the contrary, if the blocking unit does not block the connection between the resilient unit and the power supply unit when the packaging box is in an open state, i.e., the packaging box is unpacked, so that the power supply unit is connected with the resilient unit, i.e., the power supply unit is connected with the first Bluetooth module. At this time, the first Bluetooth module will be in a state of being powered by the power supply, i.e., start broadcasting the first device information.
[0155] For example, the first Bluetooth module can be provided with a conductive contact to be connected with the resilient unit; the conductive contact is blocked by the blocking unit, so that the resilient unit is not connected with the conductive contact when the packaging box is not unpacked.
[0156] In an embodiment of the present application, as shown in Figure 6 and Figure 7 The packaging box 60 comprises a box body part 610 and a box cover part 620 connected with the box body part 610; the power supply unit 630 and the resilient unit 640 are located in the box body part, and the blocking unit 650 is connected with the box cover part 620.
[0157] In some possible embodiments, the packaging box 60 can comprise a box body part 610 and a box cover part 620 connected with the box body part 610; when the box cover part 620 is covered, the box body part 610 and the box cover part 620 form an unpacked packaging box 60. When the box cover is opened, the box body part 610 and the box cover part 620 are separated, and at this time the packaging box 60 is in an open state, i.e., an unpacked state.
[0158] The blocking unit 650 can be connected with the box cover part 620, and the power supply unit 630 and the elastic unit 640 can be located in the box body part 610; when the box cover part 620 is covered, the blocking unit 650 will be located between the power supply unit 630 and the elastic unit 640, and the connection between the power supply unit 630 and the elastic unit 640 is blocked.
[0159] Conversely, when the box cover part 620 is opened, the blocking unit 650 will be separated from the power supply unit 630 and the elastic unit 640; at this time, the elastic unit 640 will be stretched due to the elasticity and connected with the power supply unit 630, so that the power supply unit 630 supplies power to the first Bluetooth module 660; at this time, the first Bluetooth module 660 will broadcast the first device information.
[0160] In an embodiment of the present application, the packaging box 60 of the smart device is further provided with a first label module 670, and the first label module 670 stores second device information of the smart device; the first label module 670 is used to trigger the commissioning interface of the user mobile device, and is used to trigger the user mobile device to obtain a dynamic network key.
[0161] In some possible embodiments, the packaging box 60 of the smart device can be further provided with a first label module 670, and the first label module 670 can be an NFC (Near Field Communication) label. The first label module 670 can store second device information of the smart device; the second device information can include a device ID of the smart device, a device type of the smart device, etc., and the embodiments of the present application do not limit this.
[0162] In actual application, the user mobile device can be a device with NFC reading function. When commissioning is needed, the user can place the user mobile device close to the first label module 670 provided on the packaging box 60.
[0163] After being close to the first label module 670, the user mobile device can read the second device information stored in the first label module 670 from the first label module 670 after detecting the first label module 670.
[0164] After obtaining the second device information, the user mobile device can verify the smart device based on the second device information. For example, the user mobile device can send the second device information to the cloud, and then the cloud verifies the smart device.
[0165] As shown in FIG. 6, the first Bluetooth module 660 and the first label module 670 can be respectively arranged in the box body part 610. Figure 6
[0166] Exemplarily, the embodiment of the present application can prevent man-in-the-middle attacks and improve network configuration security through dynamic encryption.
[0167] In another example, through the first Bluetooth module and the first tag module, multiple smart devices can be simultaneously networked, thereby reducing the network configuration operation steps and shortening the network configuration time.
[0168] In an embodiment of the present application, the packaging box 60 further comprises an accessory compartment; as Figure 8 shown, a second tag module 680 is arranged in the accessory compartment, and the second tag module 680 stores at least one of the device identifier, the production batch, and the software version of the smart device.
[0169] In some possible embodiments, the packaging box 60 can further comprise an accessory compartment, which can be used to accommodate accessories of the smart device, such as a remote controller, a battery, etc., and the embodiments of the present application do not limit this.
[0170] The second tag module 680 can be arranged in the accessory compartment, and the second tag module 680 can store at least one of the device identifier, the production batch, and the software version of the smart device, so that the service personnel can read the information in the second tag module of the accessory compartment through a special NFC card reader, thereby calling the activation log (such as the first network configuration time, the historical fault code) of the smart device stored in the cloud, quickly positioning the problem (such as "the device is offline due to the too old firmware version"), and calling the historical activation log of the device to assist in troubleshooting.
[0171] Referring to Figure 9 , a step flowchart of triggering and network configuration of an embodiment of the present application is shown:
[0172] Physical trigger: after the user opens the packaging box, the spring unit and the conductive contact are closed, and the Bluetooth Mesh module (i.e., the first Bluetooth module) is activated for power supply;
[0173] NFC assisted jump: the user approaches the NFC tag (i.e., the first tag module) with the mobile phone (i.e., the user's mobile device), reads the encrypted URL (Uniform Resource Locator, Uniform Resource Locator) (containing the device type and the home host identifier), and automatically jumps to the brand APP.
[0174] Dynamic information broadcast:
[0175] The Bluetooth Mesh module broadcasts the first device information (for example: device type, firmware version, unique identifier) in a low-power mode, the broadcast interval is 1 second, and the signal range is ≤5 meters.
[0176] Encrypted broadcast: the broadcast data is encrypted by AES128, the key is derived from the NFC tag hash value, and the home host holds the decryption key.
[0177] Home host response: After scanning the broadcast, the home host verifies the device's legitimacy through the cloud and pushes a network configuration request to the user's APP.
[0178] The user clicks the APP to confirm network configuration; the mobile phone sends confirmation information to the home host.
[0179] The home host sends a dynamic NetKey (i.e., a dynamic network key) to the smart device via Bluetooth Mesh; after the smart device completes the key exchange, it automatically joins the network; the home host synchronizes the device status to the cloud.
[0180] After a smart device is connected to the network, the home host automatically executes preset rules; users can adjust the parameters of the smart device through the smart control screen, mobile phone, or voice.
[0181] like Figure 10 The following is a flowchart illustrating the steps of an unpacking stage according to an embodiment of the present invention:
[0182] Step 1: NFC Tag Reading (User Side)
[0183] ① The mobile phone calls the NFC card reader through Android's NfcAdapter or iOS's CoreNFC framework;
[0184] ② The encrypted data read must first be decrypted using the tag hash value (pre-stored in the hash_value field of the tag) to verify whether the signature matches the production end public key and ensure that the data has not been tampered with;
[0185] ③ If NFC reading fails (e.g., the tag is damaged), the mobile app will prompt the user to "re-touch the tag" or switch to an alternative solution (e.g., scanning the QR code on the packaging).
[0186] Step 2: Upload Device ID via HTTPS (Mobile Phone → Cloud)
[0187] 1. After the mobile APP parses the NFC tag data, it extracts the device_uid, device_type, and user account information (such as the logged-in mobile phone number) and uploads them to the cloud server via an HTTPS POST request.
[0188] 2. The communication link uses TLS 1.3 encryption, and the mobile phone and the cloud are mutually authenticated through CA certificates (the mobile phone verifies the validity of the cloud certificate, and the cloud verifies the signature of the mobile APP).
[0189] 3. The parameters of the network configuration request include: user_id (unique user identifier), device_uid (device UID), device_type (device type), timestamp (timestamp, to prevent replay attacks), and nonce (random number).
[0190] Step 3: Cloud Verification (Cloud Server)
[0191] After receiving the device_uid uploaded by the mobile phone, the cloud performs multi-dimensional verification to ensure that the device is legitimate and has not been activated. Verification logic:
[0192] 1. Equipment legality verification:
[0193] ① Query the device management database to verify if device_uid exists (it has been registered during the production phase);
[0194] ② Check if the device status is "inactive" (to prevent duplicate network configuration).
[0195] 2. User permission verification:
[0196] ① Query the user database using user_id to verify whether the user has the binding permission for the device (such as purchase records, gift distribution records);
[0197] ② If this is the user's first network configuration, generate the association between the user and the device (stored in the user-device binding table).
[0198] 3. Anti-tampering verification:
[0199] ① Recalculate the signature of the NFC tag data (decrypt the signature using the public key pre-stored in the tag and verify whether the original data matches);
[0200] ② Verify the timeliness of the timestamp (e.g., require the time difference between the timestamp and the cloud time to be ≤30 seconds to prevent replay attacks).
[0201] 4. Result Output:
[0202] ① Verification passed: A dynamic NetKey is generated, and subsequent processes are triggered;
[0203] ② Verification failed: Return an error code to the APP (such as "Device not registered", "No permission", "Data tampered") to prompt the user to investigate.
[0204] Step 4: Return the dynamic NetKey to the app (cloud → mobile phone)
[0205] 1. After successful cloud verification, a dynamic NetKey (valid for 30 seconds) is generated using the AES-256 algorithm based on the device_uid, the current timestamp, and a nonce. The NetKey is then returned to the mobile app via an HTTPS response.
[0206] 2. NetKey transmits data via a TLS encrypted channel, and only the mobile app receives it (the home console is not yet involved in this process).
[0207] 3. After receiving the NetKey, the APP needs to cache it in memory (not store it locally) to prevent leakage.
[0208] Step 5: The home host scans for devices and pushes a network configuration request to the APP.
[0209] The home host (already connected to the internet) activates the Bluetooth Mesh scanning module to search for and broadcast nearby Bluetooth Mesh devices. Devices waiting to join the network (with activated Bluetooth Mesh modules) broadcast their device information according to preset rules. After the home host identifies the device, it combines this information with the NetKey returned from the cloud to push a network configuration request to the app. Detailed process:
[0210] 1. Home host computer scans Bluetooth Mesh broadcast
[0211] ① Scanning method: The home host scans the 2.4GHz band in low power mode (BLE) via Bluetooth 5.0 / 5.3 module, filtering out non-target devices (only receiving devices whose broadcast contains device_type).
[0212] ② Broadcast parsing: After receiving a device broadcast, parse the broadcast data (device type, firmware version, device_uid) and verify whether the device_uid is consistent with the device bound by the user (by querying the local user-device binding table).
[0213] 2. Home computer requests network configuration permissions
[0214] ① After the home host confirms that the device is legitimate, it sends a network configuration request to the mobile APP through the local network (Wi-Fi / wired) (the mobile phone and the home host must be on the same local area network);
[0215] ② The requested data includes: device_uid, home host ID (gateway_id), network type (Wi-Fi6 / Bluetooth Mesh), and the network configuration mode selected by the user (such as "automatic network access").
[0216] 3. The APP triggers the issuance of NetKey (network key).
[0217] ① After receiving the network configuration request from the home host, the mobile APP calls the previously cached dynamic NetKey and requests a "key exchange instruction" from the cloud through a TLS encrypted channel;
[0218] ② After verifying the home host's identity in the cloud (by querying the registration list using gateway_id), the app will return a "Allow Key Exchange" command.
[0219] ③ The APP sends NetKey to the home host via the local Bluetooth Mesh channel (or Wi-Fi Direct) (if the home host supports Bluetooth Mesh), or pushes it directly to the home host from the cloud (if the home host only supports Wi-Fi).
[0220] Additional steps: Exception handling and supplementary mechanisms
[0221] 1. NFC reading failure: The APP prompts "Please bring the tag close again" and adds vibration feedback; if it fails 3 times, it will redirect to the QR code scanning page (the QR code on the outer packaging box is bound to the NFC tag data);
[0222] 2. Cloud verification failed: The app displays a specific error (such as "Device not registered") and guides the user to contact customer service;
[0223] 3. NetKey transmission timeout: The mobile APP will retry uploading NetKey to the home host (maximum 3 times). After the timeout, the message "Network configuration timeout, please restart the device" will be displayed.
[0224] 4. The home host does not detect the device: The device's Bluetooth Mesh module increases the broadcast power (switches from low power mode to medium power mode), or the APP prompts the user "Please bring the device closer to the home host".
[0225] Regarding automatic network access (Matter protocol collaboration):
[0226] ① Dynamic key distribution:
[0227] After the user clicks to confirm in the APP, the home host sends a dynamic NetKey to the smart device via Bluetooth Mesh, and the smart device and the home host complete the key exchange.
[0228] Key Purpose: NetKey is the core security credential of the Matter network, used for two-way authentication between devices and home hosts (preventing unauthorized device access), encrypting control commands and status data between devices and hosts (AES-128 / 256 encryption), and participating in the key hierarchical management of the Mesh network (such as generating application keys APPKey for encryption of specific business data).
[0229] The key exchange process must follow the Matter protocol's "Secure Join" procedure, which includes the following steps:
[0230] ① The home host broadcasts a broadcast packet containing a temporary session key via Bluetooth Mesh;
[0231] ② The device to be connected to the network obtains the SessionKey by decrypting the AES-128 (using a key derived from the hash value of the NFC tag);
[0232] ③ The device and the host negotiate and generate a NetKey based on the SessionKey, and transmit the final key through a TLS 1.3 tunnel (to prevent man-in-the-middle attacks);
[0233] ④ After verifying the validity of the NetKey, the device sends a "join request" to the host to complete the network registration.
[0234] Security mechanism: NetKey uses TLS 1.3 for encrypted transmission and changes the key each time it is configured to prevent replay attacks.
[0235] Regarding seamless network access:
[0236] The device automatically joins the Matter network without requiring the user to manually enter a password. This "seamless network access" relies on the following technologies:
[0237] ① Pre-shared key (PSK) association: Before leaving the factory, the device is bound to the home host's unique identifier (such as MAC address or device serial number) via NFC tag. During network configuration, the home host can directly identify the "legitimate device";
[0238] ② Dynamic NetKey Automatic Distribution: The home host actively pushes the NetKey to the device via Bluetooth Mesh, and the device automatically completes key storage and network registration after receiving it;
[0239] ③ Matter Protocol simplifies the process: The Matter protocol supports "zero-touch provisioning," allowing devices to directly negotiate network access with the home host via Bluetooth Mesh or Wi-Fi without user intervention. The host synchronizes device status (online / offline) to the cloud blockchain for record-keeping.
[0240] 1. After the device is connected to the network, it should periodically (e.g., every 5 minutes) report its status (online / offline, firmware version, error logs, etc.) to the home host.
[0241] The home console encapsulates state data into "blocks" (containing timestamps, device IDs, state values, and the hash of the previous block);
[0242] 2. Blocks are transmitted to cloud blockchain nodes using TLS 1.3 encryption;
[0243] After the cloud blockchain node verifies the block hash value (tamper-proof), it links it to the main chain to form an immutable device status log;
[0244] 3. Users can query the historical status on the blockchain through the APP (e.g., "Device went offline on 2024-03-10 15:00:00, reason: insufficient power")).
[0245] Software logic update:
[0246] ① Add a "Bluetooth Mesh Pairing Mode" option to the app, allowing users to choose NFC direct connection (yes, "NFC direct connection" refers to directly transmitting network configuration information (such as Wi-Fi SSID / password, Mesh network key) via NFC tag, consistent with traditional NFC pairing logic. Its advantages are:
[0247] ① No Bluetooth required: Some older devices may not support Bluetooth Mesh, but can be quickly paired via NFC direct connection;
[0248] ② Enhanced security: NFC communication distance is extremely short (<10cm), which can prevent man-in-the-middle attacks;
[0249] ③ Enhanced compatibility: Suitable for older smart devices that do not support Bluetooth Mesh (firmware upgrade required to support Matter protocol). (Alternatively, for bulk Bluetooth network access.)
[0250] ② Deploy a dynamic NetKey generation algorithm on the host side to support independent key configuration for each batch of devices.
[0251] After-sales service and iteration:
[0252] (1) The outer box seal pressure sensor is linked with the production line barcode scanner (linkage refers to the data loop between the production end and the after-sales service end:
[0253] ① Production stage: When the product is packed, the production line barcode scanner scans the unique code on the outer box (such as the logistics tracking number), and at the same time the pressure sensor records the initial state of the seal (the pressure value when it is not opened, such as 10N).
[0254] ② User unpacking stage: When the user tears open the seal, the pressure sensor detects a sudden drop in pressure (e.g., <2N), triggering the spring conductive contact to close and activating the Bluetooth Mesh module;
[0255] ③ After-sales verification stage: Service personnel retrieve the production barcode scanning record (initial pressure value, timestamp) of the outer box through the after-sales system and compare it with the pressure value and timestamp when the Bluetooth Mesh module was activated in the blockchain to verify whether the packaging has been opened in advance (anti-tampering). The seal activation timestamp is recorded and matched with the blockchain data.
[0256] (2) The APP has an embedded AR guidance function, which prompts the user to move the camera close to the NFC chip location (AR guidance is based on the image recognition technology of the mobile phone camera).
[0257] ① After the APP is launched, it uses the camera to scan specific markings (such as QR codes or patterns) on the outer box / pallet;
[0258] ② Identify the location of NFC tags (such as the marking area on the side of the tray groove) using a pre-trained computer vision model;
[0259] ③ Overlay an AR arrow / highlighted frame on the phone screen to prompt the user to "Please bring your phone close to this location";
[0260] ④ After the user follows the prompts, the APP automatically triggers the NFC reading process and redirects to the network configuration interface.
[0261] In after-sales scenarios, service personnel can use a dedicated NFC reader to read the RFID tags in the accessory compartment (the RFID tags are hidden tags inside the packaging accessory compartment, and their functions are as follows:)
[0262] ① Production stage: Each device has an RFID tag embedded in its accessory compartment (such as remote control compartment, battery compartment), which contains information such as the device's unique ID, production batch, and software version;
[0263] ② After-sales stage: Service personnel use a dedicated NFC card reader (supporting RFID protocol) to approach the accessory compartment, read the tag information, and retrieve the device activation logs stored in the cloud (such as the initial network configuration time and historical fault codes) to quickly locate the problem (such as "the device is offline due to an outdated firmware version"). They also retrieve historical device activation logs to assist in troubleshooting.
[0264] (4) Update the cloud-based dynamic key generation algorithm quarterly (the dynamic key generation algorithm is deployed on the cloud management platform of the home host (such as an IoT cloud platform), and the home host can upgrade the algorithm logic via OTA (over-the-air download). (e.g., from AES128 to AES256), without modifying the hardware structure.
[0265] Preset rules are device linkage logics predefined by users or manufacturers (such as "morning scene" or "away mode"). The home host needs to automatically trigger rule execution based on the type, status, and environmental data of the connected devices. The steps include:
[0266] Step 1: Event Listening and Data Acquisition
[0267] 1. The home console needs to obtain the following data in real time to determine whether the rule has been triggered:
[0268] ① Device status changes: Monitor the status reports of connected devices via Bluetooth Mesh network (such as sockets being powered on, light bulbs being off);
[0269] ② Sensor data: If the system integrates environmental sensors (temperature, humidity, PM2.5), it receives real-time data via the MQTT / CoAP protocol;
[0270] ③ Time-based events: Triggering scheduled tasks based on the system clock (e.g., daily at 20:00).
[0271] 2. Technical details:
[0272] ① Device status changes are reported via Bluetooth Mesh "State Messages", and the home host subscribes to relevant topics (such as home / + / device / dev_001 / status);
[0273] ② Sensor data is transmitted to the home host via Zigbee / Wi-Fi, and after protocol conversion, it is uniformly converted into MQTT messages;
[0274] ③ Time-based events are triggered by the cron service of the Linux system or the scheduled task module of the IoT platform.
[0275] Step 2: Condition Matching and Rule Filtering
[0276] The home console's "rule engine" (based on open-source frameworks such as Node-RED or a self-developed engine) matches the collected event data with preset rules;
[0277] Step 3: Action Execution and Equipment Control
[0278] Once the match is successful, the home host will perform the following actions:
[0279] 1. Direct control equipment:
[0280] ① For devices that support Bluetooth Mesh, the home host sends control commands (such as SET_POWER_ON) through the Bluetooth Mesh network;
[0281] ② For devices that support other protocols (such as Wi-Fi), instructions are forwarded via the cloud (home host → cloud → device).
[0282] 2. Multi-device linkage and coordination:
[0283] ① If the rule involves multiple devices (such as "close the curtains → turn on the air conditioner"), the home host sends the instructions in a preset order (or in parallel) and waits for the devices to confirm the response (the timeout is usually set to 5 seconds);
[0284] ② If a device does not respond (e.g., offline), the home host records the anomaly and triggers an alarm (pushing a notification to the APP).
[0285] 3. Communication Protocol:
[0286] ① Bluetooth Mesh: Uses Mesh Model specifications (such as Light Lightness Model to control light brightness);
[0287] ② Cloud forwarding: Call the device's cloud service API (such as POST / api / device / {device_uid} / command) via an HTTP / 2 interface encrypted with TLS 1.3.
[0288] Step 4: Status Feedback and Log Recording
[0289] 1. Device Status Synchronization: The home host updates the latest device status in the local database (such as changing the socket status from "off" to "on") and broadcasts it to other associated devices via Bluetooth Mesh (ensuring status consistency);
[0290] 2. User notification: Inform users of the rule execution results via APP push, SMS or voice assistant (e.g., "The air conditioner has been turned on for you");
[0291] 3. Log storage: The rule trigger time, conditions, execution actions and results are written to the blockchain (consistent with the "device status storage" logic in the solution) to ensure that the operation is traceable.
[0292] If the preset rules do not meet the user's expectations, the user can actively adjust the device parameters (such as changing the air conditioner temperature or setting the light brightness) through visual interaction (central control screen) or natural language interaction (voice assistant). The home host needs to parse the command and send it to the target device.
[0293] like Figure 11 The following is a flowchart illustrating the steps of a distribution network stage according to an embodiment of the present invention:
[0294] First, the Bluetooth Mesh module can broadcast the initial device information. Then, the home host can push the NetKey to the smart device to enable it to connect to the network. Next, the home host can synchronize the smart device's activation logs on the blockchain for subsequent troubleshooting and maintenance.
[0295] Reference Figure 12This diagram illustrates a network configuration device for a smart device according to an embodiment of the present invention. Applied to a home host, the smart device's packaging box includes a first Bluetooth module for broadcasting first device information of the smart device. It may include the following modules:
[0296] The push module 1201 is used to push a network configuration request for the smart device after scanning the first device information broadcast by the first Bluetooth module.
[0297] The distribution module 1202 is used to distribute network to smart devices upon confirmation of the distribution request.
[0298] In an optional embodiment of the present invention, the power supply circuit of the first Bluetooth module is disconnected when the packaging box of the smart device is not opened, and connected when the packaging box of the smart device is opened; the first Bluetooth module is used to broadcast the first device information of the smart device when the power supply circuit is connected.
[0299] In an optional embodiment of the present invention, the apparatus further includes:
[0300] The upload module is used to collect the status data of the smart device after the smart device is successfully configured to the network, and encapsulate the status data into blocks; then upload the blocks to the cloud blockchain node for storage.
[0301] In this embodiment of the invention, a first Bluetooth module is provided on the packaging box of the smart device. The first Bluetooth module is used to broadcast first device information of the smart device. After the home host scans the first device information broadcast by the first Bluetooth module, it pushes a network configuration request for the smart device. If the network configuration request is confirmed, the smart device is configured for network access. Through this embodiment of the invention, network access can be achieved immediately upon opening the box, thereby simplifying the network configuration process of the smart device and improving network configuration efficiency. In addition, by utilizing the packaging box of the smart device, this embodiment of the invention can increase the utilization value of the packaging box.
[0302] Reference Figure 13 This diagram illustrates a network configuration device for a smart device according to an embodiment of the present invention. Applied to a user's mobile device, the smart device's packaging box includes a first Bluetooth module for broadcasting first device information of the smart device. It may include the following modules:
[0303] The receiving module 1301 is used to receive a network configuration request for a smart device; the network configuration request is pushed to the user's mobile device by the home host after scanning the first device information broadcast by the first Bluetooth module.
[0304] The confirmation module 1302 is used to send confirmation information for the network configuration request to the home host; after receiving the confirmation information, the home host configures the network for the smart devices.
[0305] In an optional embodiment of the present invention, a first label module is further provided on the packaging box of the smart device, and the first label module stores second device information of the smart device; the device further includes:
[0306] The verification module is used to read the second device information of the smart device stored in the first tag after the first tag module is detected, and to verify the smart device according to the second device information; to verify the home host; to obtain the dynamic network key, and to send the dynamic network key to the home host when the smart device and the home host are verified.
[0307] In an optional embodiment of the present invention, the apparatus further includes:
[0308] The reminder module is used to collect image data of the packaging box and identify the image data to determine the location information of the first label module; based on the location information, it prompts the position of the first label module on the packaging box.
[0309] In this embodiment of the invention, a network configuration request for a smart device is received; the network configuration request is pushed to the user's mobile device by the home host after scanning the first device information broadcast by the first Bluetooth module; a confirmation message for the network configuration request is sent to the home host; after receiving the confirmation message, the home host configures the smart device for network access. Through this embodiment of the invention, network access can be achieved immediately upon opening the box, thereby simplifying the network configuration process of smart devices and improving configuration efficiency; furthermore, this embodiment of the invention increases the utilization value of the smart device packaging box by utilizing the packaging box.
[0310] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described network configuration method for intelligent devices.
[0311] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0312] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0313] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0314] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0315] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0316] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0317] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0318] Finally, 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, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0319] The above provides a detailed description of the network distribution method, apparatus, medium, and packaging box for a smart device. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A network configuration method for intelligent devices, characterized in that, Applied to a home console, the smart device's packaging box is equipped with a first Bluetooth module, which is used to broadcast first device information of the smart device; the method includes: After scanning the first device information broadcast by the first Bluetooth module, a network configuration request is pushed to the smart device; Upon confirmation of the network configuration request, network configuration is provided for the smart device.
2. The method according to claim 1, characterized in that, The power supply circuit of the first Bluetooth module is disconnected when the packaging box of the smart device is not opened, and connected when the packaging box of the smart device is opened; the first Bluetooth module is used to broadcast the first device information of the smart device when the power supply circuit is connected.
3. The method according to claim 1, characterized in that, After the smart device is successfully configured to use the network, the method further includes: Collect the status data of the smart device and encapsulate the status data into blocks; The blocks are uploaded to cloud blockchain nodes for storage.
4. A network configuration method for intelligent devices, characterized in that, Applied to user mobile devices, the smart device's packaging box is equipped with a first Bluetooth module, which is used to broadcast first device information of the smart device; the method includes: Receive a network configuration request for the smart device; the network configuration request is pushed to the user's mobile device by the home host after scanning the first device information broadcast by the first Bluetooth module; The system sends a confirmation message to the home host in response to the network configuration request; upon receiving the confirmation message, the home host configures the network for the smart device.
5. The method according to claim 4, characterized in that, The packaging box of the smart device is also provided with a first label module, which stores the second device information of the smart device; the method further includes: After detecting the first tag module, the second device information of the smart device stored in the first tag is read, and the smart device is verified according to the second device information; Verify the home host; A dynamic network key is obtained, and when the smart device and the home host are successfully verified, the dynamic network key is sent to the home host.
6. The method according to claim 5, characterized in that, The method further includes: The image data of the packaging box is acquired and identified to determine the location information of the first label module; Based on the location information, the position of the first label module on the packaging box is indicated.
7. A packaging box for a smart device, characterized in that, The packaging box is provided with a first Bluetooth module, which is used to broadcast the first device information of the smart device to the home host. The home host is used to scan the first device information broadcast by the first Bluetooth module and push a network configuration request for the smart device; if the network configuration request is confirmed, the smart device is configured for network configuration.
8. The packaging box according to claim 7, characterized in that, The power supply circuit of the first Bluetooth module is disconnected when the packaging box of the smart device is not opened, and connected when the packaging box of the smart device is opened; the first Bluetooth module is used to broadcast the first device information of the smart device when the power supply circuit is connected.
9. The packaging box according to claim 8, characterized in that, The power supply circuit includes a power supply unit, a barrier unit, and a flexible unit; wherein: The elastic unit is connected to the first Bluetooth module. The blocking unit, based on the open / closed state of the packaging box, may or may not block the connection between the elastic unit and the power unit.
10. The packaging box according to claim 9, characterized in that, The packaging box includes a box body and a lid connected to the box body; the power supply unit and the elastic unit are located in the box body, and the barrier unit is connected to the lid.
11. The packaging box according to claim 7, characterized in that, The packaging box of the smart device is also provided with a first label module, which stores the second device information of the smart device; the first label module is used to trigger the network configuration interface of the user's mobile device and to trigger the user's mobile device to obtain a dynamic network key.
12. The packaging box according to claim 7, characterized in that, The packaging box also includes an accessory compartment, which contains a second label module. The second label module stores at least one of the following information: the device identifier, production batch, and software version of the smart device.
13. A network distribution device for intelligent devices, characterized in that, A smart device, applicable to home consoles, has a first Bluetooth module mounted on its packaging box. This first Bluetooth module is used to broadcast first device information of the smart device. The device includes: The push module is used to push a network configuration request for the smart device after scanning the first device information broadcast by the first Bluetooth module; The network distribution module is used to distribute network to the smart device upon confirmation of the network distribution request.
14. A network distribution device for intelligent devices, characterized in that, Applied to user mobile devices, the smart device's packaging box is equipped with a first Bluetooth module, which is used to broadcast first device information of the smart device; the device includes: A receiving module is used to receive a network configuration request for the smart device; the network configuration request is pushed to the user's mobile device by the home host after scanning the first device information broadcast by the first Bluetooth module; The confirmation module is used to send confirmation information to the home host for the network configuration request; after receiving the confirmation information, the home host configures the network for the smart device.
15. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the network configuration method of the intelligent device as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Interaction control method and device of packaging box and electronic display device
CN103888756A
Smart home network access method, system and device and storage medium
CN114500136A
Control equipment, intelligent equipment network distribution method and computer readable storage medium
CN119421111A
Equipment management method, system and device, equipment and storage medium
CN119814487A
Anti -fake check system and anti -counterfeit packaging case
CN204776623U
Cited By
IoT device network configuration method and device combining edge cloud and large model
CN122496851A