CN113726585B - Intelligent household equipment, equipment network access method and system - Google Patents

Intelligent household equipment, equipment network access method and system Download PDF

Info

Publication number
CN113726585B
CN113726585B CN202111221828.6A CN202111221828A CN113726585B CN 113726585 B CN113726585 B CN 113726585B CN 202111221828 A CN202111221828 A CN 202111221828A CN 113726585 B CN113726585 B CN 113726585B
Authority
CN
China
Prior art keywords
gateway
equipment
terminal
network access
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111221828.6A
Other languages
Chinese (zh)
Other versions
CN113726585A (en
Inventor
单一珉
朱瑞潮
唐恒颂
房好帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Smart Life Technology Co Ltd
Original Assignee
Qingdao Hisense Smart Life Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Smart Life Technology Co Ltd filed Critical Qingdao Hisense Smart Life Technology Co Ltd
Priority to CN202111221828.6A priority Critical patent/CN113726585B/en
Publication of CN113726585A publication Critical patent/CN113726585A/en
Application granted granted Critical
Publication of CN113726585B publication Critical patent/CN113726585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration

Abstract

The application discloses intelligent home equipment, a gateway, a terminal, a network access method and a network access system for equipment, and belongs to the technical field of Internet of things. The intelligent household equipment comprises: the NFC module is used for: transmitting equipment information of the intelligent home equipment to a terminal; the terminal is used for sending equipment information to the gateway; the wireless communication module is used for: sending a network access request to a gateway; receiving a target key sent by a gateway based on equipment information and a network access request; a connection is established with the gateway based on the target key. The intelligent home equipment network access method and device solve the problems that the network access process of the intelligent home equipment is complex and the network access effect is poor. The method and the device are used for enabling the intelligent home equipment to enter the network.

Description

Intelligent household equipment, equipment network access method and system
Technical Field
The application relates to the technical field of internet of things, in particular to intelligent household equipment, a gateway, a terminal, a network access method and a network access system for the equipment.
Background
At present, various intelligent household devices (such as a switch, a television, an air conditioner, a washing machine and other household appliances) in the home can be connected together through the internet of things technology, so that intelligent control of the various intelligent household devices in the home is realized.
In smart home, a user needs to first connect a smart home device to a network (i.e., access the network), for example, connect the smart home device to a gateway. And then the user can operate the terminal to control the intelligent household equipment through the gateway. In the related art, when the smart home device is connected to the network, a user needs to manually input device information (such as an identifier and an installation key) of the smart home device on the terminal, and the terminal sends the device information to the gateway. And then, the intelligent home equipment can be connected with the gateway to realize network access.
Therefore, the networking process of the intelligent home equipment in the related technology is complicated, and the networking effect is poor.
Disclosure of Invention
The application provides intelligent household equipment, a gateway, a terminal, a network access method and a network access system for the equipment, which can solve the problems that the network access process of the intelligent household equipment is complicated and the network access effect is poor. The technical scheme is as follows:
in one aspect, an intelligent home device is provided, the intelligent home device includes:
the NFC module is used for sending the equipment information of the intelligent home equipment to the terminal; the terminal is used for sending the equipment information to a gateway;
the wireless communication module is used for sending a network access request to the gateway; receiving a target key sent by the gateway based on the equipment information and the network access request; and establishing connection with the gateway based on the target key.
In another aspect, a gateway is provided, the gateway including a wireless communication module for:
receiving equipment information of intelligent home equipment sent by a terminal;
after receiving a network access request sent by the intelligent home equipment indicated by the equipment information, sending a target key to the intelligent home equipment;
and establishing connection with the intelligent household equipment based on the target key.
In yet another aspect, there is provided a terminal including:
the NFC module is used for acquiring equipment information from the intelligent home equipment so as to trigger the intelligent home equipment to send a network access request to the gateway;
the wireless communication module is used for sending the equipment information to the gateway; and the device information is used for triggering the gateway to send a target key to the intelligent home device after receiving the network access request sent by the intelligent home device, so that the intelligent home device establishes connection with the gateway based on the target key.
In yet another aspect, a method for accessing a device to a network is provided, which is used for intelligent home devices; the intelligent home equipment comprises a near field communication NFC module and a wireless communication module, and the method comprises the following steps:
Transmitting equipment information of the intelligent home equipment to a terminal through the NFC module; the terminal is used for sending the equipment information to a gateway;
sending a network access request to the gateway through the wireless communication module;
receiving, by the wireless communication module, a target key sent by the gateway based on the device information and the network access request;
establishing, by the wireless communication module, a connection with the gateway based on the target key
In yet another aspect, a method for accessing a device to a network is provided, which is used for a gateway, and the method includes:
receiving equipment information of intelligent home equipment sent by a terminal;
after receiving a network access request sent by the intelligent home equipment indicated by the equipment information, sending a target key to the intelligent home equipment;
and establishing connection with the intelligent household equipment based on the target key.
In yet another aspect, a method for accessing a device to a network is provided, where the terminal includes a near field communication NFC module and a wireless communication module, and the method includes:
acquiring equipment information from intelligent home equipment through the NFC module so as to trigger the intelligent home equipment to send a network access request to a gateway;
Transmitting the device information to the gateway through the wireless communication module; and the device information is used for triggering the gateway to send a target key to the intelligent home device after receiving the network access request sent by the intelligent home device, so that the intelligent home device establishes connection with the gateway based on the target key.
In yet another aspect, a device networking system is provided, the device networking system comprising: the intelligent home equipment, the terminal and the gateway;
the intelligent household equipment is used for: transmitting equipment information to the terminal through a near field communication NFC module; after sending the equipment information to the terminal, sending a network access request to the gateway;
the terminal is used for: transmitting the device information to the gateway;
the gateway is used for: after receiving the network access request sent by the intelligent home equipment indicated by the equipment information, sending a target key to the intelligent home equipment;
the smart home device is further configured to: and establishing connection with the gateway based on the target key.
The beneficial effects that this application provided technical scheme brought include at least:
in the application, the intelligent home equipment can send equipment information to the terminal through the NFC module, and then the terminal can send the equipment information to the gateway. After the intelligent home equipment sends the equipment information, the intelligent home equipment can enter a network access state to send a network access request to the gateway. The gateway allows the intelligent home equipment to access the network based on the equipment information and the access request, and further sends a target key to the intelligent home equipment so that the intelligent home equipment can establish connection with the gateway based on the target key. Therefore, the user does not need to manually input the equipment information of the intelligent household equipment on the terminal, the process of acquiring the equipment information by the gateway is simplified, and the network access effect of the intelligent household equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a device networking system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an intelligent home device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an intelligent home device according to an embodiment of the present application;
fig. 4 is a flowchart of a method for device network access provided in an embodiment of the present application;
fig. 5 is a flowchart of another method for device network access provided in an embodiment of the present application;
fig. 6 is a flowchart of still another method for device network access according to an embodiment of the present application;
fig. 7 is a flowchart of yet another method for device network access provided in an embodiment of the present application;
fig. 8 is a schematic diagram of an operation procedure of a terminal according to an embodiment of the present application;
fig. 9 is a schematic diagram of a usage scenario of a terminal provided in an embodiment of the present application;
Fig. 10 is a schematic diagram of an operation flow of another terminal provided in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Along with the development of the internet of things, the intelligent home equipment is used more and more widely, and the requirements on the use convenience of the intelligent home equipment are higher and higher. The premise of the user on intelligent control of the intelligent home equipment is that the intelligent home equipment needs to be connected with the Internet, for example, the intelligent home equipment is connected with a gateway to be connected with the Internet. At present, the network access safety of intelligent household equipment is lower, the network access accuracy is poorer, and the network access process is more complicated. The embodiment of the application provides intelligent household equipment, a gateway, a terminal, an equipment networking method and a system, which can prompt the safety, the accuracy and the networking effect of the intelligent household equipment networking, and can simplify the networking process.
Fig. 1 is a schematic structural diagram of a device networking system according to an embodiment of the present application. As shown in fig. 1, the device networking system 10 may include: terminal 101, smart home device 102 and gateway 103. The terminal 101 and each smart home device 102 can be in communication connection with the gateway 103, so as to realize interconnection of each smart home device 101. Optionally, referring to fig. 1, the device networking system 10 may further include a cloud platform 104, and the smart home device 102 may be communicatively connected to the cloud platform 104 through a gateway 103. The terminal 101 may also be communicatively connected to the cloud platform 104, and the gateway 103 may also be connected to the cloud platform 104.
Alternatively, the device networking system 10 may include a plurality of terminals 101 and a plurality of smart home devices 102, and fig. 1 is only illustrated by way of example with one terminal 101 and three smart home devices 102. By way of example, the terminal 101 may include a mobile phone, a tablet computer, a notebook computer, and other terminals having a wireless transceiving function and also being interactable with a user. The smart home device 102 may include various home appliances such as switches, refrigerators, televisions, washing machines, air conditioners, humidifiers, and lights, etc.
Fig. 2 is a schematic structural diagram of an electronic device provided in the embodiment of the present application, where the electronic device may be the terminal 101 or the smart home device 102, and fig. 2 illustrates the electronic device as the smart home device 102. As shown in fig. 2, the electronic device may include a near field communication (Near Field Communication, NFC) module 1021, a wireless communication module 1022, and a controller 1023.
The NFC module 1021 operates based on NFC technology, which is a short-range high-frequency radio technology, with a communication distance within 20 cm, for example, within 10 cm, at an operating frequency of 13.56MHz (megahertz). The data transmission speed of the NFC module may be 106 kbit/s, 212 kbit/s or 424 kbit/s. Optionally, the smart home device in the embodiment of the present application may use a zigbee protocol to communicate, where the smart home device may be a zigbee device. The wireless communication module 1022 may include a zigbee unit at this time. Optionally, the smart home device may also use other protocols to communicate, for example, the wireless communication module 1022 may also include a bluetooth unit, and may also include a wireless fidelity (wireless fidelity, wi-Fi) unit, where the zigbee unit, bluetooth unit and the wireless fidelity unit may be integrated on the same chip. The controller 1023 may include a Micro-controller Unit (MCU), and the wireless communication module 1022 and the controller 1023 may be integrated on the same chip. Optionally, the controller 1023 may also include a plurality of control units, where the plurality of control units may be disposed at different positions in the terminal, or integrated with different components, so that each control unit may conveniently control the corresponding component. The controller 1023 may connect various parts of the terminal using various interfaces and lines in the terminal to implement various functions of the terminal. Optionally, the electronic device may further include a housing, a power supply component, other functional components, a memory, and the like, which are not limited in the embodiments of the present application. Optionally, if the electronic device is a terminal, the electronic device may further include a display screen.
Fig. 3 is a schematic structural diagram of an intelligent home device according to an embodiment of the present application. As shown in fig. 3, the smart home device 102 may further include a coil 1024 and a voltage amplifying circuit 1025 on the basis of fig. 2. The coil 1024, the voltage amplifying circuit 1025, and the controller 1023 may be sequentially connected. The coil 1024 may be located on a side of the NFC module 1021 facing the outside of the smart home device 102. The coil 1024 may be charged by an alternating magnetic field (e.g., an alternating magnetic field, i.e., a radio frequency field) when in the magnetic field, and the voltage of the coil 1024 may be increased when charged. The amplifying circuit 1025 may amplify the voltage on the coil 1024 and transmit the amplified voltage to the controller 1023.
It should be noted that, before the NFC module in the smart home device 102 interacts with another NFC module (such as the NFC module in the terminal 101), the other NFC module needs to first send out a magnetic field to charge the NFC module in the smart home device 102. The NFC module in the smart home device 102 can then send information to the other NFC modules. Since the coil 1024 is located at a side of the NFC module 1021 facing the smart home device 102, when the NFC module 1021 is charged under the action of the terminal 101, the coil 1024 is located before the terminal and the NFC module 1021, and the coil 1024 can also be charged under the action of the terminal. In this embodiment, the controller 1023 in the smart home device 102 may determine the working state of the NFC module 1021 through the coil 1024 and the voltage amplifying circuit 1025, that is, determine whether other NFC modules interact with the NFC module in the smart home device 102.
Fig. 4 is a flowchart of a method for device network access according to an embodiment of the present application. The method may be used for the smart home device 102 shown in any of fig. 1 to 3, where the smart home device includes an NFC module, a wireless communication module, and a controller, and the method may be used in particular for the controller in the smart home device. As shown in fig. 4, the method may include:
step 401, device information of the smart home device is sent to a terminal through an NFC module, where the terminal is configured to send the device information to a gateway.
The device information of the smart home device may include: the identification of the smart home device (e.g., globally unique identification) and the installation key (english: install key). Optionally, the device information may further include a media access control (Media Access Control, MAC) address, a hardware address, a device name, a device model number, and the like of the smart home device. Alternatively, the MAC address of the smart home device may be used as an identification of the smart home device.
By way of example, the user may approach the terminal to the NFC module of the smart home device, and then the NFC module in the terminal may send a magnetic field to the NFC module in the smart home device, and the NFC module in the smart home device may charge under the effect of the magnetic field, and then may send device information of the smart home device to the NFC module of the terminal. Optionally, device information of the smart home device may be stored in the NFC module. Optionally, the smart home device may further include a memory, in which device information of the smart home device may be stored. The NFC module may obtain the device information from the memory, and then send the device information to the NFC module of the terminal.
Step 402, sending a network access request to the gateway through the wireless communication module.
After determining that the NFC module sends out the equipment information, the controller in the intelligent household equipment can control the intelligent household equipment to enter a network access state. Furthermore, the wireless communication module in the intelligent home equipment can be controlled to send a network access request to the gateway to be accessed, and the network access request carries the identification of the wireless communication module. Alternatively, the wireless communication module may send out a request for network access in a broadcast manner, and the gateway may monitor broadcast information in the area where the gateway is located to receive the request for network access. As a further alternative, the wireless communication module may also send an access request point-to-point only to the gateway to be accessed.
Step 403, receiving, by the wireless communication module, the target key sent by the gateway based on the device information and the network access request.
The target key may be, for example, a communication key of the gateway, such as a password (password) of the gateway. The target key may also be other information obtained by processing the communication key, which is not limited in the embodiment of the present application. Each gateway has its own specific communication key based on which the gateway can be connected for information interaction with the gateway. The communication KEY may also be an NWK KEY.
Step 404, establishing, by the wireless communication module, a connection with the gateway based on the target key.
After the wireless communication module of the intelligent home equipment receives the target key sent by the gateway, the controller can control the wireless communication module to establish connection with the gateway based on the target key so as to realize network access of the intelligent home equipment.
In this embodiment of the present application, the terminal and the smart home device each include an NFC module. The intelligent home equipment can send equipment information to the NFC module of the terminal through the NFC module, and then the wireless communication module of the intelligent home equipment can receive the target secret key sent by the gateway so as to be connected with the gateway based on the target secret key. Therefore, the user only needs to approach the terminal to the intelligent household equipment, such as the area where the NFC module near the intelligent household equipment is located, and then the intelligent household equipment can automatically access the network.
In summary, in the device networking method provided in the embodiment of the present application, the smart home device may send device information to the terminal through the NFC module, and then the terminal may send the device information to the gateway. After the intelligent home equipment sends the equipment information, the intelligent home equipment can enter a network access state to send a network access request to the gateway. The gateway allows the intelligent home equipment to access the network based on the equipment information and the access request, and further sends a target key to the intelligent home equipment so that the intelligent home equipment can establish connection with the gateway based on the target key. Therefore, the user does not need to manually input the equipment information of the intelligent household equipment on the terminal, the process of acquiring the equipment information by the gateway is simplified, and the network access effect of the intelligent household equipment is improved.
Fig. 5 is a flowchart of another method for device network access according to an embodiment of the present application. This method may be used for gateway 103 in fig. 1 above, as shown in fig. 5, and may include:
step 501, receiving device information of intelligent home devices sent by a terminal.
The gateway includes a wireless communication module and a controller. For example, the gateway 103 may receive, through its wireless communication module, device information of the smart home device sent by the wireless communication module of the terminal.
Step 502, after receiving a network access request sent by the smart home device indicated by the device information, sending a target key to the smart home device.
The gateway can also receive a network access request broadcast by the intelligent home equipment through the wireless communication module. After receiving the network access request sent by any device, the gateway can determine whether the device information of the device sent by the terminal is received. After the gateway determines that the device information of the device is received, the gateway can learn that the device is determined to be accessed to the gateway, and then can send the target key to the device. For the target key please refer to the related description of step 403, the embodiments of the present application will not be described in detail.
Step 503, establishing connection with the smart home device based on the target key.
The gateway may wait for the smart home device to establish a communication connection with the gateway based on the target key it sent. And when the intelligent household equipment is determined to establish communication connection with the gateway based on the communication key, the gateway realizes the establishment of the connection with the intelligent household equipment.
In summary, in the device networking method provided in the embodiment of the present application, the smart home device may send device information to the terminal through the NFC module, and then the terminal may send the device information to the gateway. After the intelligent home equipment sends the equipment information, the intelligent home equipment can enter a network access state to send a network access request to the gateway. The gateway allows the intelligent home equipment to access the network based on the equipment information and the access request, and further sends a target key to the intelligent home equipment so that the intelligent home equipment can establish connection with the gateway based on the target key. Therefore, the user does not need to manually input the equipment information of the intelligent household equipment on the terminal, the process of acquiring the equipment information by the gateway is simplified, and the network access effect of the intelligent household equipment is improved.
Fig. 6 is a flowchart of still another method for device network access according to an embodiment of the present application. The method may be used for the terminal 101 in fig. 1, the terminal 101 may comprise an NFC module, a wireless communication module and a controller, and the method may be used in particular for the controller in the terminal 101. As shown in fig. 6, the method may include:
Step 601, acquiring device information from the smart home device through the NFC module, so as to trigger the smart home device to send a network access request to the gateway.
Step 602, transmitting the device information to the gateway through a wireless communication module; the device information is used for triggering the gateway to send a target key to the intelligent home device after receiving a network access request sent by the intelligent home device, so that the intelligent home device can establish connection with the gateway based on the target key.
In summary, in the device networking method provided in the embodiment of the present application, the terminal may obtain device information of the smart home device through the NFC module, and may further send the device information to the gateway. After the intelligent home equipment sends the equipment information, the intelligent home equipment can enter a network access state to send out a network access request. The gateway allows the intelligent home equipment to access the network based on the equipment information and the access request, and further sends a target key to the intelligent home equipment so that the intelligent home equipment can establish connection with the gateway based on the target key. Therefore, the user does not need to manually input the equipment information of the intelligent household equipment on the terminal, the process of acquiring the equipment information by the gateway is simplified, and the network access effect of the intelligent household equipment is improved.
Fig. 7 is a flowchart of still another method for device network access according to an embodiment of the present application. The method can be used in the network access system of the device shown in fig. 1. As shown in fig. 7, the method may include:
in step 701, the terminal establishes NFC connection with the smart home device.
The terminal establishes NFC connection with the intelligent home equipment, namely, the NFC module of the terminal establishes connection with the NFC module of the intelligent home equipment. The user can operate aiming at the terminal to control the NFC module in the terminal to start working, and then connection is established with the NFC module in the intelligent home equipment.
Alternatively, an Application (APP) related to smart home may be installed in the terminal. The user can control the terminal to start the application program, and then control the terminal based on the application program so as to control the NFC module in the terminal to start working. Fig. 8 is a schematic diagram illustrating an operation procedure of a terminal according to an embodiment of the present application. As shown in fig. 8, icons of respective applications installed in the terminal may be displayed on the main interface M1 of the user. The user can click on the icon Z of the smart home application program displayed on the main interface M1 of the terminal first, triggering the terminal to start the application program. After the application program is started, the terminal can display an interface M2, and icons of all intelligent household devices in the home environment, such as icons of intelligent household devices of a gateway, a television, a washing machine, a refrigerator, an air conditioner and the like, can be displayed in the interface M2. The user may then click on an icon of the gateway to trigger the terminal to display an interface M3, in which interface M3 relevant operational options available for the gateway may be displayed. The operation options for the gateway may include an option to start the NFC module, and the user may click on the option to trigger the NFC module in the terminal to start working.
Because the communication distance of the NFC module is smaller than the distance threshold, for example, the distance threshold is 10 cm, the terminal and the intelligent household equipment can establish NFC connection when the distance between the terminal and the intelligent household equipment is smaller than the distance threshold. After the NFC module of the control terminal starts working, a user can approach the terminal to the intelligent home equipment to be networked, such as an area where the NFC module of the intelligent home equipment is located. The NFC module of the terminal can emit an alternating magnetic field after starting the work. When the NFC module of the intelligent home equipment is located in the alternating magnetic field, the NFC module can be charged under the action of the alternating magnetic field. After being charged, the NFC module of the intelligent home equipment can establish NFC connection with the NFC module of the terminal. After the NFC module starts to operate, for example, after entering a peer-to-peer mode, the NFC module may perform a device search to search whether other NFC modules exist in an area of a target range around the NFC module. The NFC module of the smart home device may detect the NFC module of the terminal after charging, and then may establish NFC connection with the other NFC modules.
Step 702, the smart home device sends device information of the smart home device to a terminal.
For the device information of the smart home device, reference may be made to the related description in step 401 in fig. 4, which is not repeated in the embodiments of the present application. After the intelligent home equipment and the terminal are connected in an NFC mode, equipment information stored in the intelligent home equipment can be sent to the terminal through the NFC connection, and an NFC module of the terminal can receive the equipment information. Optionally, the device information sent by the smart home device is encoded information, and the terminal can analyze after receiving the information sent by the smart home device, so as to obtain real device information. If the terminal can obtain the installation code of the intelligent household equipment after analyzing the received information. The installation codes of different intelligent home devices are different, and the network access Key (namely the Link Key) adopted when the intelligent home devices access the network can be determined based on the installation codes.
Accordingly, in step 702, the terminal receives device information sent by the smart home device. Optionally, after the terminal finishes receiving the device information, the terminal may display prompt information of finishing sending the device information. Fig. 9 is a schematic diagram of a usage scenario of a terminal provided in an embodiment of the present application, where, as shown in fig. 9, after the terminal obtains device information of an intelligent switch, the terminal may display a prompt message of "device information has been successfully obtained". The user can know that the terminal has acquired the equipment information of the intelligent household equipment based on the prompt information, and then the terminal can be moved away from the vicinity of the intelligent household equipment.
It should be noted that, in the related art, the same installation code is used as the network access key for different smart home devices. If the smart home device is Zigbee device, in the related art, for each Zigbee device, a universal Zigbee Alliance (english) 09 is used as the network access key. Therefore, other devices outside the gateway also know the network access key of the intelligent home device, and the interaction process between the gateway and each intelligent home device can be monitored, so that the information interaction security is low. In the embodiment of the application, each intelligent home device is provided with an independent installation code, and the independent network access key of each intelligent home device is determined based on the installation code. And the information interaction safety of the gateway and each intelligent home device can be improved.
Step 703, the terminal sends the device information of the smart home device to the gateway.
After acquiring the device information of the intelligent home device, the terminal can send the device information to the gateway. Accordingly, the gateway may receive the device information transmitted by the terminal. And if the equipment information sent by the terminal to the gateway is the equipment information obtained after the terminal is analyzed. Optionally, the terminal may send all the information in the device information to the gateway, or may send only part of the information in the device information to the gateway, where the device information sent to the gateway includes at least the identifier and the installation code of the smart home device. For example, the terminal may be communicatively connected to the gateway, and may in turn send the device information directly to the gateway. Optionally, the terminal and the gateway may both be connected to the cloud platform. At this time, the terminal may send the device information to the cloud platform, so that the cloud platform sends the device information to the gateway through the ethernet.
After receiving the device information sent by the terminal, the gateway can determine that the intelligent home device needs to access the network, and can determine that the intelligent home device indicated by the device information needs to access the gateway. Further, the gateway may enter a network access allowed state, and only the smart home device indicated by the device information is allowed to access the network. For a certain intelligent home device, if the gateway does not receive the device information of the intelligent home device, the gateway can reject the intelligent home device to access the gateway even if the gateway receives a network access request sent by the intelligent home device.
It should be noted that, in the related art, the gateway has a start button for opening the network access state. When the intelligent home equipment needs to be accepted to access the network, a user needs to manually start the starting button, and then the gateway can enter the network access permission mode. In the embodiment of the application, after the gateway receives the equipment information sent by the terminal, the gateway can directly enter the network access permission state without other operations of a user aiming at the gateway, so that the network access process of the intelligent home equipment is simplified.
Step 703 may be performed by a wireless communication module in the terminal. Accordingly, the wireless communication module in the gateway may receive the device information.
Step 704, the gateway encrypts the communication key of the gateway based on the device information to obtain the target key.
After receiving the device information of any intelligent device sent by the terminal, the gateway can encrypt the communication key of the gateway based on the device information. In the embodiment of the application, the communication key encrypted based on the device information is referred to as a target key. Optionally, the gateway can also generate a network access key of the intelligent home equipment through an installation code in the equipment information, and further encrypt a communication key of the gateway based on the network access key to obtain the target key. Optionally, the gateway may store the target key after generating the target key. And the gateway can also store the corresponding relation between the target key and the intelligent home equipment so as to mark the intelligent home equipment corresponding to the target key. Step 704 may be performed by a controller in the gateway.
Optionally, the gateway encrypts the communication key with the device information or the access key as a password. If the device information or the access key is used as a password, the communication key is encoded through an AES-MMO hash function, so that a communication key in a ciphertext form, namely a target key, is obtained.
It should be noted that, in the embodiment of the present application, the communication key of the gateway is encrypted based on the unique device information of each smart home device, so that only the device that knows the device information of the smart home device can successfully decrypt the target key to obtain the real communication key of the gateway. Therefore, only the intelligent home equipment can acquire the real communication key of the gateway based on the target key, other malicious equipment can be prevented from acquiring the communication key of the gateway and then connecting the gateway, and the information interaction safety of the gateway and the network access safety of the equipment are improved.
Step 705, the smart home device sends a network access request to the gateway.
After the smart home device sends the device information to the terminal through the NFC module in step 702, the smart home device may enter a network access state. Furthermore, the smart home device may broadcast a request for network access through its wireless communication module. The gateway in the broadcasting range of the network access request can receive the network access request, namely, the intelligent home equipment is realized to send the network access request to the gateway. The process of broadcasting the network access request by the intelligent home equipment can also be a process that the intelligent home equipment can scan beacons (English: beacon) of all channels in the range of the intelligent home equipment. Optionally, the smart home device may also acquire information of the gateway, so as to send a request for network access only to the gateway in a point-to-point manner. The information of the gateway can be sent to the NFC module of the intelligent home equipment by the terminal through the NFC module.
Optionally, the controller in the smart home device may detect whether the NFC module sends device information to the terminal through the coil and the voltage amplifying circuit. After the NFC module is determined to send the equipment information to the terminal, the intelligent household equipment is controlled to enter a network access state, and the wireless communication module is controlled to send a network access request. After the terminal is close to the intelligent household equipment, the NFC module in the intelligent household equipment can be charged under the action of the alternating magnetic field sent by the terminal. In the process, the coil in the intelligent home equipment is located between the NFC module and the terminal, so that the coil can be charged while the NFC module is charged. The voltage amplifying circuit connected with the coil can amplify the voltage on the coil to a range which can be recognized by the controller, such as 3-5 volts. After the controller receives the voltage output by the voltage amplifying circuit, the NFC module can be determined to send equipment information to the terminal, and then the intelligent household equipment can be controlled to enter a network access state. By arranging the voltage amplifying circuit, the situation that the controller is wrongly in a network access state due to the fact that the coil is charged under the conditions of lightning strike and the like can be prevented.
It should be noted that, in the related art, the smart home device has a start button in a network access state. When the intelligent home equipment needs to be accessed to the network, a user needs to manually start the starting button, and then the intelligent home equipment can send an access request to the gateway. In the embodiment of the application, after the terminal obtains the device information from the smart home device, the smart home device can monitor the device information sending operation of the NFC module through the coil and the voltage amplifying circuit. After the NFC module is monitored to send the equipment information, the intelligent household equipment is directly enabled to enter a network access state, other operations on the intelligent household equipment by a user are not needed, and the network access process of the intelligent household equipment is simplified.
Step 705 is performed by a wireless communication module in a smart home device. Accordingly, the wireless communication module in the gateway may receive the network access request.
Step 706, when determining that the network access request is sent by the smart home device indicated by the received device information, the gateway sends a target key corresponding to the smart home device.
After receiving any network access request, the gateway can determine whether the sending device of the network access request is a device allowed to access the network by the gateway. If the gateway can determine whether the smart home device indicated by the received device information is sent, that is, whether the device information of the smart home device sent by the terminal is received is determined. And if the equipment information of the intelligent household equipment is received, allowing the intelligent household equipment to access the network, and responding to the network access request. If the corresponding target key is sent to the intelligent home equipment, namely the communication key of the gateway encrypted based on the equipment information of the intelligent home equipment, the intelligent home equipment accesses the gateway based on the target key. Accordingly, the smart home device receives the target key sent by the gateway. If the gateway determines that the device information of the intelligent home device is not received, the intelligent home device is forbidden to access the network, and the network access request is ignored.
It should be noted that, in the related art, the gateway allows the sending device to access the gateway for the sending device of the received network access request. This may result in the user wanting the sending device to access the first gateway, but because the first gateway is closer to the second gateway, the second gateway also receives the network access request sent by the sending device, and thus the sending device may access the second gateway. In the embodiment of the application, the gateway only allows the intelligent home equipment indicated by the equipment information received by the gateway to be accessed, so that the network access accuracy of the intelligent home equipment can be ensured, and the network access effect of the intelligent home equipment is improved.
The process of determining whether the network access request is sent by the smart home device indicated by the received device information in step 706 may be performed by a controller in the gateway; the process of sending the target key to the smart home device may be performed by a wireless communication module in the gateway. Accordingly, the wireless communication module in the smart home device may receive the target key.
Step 707, the smart home device decrypts the received target key based on the device information.
After receiving the target key, the smart home device can decrypt the target key based on the device information to obtain the real communication key. Optionally, if the gateway encrypts the communication key of the gateway through the network access key of the smart home device, the smart home device may generate the network access key based on the installation code after receiving the target key, and further decrypt the target key based on the network access key. It should be noted that step 707 may be performed by a controller in the smart home device.
Step 708, after successfully decrypting the received target key, the smart home device establishes a connection with the gateway based on the decrypted communication key.
After the intelligent home equipment successfully decrypts the received target secret key, the gateway real communication secret key can be obtained. And the intelligent home equipment can successfully establish connection with the gateway based on the communication key. Correspondingly, the gateway also establishes a connection with the smart home device based on the communication key. At this time, the intelligent home equipment is successful in network access. Step 708 may be performed by a wireless communication module of the smart home device, and accordingly, the wireless communication module in the gateway is connected to the wireless communication module of the smart home device.
It should be noted that, in the embodiment of the present application, for each target key, since the target key is encrypted based on the device information of the corresponding smart home device, only knowing the device information can successfully decrypt the target key. Therefore, the intelligent home equipment can successfully decrypt the received target key to obtain the communication key of the gateway, and is further normally connected with the gateway, other equipment is prevented from knowing the communication key of the gateway, and the network security of the intelligent home equipment is ensured.
Step 709, the smart home device sends the successfully decrypted feedback information to the gateway through the connection.
After the intelligent home equipment and the gateway are successfully connected, feedback information of successful decryption can be sent to the gateway. Step 709 may be performed by a wireless communication module of the smart home device, and accordingly, the wireless communication module in the gateway may receive the feedback information.
Step 710, the gateway sends prompt information that the intelligent home equipment has successfully accessed the network to the terminal based on the feedback information.
After receiving the feedback information sent by the intelligent home equipment, the gateway can send prompt information that the intelligent home equipment has successfully accessed the network to the terminal so as to inform the user that the intelligent home equipment has successfully accessed the network. Step 710 may be performed by a wireless communication module of the gateway, and accordingly, the wireless communication module in the terminal may receive the hint information.
Step 711, the terminal displays the prompt information that the intelligent home equipment has successfully accessed the network.
The terminal may also include a display screen. After receiving the prompt information, the terminal can display the prompt information through a display screen to inform the user that the intelligent home equipment is successfully connected to the network, and the intelligent home equipment is connected to a home group where the gateway is located and is interconnected with the equipment in the group. Then, the user can intelligently control the intelligent household equipment through the terminal.
Fig. 10 is a schematic diagram illustrating an operation flow of another terminal according to an embodiment of the present application. The display interface can display prompt information that the intelligent switch has successfully accessed the network, for example, the prompt information can be "whether the intelligent switch has successfully accessed the network or not, and the intelligent switch is controlled at present". Optionally, a confirm button and a cancel button may also be displayed in the display interface. If the user clicks the confirm button, the display interface of the terminal can jump to the interface for controlling the intelligent switch. The user may operate in the interface to enable control of the switch only (e.g., turn on, turn off, or change light emission modes, etc.).
In summary, in the device networking method provided in the embodiment of the present application, the smart home device may send device information to the terminal through the NFC module, and then the terminal may send the device information to the gateway. After the intelligent home equipment sends the equipment information, the intelligent home equipment can enter a network access state to send a network access request to the gateway. The gateway allows the intelligent home equipment to access the network based on the equipment information and the access request, and further sends a target key to the intelligent home equipment so that the intelligent home equipment can establish connection with the gateway based on the target key. Therefore, the user does not need to manually input the equipment information of the intelligent household equipment on the terminal, the process of acquiring the equipment information by the gateway is simplified, and the network access effect of the intelligent household equipment is improved.
And the gateway encrypts the communication key of the gateway based on the unique equipment information of the intelligent home equipment to obtain the target key, so that the target key can be successfully decrypted only by knowing the equipment information of the intelligent home equipment to obtain the real communication key of the gateway. Therefore, on the basis that the intelligent home equipment is normally connected with the gateway based on the target key, other malicious equipment can be prevented from knowing the communication key of the gateway and then connecting the gateway, and the information interaction safety of the gateway and the network access safety of the intelligent home equipment are improved.
The present application further provides a computer readable storage medium, where instructions are stored, which when executed on a computer, cause the computer to perform the method for network access of a device provided in the above embodiment, for example, the method shown in any one of fig. 4 to fig. 7.
The present application also provides a computer program product containing instructions, which when executed on a computer, cause the computer to perform the method for device network access provided by the method embodiment described above, for example, the method shown in any one of fig. 4 to fig. 7.
It should be noted that, the method embodiments provided in the embodiments of the present application may be referred to with corresponding apparatus embodiments, and each method embodiment and each apparatus embodiment may also be referred to with each other, which is not limited in this application. The sequence of the steps of the method embodiment provided in the embodiment of the present application can be appropriately adjusted, the steps can be correspondingly increased or decreased according to the situation, and any method which is easily conceivable to be changed by a person skilled in the art within the technical scope of the present application should be covered within the protection scope of the present application, so that no further description is provided.
The term "and/or" in this application is merely an association relation describing an associated object, and indicates that three relations may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship. In the case of mathematical formula calculations, the character "/" represents the operator "divided by". The term "at least one of a and B" in this application is merely an association relationship describing an association object, and means that three relationships may exist, for example, at least one of a and B may mean: a exists alone, A and B exist together, and B exists alone. In the present application, "at least one" means one or more, and "a plurality" means "two or more".
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.

Claims (3)

1. An intelligent home device, characterized in that the intelligent home device comprises:
The coil, the voltage amplifying circuit and the controller are connected in sequence; the coil is used for charging based on a magnetic field after the terminal emits the magnetic field; the voltage amplifying circuit is used for amplifying the voltage on the coil to a range which can be identified by the controller and transmitting the amplified voltage to the controller;
the NFC module is used for sending equipment information of the intelligent household equipment to the terminal after being charged based on the magnetic field; the terminal is used for sending the equipment information to a gateway so that the gateway directly enters a state allowing access to the network after receiving the equipment information, and the gateway can encrypt a communication key of the gateway based on the equipment information to obtain a target key; the network access permission state is used for indicating that only intelligent household equipment indicated by the equipment information is permitted to access the network;
the wireless communication module is used for sending a network access request to the gateway after the voltage transmitted by the controller through the amplifying circuit is in a network access voltage range so as to determine that the NFC module sends the equipment information to the terminal, so that the gateway sends the corresponding target key to the intelligent home equipment after determining that the network access request is sent by the intelligent home equipment indicated by the received equipment information;
The wireless communication module is used for receiving the target key sent by the gateway;
the controller is used for decrypting the target key based on the device information to obtain the communication key;
the wireless communication module is used for establishing connection with the gateway based on the communication key.
2. The device networking method is characterized by being used for intelligent household devices; the intelligent household equipment comprises a coil, a voltage amplifying circuit, a controller, a near field communication NFC module and a wireless communication module, wherein the coil, the voltage amplifying circuit and the controller are sequentially connected, the coil is positioned on one side of the NFC module facing the outside of the intelligent household equipment, and the method comprises the following steps:
after a terminal emits a magnetic field, charging the coil based on the magnetic field;
amplifying, by the voltage amplifying circuit, the voltage on the coil to a range recognizable by the controller, and transmitting the amplified voltage to the controller;
after the coil is charged based on the magnetic field, device information of the intelligent household device is sent to the terminal through the NFC module; the terminal is used for sending the equipment information to a gateway so that the gateway directly enters a state allowing access to the network after receiving the equipment information, and the gateway can encrypt a communication key of the gateway based on the equipment information to obtain a target key; the network access permission state is used for indicating that only intelligent household equipment indicated by the equipment information is permitted to access the network;
After the voltage transmitted by the controller through the amplifying circuit is in a network access voltage range so as to determine that the NFC module sends the equipment information to the terminal, sending a network access request to the gateway through the wireless communication module, so that the gateway sends the target key corresponding to the intelligent home equipment after determining that the network access request is sent by the intelligent home equipment indicated by the received equipment information;
receiving, by the wireless communication module, the target key sent by the gateway;
decrypting, by the controller, the target key based on the device information to obtain the communication key;
and establishing connection with the gateway based on the communication key through the wireless communication module.
3. A device networking system, the device networking system comprising: the intelligent home equipment, the terminal and the gateway;
the intelligent household equipment is used for: after the terminal emits a magnetic field, charging a coil based on the magnetic field, and after the coil is charged based on the magnetic field, sending equipment information to the terminal through a near field communication NFC module, amplifying the voltage on the coil to a range which can be identified by a controller through a voltage amplifying circuit, and receiving the amplified voltage through the controller; after the voltage transmitted by the controller through the amplifying circuit is in a network access voltage range so as to determine that the NFC module sends the equipment information to the terminal, sending a network access request to the gateway through the wireless communication module, so that the gateway sends a target key corresponding to the intelligent home equipment after determining that the network access request is sent by the intelligent home equipment indicated by the received equipment information;
The terminal is used for: the equipment information is sent to the gateway, so that the gateway directly enters a state allowing access to the network after receiving the equipment information, and the gateway can encrypt a communication key of the gateway based on the equipment information to obtain a target key; the network access permission state is used for indicating that only intelligent household equipment indicated by the equipment information is permitted to access the network;
the gateway is used for: directly entering a network access permission state after receiving the network access request sent by the intelligent household equipment indicated by the equipment information, and sending a target key to the intelligent household equipment after encrypting a communication key of the gateway based on the equipment information to obtain the target key;
the smart home device is further configured to: decrypting the target key based on the device information to obtain the communication key, and establishing a connection with the gateway based on the communication key.
CN202111221828.6A 2021-10-20 2021-10-20 Intelligent household equipment, equipment network access method and system Active CN113726585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111221828.6A CN113726585B (en) 2021-10-20 2021-10-20 Intelligent household equipment, equipment network access method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111221828.6A CN113726585B (en) 2021-10-20 2021-10-20 Intelligent household equipment, equipment network access method and system

Publications (2)

Publication Number Publication Date
CN113726585A CN113726585A (en) 2021-11-30
CN113726585B true CN113726585B (en) 2024-04-05

Family

ID=78686078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111221828.6A Active CN113726585B (en) 2021-10-20 2021-10-20 Intelligent household equipment, equipment network access method and system

Country Status (1)

Country Link
CN (1) CN113726585B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211044A (en) * 2016-08-18 2016-12-07 美的智慧家居科技有限公司 Gateway, ZigBee equipment, ZigBee distribution network systems
CN107333265A (en) * 2017-08-24 2017-11-07 四川长虹电器股份有限公司 A kind of zigbee equipment method of network entry
CN108495292A (en) * 2018-03-14 2018-09-04 成都科木信息技术有限公司 Smart home short-range device communication means
CN108599968A (en) * 2018-03-14 2018-09-28 成都科木信息技术有限公司 Information broadcast method for city Internet of Things
CN109640326A (en) * 2018-11-16 2019-04-16 深圳绿米联创科技有限公司 Right management method, device, system and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106211044A (en) * 2016-08-18 2016-12-07 美的智慧家居科技有限公司 Gateway, ZigBee equipment, ZigBee distribution network systems
CN107333265A (en) * 2017-08-24 2017-11-07 四川长虹电器股份有限公司 A kind of zigbee equipment method of network entry
CN108495292A (en) * 2018-03-14 2018-09-04 成都科木信息技术有限公司 Smart home short-range device communication means
CN108599968A (en) * 2018-03-14 2018-09-28 成都科木信息技术有限公司 Information broadcast method for city Internet of Things
CN109640326A (en) * 2018-11-16 2019-04-16 深圳绿米联创科技有限公司 Right management method, device, system and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
岑荣滢 ; 姜琴 ; 扈健玮 ; 孙梦莉 ; .面向智能家居应用的ZigBee-WiFi网关.计算机系统应用.2017,(01),全文. *
面向智能家居应用的ZigBee-WiFi网关;岑荣滢;姜琴;扈健玮;孙梦莉;;计算机系统应用;20170115(第01期) *

Also Published As

Publication number Publication date
CN113726585A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN106878923B (en) Quick networking method for ultra-low power consumption intelligent equipment and intelligent home system
CN109348458B (en) Network access configuration method and device, electronic equipment and network system
CN108476060B (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
US20220239524A1 (en) Network configuration method for home appliance, home appliance, mobile terminal, and storage medium
CN105636162A (en) Network access method and device for intelligent household electrical appliance
TW201330566A (en) System and method for facilitating wireless communication
KR102470455B1 (en) Electronic device, display apparatus and control method thereof
KR20030095581A (en) Interface apparatus based IM(Instant Messenger)
CN113099440A (en) Network configuration method, device, equipment and system
CN105636159A (en) Configuration method and apparatus for connection between electrical appliance and wireless router and mobile communication terminal
CN105159121A (en) Household electrical appliance and on-off control method and system and intelligent apparatus
CN105069875A (en) Electronic key, electronic devices and electronic device networking/pairing method
CN105338529A (en) Wireless network connecting method and system
CN103716161A (en) Server certification method of smart-device being remote-controlled by internet and server certification apparatus using the method
CN104812093B (en) Method and device for accessing WIFI equipment of smart home to network
US20160219141A1 (en) Method and System for Generic and Secure Troubleshooting of Appliances Using Wireless and Mobile Network
EP3961444A1 (en) Electronic device and method for registering thereof
CN111787514B (en) Method and device for acquiring equipment control data, storage medium and electronic device
JP2010021802A (en) Wireless communication device
CN113726585B (en) Intelligent household equipment, equipment network access method and system
CN112104479A (en) Intelligent equipment batch zero allocation method
US20060058053A1 (en) Method for logging in a mobile terminal at an access point of a local communication network, and access point and terminal for carrying out the method
CN115001863B (en) Network security vulnerability detection method, device, medium and electronic equipment
CN114338356B (en) Network repairing method, electronic equipment and mobile equipment
CN114554470A (en) Interaction method based on Bluetooth device and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant