CN113132997B - Communication method, device and system of intelligent household equipment - Google Patents

Communication method, device and system of intelligent household equipment Download PDF

Info

Publication number
CN113132997B
CN113132997B CN201911393126.9A CN201911393126A CN113132997B CN 113132997 B CN113132997 B CN 113132997B CN 201911393126 A CN201911393126 A CN 201911393126A CN 113132997 B CN113132997 B CN 113132997B
Authority
CN
China
Prior art keywords
wifi hotspot
equipment
server
target wifi
target
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
CN201911393126.9A
Other languages
Chinese (zh)
Other versions
CN113132997A (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.)
Shenzhen 3Nod Digital Technology Co Ltd
Original Assignee
Shenzhen 3Nod Digital 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 Shenzhen 3Nod Digital Technology Co Ltd filed Critical Shenzhen 3Nod Digital Technology Co Ltd
Priority to CN201911393126.9A priority Critical patent/CN113132997B/en
Publication of CN113132997A publication Critical patent/CN113132997A/en
Application granted granted Critical
Publication of CN113132997B publication Critical patent/CN113132997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The embodiment of the application belongs to the technical field of intelligent home, and relates to a communication method of intelligent home equipment, intelligent home equipment and a communication system, wherein the method comprises the steps that the intelligent home equipment creates a server, scans external available WIFI hot spots, and stores the scanned external available WIFI hot spots in the server; the intelligent home equipment creates an internal WIFI hotspot so that the mobile equipment can be matched with a target WIFI hotspot from the externally available WIFI hotspots and feed back the target WIFI hotspot; the intelligent home equipment receives the SSID and the KEY of the fed-back target WIFI hotspot; sending the first state symbol to the mobile device through the server, and receiving feedback of the second state symbol from the mobile device; after receiving the second state symbol sent by the mobile device through the server, the intelligent home device closes the internal WIFI hotspot and connects to the target WIFI hotspot by using the SSID and the KEY of the target WIFI hotspot; the intelligent home equipment communicates with the third party equipment based on the target WIFI hot spot. The scheme is simple in networking steps and is not prone to privacy leakage.

Description

