Smart home networking method, system, electronic device and medium
The smart home networking method uses PLC and mobile interaction for automatic network setup, addressing the inconvenience of manual connection, ensuring fast and secure network configuration for smart home devices.
Patent Information
- Application Number
- CN202211687808.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2042-12-27
AI Technical Summary
Existing smart home appliances require manual network connection, which is inconvenient for users unfamiliar with the process or the elderly, leading to difficulties in network setup.
A smart home networking method utilizing power line communication (PLC) for automatic network configuration through tag data, supplemented by mobile terminal interaction and manual input when necessary, ensuring secure and efficient network setup.
Facilitates quick and secure network configuration of smart home devices without manual intervention, enhancing usability and accessibility for all users.
Smart Images

Figure CN116055237B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of home control, and in particular to a smart home networking method, system, electronic equipment and medium. Background Art
[0002] In the current society, the Internet of Things (IoT) smart home appliances are gradually becoming popular. When smart home appliances are purchased and used for the first time, users need to connect them to the network before they can be used normally. At present, when smart home appliances are connected to the network, they generally need to manually enter the network name and password or use the mobile phone to operate the network, which is quite troublesome. For people who do not know how to connect to the network or the elderly who do not know how to operate the mobile phone, it is impossible to perform the network connection operation, which is very inconvenient. Summary of the invention
[0003] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a smart home networking method, system, electronic device and medium, which can facilitate the networking of smart homes.
[0004] In order to achieve the above object, the present invention adopts the following technical solutions:
[0005] In one aspect, the present application provides a smart home networking method, including a first networking operation; the first networking operation includes:
[0006] Sending first demand data through the power line; the first demand data includes tag data of the smart home;
[0007] Receiving first networking data sent by the power controller; wherein the first networking data is obtained by the power controller encoding the first Internet access information using the tag data;
[0008] The first networking data is decoded using the tag data to obtain first online information, and networking is achieved based on the first online information.
[0009] Furthermore, if networking cannot be achieved based on the first Internet access information, the first networking operation is performed again.
[0010] Furthermore, before sending the demand data, it also includes:
[0011] Send handshake data over the power line;
[0012] If the feedback data is received within the predetermined time, the first demand data is sent.
[0013] Further, if the feedback data is not received within a predetermined time, a prompt is given to perform a second networking operation;
[0014] The second networking operation includes:
[0015] Sending second demand data in response to the first operation of the mobile terminal; the second demand data includes tag data of the smart home;
[0016] Receiving second network data to the mobile terminal in response to a second operation of the mobile terminal; wherein the second network data is obtained by the mobile terminal encoding the second Internet access information using the tag data;
[0017] The second networking data is decoded using the tag data to obtain second Internet access information, and networking is achieved based on the second Internet access information.
[0018] Furthermore, the second Internet access information includes data of multiple WiFi hotspots that the mobile terminal has connected to; the WiFi hotspot data includes a WiFi name and a WiFi password.
[0019] Further, if networking cannot be achieved based on the second Internet access information, a third networking operation is prompted to be performed;
[0020] The third networking operation includes:
[0021] Prompt network input box;
[0022] The third Internet access information input into the network input box is received, and networking is achieved based on the third Internet access information.
[0023] Furthermore, after the network connection is successful, the device parameters are uploaded to the server;
[0024] The server also executes:
[0025] Receiving user binding information sent by a user terminal; the user binding information includes user parameters and device parameters;
[0026] If the device parameters exist in the server, the binding is successful; otherwise, the binding is unsuccessful and a prompt is given that a smart home network connection is required.
[0027] On the other hand, the present application provides a smart home networking system, comprising:
[0028] A first interaction module is used to send first demand data through a power line; the first demand data includes tag data of a smart home; and receive first networking data sent by a power controller; wherein the first networking data is obtained by the power controller encoding first Internet access information using the tag data;
[0029] The processing module is used to use the tag data to decode the first networking data to obtain first online information, and to achieve networking based on the first online information.
[0030] On the other hand, the present application provides an electronic device, including a memory storing a computer program and a processor; when the computer program is executed by the processor, any of the smart home networking methods described above is implemented.
[0031] On the other hand, the present application provides a computer-readable medium storing a computer program, wherein the computer program implements any of the smart home networking methods described above when executed by a processor.
[0032] Compared with the prior art, the smart home networking method, system, electronic device and medium provided by the present invention have the following beneficial effects:
[0033] As long as the smart home device is powered on, the first demand data can be sent to the power controller, and the network equipment can be quickly configured without manual operation, which is convenient and fast. In addition, the first networking data is encoded based on the tag data of the smart home. Only when the smart home provides the correct tag data can the first Internet access information be decoded, which ensures the security of the data transmission process. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a flow chart of the first networking operation in the smart home networking method provided by the present invention.
[0035] Figure 2 It is a flow chart of the second networking operation in the smart home networking method provided by the present invention.
[0036] Figure 3 It is a structural block diagram of the smart home networking system provided by the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0038] Those skilled in the art will appreciate that the foregoing general description and the following detailed description are exemplary and illustrative of specific embodiments of the present invention and are not intended to limit the present invention.
[0039] The terms "comprises," "includes," or any other variations thereof herein are intended to cover a non-exclusive inclusion, such that a process or method that includes a list of steps includes not only those steps but may include other steps not expressly listed or inherent to such process or method. Similarly, a reference to one or more devices or subsystems, elements or structures or components preceded by "comprises ... an" does not, without more limitations, exclude the presence of other devices or other subsystems or other elements or other structures or other components or other devices or other subsystems or other elements or other structures or other components. Throughout the specification, appearances of the phrases "in one embodiment," "in another embodiment," and similar language may, but do not necessarily, all refer to the same embodiment.
[0040] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0041] See also Figure 1 The present invention provides a smart home networking method, including a first networking operation, a second networking operation, and a third networking operation; applied to a smart home, the smart home needs to be connected to WiFi, and then connected to a server for binding and use. The smart home includes smart air conditioners, smart TVs, smart washing machines, smart curtains, smart clothes drying machines and other devices.
[0042] Furthermore, in the absence of any operation, the first networking operation is preferably used as a priority option, the second networking operation is a secondary option, and the third networking operation is used as a backup networking operation. Of course, the user can select a networking operation in the smart home device to perform directly, without having to perform them one by one.
[0043] The first networking operation includes:
[0044] The first demand data is sent through the power line; the first demand data includes the tag data of the smart home; specifically, the technology for sending data through the power line is the power line communication (PLC) technology, that is, the first demand data is converted into power line carrier data, and then sent through the power line. The smart home needs to have a PLC communication module, which has the function of sending and receiving carrier data through the power line. The tag data is preferably a unique identification code of the smart home.
[0045] Receive the first networking data sent by the power controller; wherein the first networking data is obtained by the power controller encoding the first Internet information using the tag data; that is, when the smart home device sends the first demand data to the power line, the power controller will receive the first demand data and then feedback the first networking data. The power controller is preferably an intelligent circuit breaker with communication function, that is, a circuit breaker with intelligent networking function; of course, an external control device can also be used in conjunction with the currently used circuit breaker, that is, the control device has a networking function, and the circuit breaker has a function of reading power line carrier data, that is, a PLC communication module. At this time, the control device and the circuit breaker can exchange data and control each other.
[0046] The first network data is decoded using the tag data to obtain the first network information, and networking is achieved based on the first network information. As long as the smart home device is powered on, the first demand data can be sent to the power controller, and network equipment can be quickly configured without manual operation, which is convenient and fast. Moreover, the first network data is encoded based on the tag data of the smart home. Only when the smart home provides the correct tag data can the first network information be decoded, which ensures the security of the data transmission process.
[0047] Further, as a preferred solution, in this embodiment, if networking cannot be achieved based on the first online information, the first networking operation is performed again. That is, as long as networking cannot be achieved, as long as networking cannot be achieved using the first online information, the first networking operation is performed again to ensure successful networking.
[0048] Further, as a preferred solution, in this embodiment, before sending the demand data, it also includes:
[0049] Send handshake data over the power line;
[0050] If the feedback data is received within the predetermined time, the first demand data is sent. The first networking operation can be performed only if there is a power controller in the power line local area line.
[0051] For further information, see Figure 2 As a preferred solution, in this embodiment, if the feedback data is not received within a predetermined time, a prompt is given to perform a second networking operation;
[0052] The second networking operation includes:
[0053] In response to a first operation of the mobile terminal, second demand data is sent to the mobile terminal; the second demand data includes tag data of the smart home; specifically, the first operation is preferably an attachment operation, that is, the mobile terminal is attached to a predetermined position of the smart home (such as an NFC tag installation position, etc.). For example, short-range communication technology can be used to send the second demand data to the mobile terminal. The short-range communication technology is preferably NFC communication technology. Of course, Bluetooth technology and Zigbee technology can also be used.
[0054] Respond to a second operation of the mobile terminal and receive second network data; wherein, the second network data is obtained by the mobile terminal encoding the second Internet access information using the tag data; the second operation is preferably performed in the same manner as the first operation, and of course other operation methods may also be used, which is not limited by the present invention.
[0055] The tag data is used to decode the second networking data to obtain the second online information, and the networking is achieved based on the second online information. That is, the smart home device can be quickly connected to the network through a simple attachment operation, which is convenient and fast.
[0056] Furthermore, as a preferred solution, in this embodiment, the second Internet access information includes multiple connected WiFi hotspot data in the mobile terminal; the WiFi hotspot data includes WiFi name and WiFi password. That is, all connected WiFi data in the mobile terminal are transmitted, and the smart home also stores multiple WiFi hotspot data, making the smart home more widely available, and multiple WiFi information can be stored in one interaction.
[0057] Further, as a preferred solution, in this embodiment, if networking cannot be achieved based on the second Internet access information, a third networking operation is prompted to be performed;
[0058] The third networking operation includes:
[0059] Prompt network input box;
[0060] The third Internet access information input into the network input box is received, and Internet access is achieved based on the third Internet access information. That is, the name and password of the WiFi can be directly input on the smart home to achieve Internet access, or the smart home can be directly used to search the WiFi list around, and then the correct password can be input to achieve Internet access.
[0061] Further, as a preferred solution, in this embodiment, after the network is successfully connected, the device parameters are uploaded to the server;
[0062] The server also executes:
[0063] Receiving user binding information sent by a user terminal; the user binding information includes user parameters and device parameters;
[0064] If the device parameters exist in the server, the binding is successful; otherwise, the binding is unsuccessful, and a prompt is given that the smart home needs to be connected to the Internet. That is, in this embodiment, the smart home can only be bound to the user after being connected to the Internet, otherwise it cannot be bound to the user.
[0065] Accordingly, see Figure 3 The present invention provides a smart home networking system, comprising:
[0066] A first interaction module is used to send first demand data through a power line; the first demand data includes tag data of a smart home; and receive first networking data sent by a power controller; wherein the first networking data is obtained by the power controller encoding first Internet access information using the tag data;
[0067] The processing module is used to use the tag data to decode the first networking data to obtain first online information, and to achieve networking based on the first online information.
[0068] Furthermore, the system also has a second interaction module and a third interaction module;
[0069] The second interaction module is used to send second demand data to the mobile terminal in response to the first operation of the mobile terminal; the second demand data includes label data of the smart home; and receive second network data in response to the second operation of the mobile terminal;
[0070] The processing module is further configured to use the tag data to decode the second networking data to obtain second Internet access information, and implement networking based on the second Internet access information.
[0071] The third module is used to prompt the network input box; receive the third Internet access information input into the network input box;
[0072] The processing module is further configured to implement networking based on the third Internet access information.
[0073] Accordingly, the present invention provides an electronic device, comprising a memory storing a computer program and a processor; when the computer program is executed by the processor, any of the smart home networking methods described above is implemented.
[0074] Accordingly, the present invention provides a computer-readable medium storing a computer program, wherein the computer program implements any of the smart home networking methods when executed by a processor.
[0075] More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fibers, a portable compact disk-read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0076] In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
[0077] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the claims attached to the present invention.
Claims
1. A smart home networking method, characterized in that: The method comprises a first networking operation; wherein the first networking operation comprises: When the smart home device is powered on, the first demand data is sent to the power controller through the power line; the first demand data includes the tag data of the smart home; Receive first networking data sent by the power controller; wherein the first networking data is obtained by the power controller encoding the first Internet access information using the tag data; wherein the power controller is an intelligent circuit breaker with a communication function, or an external control device is used in conjunction with the currently used circuit breaker, and the control device has a networking function; Decoding the first networking data using the tag data to obtain first online information, and connecting to the network based on the first online information; Before sending the first demand data, the method further includes: Send handshake data over the power line; If the feedback data is received within the predetermined time, sending the first demand data; If the feedback data is not received within the predetermined time, prompting to execute the second networking operation; The second networking operation includes: Sending second demand data in response to the first operation of the mobile terminal; the second demand data includes tag data of the smart home; In response to a second operation of the mobile terminal, second network data is received to the mobile terminal; wherein the second network data is obtained by the mobile terminal encoding the second Internet access information using the tag data; the second Internet access information includes data of multiple WiFi hotspots connected to the mobile terminal; the WiFi hotspot data includes a WiFi name and a WiFi password; Decoding the second networking data using the tag data to obtain second online information, and connecting to the network based on the second online information; If the network connection cannot be achieved based on the second network connection information, prompting to perform a third network connection operation; The third networking operation includes: Prompt network input box; The third Internet access information input into the network input box is received, and networking is achieved based on the third Internet access information.
2. The smart home networking method according to claim 1, characterized in that: If networking cannot be achieved based on the first Internet access information, the first networking operation is performed again.
3. The smart home networking method according to claim 1, characterized in that: After successful networking, upload the device parameters to the server; The server also executes: Receiving user binding information sent by a user terminal; the user binding information includes user parameters and device parameters; If the device parameters exist in the server, the binding is successful; otherwise, the binding is unsuccessful and a prompt is given that the smart home needs to be connected to the Internet.
4. A smart home networking system, characterized in that: Execute the smart home networking method as described in any one of claims 1 to 3; the system comprises: A first interaction module is used to send first demand data through a power line; the first demand data includes tag data of a smart home; and receive first networking data sent by a power controller; wherein the first networking data is obtained by the power controller encoding first Internet access information using the tag data; The processing module is used to use the tag data to decode the first networking data to obtain first online information, and to achieve networking based on the first online information.
5. An electronic device, characterized in that: It comprises a memory storing a computer program and a processor; when the computer program is executed by the processor, the smart home networking method according to any one of claims 1 to 3 is implemented.
6. A computer-readable medium, characterized in that A computer program is stored, and when the computer program is executed by a processor, the smart home networking method described in any one of claims 1 to 3 is implemented.
