CN113726585A - Intelligent household equipment, gateway, terminal, equipment network access method and system - Google Patents

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

Info

Publication number
CN113726585A
CN113726585A CN202111221828.6A CN202111221828A CN113726585A CN 113726585 A CN113726585 A CN 113726585A CN 202111221828 A CN202111221828 A CN 202111221828A CN 113726585 A CN113726585 A CN 113726585A
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.)
Granted
Application number
CN202111221828.6A
Other languages
Chinese (zh)
Other versions
CN113726585B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses smart home equipment, a gateway, a terminal, and a method and a system for accessing the smart home equipment to the network, and belongs to the technical field of the Internet of things. The intelligent household equipment comprises: the Near Field Communication (NFC) module is used for: sending the equipment information of the intelligent household 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 the equipment information and the network access request; a connection is established with the gateway based on the target key. The problem of smart home devices's network access process comparatively loaded down with trivial details, the effect of accessing to the net is relatively poor is solved in this application. The application is used for enabling the intelligent household equipment to be networked.

Description

Intelligent household equipment, gateway, terminal, 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, and an equipment networking method and system.
Background
At present, various intelligent household devices (such as household appliances such as switches, televisions, air conditioners and washing machines) in a home can be connected together through the internet of things technology, and then intelligent control over the various intelligent household devices in the home is achieved.
In the smart home, a user needs to access the smart home device to a network (i.e., access the network) first, 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 networked, 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. Then, the intelligent household equipment can be connected with the gateway to realize network access.
Therefore, the network access process of the intelligent household equipment in the related art is complicated, and the network access effect is poor.
Disclosure of Invention
The application provides an intelligent household device, a gateway, a terminal, a device network access method and a system, and can solve the problems that the network access process of the intelligent household device 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 household equipment to a 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; establishing a connection with the gateway based on the target key.
In another aspect, a gateway is provided, which includes a wireless communication module configured to:
receiving equipment information of the intelligent household 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 secret key to the intelligent home equipment;
and establishing connection with the intelligent household equipment based on the target secret key.
In another aspect, a terminal is provided, where the terminal includes:
the near field communication 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;
a wireless communication module for sending the device information to the gateway; 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 can establish connection with the gateway based on the target key.
In another aspect, a device networking method is provided, which is used for smart home devices; the smart home equipment comprises a Near Field Communication (NFC) module and a wireless communication module, and the method comprises the following steps:
sending the equipment information of the intelligent household 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 another aspect, a device networking method is provided, where the method is used for a gateway, and includes:
receiving equipment information of the intelligent household 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 secret key to the intelligent home equipment;
and establishing connection with the intelligent household equipment based on the target secret key.
In another aspect, a device networking method is provided for a terminal, where the terminal includes a Near Field Communication (NFC) module and a wireless communication module, and the method includes:
acquiring equipment information from the intelligent household equipment through the NFC module to trigger the intelligent household equipment to send a network access request to a gateway;
transmitting the device information to the gateway through the wireless communication module; 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 can establish connection with the gateway based on the target key.
In another aspect, a device networking system is provided, where the device networking system includes: the system comprises intelligent household equipment, a terminal and a gateway;
the intelligent household equipment is used for: sending equipment information to the terminal through a Near Field Communication (NFC) module; after the equipment information is sent to the terminal, a network access request is sent to the gateway;
the terminal is used for: sending the device information to the gateway;
the gateway is configured to: after receiving the network access request sent by the intelligent home equipment indicated by the equipment information, sending a target secret key to the intelligent home equipment;
the intelligent household equipment is also used for: establishing a connection with the gateway based on the target key.
The beneficial effect that technical scheme that this application provided brought includes at least:
in the application, the intelligent home equipment can send the 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 household equipment to access the network based on the equipment information and the network access request, and further sends a target key to the intelligent household equipment so that the intelligent household equipment can establish connection with the gateway based on the target key. Therefore, the device information of the intelligent household equipment does not need to be manually input on the terminal by a user, the process of acquiring the device 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 in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
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 provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an intelligent home device provided in an embodiment of the present application;
fig. 4 is a flowchart of a device networking method according to an embodiment of the present application;
fig. 5 is a flowchart of another device networking method according to an embodiment of the present application;
fig. 6 is a flowchart of a further network access method for a device according to an embodiment of the present application;
fig. 7 is a flowchart of a further device networking method according to an embodiment of the present application;
fig. 8 is a schematic diagram of an operation process of a terminal according to an embodiment of the present application;
fig. 9 is a schematic diagram of a usage scenario of a terminal according to an embodiment of the present application;
fig. 10 is a schematic diagram of an operation flow of another terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, 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 technology, the intelligent household equipment is more and more widely used, and the requirement on the use convenience of the intelligent household equipment is higher and higher. The premise that the user intelligently controls the intelligent household equipment is that the intelligent household equipment needs to access the internet, for example, the intelligent household equipment is connected with a gateway to access the internet. At present, the network access safety of the intelligent household equipment is low, the network access accuracy is poor, and the network access process is complicated. The embodiment of the application provides an intelligent household device, a gateway, a terminal, a device network access method and a system, which can prompt the security, accuracy and network access effect of the intelligent household device network access and can also simplify the network access 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: the system comprises a terminal 101, intelligent household equipment 102 and a gateway 103. The terminal 101 and each smart home device 102 may be in communication connection with the gateway 103, so as to implement interconnection of each smart home device 101. Optionally, with continued reference to fig. 1, the device networking system 10 may further include a cloud platform 104, and the smart home devices 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.
Optionally, the device networking system 10 may include a plurality of terminals 101 and a plurality of smart home devices 102, and fig. 1 illustrates only one terminal 101 and three smart home devices 102 as an example. Illustratively, the terminal 101 may include a mobile phone, a tablet computer, a notebook computer, and other terminals having wireless transceiving functions and further interacting with a user. The smart home device 102 may include various household appliances, such as a switch, a refrigerator, a television, a washing machine, an air conditioner, a humidifier, an electric lamp, and the like.
Fig. 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, where the electronic device may be the terminal 101 or the smart home device 102, and fig. 2 takes the electronic device as the smart home device 102 as an example. As shown in fig. 2, the electronic device may include a 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 of within 20 centimeters, for example within 10 centimeters, 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 devices in the embodiment of the present application may communicate using a zigbee (zigbee) protocol, and the smart home devices may be zigbee devices. The wireless communication module 1022 may now include a zigbee unit. Optionally, the smart home device may also use other protocols to perform communication, for example, the wireless communication module 1022 may also include a bluetooth unit, and may also include a wireless fidelity (Wi-Fi) unit, and the zigbee unit, the bluetooth unit, and the Wi-Fi 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. Alternatively, the controller 1023 may also include a plurality of control units, which may be respectively disposed at different positions in the terminal or integrated with different components, so that each control unit can conveniently control the corresponding component. The controller 1023 may connect various parts in the terminal using various interfaces and lines in the terminal to realize 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 is not limited in this embodiment of the 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 provided in an embodiment of the present application. As shown in fig. 3, on the basis of fig. 2, the smart home device 102 may further include a coil 1024 and a voltage amplifying circuit 1025. The coil 1024, the voltage amplifying circuit 1025, and the controller 1023 may be connected in sequence. The coil 1024 may be located at a side of the NFC module 1021 facing the outside of the smart home device 102. When the coil 1024 is in a magnetic field (e.g., an alternating magnetic field, i.e., a radio frequency field), it can be charged by the alternating magnetic field, and the voltage of the coil 1024 increases during charging. 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 (e.g., the NFC module in the terminal 101), the other NFC module needs to send out a magnetic field first to charge the NFC module in the smart home device 102. The NFC module in the smart home device 102 can send information to the other NFC module. Since the coil 1024 is located on the side of the NFC module 1021 facing the outside of the smart home device 102, when the NFC module 1021 is charged under the action of the terminal 101, the coil 1024 is located in front of the terminal and the NFC module 1021, and the coil 1024 may also be charged under the action of the terminal. In this embodiment, the controller 1023 in the smart home device 102 may determine the operating state of the NFC module 1021 through the coil 1024 and the voltage amplifying circuit 1025, that is, determine whether another NFC module interacts with an NFC module in the smart home device 102.
Fig. 4 is a flowchart of a device networking method according to an embodiment of the present application. The method may be applied to the smart home device 102 shown in any one 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 specifically applied to the controller in the smart home device. As shown in fig. 4, the method may include:
step 401, sending the device information of the smart home device to the terminal through the NFC module, where the terminal is configured to send the device information to the gateway.
The device information of the smart home device may include: identification (such as global unique identification) and installation key (english) of the smart home device. Optionally, the device information may further include a Media Access Control (MAC) address, a hardware address, a device name, a device model, 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.
The NFC module in the terminal can send a magnetic field to the NFC module in the smart home device, the NFC module in the smart home device can be charged under the action of the magnetic field, and then the device information of the smart home device can be sent to the NFC module in the terminal. Optionally, the device information of the smart home device may be stored in the NFC module. Optionally, the smart home device may further include a memory, and the device information of the smart home device may be stored in the memory. The NFC module may obtain the device information from the memory and 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 the controller in the intelligent household equipment determines that the NFC module sends the equipment information, the controller can control the intelligent household equipment to enter a network access state. Furthermore, the wireless communication module in the smart home device can be controlled to send a network access request to the gateway to be accessed, wherein the network access request carries the identifier of the wireless communication module. Optionally, the wireless communication module may send the network access request in a broadcast manner, and the gateway may monitor broadcast information in an area where the gateway is located to receive the network access request. Alternatively, the wireless communication module may send the network access request only to the gateway to be accessed point to point.
And step 403, receiving, by the wireless communication module, a target key sent by the gateway based on the device information and the network access request.
Illustratively, the target key may be 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, and the embodiment of the present application is not limited. Each gateway has its own specific communication key based on which it can connect to the gateway for information interaction with the gateway. The communication KEY may also be 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 household 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 household equipment.
In the embodiment of the application, the terminal and the smart home device both comprise NFC modules. 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 a target key sent by the gateway so as to connect the gateway based on the target key. Therefore, the user only needs to enable the terminal to be close to the intelligent household equipment, if the terminal is close to the NFC module of the intelligent household equipment, the terminal can automatically access the network.
To sum up, in the device networking method provided by the embodiment of the application, the smart home device may send the 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 household equipment to access the network based on the equipment information and the network access request, and further sends a target key to the intelligent household equipment so that the intelligent household equipment can establish connection with the gateway based on the target key. Therefore, the device information of the intelligent household equipment does not need to be manually input on the terminal by a user, the process of acquiring the device 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 device networking method according to an embodiment of the present application. The method may be used for the gateway 103 in fig. 1 above, and as shown in fig. 5, the method may include:
and step 501, receiving the device information of the intelligent household device sent by the terminal.
The gateway includes a wireless communication module and a controller. Illustratively, the gateway 103 may receive the device information of the smart home device, which is sent by the wireless communication module of the terminal, through the wireless communication module thereof.
Step 502, after receiving the 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 broadcasted by the intelligent household equipment through the wireless communication module. After receiving a network access request sent by any device, the gateway may determine whether device information of the device sent by the terminal is received. After determining to receive the device information of the device, the gateway can learn that the device determines to access the gateway, and further can send a target key to the device. For the target key, please refer to the related description of step 403, and the description of the embodiments of the present application is omitted.
Step 503, establishing connection with the smart home device based on the target key.
The gateway can wait for the smart home device to establish communication connection with the gateway based on the target key sent by the smart home device. 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.
To sum up, in the device networking method provided by the embodiment of the application, the smart home device may send the 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 household equipment to access the network based on the equipment information and the network access request, and further sends a target key to the intelligent household equipment so that the intelligent household equipment can establish connection with the gateway based on the target key. Therefore, the device information of the intelligent household equipment does not need to be manually input on the terminal by a user, the process of acquiring the device information by the gateway is simplified, and the network access effect of the intelligent household equipment is improved.
Fig. 6 is a flowchart of a further device network access method according to an embodiment of the present application. The method may be used for the terminal 101 in fig. 1, and the terminal 101 may include an NFC module, a wireless communication module, and a controller, and the method may be particularly used 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 devices through the NFC module to trigger the smart home devices to send a network access request to the gateway.
Step 602, sending 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 the 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.
To sum up, in the device networking method provided by the embodiment of the application, the terminal can acquire the device information of the smart home device through the NFC module, and then can 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. The gateway allows the intelligent household equipment to access the network based on the equipment information and the network access request, and further sends a target key to the intelligent household equipment so that the intelligent household equipment can establish connection with the gateway based on the target key. Therefore, the device information of the intelligent household equipment does not need to be manually input on the terminal by a user, the process of acquiring the device information by the gateway is simplified, and the network access effect of the intelligent household equipment is improved.
Fig. 7 is a flowchart of another device networking method according to an embodiment of the present application. The method can be used for the equipment network access system shown in figure 1. As shown in fig. 7, the method may include:
and 701, establishing NFC connection between the terminal and the intelligent household equipment.
The terminal and the intelligent home equipment establish NFC connection, namely the NFC module of the terminal and the NFC module of the intelligent home equipment establish connection. The user can operate to the terminal to control the NFC module in the terminal to start work, and then establish connection with the NFC module in the intelligent household equipment.
Optionally, 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 the terminal is controlled based on the application program so as to control the NFC module in the terminal to start working. Illustratively, fig. 8 is a schematic diagram of an operation process of a terminal provided in an embodiment of the present application. As shown in fig. 8, icons of respective applications installed in the terminal may be displayed on the user's home interface M1. The user may first click the icon Z of the smart home application displayed on the main interface M1 of the terminal, and trigger the terminal to start the application. After the application program is started, the terminal can display an interface M2, and icons of various smart home devices in the home environment, such as icons of smart home devices in a gateway, a television, a washing machine, a refrigerator, an air conditioner and the like, can be displayed in the interface M2. Next, the user may click on an icon of the gateway to trigger the terminal to display an interface M3, in which relevant operation options available for the gateway may be displayed in the interface M3. For example, the operation options for the gateway may include an option to open 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, if the distance threshold is 10 centimeters, the terminal and the smart home device may establish the NFC connection only when the distance between the terminal and the smart home device is smaller than the distance threshold. After the user starts the work of controlling the NFC module of the terminal, the user may bring the terminal close to the smart home device to be networked, for example, close to or in contact with an area where the NFC module of the smart home device is located. The NFC module of the terminal can send out an alternating magnetic field after starting up. When the NFC module of the smart home device is located in the alternating magnetic field, the NFC module can be charged under the action of the alternating magnetic field. The NFC module of the intelligent household equipment can be connected with the NFC module of the terminal after being charged. After the NFC module starts to operate, for example, after entering the peer-to-peer mode, the NFC module may perform device search to search whether there are other NFC modules in an area of a target range around the NFC module. For example, after the NFC module of the smart home device is charged, the NFC module of the terminal may be detected, and then an NFC connection may be established with the other NFC module.
Step 702, the smart home devices send the device information of the smart home devices to the terminal.
For the device information of the smart home device, reference may be made to related descriptions in step 401 in fig. 4, which is not described again in this embodiment of the present application. After the NFC connection is established between the intelligent household equipment and the terminal, the equipment information stored in the intelligent household equipment can be sent to the terminal through the NFC connection, and the NFC module of the terminal can receive the equipment information. Optionally, the device information sent by the smart home device is coded information, and the terminal may analyze the information sent by the smart home device after receiving the information, so as to obtain real device information. For example, the terminal can analyze the received information to obtain the installation code of the intelligent household equipment. Different installation codes of different intelligent household devices are different, and a network access Key (Link Key) adopted when the intelligent household devices access to the network can be determined based on the installation codes.
Correspondingly, in step 702, the terminal receives the device information sent by the smart home device. Optionally, after the terminal finishes receiving the device information, the terminal may display a prompt message indicating that the device information is completely sent. Fig. 9 is a schematic view of a usage scenario of a terminal provided in an embodiment of the present application, and as shown in fig. 9, after acquiring device information of an intelligent switch, the terminal may display a prompt message that "the device information has been successfully acquired". The user can know that the terminal has acquired the equipment information of the intelligent household equipment based on the prompt information, and then can move the terminal 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 a Zigbee device, a universal Zigbee Alliance (english: Alliance)09 is adopted as a network access key for each Zigbee device in the related technology. Therefore, other devices except the gateway can know the network access key of the intelligent home equipment, and the interaction process between the gateway and each intelligent home equipment can be monitored, so that the safety of information interaction is low. In the embodiment of the application, each intelligent household device has an independent installation code, and the independent network access key of each intelligent household device is determined based on the installation code. And then the information interaction safety of the gateway and each intelligent household device can be improved.
And 703, the terminal sends the equipment information of the intelligent household equipment to the gateway.
After the terminal acquires the device information of the smart home device, the device information can be sent to the gateway. Accordingly, the gateway can receive the device information transmitted by the terminal. For example, the device information sent by the terminal to the gateway is the device information obtained after the terminal analyzes the device information. Optionally, the terminal may send all information in the device information to the gateway, or may send only part of information in the device information to the gateway, where the device information sent to the gateway at least includes an identifier and an installation code of the smart home device. For example, the terminal may be communicatively connected to the gateway, and may directly transmit the device information to the gateway. Optionally, the terminal and the gateway may both be connected to the cloud platform. At this time, the terminal can 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 smart home devices need to access the network, and can determine that the smart home devices indicated by the device information need to access the gateway. Furthermore, the gateway can enter a network access permission state, and only the intelligent household equipment indicated by the equipment information is permitted to access the network. For a certain intelligent home device, if the gateway does not receive the device information of the intelligent home device, even if the gateway receives the network access request sent by the intelligent home device, the gateway can refuse the intelligent home device to access the gateway.
It should be noted that, in the related art, the gateway has a start button for starting the network access state. When the intelligent household equipment needs to be accessed to the network, the user needs to manually start the starting button, and then the gateway can enter the network access allowing mode. In the embodiment of the application, the gateway can directly enter the network access permission state after receiving the device information sent by the terminal, and a user does not need to perform other operations on the gateway, so that the network access process of the intelligent home device 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 may encrypt a communication key of the gateway based on the device information. In the embodiment of the present application, a communication key encrypted based on device information is referred to as a target key. Optionally, the gateway may also generate a network access key of the smart home device through the installation code in the device information, and further encrypt a communication key of the gateway based on the network access key to obtain a 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 household equipment so as to mark the intelligent household 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 network access key as a password. If the device information or the network access key is used as a password, the communication key is encoded through an AES-MMO hash function, and 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, so as to obtain the real communication key of the gateway. Therefore, only the intelligent home equipment can obtain the real communication key of the gateway based on the target key, so that other malicious equipment can be prevented from obtaining the communication key of the gateway and further being connected with the gateway, and the information interaction safety and the equipment network access safety of the gateway 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 intelligent household equipment can broadcast the network access request through the wireless communication module. The gateway in the broadcast range of the network access request can receive the network access request, namely the intelligent home equipment sends the network access request to the gateway. The process of broadcasting the network access request by the smart home device may also be a process of scanning beacons (english: Beacon) of each channel within the range of the smart home device. Optionally, the smart home device may also obtain information of the gateway, so as to send the network access request to the gateway only in a point-to-point manner. For example, the information of the gateway can be sent to the NFC module of the smart home device by the terminal through the NFC module.
Optionally, the controller in the smart home device may detect whether the NFC module sends the device information to the terminal through the coil and the voltage amplifying circuit. After the NFC module is determined to send the device information to the terminal, the intelligent household device 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 home equipment, the NFC module in the intelligent home equipment can be charged under the action of an alternating magnetic field emitted by the terminal. The coil in this in-process intelligent household equipment is located between this NFC module and the terminal, so when charging to the NFC module, this coil also can charge. The coil is connected to a voltage amplification circuit that amplifies the voltage across the coil to a range recognizable by the controller, such as 3 volts to 5 volts. After the controller receives the voltage output by the voltage amplifying circuit, the controller can determine that the NFC module sends the equipment information to the terminal, and then the intelligent household equipment can be controlled to enter a network access state. Through setting up voltage amplifier circuit, can also prevent to beat the circumstances such as thunder and make the coil charge, lead to the controller mistake and think the circumstances of entering the network entry state.
It should be noted that, in the related art, the smart home device has a start button in the network access state. When the intelligent home equipment needs to be accessed to the network, the 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 acquires the device information from the smart home device, the smart home device may monitor the device information sending operation of the NFC module through the coil and the voltage amplifying circuit. The smart home equipment directly enters the network access state after the NFC module is monitored to send the equipment information, the user does not need to perform other operations on the smart home equipment, and the network access process of the smart home equipment is simplified.
Step 705 is executed by a wireless communication module in the smart home device. Accordingly, the wireless communication module in the gateway may receive the network entry request.
Step 706, when it is determined that the network access request is sent by the smart home device indicated by the received device information, the gateway sends the 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 that the gateway allows to access the network. For example, the gateway may determine whether the device information is sent by the smart home device indicated by the received device information, that is, whether the device information of the smart home device sent by the terminal is received. 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 smart home device, that is, the communication key of the gateway encrypted based on the device information of the smart home device is used for the smart home device to access the gateway based on the target key. Correspondingly, the intelligent home equipment receives the target key sent by the gateway. And if the gateway determines that the equipment information of the intelligent household equipment is not received, prohibiting the intelligent household equipment from accessing the network, and ignoring the network access request.
It should be noted that, in the related art, for a sending device of a received network access request, a gateway allows the sending device to access the gateway. However, since the first gateway is closer to the second gateway, the second gateway also receives the network access request sent by the sending device, and the sending device may access the second gateway. In the embodiment of the application, the gateway only allows the intelligent home devices indicated by the received device information to access, so that the network access accuracy of the intelligent home devices can be ensured, and the network access effect of the intelligent home devices is improved.
In step 706, determining whether the network access request is sent by the smart home device indicated by the received device information may be executed 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.
And 707, the smart home device decrypts the received target key based on the device information.
After receiving the target key, the smart home device may decrypt the target key based on the device information of the smart home device to obtain a real communication key. Optionally, if the gateway encrypts the communication key of the gateway through the network access key of the smart home device, after receiving the target key, the smart home device may also generate the network access key based on the installation code of the smart home device, and further decrypt the target key based on the network access key. It should be noted that step 707 may be executed by a controller in the smart home device.
Step 708, after the smart home device successfully decrypts the received target key, establishing a connection with the gateway based on the decrypted communication key.
After the intelligent home equipment successfully decrypts the received target key, the real communication key of the gateway can be obtained. And then the intelligent household equipment can successfully establish connection with the gateway based on the communication key. Correspondingly, the gateway also establishes connection with the intelligent household equipment based on the communication key. At this moment, the smart home device successfully accesses the network. 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 obtained by encrypting based on the device information of the corresponding smart home device, the target key can be successfully decrypted only by knowing the device information. Therefore, the intelligent household equipment can be ensured to successfully decrypt the received target key to obtain the communication key of the gateway, and then the communication key is normally connected with the gateway, other equipment is prevented from acquiring the communication key of the gateway, and the network access safety of the intelligent household equipment is ensured.
And 709, the intelligent household equipment sends the feedback information of successful decryption to the gateway through the connection.
After the connection between the intelligent household equipment and the gateway is successfully established, feedback information of successful decryption can be sent to the gateway. Step 709 may be executed by the wireless communication module of the smart home device, and accordingly, the wireless communication module in the gateway may receive the feedback information.
And step 710, the gateway sends a prompt message that the intelligent household 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 the wireless communication module of the gateway, and accordingly, the wireless communication module in the terminal may receive the prompt message.
And 711, displaying a prompt message that the intelligent household equipment has successfully accessed the network by the terminal.
The terminal may further include a display screen. After receiving the prompt message, the terminal can display the prompt message through the display screen to inform a user that the intelligent home equipment has successfully accessed to the network, and the intelligent home equipment has joined the family group where the gateway is located and is interconnected with the equipment in the group. And then, the user can intelligently control the intelligent household equipment through the terminal.
Illustratively, fig. 10 is a schematic diagram of an operation flow of another terminal provided in an embodiment of the present application. The display interface may display a prompt message that the intelligent switch has successfully accessed the network, and the prompt message may be "whether the intelligent switch has successfully accessed the network and is currently controlled". Optionally, a confirm button and a cancel button may also be displayed in the display interface. If the user clicks the confirmation button, the display interface of the terminal can jump to the interface for controlling the intelligent switch. The user can operate in the interface to effect control of the switch only (e.g., turn on, turn off, or change the lighting mode, etc.).
To sum up, in the device networking method provided by the embodiment of the application, the smart home device may send the 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 household equipment to access the network based on the equipment information and the network access request, and further sends a target key to the intelligent household equipment so that the intelligent household equipment can establish connection with the gateway based on the target key. Therefore, the device information of the intelligent household equipment does not need to be manually input on the terminal by a user, the process of acquiring the device 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 device information of the intelligent home device to obtain the target key, so that the target key can be successfully decrypted only by knowing the device information of the intelligent home device 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 acquiring the communication key of the gateway and then being connected with the gateway, and the information interaction safety of the gateway and the network access safety of the intelligent home equipment are improved.
An embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the device networking method provided in the foregoing embodiment, for example, the method shown in any one of fig. 4 to fig. 7.
Embodiments of the present application further provide a computer program product including instructions, which, when the computer program product runs on a computer, causes the computer to execute the device network access method provided in the foregoing method embodiments, for example, the method shown in any one of fig. 4 to 7.
It should be noted that, the method embodiments provided in the embodiments of the present application can be mutually referred to with corresponding apparatus embodiments, and each method embodiment and each apparatus embodiment may also be mutually referred to, which is not limited in the embodiments of the present application. The sequence of the steps of the method embodiments provided in the embodiments of the present application can be appropriately adjusted, and the steps can be correspondingly increased or decreased according to the situation, and any method that can be easily conceived by those skilled in the art within the technical scope disclosed in the present application shall be covered by the protection scope of the present application, and therefore, the details are not repeated.
The term "and/or" in this application is only one kind of association relationship describing the associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. In the case of calculations involving mathematical formulas, the character "/" represents the operator "divide. The term "at least one of a and B" in the present application is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, at least one of a and B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In this application, "at least one" means one or more, "a plurality" means "two or more".
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. The utility model provides an intelligent household equipment, its characterized in that, intelligent household equipment includes:
the NFC module is used for sending the equipment information of the intelligent household equipment to a 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; establishing a connection with the gateway based on the target key.
2. The smart home device according to claim 1, wherein the target key is a communication key of the gateway encrypted based on the device information; the intelligent household equipment further comprises:
a controller 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.
3. The smart home device according to claim 1 or 2, wherein the terminal is configured to emit a magnetic field; the NFC module is used for: after the charging based on the magnetic field, sending the equipment information to the terminal; the intelligent household equipment further comprises: the coil, the voltage amplifying circuit and the controller are connected in sequence, and the coil is located on one side, facing the outside of the intelligent household equipment, of the NFC module;
the coil is used for: charging based on the magnetic field;
the amplification circuit is configured to: amplifying the voltage on the coil and transmitting the amplified voltage to the controller;
the controller is configured to: and when the voltage transmitted by the amplifying circuit is within the range of the network access voltage, determining that the NFC module has sent the equipment information to the terminal, and controlling the wireless communication module to send the network access request.
4. A gateway, comprising a wireless communication module configured to:
receiving equipment information of the intelligent household 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 secret key to the intelligent home equipment;
and establishing connection with the intelligent household equipment based on the target secret key.
5. The gateway of claim 4, further comprising a controller;
the controller is configured to: encrypting a communication key of the gateway to obtain the target key based on the equipment information received by the wireless communication module;
the target key is used for: and the intelligent household equipment decrypts the equipment information to obtain the communication key and establishes connection with the gateway based on the communication key.
6. A terminal, characterized in that the terminal comprises:
the near field communication 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;
a wireless communication module for sending the device information to the gateway; 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 can establish connection with the gateway based on the target key.
7. A device network access method is characterized in that the method is used for intelligent household equipment; the smart home equipment comprises a Near Field Communication (NFC) module and a wireless communication module, and the method comprises the following steps:
sending the equipment information of the intelligent household 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.
8. A device networking method, used for a gateway, the method comprising:
receiving equipment information of the intelligent household 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 secret key to the intelligent home equipment;
and establishing connection with the intelligent household equipment based on the target secret key.
9. A device networking method is used for a terminal, the terminal comprises a Near Field Communication (NFC) module and a wireless communication module, and the method comprises the following steps:
acquiring equipment information from the intelligent household equipment through the NFC module to trigger the intelligent household equipment to send a network access request to a gateway;
transmitting the device information to the gateway through the wireless communication module; 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 can establish connection with the gateway based on the target key.
10. An apparatus networking system, the apparatus networking system comprising: the system comprises intelligent household equipment, a terminal and a gateway;
the intelligent household equipment is used for: sending equipment information to the terminal through a Near Field Communication (NFC) module; after the equipment information is sent to the terminal, a network access request is sent to the gateway;
the terminal is used for: sending the device information to the gateway;
the gateway is configured to: after receiving the network access request sent by the intelligent home equipment indicated by the equipment information, sending a target secret key to the intelligent home equipment;
the intelligent household equipment is also used for: establishing a connection with the gateway based on the target 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 true CN113726585A (en) 2021-11-30
CN113726585B 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网关" *
岑荣滢;姜琴;扈健玮;孙梦莉;: "面向智能家居应用的ZigBee-WiFi网关", 计算机系统应用, no. 01, 15 January 2017 (2017-01-15) *