Communication method, device and system of intelligent household equipment
Technical Field
The application relates to the technical field of intelligent home, in particular to a communication method, equipment and system of intelligent home equipment.
Background
With the rapid development of smart home in recent years, the demand of users for smart home is increasing day by day. The intelligent sound box is used as a part of an intelligent home, the current network distribution method is that data exchange is carried out through SOCKET communication directly through a local area network formed by intelligent sound box equipment and a mobile phone, then the intelligent sound box equipment and the mobile phone are disconnected, are connected with WIFI and then registered through mobile phone app and initiate network access application to a server, the intelligent equipment sends verification codes to the server, and the server binds the intelligent sound box and the mobile phone after verification. Wherein the binding is registered with the mobile app, resulting in complex user operation steps and easy exposure of user privacy.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for enabling intelligent home equipment to be capable of enabling networking operation steps to be simple when the intelligent home equipment is communicated with other equipment, and enabling privacy of a user not to be easily exposed when the intelligent home equipment is communicated.
In order to solve the technical problems, embodiments of the present application provide
A communication method of smart home devices, comprising:
the intelligent home equipment creates a server, scans external available WIFI hot spots, and stores the scanned external available WIFI hot spots into the server;
the intelligent home equipment creates an internal WIFI hotspot, so that the mobile equipment is connected with the internal WIFI hotspot to access the server, and a target WIFI hotspot is matched with the external available WIFI hotspot and fed back;
the intelligent home equipment receives SSID and KEY of the target WIFI hotspot, which are fed back by the mobile equipment in a matching way, through the server;
after the intelligent home equipment acquires the SSID and the KEY of the target WIFI hotspot, the server sends a first state symbol to the mobile equipment, so that the mobile equipment is connected to the target WIFI hotspot by using the SSID and the KEY of the target WIFI hotspot when receiving the first state symbol, and feeds back a second state symbol;
after the intelligent home equipment receives the second state symbol sent by the mobile equipment through the server, closing the internal WIFI hotspot, and connecting to the target WIFI hotspot by using the SSID and the KEY of the target WIFI hotspot;
and the intelligent home equipment communicates with third-party equipment based on the target WIFI hot spot.
Further, the SSID and KEY of the target WIFI hotspot are encrypted by the mobile device before the feedback, and before the smart home device connects to the target WIFI hotspot by using the SSID and KEY of the target WIFI hotspot, the smart home device further includes:
decoding the SSID and the KEY of the encrypted target WIFI hotspot to obtain the SSID and the KEY of the decrypted target WIFI hotspot.
Further, the smart home device communicating with a third party device based on the target WIFI hotspot specifically includes:
and the intelligent home equipment communicates with a cloud server and/or the mobile equipment based on the target WIFI hot spot.
Further, the smart home device communicating with the cloud server based on the target WIFI hotspot includes:
the intelligent home equipment sends a code to a cloud server for network access registration;
and the intelligent home equipment receives the intelligent voice service authorization code fed back by the cloud server after network entry registration, so as to obtain an intelligent voice service function.
Further, the smart home device communicating with the mobile device based on the target WIFI hotspot includes:
the intelligent home equipment synchronizes equipment information and state information into the server;
and the intelligent home equipment starts an SSDP service, so that the mobile equipment connected to the target WiFi hotspot discovers the intelligent home equipment based on the SSDP service, and acquires the equipment information and the state information from the server through TCP and UDP protocols for transmission.
In order to solve the technical problems, the embodiment of the application also provides intelligent household equipment, which comprises a WIFI module, a processor and a memory;
wherein the processor comprises: the system comprises a server creation module, a WIFI control module and a receiving and transmitting module;
the server creation module is used for creating a server in cooperation with the memory, and the WIFI control module is used for controlling the WiFi module to scan external available WIFI hot spots and storing the scanned external available WIFI hot spots into the server;
the WIFI control module is further used for controlling the WiFi module and the intelligent home equipment to create an internal WIFI hotspot, so that the mobile equipment is connected with the internal WIFI hotspot to access the server, and a target WIFI hotspot is matched with the external available WIFI hotspot and fed back;
the receiving and sending module is further configured to send a first state symbol to the mobile device through the server after the server receives the SSID and KEY of the target WIFI hotspot that are fed back by the mobile device in a matching manner, so that the mobile device connects to the target WIFI hotspot by using the SSID and KEY of the target WIFI hotspot when receiving the first state symbol, and feeds back a second state symbol;
the WIFI control module is further configured to control the WIFI module to close the internal WIFI hotspot after the server receives the second state symbol sent by the mobile device, and connect to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot, and communicate with a third party device based on the target WIFI hotspot.
And the WIFI module and the memory are both connected with the processor.
Further, the WiFi module is specifically configured to, when communicating with a third party device based on the target WiFi hotspot
And communicating with a cloud server and/or the mobile device based on the target WIFI hot spot.
Further, the SSID and KEY of the target WIFI hotspot are encrypted by the mobile device before the feedback, and the processor further includes a decoding module, where the decoding module is configured to decode the encrypted SSID and KEY of the target WIFI hotspot to obtain the decrypted SSID and KEY of the target WIFI hotspot before the WIFI control module connects to the target WIFI hotspot by using the SSID and KEY of the target WIFI hotspot.
Further, the smart home device further includes:
and the microphone is connected with the processor and used for controlling the microphone to realize the intelligent voice service function after the intelligent household equipment obtains the intelligent voice service function.
In order to solve the above technical problem, an embodiment of the present application further provides a communication system of an intelligent home device, including:
the intelligent household equipment, the cloud server and the mobile equipment;
the intelligent home equipment is used for creating a server, scanning an external available WIFI hotspot, and storing the scanned external available WIFI hotspot into the server;
the intelligent home equipment is also used for creating an internal WIFI hotspot;
the mobile device is used for connecting the internal WIFI hot spot to access the server, matching a target WIFI hot spot from the external available WIFI hot spot and feeding back to the intelligent home device;
the intelligent home equipment is also used for sending a first state symbol to the mobile equipment through the server after receiving the SSID and the KEY of the target WIFI hotspot, which are fed back by the mobile equipment in a matching way, through the server;
the mobile device is further configured to connect to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot when the first status symbol is received, and feed back a second status symbol to the smart home device;
the smart home device is further configured to close the internal WIFI hotspot after receiving the second status symbol sent by the mobile device through the server, and connect to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot;
the intelligent home equipment is further used for sending a code to the cloud server based on the target WIFI hot spot so as to be used for network access registration;
and the cloud server is used for feeding back the intelligent voice service authorization code to the intelligent household equipment after receiving the code, so that the intelligent household equipment obtains an intelligent voice service function.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
by adopting the technical scheme, when the intelligent household equipment and the third party equipment are in communication, interaction with the intelligent household equipment is not performed directly, but interaction with a server created by the intelligent household equipment is performed, and safety of user privacy is guaranteed; the operation steps of the communication method before the WIFI hotspot is connected are simple, in the scheme, the WIFI hotspot obtained by scanning the intelligent home equipment is matched with the WIFI hotspot stored in the mobile equipment of the user or connected with the WIFI hotspot, and the matched target WIFI hotspot is fed back to the intelligent home equipment, so that the stability of the matched target WIFI hotspot connected with the intelligent home equipment is greatly enhanced, and the complex operation of networking in the prior art is avoided on the premise of ensuring the privacy of the user.
Drawings
For a clearer description of the solution in the present application, a brief description will be given below of the drawings that are needed in the description of the embodiments of the present application, it being obvious that the drawings in the following description are some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a flowchart of a communication method of an intelligent home device 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 another schematic structural diagram of an intelligent home device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a smart home device according to an embodiment of the present application;
fig. 5 is a system architecture diagram of a communication system of a smart home device according to an embodiment of the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to better understand the technical solutions of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of an embodiment of a communication method of an intelligent home device provided by the application is shown, where the communication method of the intelligent home device is applied to various intelligent home devices, such as an intelligent sound box, an intelligent desk lamp or an intelligent camera. The communication method of the intelligent home equipment comprises the following steps:
and 101, the intelligent home equipment creates a server, scans an external available WIFI hotspot, and stores the scanned external available WIFI hotspot into the server.
In this embodiment, the server created in step 101 is a lightweight server, specifically, a lightweight HTTP server may be created by monoose, and after the lightweight HTTP server is created, an externally available WIFI hotspot scanned by a wireless network WIFI of the smart home device may be saved in a node of the lightweight HTTP server created by monoose.
In step 102, the smart home device creates an internal WIFI hotspot, so that the mobile device connects the internal WIFI hotspot to access the server, matches a target WIFI hotspot from the externally available WIFI hotspots, and feeds back the target WIFI hotspot.
In this embodiment, before the smart home device connects to the network, the WIFI module is switched to the AP mode, that is, the wireless WIFI access service is provided, and other electronic devices (such as the mobile device in this embodiment) are allowed to access wirelessly, and data access to the server is provided, so after the mobile device is connected to the internal WIFI hotspot created by the smart home device, the mobile device may access the server created by the smart home device and obtain the SSID of the external available WIFI hotspot stored in the server, and then the mobile device may read the SSID of the external available WIFI hotspot and the KEY stored in itself or connected to the mobile device, compare the SSID of the external available WIFI hotspot and the KEY, and feed back the SSID of the target WIFI hotspot and the KEY to the server for the smart home device to receive and obtain, where the SSID of the external available WIFI hotspot that matches best may be determined by the network signal strength, or match a plurality of external available WIFI hotspots for the user to select.
And step 103, the intelligent home equipment receives the SSID and the KEY of the target WIFI hotspot, which are fed back by the mobile equipment in a matching way, through the server.
In this embodiment, still taking an example that the smart home device creates a lightweight HTTP server through monoose, the lightweight HTTP server stores the SSID and KEY of the target WIFI hotspot that are sent by the mobile device and are received into a node of the lightweight HTTP server, and the smart home device obtains the SSID and KEY of the target WIFI hotspot from the lightweight HTTP server.
104, after acquiring the SSID and KEY of the target WIFI hotspot, the smart home device sends a first status symbol to the mobile device through the server, so that the mobile device connects to the target WIFI hotspot by using the SSID and KEY of the target WIFI hotspot when receiving the first status symbol, and feeds back a second status symbol;
in this embodiment, after the smart home device obtains the SSID and the KEY of the target WIFI, the smart home device sends a first state indicator to the mobile device through the server, where the first state indicator may be an instruction for the mobile device to switch WIFI, that is, when the mobile device receives the first state indicator, the SSID and the KEY that use the target WIFI hotspot are switched to the target WIFI hotspot, and after the switching is completed, the second state indicator is fed back to the server.
Step 105, after receiving, by the smart home device via the server, the second status symbol sent by the mobile device, closing the internal WIFI hotspot, and connecting to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot.
In this embodiment, the second state symbol may be an instruction for enabling the smart home device to close the WIFI hotspot and switch to the target WIFI hotspot, and after the smart home device receives the second state symbol sent by the mobile device through the server, the smart home device switches the WIFI module from the AP mode to the STA mode, and at this time, the smart home device is used as a terminal to connect to the target WIFI hotspot by using the SSID and the KEY of the target WIFI hotspot.
And step 106, the intelligent home equipment communicates with third party equipment based on the target WIFI hot spot.
In this embodiment, after the smart home device is connected to the target WIFI hotspot, the smart home device may communicate with the third party device to transmit related information, for example, device information of the smart home device.
By adopting the scheme, when the intelligent household equipment and the third party equipment are in communication, the intelligent household equipment is not interacted with the intelligent household equipment directly, but is interacted with a server built by the intelligent household equipment, so that the communication can be realized, the communication through the third party server can be avoided, and the safety of user privacy is effectively ensured; in addition, the operation before the connection of the target WIFI hotspot is simpler than the existing networking operation steps in the communication method of the smart home device provided in the above embodiment, the operation of matching the externally available WIFI hotspot obtained by scanning the smart home device with the externally available WIFI hotspot stored in the mobile device of the user or connected to the mobile device of the user can be adopted, so that the preferred target WIFI hotspot can be obtained and fed back to the smart home device, and the stability of the smart home device in connection with the WIFI hotspot is greatly enhanced. On the premise of guaranteeing the privacy of users, tedious networking operation in the prior art is avoided.
In some optional implementations of this embodiment, the SSID and KEY of the target WIFI hotspot are encrypted by the mobile device before the feedback, and decoding the encrypted SSID and KEY of the target WIFI hotspot to obtain the decrypted SSID and KEY of the target WIFI hotspot before the smart home device connects to the target WIFI hotspot by using the SSID and KEY of the target WIFI hotspot.
In this embodiment, since the SSID and KEY of the target WIFI hotspot fed back by the mobile device are encrypted, after the smart home device receives the encrypted SSID and KEY of the target WIFI hotspot, decoding is required to obtain the decoded SSID and KEY of the target WIFI.
By adopting the encryption and decoding mode, the security of the SSID and the KEY of the target WIFI hotspot transmitted between the mobile device and the intelligent home device can be greatly improved, and leakage of the SSID and the KEY of the target WIFI hotspot is avoided, so that loss of users is caused.
In some alternative implementations, the step 106 specifically includes:
and the intelligent home equipment communicates with a cloud server and/or the mobile equipment based on the target WIFI hot spot.
In this embodiment, after the smart home device is connected to the target WIFI, the smart home device may communicate with the cloud server and the mobile device, for example, the smart home device may communicate with the mobile device by sending a code to the cloud server to register on the internet, and the mobile device may obtain status information and device information of the smart home device, so as to realize visualization of information of the smart home device.
In some optional manners, the smart home device communicating with the cloud server based on the target WIFI hotspot includes:
the intelligent equipment sends a code to a cloud server for network access registration;
and the intelligent home equipment receives the intelligent voice service authorization code fed back by the cloud server after network entry registration, so as to obtain an intelligent voice service function.
Specifically, the voice service authorization code is used for enabling the intelligent home equipment to obtain an intelligent voice service function, so that the intelligent home equipment can realize voice service and voice control of a user on the intelligent home equipment can be realized.
In other embodiments, the smart home device communicating with the mobile device based on the target WIFI hotspot comprises:
the intelligent home equipment synchronizes equipment information and state information into the server;
and the intelligent home equipment starts an SSDP service, so that the mobile equipment connected to the target WiFi hotspot discovers the intelligent home equipment based on the SSDP service, and acquires the equipment information and the state information from the server through TCP and UDP protocols for transmission.
In this embodiment, after the smart home device connects to the target WIFI, an SSDP service is started, where the SSDP service, that is, a simple discovery protocol, defines how a network service is discovered on a network, and when the same WIFI hotspot is connected, the mobile device connects to the target WIFI hotspot simultaneously in this application, based on the SSDP service, can discover the smart home device, and after the smart home device synchronizes its device information and state information to the server, the mobile device can acquire the device information and state information of the smart home device from the server through TCP and UDP protocols. Specifically, the state information includes equipment power, equipment working state information and the like, and the equipment information includes equipment names, equipment models and the like.
The step of synchronizing the device information and the state information into the server by the smart home device and the step of starting the SSDP service by the smart home device, so that the mobile device connected to the target WiFi hotspot discovers the smart home device based on the SSDP service, and obtains the device information and the state information from the server through the TCP and the UDP protocol, may be executed in particular, and may be executed one of them first or simultaneously.
The intelligent home equipment is used for synchronizing equipment information and state information into the server, and the intelligent home equipment starts SSDP service, so that the mobile equipment connected to the target WiFi hotspot discovers the intelligent home equipment based on the SSDP service, and acquires the equipment information and the state information from the server through TCP and UDP protocols for transmission, thereby realizing the acquisition of the equipment information and the state information of the intelligent home equipment by the mobile equipment, or the acquisition of other information, and the control of the intelligent home equipment by the mobile equipment.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
Referring to fig. 2, as an implementation of the method shown in fig. 1, the present application provides an embodiment of a smart home device, where the embodiment corresponds to the method embodiment shown in fig. 1.
As shown in fig. 2, the smart home device according to this embodiment includes: WIFI module 201, processor 202, and memory 203. Wherein:
the processor 202 further includes: a server creation module 2021, a WIFI control module 2022, and a reception transmission module 2023;
the server creation module 2021 is used to create a server in cooperation with the memory 203.
The WIFI control module 2022 is configured to control the WIFI module 201 to scan an externally available WIFI hotspot, and store the scanned externally available WIFI hotspot in the server;
the WIFI control module 2022 is further configured to control the WIFI module 201 to create an internal WIFI hotspot by using the smart home device, so that a mobile device connects the internal WIFI hotspot to access the server, and matches and feeds back a target WIFI hotspot from the externally available WIFI hotspots;
the receiving and sending module 2023 is further configured to send, by the server, a first state symbol to the mobile device after the server receives the SSID and KEY of the target WIFI hotspot that are fed back by the mobile device in a matching manner, so that the mobile device connects to the target WIFI hotspot by using the SSID and KEY of the target WIFI hotspot when receiving the first state symbol, and feeds back a second state symbol;
the WIFI control module 2022 is further configured to control, after the server receives the second status symbol sent by the mobile device, the WIFI module 201 to close the internal WIFI hotspot, connect to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot, and communicate with a third party device based on the target WIFI hotspot.
The WIFI module 201 and the memory 203 are both connected to the processor 202.
In this embodiment, the smart home device at least includes: WIFI module 201, processor 202 and memory 203, said processor 202 comprising: a server creation module 2021, a WIFI control module 2022, and a reception transmission module 2023;
the server creation module 2021 is matched with the memory 203 to build a lightweight HTTP server so as to avoid privacy disclosure caused by direct interaction between third party equipment and intelligent home equipment;
the WIFI control module 2022 is configured to control the WIFI module 201 to scan an externally available WIFI hotspot, and store the SSID and KEY of the externally available WIFI hotspot obtained by scanning in the created server contact, so as to facilitate the mobile device to obtain; the WIFI module 201 is controlled to create an internal WIFI hotspot, namely the WIFI module 201 is set to be in an AP mode, so that the mobile device can access the internal WIFI hotspot, the mobile device can access the SSID and the KEY stored in the server and match with the SSID of the WIFI stored or connected by the mobile device, after matching, the user selects one of the SSID and the KEY of the target WIFI hotspot, and the SSID and the KEY of the target WIFI hotspot are fed back to the intelligent home device;
the receiving and sending module 2023 is configured to send a first state symbol to the mobile device through the server, so that after the mobile device receives the first state symbol, the mobile device connects to the target WIFI by using the SSID and KEY of the target WIFI hotspot, and after the connection, feeds back a second state symbol to the smart home device; the first state symbol is a WIFI switching instruction, and the second state symbol is a combination of a confirmation instruction and a WIFI switching instruction.
After the receiving and sending module 2023 receives the second status symbol, the WIFI control module 2022 controls the WIFI module 201 to close the internal WIFI hotspot, and connects to the target WIFI hotspot by using the SSID and KEY of the received target WIFI hotspot, and communicates with the third party device based on the target WIFI hotspot.
The WIFI module 201 and the memory 203 are both connected to the processor 202, so as to implement the function of the smart home device.
The communication method of the intelligent household equipment is realized by matching each module of the intelligent household equipment, namely, when the intelligent household equipment is communicated with the third party equipment, the intelligent household equipment is not interacted with the intelligent household equipment directly, but is interacted with a server created by the intelligent household equipment, so that the safety of user privacy is ensured; the operation steps of the communication method before the WIFI hotspot is connected are simple, in the scheme, the WIFI hotspot obtained by scanning the intelligent home equipment is matched with the WIFI hotspot stored in the mobile equipment of the user or connected with the WIFI hotspot, and the matched target WIFI hotspot is fed back to the intelligent home equipment, so that the stability of the matched target WIFI hotspot on the connection of the intelligent home equipment is greatly enhanced. On the premise of guaranteeing the privacy of the user, the complicated operation in the prior art is avoided.
In some optional implementations of this embodiment, the WIFI module 201 is specifically configured to communicate with a cloud server and/or the mobile device based on the target WIFI hotspot when communicating with a third party device based on the target WIFI hotspot.
When communicating with the cloud server, the WIFI module 201 performs network entry registration by sending a code to the cloud server, and receives an intelligent voice service authorization code fed back by the cloud server and/or interaction with the mobile device after network entry registration.
The WIFI module 201 is used for communicating with the cloud server and/or the mobile device, so that the intelligent household device can communicate with the mobile device by sending a code to the cloud server to realize network entry registration, and the mobile device can acquire the state information and the device information of the intelligent household device. The state information comprises equipment electric quantity, equipment working state information and the like, and the equipment information comprises equipment names, equipment models and the like.
Referring to fig. 3, in some alternative implementations of the present embodiment, the processor 202 further includes: and the decoding module 2024 is configured to decode the SSID and KEY of the encrypted target WIFI hotspot, to obtain the SSID and KEY of the decrypted target WIFI hotspot. The SSID and KEY of the target WIFI hotspot are encrypted by the mobile device before being fed back by the mobile device, so before the WIFI control module 2022 connects to the target WIFI hotspot by using the SSID and KEY of the target WIFI hotspot, the SSID and KEY of the encrypted target WIFI hotspot need to be decoded, so the decoding module 2024 in the processor 202 is used to decode the SSID and KEY of the encrypted target WIFI hotspot, so as to obtain the SSID and KEY of the decoded target WIFI hotspot.
By setting the decoding module 2024 to decode the SSID and KEY of the encrypted target WIFI hotspot sent by the mobile device, the decoding module 2024 is set to decode the encrypted information, and by this step, encryption protection of the information is achieved.
Referring to fig. 4, in some alternative implementations of the present embodiment, the smart home device further includes a microphone 204 connected to the processor 202, where the processor 202 is configured to cooperate with the microphone 204 to implement the smart voice service function after the smart home device obtains the smart voice service function.
In this embodiment, the microphone 204 is configured to receive a voice command sent by a user, connect the microphone 204 to the processor 202, and the processor 202 identifies and processes the voice command sent by the user and received by the dialogue tube 204, so as to implement corresponding control on the smart home device and implement the smart voice service function.
By setting the microphone 204, the processor 202 controls the microphone 204 to collect voice instructions sent by a user, and transmits the collected voice instructions to the processor 202 for processing, so as to realize an intelligent voice service function.
Referring to fig. 5, a basic structural block diagram of a communication system of an intelligent home device according to an embodiment of the present application is illustrated, where the communication system of the intelligent home device includes:
smart home device 504, cloud server 505, and mobile device (501, 502, 503);
the intelligent home equipment creates a server 5041, scans an external available WIFI hotspot, and stores the scanned external available WIFI hotspot into the server 5041;
the intelligent home equipment is also used for creating an internal WIFI hotspot;
the mobile device (501, 502, 503) is configured to connect to the internal WIFI hotspot to access the server 5041, match a target WIFI hotspot from the externally available WIFI hotspots, and feed back to the smart home device;
the smart home device 504 is further configured to send, through the server 5041, a first status symbol to the mobile device (501, 502, 503) after receiving, through the server 5041, an SSID and a KEY of the target WIFI hotspot that the mobile device (501, 502, 503) matches with the feedback;
the mobile device (501, 502, 503) is further configured to connect to the target WIFI hotspot using an SSID and a KEY of the target WIFI hotspot when the first status symbol is received, and feed back a second status symbol to the smart home device;
the smart home device 504 is further configured to close the internal WIFI hotspot after receiving, by the server 5041, the second status symbol sent by the mobile device (501, 502, 503), and connect to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot;
the smart home device 504 is further configured to send a code to the cloud server 505 for network entry registration based on the target WIFI hotspot;
the cloud server 505 is configured to, after receiving the code, feed back an intelligent voice service authorization code to the smart home device 504, so that the smart home device 504 obtains an intelligent voice service function.
By adopting the system, the communication method of the intelligent home can be completely realized, and the interaction with the intelligent home equipment is not directly performed when the intelligent home equipment is communicated with the mobile equipment and/or the cloud server, but is performed with the server created by the intelligent home equipment, so that the safety of user privacy is ensured; and the operation steps of the communication system before the WIFI hotspot is connected are simple, in the scheme, the WIFI hotspot obtained by scanning the intelligent home equipment is matched with the WIFI hotspot stored in the mobile equipment of the user or connected with the WIFI hotspot, and the matched target WIFI hotspot is fed back to the intelligent home equipment, so that the stability of the matched target WIFI hotspot on the connection of the intelligent home equipment is greatly enhanced. On the premise of guaranteeing the privacy of users, the complicated operation in the prior art is avoided
In the present embodiment, the network serves as a medium that provides a communication link between the mobile device (501, 502, 503) and the server 5041 and cloud server 505. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 5041 over a network using a mobile device (501, 502, 503) to receive or send messages, etc. Various communication client applications may be installed on the mobile device (501, 502, 503), such as a web browser application, shopping class application, search class application, instant messaging tool, mailbox client, social platform software, and the like.
The mobile devices (501, 502, 503) may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic imaging expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic imaging expert compression standard audio plane 4) players, laptop portable computers, and the like.
The server 5041 is a server 5041 created for the smart home device, which is built in the smart home device, and the server 5041 may be a server providing various services, such as interaction with mobile devices (501, 502, 503).
It should be understood that the number of mobile devices (501, 502, 503), networks, and servers 5041 in fig. 5 are merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. The mobile devices (501, 502, 503) in this embodiment may be mobile phones or tablet computers, which are not limited herein.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All equivalent structures made by the specification and the drawings of the application are directly or indirectly applied to other related technical fields, and are also within the protection scope of the application.

Claims (8)

1. The communication method of the intelligent household equipment is characterized by comprising the following steps of:
the intelligent home equipment creates a server, scans external available WIFI hot spots, and stores the scanned external available WIFI hot spots into the server;
the intelligent home equipment creates an internal WIFI hotspot, so that the mobile equipment is connected with the internal WIFI hotspot to access the server, and a target WIFI hotspot is matched with the external available WIFI hotspot and fed back;
the intelligent home equipment receives SSID and KEY of the target WIFI hotspot, which are fed back by the mobile equipment in a matching way, through the server;
after the intelligent home equipment acquires the SSID and the KEY of the target WIFI hotspot, the server sends a first state symbol to the mobile equipment, so that the mobile equipment is connected to the target WIFI hotspot by using the SSID and the KEY of the target WIFI hotspot when receiving the first state symbol, and feeds back a second state symbol;
after the intelligent home equipment receives the second state symbol sent by the mobile equipment through the server, closing the internal WIFI hotspot, and connecting to the target WIFI hotspot by using the SSID and the KEY of the target WIFI hotspot;
the intelligent home equipment communicates with third party equipment based on the target WIFI hot spot;
the intelligent home equipment is communicated with third party equipment based on the target WIFI hot spot, and specifically comprises the following steps:
and the intelligent home equipment communicates with a cloud server and/or the mobile equipment based on the target WIFI hot spot.
2. The communication method of the smart home device according to claim 1, wherein the SSID and KEY of the target WIFI hotspot are encrypted by the mobile device before the feedback, and the smart home device further comprises, before connecting to the target WIFI hotspot using the SSID and KEY of the target WIFI hotspot:
decoding the SSID and the KEY of the encrypted target WIFI hotspot to obtain the SSID and the KEY of the decrypted target WIFI hotspot.
3. The method of claim 1, wherein the smart home device communicating with the cloud server based on the target WIFI hotspot comprises:
the intelligent home equipment sends a code to a cloud server for network access registration;
and the intelligent home equipment receives the intelligent voice service authorization code fed back by the cloud server after network entry registration, so as to obtain an intelligent voice service function.
4. The method of claim 3, wherein the smart home device communicating with the mobile device based on the target WIFI hotspot comprises:
the intelligent home equipment synchronizes equipment information and state information into the server;
and the intelligent home equipment starts an SSDP service, so that the mobile equipment connected to the target WIFI hotspot discovers the intelligent home equipment based on the SSDP service, and acquires the equipment information and the state information from the server through TCP and UDP protocols.
5. The intelligent household equipment is characterized by comprising a WIFI module, a processor and a memory;
the processor comprises a server creation module, a WIFI control module and a receiving and transmitting module;
the server creation module is used for creating a server in cooperation with the memory, and the WIFI control module is used for controlling the WIFI module to scan external available WIFI hot spots and storing the scanned external available WIFI hot spots into the server;
the WIFI control module is further used for controlling the WIFI module to create an internal WIFI hotspot in the intelligent home equipment so that the mobile equipment is connected with the internal WIFI hotspot to access the server, and the WIFI control module is matched with a target WIFI hotspot from the externally available WIFI hotspots and feeds back the target WIFI hotspot;
the receiving and sending module is further configured to send a first state symbol to the mobile device through the server after the server receives the SSID and KEY of the target WIFI hotspot that are fed back by the mobile device in a matching manner, so that the mobile device connects to the target WIFI hotspot by using the SSID and KEY of the target WIFI hotspot when receiving the first state symbol, and feeds back a second state symbol;
the WIFI control module is further configured to control the WIFI module to close the internal WIFI hotspot after the server receives the second state symbol sent by the mobile device, and connect to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot, and communicate with a third party device based on the target WIFI hotspot;
the WIFI module and the memory are both connected to the processor;
the WIFI module is specifically used for communicating with a cloud server and the mobile device based on the target WIFI hotspot when communicating with a third party device based on the target WIFI hotspot;
when the WIFI module communicates with the cloud server, the WIFI module performs network access registration by sending a code to the cloud server, and receives an intelligent voice service authorization code fed back by the cloud server after network access registration;
and the WIFI module synchronizes the state information and the equipment information of the intelligent home equipment into the mobile equipment when communicating with the mobile equipment.
6. The smart home device of claim 5, wherein the SSID and KEY of the target WIFI hotspot are encrypted by the mobile device before the feedback, and the processor further comprises a decoding module, wherein the decoding module is configured to decode the encrypted SSID and KEY of the target WIFI hotspot to obtain the decrypted SSID and KEY of the target WIFI hotspot before the WIFI control module connects to the target WIFI hotspot using the SSID and KEY of the target WIFI hotspot.
7. The smart home device of claim 5, further comprising a microphone coupled to the processor for controlling the microphone to implement the smart voice service function after the smart home device obtains the smart voice service function.
8. A communication system for smart home devices, comprising:
the intelligent household equipment, the cloud server and the mobile equipment;
the intelligent home equipment is used for creating a server, scanning an external available WIFI hotspot, and storing the scanned external available WIFI hotspot into the server;
the intelligent home equipment is also used for creating an internal WIFI hotspot;
the mobile device is used for connecting the internal WIFI hot spot to access the server, matching a target WIFI hot spot from the external available WIFI hot spot and feeding back to the intelligent home device;
the intelligent home equipment is also used for sending a first state symbol to the mobile equipment through the server after receiving the SSID and the KEY of the target WIFI hotspot, which are fed back by the mobile equipment in a matching way, through the server;
the mobile device is further configured to connect to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot when the first status symbol is received, and feed back a second status symbol to the smart home device;
the smart home device is further configured to close the internal WIFI hotspot after receiving the second status symbol sent by the mobile device through the server, and connect to the target WIFI hotspot by using an SSID and a KEY of the target WIFI hotspot;
the intelligent home equipment is further used for sending a code to the cloud server based on the target WIFI hot spot so as to be used for network access registration;
the cloud server is used for feeding back an intelligent voice service authorization code to the intelligent household equipment after receiving the code, so that the intelligent household equipment obtains an intelligent voice service function;
the smart home device also communicates with the mobile device based on the target WIFI hotspot, wherein the smart home device synchronizes device information and status information into the server.
CN201911393126.9A 2019-12-30 2019-12-30 Communication method, device and system of intelligent household equipment Active CN113132997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911393126.9A CN113132997B (en) 2019-12-30 2019-12-30 Communication method, device and system of intelligent household equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911393126.9A CN113132997B (en) 2019-12-30 2019-12-30 Communication method, device and system of intelligent household equipment