Also Published As

Publication number Publication date
CN113726585B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
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
CN113163379B (en) Method for discovering and distributing network and electronic equipment
CN106878923B (en) Quick networking method for ultra-low power consumption intelligent equipment and intelligent home system
CN103458399B (en) Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
US20130178163A1 (en) Systems for Facilitating Wireless Communication and Related Methods
CN111490916B (en) Method, system, device and medium for binding ZigBee sub-devices of ZigBee
CN105450268A (en) Bluetooth-based method and system for automatically connecting wearable device with mobile terminal
CN107948178A (en) Intelligent domestic system and information ciphering method and device, terminal
CN105228224A (en) The cut-in method of wireless network and device
CN107947924A (en) Intelligent domestic system and information ciphering method and device, terminal
KR102470455B1 (en) Electronic device, display apparatus and control method thereof
CN105069875A (en) Electronic key, electronic devices and electronic device networking/pairing method
CN112492569A (en) Intelligent device control method and terminal
CN107968736B (en) Intelligent home system, information encryption method and device and terminal
CN105159121A (en) Household appliance, startup and shutdown control method and system thereof and intelligent device
CN111787514B (en) Method and device for acquiring equipment control data, storage medium and electronic device
WO2023001082A1 (en) Network configuration method and apparatus
CN113286294B (en) Equipment wireless network information configuration method and device
CN114615688B (en) Close-distance automatic configuration method between WiFi hotspot device and current access device
CN110784379B (en) Internet of things module testing method, intermediate equipment, terminal equipment and testing system
KR20150072240A (en) Electric product and method for updating firmware of the same
CN113726585B (en) Intelligent household equipment, equipment network access method and system
CN114338356B (en) Network repairing method, electronic equipment and mobile equipment
CN106254118B (en) WiFi equipment rapid control method

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