Publications (2)

Publication Number Publication Date
CN113132997A CN113132997A (en) 2021-07-16
CN113132997B true CN113132997B (en) 2024-04-12

Family

ID=76767621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911393126.9A Active CN113132997B (en) 2019-12-30 2019-12-30 Communication method, device and system of intelligent household equipment

Country Status (1)

Country Link
CN (1) CN113132997B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709142B (en) * 2021-08-26 2023-06-23 深圳小佳科技有限公司 Hot spot distribution network method and device, intelligent terminal and storage medium
CN114697977B (en) * 2022-04-12 2024-02-13 合肥美菱物联科技有限公司 Intelligent household appliance network distribution system and method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487516A (en) * 2015-12-29 2016-04-13 宇龙计算机通信科技(深圳)有限公司 Smart home access method and smart home access device
CN106604266A (en) * 2016-12-06 2017-04-26 深圳市晟天维科技有限公司 Intelligent equipment system connection method, intelligent equipment and intelligent equipment access system
CN107172617A (en) * 2017-04-18 2017-09-15 鲁学敏 The wireless connection method and system of a kind of smart machine and intelligent terminal
CN108521665A (en) * 2018-03-28 2018-09-11 深圳市欧瑞博科技有限公司 The method that quickly networks waits for log equipment, server and terminal
CN109151782A (en) * 2018-08-14 2019-01-04 深圳市沃特沃德股份有限公司 WIFI signal trunking method and system based on smart home device
CN110300432A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 A kind of pair of equipment carries out the method and distribution network systems of distribution
CN211378259U (en) * 2019-12-30 2020-08-28 深圳市三诺数字科技有限公司 Intelligent household equipment and communication system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9706383B2 (en) * 2013-01-04 2017-07-11 Nokia Technologies Oy Method, apparatus, and computer program product for configuring a mobile wireless hotspot

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487516A (en) * 2015-12-29 2016-04-13 宇龙计算机通信科技(深圳)有限公司 Smart home access method and smart home access device
CN106604266A (en) * 2016-12-06 2017-04-26 深圳市晟天维科技有限公司 Intelligent equipment system connection method, intelligent equipment and intelligent equipment access system
CN107172617A (en) * 2017-04-18 2017-09-15 鲁学敏 The wireless connection method and system of a kind of smart machine and intelligent terminal
CN110300432A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 A kind of pair of equipment carries out the method and distribution network systems of distribution
CN108521665A (en) * 2018-03-28 2018-09-11 深圳市欧瑞博科技有限公司 The method that quickly networks waits for log equipment, server and terminal
CN109151782A (en) * 2018-08-14 2019-01-04 深圳市沃特沃德股份有限公司 WIFI signal trunking method and system based on smart home device
CN211378259U (en) * 2019-12-30 2020-08-28 深圳市三诺数字科技有限公司 Intelligent household equipment and communication system thereof

Also Published As

Publication number Publication date
CN113132997A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
EP3151628B1 (en) Method, device and system for accessing a wireless network
CN102938729B (en) The long-range control method of intelligent gateway, intelligent domestic system and home appliance
US10425454B2 (en) Device and method for transferring the rendering of multimedia content
CN104394600B (en) Transmit the method and device of file
CN106358265B (en) Method and device for accessing intelligent terminal equipment to Internet
US20080291263A1 (en) Communication system
CN108781473B (en) Method and equipment for sharing files among different terminals
JP2007274359A (en) System, apparatus, method and program for setting function, and computer-readable recording medium
US20180054854A1 (en) Wireless communication device and wireless communication method
CN105580344A (en) Smart device-based home network system and control method therefor
CN101523959A (en) Apparatus and methods for communication mobility management using near-field communications
JPWO2003061205A1 (en) Short-range wireless communication system using portable terminal and wireless communication apparatus therefor
WO2014183404A1 (en) Data transmission method, apparatus, system and terminal
US10425812B2 (en) Method and apparatus for establishment of private communication between devices
JP2019114910A (en) Communication apparatus and control method thereof
WO2015180108A1 (en) Media content sharing method and apparatus
CN112566113B (en) Key generation and terminal network distribution method, device and equipment
JP2015211474A (en) Method for opening communication path using relay server active connection for mobile terminal
CN113132997B (en) Communication method, device and system of intelligent household equipment
CN103888488A (en) WIFI-based data sharing method
CN105281809A (en) Auxiliary bluetooth low-power-consumption equipment pairing method and system
CN105636041A (en) Networking method and apparatus for intelligent device
KR20140117107A (en) Method and System for Executing IoT Service with Shortrange Communication Tag
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN211378259U (en) Intelligent household equipment and communication system thereof

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