WO2020253695A1 - 一种智能家居设备的接入方法及一种电子设备 - Google Patents
一种智能家居设备的接入方法及一种电子设备 Download PDFInfo
- Publication number
- WO2020253695A1 WO2020253695A1 PCT/CN2020/096457 CN2020096457W WO2020253695A1 WO 2020253695 A1 WO2020253695 A1 WO 2020253695A1 CN 2020096457 W CN2020096457 W CN 2020096457W WO 2020253695 A1 WO2020253695 A1 WO 2020253695A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- smart home
- electronic device
- home device
- mesh
- smart
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 96
- 238000004891 communication Methods 0.000 claims abstract description 74
- 230000004044 response Effects 0.000 claims description 58
- 238000012545 processing Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 11
- 239000000523 sample Substances 0.000 claims description 11
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 claims 2
- 230000006870 function Effects 0.000 description 22
- 238000007726 management method Methods 0.000 description 16
- 238000010295 mobile communication Methods 0.000 description 12
- 230000005236 sound signal Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 229920001621 AMOLED Polymers 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- the embodiments of the present application relate to the field of communication technologies, and in particular, to an access method of a smart home device and an electronic device.
- WiFi wireless fidelity
- Existing methods for smart home devices to access WiFi networks may include: smart home devices broadcast through access point (AP) mode and carry device information such as the service set identifier (SSID) of the smart home device WiFi beacon frame.
- the smart phone establishes an AP connection with the smart home device according to the received device information, and then sends configuration information for the smart home device to access the WiFi network according to the configuration information to the smart home device based on the AP connection.
- AP access point
- SSID service set identifier
- the smart phone needs to establish an AP connection with each smart home device one by one, and send configuration information based on the separately established AP connections, which is too cumbersome.
- the smart phone needs to switch from the AP mode to the WiFi mode, and the compatibility of switching network modes of different models of smart phones is different, and the above method is not applicable to some smart phones. Therefore, in summary, using the above method to connect smart home devices to the WiFi network has a poor user experience.
- the embodiments of the present application provide an access to a smart home device, which can enable the smart home device to quickly and simply obtain configuration information for accessing a wireless communication network, thereby improving user experience.
- a method for accessing a smart home device is provided.
- the method is applied to an electronic device.
- the method includes: the electronic device obtains a device discovery identification ID of at least one smart home device, and the device discovery ID is used to uniquely identify the corresponding The smart home device; the electronic device establishes a Mesh connection with the at least one smart home device according to the device discovery ID of at least one smart home device; the electronic device sends configuration information to the at least one smart home device through the established Mesh connection, The configuration information is used to access the wireless communication network accessed by the electronic device.
- the electronic device can trigger the Mesh connection to all the smart home devices in batches based on the acquired device discovery identification IDs of all the smart home devices, and send batches for accessing the wireless communication network based on the established connections
- the configuration information so that each smart home device can access the wireless communication network according to the configuration information.
- the wireless communication network is a wireless fidelity WiFi network
- the configuration information includes the service set identification SSID of the wireless communication network, a WiFi key, and a device registration code.
- the access method of the smart home device of the present application can be used for the smart home device to access the WiFi network according to the configuration information sent by the electronic device for accessing the WiFi network.
- the aforementioned at least one smart home device is a device that has not established a Mesh connection with the electronic device.
- the access method of the smart home device of this application is used for devices that have not established a Mesh connection with the electronic device, and the access method of the smart home device of this application is not necessary for devices that have established a Mesh connection with the electronic device. It can avoid unnecessary waste of resources and time caused by the interaction between the electronic device and the device that has established a Mesh connection with the electronic device.
- the aforementioned device discovery ID is Hi Mesh ID;
- the Hi Mesh ID includes at least: Himesh identifier, device type, and device identification ID; among them, the Himesh identifier is used to indicate whether the smart home device supports the Mesh network,
- the device type is used to indicate that the device type of the smart home device is a home device, and the device ID is used to uniquely identify the smart home device.
- the electronic device can quickly and accurately establish a Mesh connection with the corresponding smart home device by obtaining the Hi Mesh ID of the smart home device.
- the HiMesh ID of the electronic device is preset in the electronic device; before the electronic device obtains the device discovery ID of at least one smart home device, the method further includes: the electronic device broadcasts the first message , The first message carries the Hi mesh ID of the electronic device; the electronic device receives a response message from the aforementioned at least one smart home device, and the response message received from each smart home device carries the Hi mesh ID of the corresponding smart home device; The electronic device determines at least one smart home device according to the Himesh ID carried in the received response message. Electronic devices can obtain the Hi Mesh ID of each smart home device through active scanning, which is easy to operate.
- the foregoing first message is a mesh probe request message.
- Electronic devices can send mesh probe request messages in batches to request the Hi mesh ID of each smart home device.
- the HiMesh ID of the electronic device is preset in the electronic device; before the electronic device obtains the device discovery ID of at least one smart home device, the method further includes: the electronic device monitors the broadcast message, the Each broadcast message monitored by the electronic device carries the Himesh ID of the corresponding device; the electronic device determines at least one smart home device according to the Himesh ID carried in the monitored broadcast message. Electronic devices can obtain the Hi Mesh ID of smart home devices through passive monitoring, which is easy to operate.
- the electronic device determines at least one smart home device according to the Himesh ID carried in the received response message, including: the electronic device determines at least one smart home device according to the Himesh ID carried in the received response message At least two smart home devices that have not established a Mesh connection with the electronic device; the electronic device receives the user's selection operation of at least one smart home device among at least two smart home devices that have not established a Mesh connection with the electronic device, and determines at least one smart home device Home equipment.
- Electronic devices can support users to select smart home devices that need to establish a Mesh connection, and the user experience is higher.
- the electronic device determines at least one smart home device according to the Himesh ID carried in the monitored broadcast message, including: the electronic device determines at least one smart home device according to the Himesh ID carried in the monitored broadcast message At least two smart home devices that have not established a Mesh connection with the electronic device; the electronic device receives a user's selection operation on at least one smart home device among at least two smart home devices that have not established a Mesh connection with the electronic device, and determines at least one Smart home equipment.
- Electronic devices can support users to select smart home devices that need to establish a Mesh connection, and the user experience is higher.
- the electronic device establishes a Mesh connection with the at least one smart home device according to the device discovery ID of the at least one smart home device, including: the electronic device sends a second message to the at least one smart home device, The second message is used to request to establish a Mesh connection with each smart home device; the electronic device receives a connection response message from the corresponding smart home device; the electronic device establishes a Mesh connection with the corresponding smart home device according to each connection response message received .
- Electronic devices can trigger Mesh connections to all smart home devices in batches, without the need for electronic devices to establish connections with all smart home devices one by one. The operation is simpler and faster, and the user experience is higher.
- the second message is a mesh peer open connection request message.
- Electronic devices can send mesh peer open messages in batches to request the establishment of a Mesh connection with each smart home device.
- the method further includes: the electronic device disconnects the Mesh connection with the at least one smart home device.
- a smart home application APP is installed in the electronic device; the electronic device obtains the device discovery ID of at least one smart home device in response to the user's first operation on the interface of the smart home APP; In response to the user's second operation on the interface of the smart home APP, the electronic device establishes a Mesh connection with at least one smart home device according to the device discovery ID of the at least one smart home device; the electronic device responds to the user in the smart home APP
- the third operation on the interface is to send configuration information to at least one smart home device through the Mesh connection.
- the electronic device can respond correspondingly according to the user's operation on the human-computer interaction interface, which is more humane and has a higher user experience.
- a method for accessing a smart home device is provided.
- the method is applied to a smart home device.
- the method includes: the smart home device sends a device discovery identification ID of the smart home device to an electronic device, and the device discovery ID is used for Uniquely identifies the smart home device; the device discovery ID is used for the electronic device to establish a Mesh connection with the smart home device; the smart home device receives a Mesh connection establishment request message from the electronic device; the smart home device establishes a Mesh connection with the electronic device;
- the smart home device receives configuration information from the electronic device through the established Mesh connection, and the configuration information is used to access the wireless communication network accessed by the electronic device.
- each smart home device sends its device discovery identification ID to the electronic device so that the electronic device can trigger the Mesh of all smart home devices in batches according to the device discovery identification ID of each smart home device Connection, and batch sending configuration information for accessing the wireless communication network based on the established connection, so that each smart home device accesses the wireless communication network according to the configuration information.
- the wireless communication network is a wireless fidelity WiFi network
- the configuration information includes the service set identification SSID of the wireless communication network, a WiFi key, and a device registration code.
- the access method of the smart home device of the present application can be used for the smart home device to access the WiFi network according to the configuration information sent by the electronic device for accessing the WiFi network.
- the aforementioned device discovery ID is Hi Mesh ID;
- the Hi Mesh ID includes at least: Himesh identifier, device type, and device identification ID; among them, the Himesh identifier is used to indicate whether the smart home device supports the Mesh network,
- the device type is used to indicate that the device type of the smart home device is a home device, and the device ID is used to uniquely identify the smart home device.
- the electronic device can quickly and accurately establish a Mesh connection with the corresponding smart home device by obtaining the Hi Mesh ID of the smart home device.
- the smart home device is preset with the Hi Mesh ID of the smart home device; before the smart home device sends the device discovery identification ID of the smart home device to the electronic device, the method also includes: smart home device Receive the first message from the electronic device, the first message carries the password of the electronic device; the smart home device determines whether to send the password of the smart home device to the electronic device according to the password of the smart home device; smart home The device sending the device discovery identification ID of the smart home device to the electronic device includes: the smart home device sends a response message to the electronic device, and the response message carries the device discovery identification ID of the smart home device.
- the smart home device can determine whether it needs to send its Mesh ID to the electronic device according to the first message broadcast by the electronic device in combination with its own Mesh ID for establishing a Mesh connection with the electronic device.
- the smart home device is preset with the Hi Mesh ID of the smart home device; the smart home device sends the device discovery identification ID of the smart home device to the electronic device, including: the smart home device sends a broadcast message, The broadcast message carries the Himesh ID of the smart home device.
- Each smart home device can broadcast its Hi mesh ID so that the electronic device can determine whether to establish a Mesh connection with its Hi mesh ID.
- an electronic device in a third aspect, includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving radio signals; a processor for executing The instruction calls the radio frequency circuit to obtain the device discovery identification ID of at least one smart home device, and the device discovery ID is used to uniquely identify the corresponding smart home device; and according to the device discovery ID of the at least one smart home device, it is the same as the at least one smart home device.
- the device establishes a Mesh connection; and calls the radio frequency circuit to send configuration information to the at least one smart home device through the established Mesh connection, and the configuration information is used to access the wireless communication network to which the electronic device is connected.
- the electronic device can trigger the Mesh connection to all the smart home devices in batches based on the acquired device discovery identification IDs of all the smart home devices, and send batches for access to the wireless communication network based on the established connections
- the configuration information so that each smart home device can access the wireless communication network according to the configuration information.
- the wireless communication network is a wireless fidelity WiFi network;
- the configuration information includes the service set identification SSID of the wireless communication network, a WiFi key, and a device registration code.
- the electronic device can be connected to the WiFi network, and the smart home device can access the WiFi network according to the configuration information sent by the electronic device to access the WiFi network.
- the aforementioned at least one smart home device is a device that has not established a Mesh connection with the electronic device.
- the smart home device of this application is a device that has not established a Mesh connection with an electronic device, and there is no need to pay attention to a device that has established a Mesh connection with an electronic device. It can avoid unnecessary waste of resources and time caused by the interaction between the electronic device and the device that has established a Mesh connection with the electronic device.
- the aforementioned device discovery ID is Hi Mesh ID;
- the Hi Mesh ID includes at least: Himesh identifier, device type, and device identification ID; among them, the Himesh identifier is used to indicate whether the smart home device supports the Mesh network,
- the device type is used to indicate that the device type of the smart home device is a home device, and the device ID is used to uniquely identify the smart home device.
- the electronic device can quickly and accurately establish a Mesh connection with the corresponding smart home device by obtaining the Hi Mesh ID of the smart home device.
- the HiMesh ID of the electronic device is preset in the electronic device; before the device discovery ID of at least one smart home device is obtained by short-circuiting the radio frequency, the radio frequency circuit is also used to broadcast the first message.
- the first message carries the Hi mesh ID of the electronic device; and the response message is received from at least one smart home device mentioned above, and the response message received from each smart home device carries the Hi mesh ID of the corresponding smart home device; the processor also Used to determine at least one smart home device according to the Hi mesh ID carried in the received response message.
- Electronic devices can obtain the Hi Mesh ID of each smart home device through active scanning, which is easy to operate.
- the foregoing first message is a mesh probe request message.
- Electronic devices can send mesh probe request messages in batches to request the Hi mesh ID of each smart home device.
- the HiMesh ID of the electronic device is preset in the electronic device; before the radio frequency circuit obtains the device discovery ID of at least one smart home device, the radio frequency circuit is also used to monitor broadcast messages.
- Each broadcast message monitored by the circuit carries the Himesh ID of the corresponding device; the processor is also used to determine at least one smart home device according to the Himesh ID carried in the monitored broadcast message.
- Electronic devices can obtain the Hi Mesh ID of smart home devices through passive monitoring, which is easy to operate.
- the processor determines at least one smart home device according to the Himesh ID carried in the received response message, including: the processor determines according to the Himesh ID carried in the received response message At least two smart home devices that have not established a Mesh connection with the electronic device; the processor executes the instruction to call the radio frequency circuit according to the user's at least two smart home devices that have not established a Mesh connection with the electronic device Select operation to confirm at least one smart home device.
- Electronic devices can support users to select smart home devices that need to establish a Mesh connection, and the user experience is higher.
- the processor determines at least one smart home device according to the Himesh ID carried in the monitored broadcast message, including: the processor determines according to the Himesh ID carried in the monitored broadcast message At least two smart home devices that have not established a Mesh connection with the electronic device; the processor executes the instruction to call the radio frequency circuit according to the user's response to at least one smart home device among at least two smart home devices that have not established a Mesh connection with the electronic device
- the selection operation determines at least one smart home device.
- Electronic devices can support users to select smart home devices that need to establish a Mesh connection, and the user experience is higher.
- the processor executes the instruction to invoke the radio frequency circuit to establish a Mesh connection with at least one smart home device according to the device discovery ID of the at least one smart home device, including: the processor executes the instruction to invoke the radio frequency
- the circuit sends a second message to at least one smart home device, the second message is used to request to establish a Mesh connection with each smart home device; the processor executes the instruction to call the radio frequency circuit to receive a connection response message from the corresponding smart home device;
- the processor executes the instruction to call the radio frequency circuit to establish a Mesh connection with the corresponding smart home device according to each connection response message received.
- Electronic devices can trigger Mesh connections to all smart home devices in batches, without the need for electronic devices to establish connections with all smart home devices one by one. The operation is simpler and faster, and the user experience is higher.
- the second message is a mesh peer open connection request message.
- Electronic devices can send mesh peer open messages in batches to request the establishment of a Mesh connection with each smart home device.
- the processor executes the instruction to call the radio frequency circuit and sends configuration information to at least one smart home device through the Mesh connection
- the processor is further configured to execute the instruction to call the radio frequency circuit, and disconnect Open the Mesh connection with at least one smart home device.
- a smart home application APP is installed in the electronic device; in response to the user's first operation on the interface of the smart home APP, the processor executes the instruction to call the radio frequency circuit, and calls the radio frequency circuit to obtain The device discovery ID of at least one smart home device; the processor, in response to the user's second operation on the interface of the smart home APP, executes the instruction to call the radio frequency circuit, calls the radio frequency circuit, and according to the device discovery of at least one smart home device ID, establish a Mesh connection with at least one smart home device; the processor, in response to the user's third operation on the smart home APP interface, executes the instruction to call the radio frequency circuit, calls the radio frequency circuit, and communicates to at least one The smart home device sends configuration information.
- the electronic device can respond correspondingly according to the user's operation on the human-computer interaction interface, which is more humane and has a higher user experience.
- an electronic device in a fourth aspect, includes: a receiving unit configured to obtain a device discovery identification ID of at least one smart home device, where the device discovery ID is used to uniquely identify the corresponding smart home device; a connection establishment unit, It is used to establish a Mesh connection with the at least one smart home device according to the device discovery ID of at least one smart home device; the sending unit is used to send configuration information to the at least one smart home device through the established Mesh connection, and the configuration information is used To access the wireless communication network accessed by the electronic device.
- the electronic device can trigger the Mesh connection to all the smart home devices in batches based on the acquired device discovery identification IDs of all the smart home devices, and send batches for access to the wireless communication network based on the established connections
- the configuration information so that each smart home device can access the wireless communication network according to the configuration information.
- the wireless communication network is a wireless fidelity WiFi network;
- the configuration information includes the service set identification SSID of the wireless communication network, a WiFi key, and a device registration code.
- the electronic device can be connected to the WiFi network, and the smart home device can access the WiFi network according to the configuration information sent by the electronic device to access the WiFi network.
- the aforementioned at least one smart home device is a device that has not established a Mesh connection with the electronic device.
- the smart home device of this application is a device that has not established a Mesh connection with an electronic device, and there is no need to pay attention to a device that has established a Mesh connection with an electronic device. It can avoid unnecessary waste of resources and time caused by the interaction between the electronic device and the device that has established a Mesh connection with the electronic device.
- the aforementioned device discovery ID is Hi Mesh ID;
- the Hi Mesh ID includes at least: Himesh identifier, device type, and device identification ID; among them, the Himesh identifier is used to indicate whether the smart home device supports the Mesh network,
- the device type is used to indicate that the device type of the smart home device is a home device, and the device ID is used to uniquely identify the smart home device.
- the electronic device can quickly and accurately establish a Mesh connection with the corresponding smart home device by obtaining the Hi Mesh ID of the smart home device.
- the HiMesh ID of the electronic device is preset in the electronic device; the sending unit is further configured to broadcast the first message before the receiving unit obtains the device discovery ID of at least one smart home device.
- the first message carries the Hi mesh ID of the electronic device;
- the receiving unit is also used to receive a response message from the above at least one smart home device, and the response message received from each smart home device carries the Hi mesh of the corresponding smart home device. ID;
- the connection establishment unit is also used to determine at least one smart home device according to the Himesh ID carried in the received response message.
- Electronic devices can obtain the Hi Mesh ID of each smart home device through active scanning, which is easy to operate.
- the foregoing first message is a mesh probe request message.
- Electronic devices can send mesh probe request messages in batches to request the Hi mesh ID of each smart home device.
- the HiMesh ID of the electronic device is preset in the electronic device; the receiving unit is also configured to monitor the broadcast message before the receiving unit obtains the device discovery ID of at least one smart home device.
- Each broadcast message monitored by the circuit carries the Himesh ID of the corresponding device; the connection establishment unit is also used to determine at least one smart home device according to the Himesh ID carried in the monitored broadcast message.
- Electronic devices can obtain the Hi Mesh ID of smart home devices through passive monitoring, which is easy to operate.
- the connection establishment unit determines at least one smart home device according to the Himesh ID carried in the received response message, including: the connection establishment unit according to the Himesh ID carried in the received response message , Determine at least two smart home devices that have not established a Mesh connection with the electronic device; the connection establishment unit determines that at least one smart home device of the at least two smart home devices that have not established a Mesh connection with the electronic device is selected by the user A smart home device.
- Electronic devices can support users to select smart home devices that need to establish a Mesh connection, and the user experience is higher.
- the connection establishment unit determines at least one smart home device according to the Himesh ID carried in the monitored broadcast message, including: the connection establishment unit according to the Himesh ID carried in the monitored broadcast message , Determine at least two smart home devices that have not established a Mesh connection with the electronic device; the connection establishment unit selects at least one smart home device among the at least two smart home devices that have not established a Mesh connection with the electronic device, Identify at least one smart home device.
- Electronic devices can support users to select smart home devices that need to establish a Mesh connection, and the user experience is higher.
- the connection establishment unit establishes a Mesh connection with the at least one smart home device according to the device discovery ID of the at least one smart home device, including: the connection establishment unit sends the first connection to the at least one smart home device through the sending unit Two messages, the second message is used to request the establishment of a Mesh connection with each smart home device; the connection establishment unit receives a connection response message from the corresponding smart home device through the receiving unit; the connection establishment unit according to each received connection In response to the message, establish a Mesh connection with the corresponding smart home device.
- Electronic devices can trigger Mesh connections to all smart home devices in batches, without the need for electronic devices to establish connections with all smart home devices one by one. The operation is simpler and faster, and the user experience is higher.
- the second message is a mesh peer open connection request message.
- Electronic devices can send mesh peer open messages in batches to request the establishment of a Mesh connection with each smart home device.
- connection establishment unit is further configured to disconnect the Mesh connection with the at least one smart home device after the sending unit sends the configuration information to the at least one smart home device through the Mesh connection.
- a smart home application APP is installed in the electronic device; the receiving unit obtains the device discovery ID of at least one smart home device in response to the user's first operation on the interface of the smart home APP; connection establishment In response to the user's second operation on the interface of the smart home APP, the unit establishes a Mesh connection with at least one smart home device according to the device discovery ID of the at least one smart home device; the sending unit responds to the user in the interface of the smart home APP
- the third operation above is to send configuration information to at least one smart home device through the Mesh connection.
- the electronic device can respond correspondingly according to the user's operation on the human-computer interaction interface, which is more humane and has a higher user experience.
- a smart home device in a fifth aspect, includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving radio signals; a processor After executing the instruction, the radio frequency circuit is called to send the device discovery ID of the smart home device to the electronic device, and the device discovery ID is used to uniquely identify the smart home device; the device discovery ID is used to establish a Mesh between the electronic device and the smart home device.
- the processor is also used to execute the instruction to call the radio frequency circuit to receive a Mesh connection establishment request message from the electronic device; and to establish a Mesh connection with the electronic device; and to receive configuration information from the electronic device through the established Mesh connection, the configuration information is used To access the wireless communication network accessed by the electronic device.
- each smart home device sends its device discovery identification ID to the electronic device so that the electronic device can trigger the Mesh of all smart home devices in batches according to the device discovery identification ID of each smart home device Connection, and batch sending configuration information for accessing the wireless communication network based on the established connection, so that each smart home device accesses the wireless communication network according to the configuration information.
- the wireless communication network is a wireless fidelity WiFi network
- the configuration information includes the service set identification SSID of the wireless communication network, a WiFi key, and a device registration code.
- the access method of the smart home device of the present application can be used for the smart home device to access the WiFi network according to the configuration information sent by the electronic device for accessing the WiFi network.
- the aforementioned device discovery ID is Hi Mesh ID;
- the Hi Mesh ID includes at least: Himesh identifier, device type, and device identification ID; among them, the Himesh identifier is used to indicate whether the smart home device supports the Mesh network,
- the device type is used to indicate that the device type of the smart home device is a home device, and the device ID is used to uniquely identify the smart home device.
- the electronic device can quickly and accurately establish a Mesh connection with the corresponding smart home device by obtaining the Hi Mesh ID of the smart home device.
- the smart home device is preset with the Hi Mesh ID of the smart home device; before the radio frequency circuit sends the device discovery identification ID of the smart home device to the electronic device, the radio frequency circuit is also used to slave the electronic device Receive the first message, the first message carries the hidden ID of the electronic device; the processor is also used to determine whether to send the hidden ID of the smart home device to the electronic device according to the hidden ID of the smart home device; radio frequency circuit Sending the device discovery identification ID of the smart home device to the electronic device includes: a radio frequency circuit sends a response message to the electronic device, and the response message carries the device discovery identification ID of the smart home device.
- the smart home device can determine whether it needs to send its Mesh ID to the electronic device according to the first message broadcast by the electronic device in combination with its own Mesh ID for establishing a Mesh connection with the electronic device.
- the smart home device is preset with the Hi Mesh ID of the smart home device; the radio frequency circuit sends the device discovery identification ID of the smart home device to the electronic device, including: the radio frequency circuit sends a broadcast message, and the broadcast The message carries the Hi mesh ID of the smart home device.
- Each smart home device can broadcast its Hi mesh ID so that the electronic device can determine whether to establish a Mesh connection with its Hi mesh ID.
- a smart home device in a sixth aspect, includes: a sending unit configured to send a device discovery identification ID of the smart home device to an electronic device, where the device discovery ID is used to uniquely identify the smart home device;
- the device discovery ID is used for the electronic device to establish a Mesh connection with the smart home device;
- the receiving unit is used for receiving a Mesh connection establishment request message from the electronic device;
- the connection establishment unit is used for establishing a Mesh connection with the electronic device;
- the sending unit is also used for, Through the established Mesh connection, configuration information is received from the electronic device, and the configuration information is used to access the wireless communication network accessed by the electronic device.
- each smart home device sends its device discovery identification ID to the electronic device so that the electronic device can trigger the Mesh of all smart home devices in batches according to the device discovery identification ID of each smart home device Connection, and batch sending configuration information for accessing the wireless communication network based on the established connection, so that each smart home device accesses the wireless communication network according to the configuration information.
- the wireless communication network is a wireless fidelity WiFi network
- the configuration information includes the service set identifier SSID of the wireless communication network, a WiFi key, and a device registration code.
- the access method of the smart home device of the present application can be used for the smart home device to access the WiFi network according to the configuration information sent by the electronic device for accessing the WiFi network.
- the aforementioned device discovery ID is Hi Mesh ID;
- the Hi Mesh ID includes at least: Himesh identifier, device type, and device identification ID; among them, the Himesh identifier is used to indicate whether the smart home device supports the Mesh network,
- the device type is used to indicate that the device type of the smart home device is a home device, and the device ID is used to uniquely identify the smart home device.
- the electronic device can quickly and accurately establish a Mesh connection with the corresponding smart home device by obtaining the Hi Mesh ID of the smart home device.
- the smart home device is preset with the Hi Mesh ID of the smart home device; the receiving unit is also used to send the device discovery identification ID of the smart home device to the electronic device from the electronic device before the sending unit
- the first message is received, and the first message carries the hidden ID of the electronic device;
- the connection establishment unit is also used to determine whether to send the hidden ID of the smart home device to the electronic device according to the hidden ID of the smart home device;
- the unit sending the device discovery identification ID of the smart home device to the electronic device includes: the sending unit sends a response message to the electronic device, and the response message carries the device discovery identification ID of the smart home device.
- the smart home device can determine whether it needs to send its Mesh ID to the electronic device according to the first message broadcast by the electronic device in combination with its own Mesh ID for establishing a Mesh connection with the electronic device.
- the smart home device is preset with the Hi Mesh ID of the smart home device; the sending unit sends the device discovery identification ID of the smart home device to the electronic device, including: the sending unit sends a broadcast message, the broadcast The message carries the Hi mesh ID of the smart home device.
- Each smart home device can broadcast its Hi mesh ID so that the electronic device can determine whether to establish a Mesh connection with its Hi mesh ID.
- a computer-readable storage medium stores computer-executable instructions.
- the computer-executable instructions When executed by a processor, they realize the intelligence in any possible implementation manner of the first aspect.
- a chip system in an eighth aspect, includes a processor and a memory, and instructions are stored in the memory; when the instructions are executed by the processor, the implementation is as in any one of the possible implementation manners of the first aspect
- the chip system can be composed of chips, or can include chips and other discrete devices.
- Fig. 1 is an example of an application scenario of a smart home device access method provided by an embodiment of the application
- FIG. 2 is a hardware structure diagram of a mobile phone provided by an embodiment of the application.
- FIG. 3 is a flowchart of a method for accessing smart home devices provided by an embodiment of the application
- Figure 5 is a schematic diagram of a smart home APP interface provided by an embodiment of the application.
- FIG. 6 is the second interaction diagram of the access method of the smart home device provided by the embodiment of this application.
- FIG. 7 is a schematic structural diagram of a mobile phone provided by an embodiment of this application.
- FIG. 8 is a schematic structural diagram of a smart home device provided by an embodiment of the application.
- the embodiments of the present application provide an access method for smart home equipment and electronic equipment.
- the method includes: in order to enable the smart home device to access the wireless communication network accessed by the electronic device in the smart home system (for example, the electronic device is connected to the home WiFi network), the electronic device is simultaneously connected to multiple smart home devices, Sending configuration information for accessing the home WiFi network, so that multiple smart home devices can access the home WiFi network in batches according to the configuration information.
- FIG. 1 it is an example of an application scenario of a smart home device access method provided in an embodiment of this application.
- the access method for smart home devices in the embodiment of the present application can be applied to the smart home system 100 shown in FIG. 1.
- the smart home system 100 includes a mobile phone 110, a router 120 and smart home equipment.
- the smart home equipment includes a smart socket 130, a smart lamp 140, and a smart speaker 150 as shown in FIG. 1.
- the mobile phone 110 can be used to control the smart socket 130, the smart lamp 140, and the smart speaker 150. For example: control the turn-on time of the smart desk lamp 140 and the brightness of the bulb, and control the playlist and playback volume of the smart speaker 150.
- each device in the smart home system 100 of FIG. 1 may communicate in WiFi mode, or communicate in Bluetooth or AP mode, or communicate in other modes. This application does not limit this.
- the various devices in the smart home system 100 of FIG. 1 can be meshed to form a Mesh network.
- a Mesh network For example, WiFi Mesh network, Bluetooth Mesh network.
- the Mesh network can also be referred to as a "multi-hop" network.
- the mobile phone 110, the router 120, the smart socket 130, the smart lamp 140, and the smart speaker 150, as nodes in the Mesh network can all serve as an access point (AP) and a router at the same time.
- AP access point
- Each node in the Mesh network can send and receive signals, and each node can communicate directly with one or more peer nodes. In this way, if the nearest node is congested due to excessive traffic, the data can be automatically rerouted to a neighboring node with less traffic for transmission.
- the electronic device establishes a WiFi Mesh connection with the smart home device, and sends configuration information for accessing the home WiFi network to the smart home device through the connection.
- Electronic devices can also send configuration information by establishing other types of Mesh connections with smart home devices.
- the electronic device can also establish a Bluetooth Mesh connection with the smart home device.
- the access method of the smart home device in the embodiment of the present application is specifically applied to the process of adding the smart home device to the smart home system 100.
- the smart socket 130, the smart lamp 140, and the smart speaker 150 in FIG. 1 are newly added smart home devices, and the smart home system 100 needs to be added before the first use.
- the access method of the smart home device of the embodiment of the present application is applied to the process of the smart socket 130, the smart lamp 140, and the smart speaker 150 in FIG. 1 when accessing the home WiFi network for the first time.
- the smart socket 130, the smart desk lamp 140, and the smart speaker 150 in FIG. 1 are only examples of several smart home devices.
- the smart home devices in the embodiments of the present application can also be smart weight (fat) Smart home appliances such as scales, smart bulbs, smart fans, smart air conditioners, smart TVs, and smart sweeping robots.
- the electronic device in the embodiments of the present application may also be other desktop, laptop, and handheld devices, such as tablet computers, netbooks, and personal digital assistants (PDAs).
- PDAs personal digital assistants
- Wearable devices such as smart watches
- portable multimedia players Portable Multimedia Player, PMP
- dedicated media players AR (augmented reality)/VR (virtual reality) devices, etc.
- the embodiment of the present application does not limit the specific type and structure of the electronic device.
- the mobile phone 110 may include a processor 210, a memory (including an external memory interface 220 and an internal memory 221), a universal serial bus (USB) interface 230, a charging management module 240, and a power management module 241 , Battery 242, antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, earphone jack 270D, sensor module 280, buttons 290, motor 291, indicator 292 , A camera 293, a display screen 294, a subscriber identification module (SIM) card interface 295, etc.
- SIM subscriber identification module
- the sensor module 280 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
- the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 110.
- the mobile phone 110 may include more or fewer components than shown, or combine certain components, or disassemble certain components, or arrange different components.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 210 may include one or more processing units.
- the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), and a flight controller.
- Video codec digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc.
- the different processing units may be independent devices or integrated in one or more processors.
- the processor 210 may also be provided with a memory for storing instructions and data.
- the memory in the processor 210 is a cache memory.
- the memory can store instructions or data that have just been used or recycled by the processor 210. If the processor 210 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, the waiting time of the processor 210 is reduced, and the efficiency of the system is improved.
- the processor 210 may include one or more interfaces.
- Interfaces may include integrated circuit (I2C) interfaces, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interfaces, pulse code modulation (PCM) interfaces, universal asynchronous transmitters and receivers (universal asynchronous transmitters).
- I2C integrated circuit
- I2S integrated circuit sound
- PCM pulse code modulation
- UART mobile industry processor interface
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB Universal Serial Bus
- the USB interface 230 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
- the USB interface 230 can be used to connect a charger to charge the mobile phone 110, and can also be used to transfer data between the mobile phone 110 and peripheral devices. It can also be used to connect to other electronic devices, such as AR devices.
- the charging management module 240 is used to receive charging input from the charger.
- the charger can be a wireless charger or a wired charger.
- the charging management module 240 may receive the charging input of the wired charger through the USB interface 230.
- the charging management module 240 may receive the wireless charging input through the wireless charging coil of the mobile phone 110. While the charging management module 240 charges the battery 242, it can also supply power to the electronic device through the power management module 241.
- the power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210.
- the power management module 241 receives input from the battery 242 and/or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera component 293, and the wireless communication module 260.
- the power management module 241 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
- the power management module 241 may also be provided in the processor 210.
- the power management module 241 and the charging management module 240 may also be provided in the same device.
- the wireless communication function of the mobile phone 110 can be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, and the baseband processor.
- the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in the mobile phone 110 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
- the antenna can be used in combination with a tuning switch.
- the mobile communication module 250 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 110.
- the mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
- the mobile communication module 250 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
- the mobile communication module 250 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
- at least part of the functional modules of the mobile communication module 250 may be provided in the processor 210.
- at least part of the functional modules of the mobile communication module 250 and at least part of the modules of the processor 210 may be provided in the same device.
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
- the application processor outputs a sound signal through an audio device (not limited to the speaker 270A, the receiver 270B, etc.), or displays images or video through the display screen 294.
- the modem processor may be an independent device.
- the modem processor may be independent of the processor 210 and be provided in the same device as the mobile communication module 250 or other functional modules.
- the wireless communication module 260 can provide applications on the mobile phone 110 including wireless local area networks (WLAN) (such as WiFi networks), Bluetooth BT, global navigation satellite system (GNSS), frequency modulation, FM), near field communication technology (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
- WLAN wireless local area networks
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication technology
- IR infrared technology
- the wireless communication module 260 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 260 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210.
- the wireless communication module 260 may also receive the signal to be sent from the processor 210, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
- the antenna 1 of the mobile phone 110 is coupled with the mobile communication module 250, and the antenna 2 is coupled with the wireless communication module 260, so that the mobile phone 110 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
- the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite-based augmentation systems
- the mobile phone 110 implements a display function through a GPU, a display screen 294, and an application processor.
- the GPU is a microprocessor for image processing, connected to the display 294 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
- the display screen 294 is used to display images, videos, etc.
- the display screen 294 includes a display panel.
- the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
- LCD liquid crystal display
- OLED organic light-emitting diode
- active-matrix organic light-emitting diode active-matrix organic light-emitting diode
- AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
- the mobile phone 110 may include one or N display screens 294, and N is a positive integer greater than one.
- the mobile phone 110 can implement a shooting function through an ISP, a camera component 293, a video codec, a GPU, a display screen 294, and an application processor.
- the ISP is used to process the data fed back from the camera component 293. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the imaging component through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the imaging component transfers the electrical signal to the ISP for processing and transforms it into an image visible to the naked eye.
- ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be provided in the camera assembly 293.
- the camera component 293 is used to capture still images or videos.
- the object generates an optical image through the lens and projects it to the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- ISP outputs digital image signals to DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats.
- the mobile phone 110 may include one or N camera components 293, and N is a positive integer greater than one.
- Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone 110 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
- Video codecs are used to compress or decompress digital video.
- the mobile phone 110 may support one or more video codecs. In this way, the mobile phone 110 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
- MPEG moving picture experts group
- MPEG2 MPEG2, MPEG3, MPEG4, etc.
- NPU is a neural-network (NN) computing processor.
- NN neural-network
- applications such as intelligent cognition of the mobile phone 110 can be implemented, such as image recognition, face recognition, voice recognition, text understanding, and so on.
- the external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 110.
- the external memory card communicates with the processor 210 through the external memory interface 220 to realize the data storage function. For example, save music, video and other files in an external memory card.
- the internal memory 221 may be used to store computer executable program code, the executable program code including instructions.
- the internal memory 221 may include a storage program area and a storage data area.
- the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
- the data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 110.
- the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
- the processor 210 executes various functional applications and data processing of the mobile phone 110 by running instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.
- the mobile phone 110 can implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, and an application processor. For example, music playback, recording, etc.
- the audio module 270 is used for converting digital audio information into an analog audio signal for output, and is also used for converting an analog audio input into a digital audio signal.
- the audio module 270 can also be used to encode and decode audio signals.
- the audio module 270 may be provided in the processor 210, or some functional modules of the audio module 270 may be provided in the processor 210.
- the speaker 270A also called a “speaker” is used to convert audio electrical signals into sound signals.
- the mobile phone 110 can perform voice playback or notification through the speaker 270A.
- the receiver 270B also called a "handset" is used to convert audio electrical signals into sound signals.
- the mobile phone 110 answers a call or voice message, it can receive the voice by bringing the receiver 270B close to the human ear.
- Microphone 270C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
- the user can make a sound by approaching the microphone 270C through the human mouth, and input the sound signal into the microphone 270C.
- the mobile phone 110 may be provided with at least one microphone 270C.
- the mobile phone 110 may be equipped with two microphones 270C, which can realize noise reduction function in addition to collecting sound signals.
- the mobile phone 110 may also be equipped with three, four or more microphones 270C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
- the motor 291 can generate vibration prompts.
- the motor 291 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
- touch operations applied to different applications can correspond to different vibration feedback effects.
- Acting on touch operations in different areas of the display screen 294, the motor 291 can also correspond to different vibration feedback effects.
- Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
- the touch vibration feedback effect can also support customization.
- the indicator 292 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
- the SIM card interface 295 is used to connect to the SIM card.
- the SIM card can be connected to and separated from the mobile phone 110 by inserting into the SIM card interface 295 or pulling out from the SIM card interface 495.
- the mobile phone 110 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
- the SIM card interface 295 may support Nano SIM cards, Micro SIM cards, SIM cards, etc.
- the same SIM card interface 295 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
- the SIM card interface 295 can also be compatible with different types of SIM cards.
- the SIM card interface 295 may also be compatible with external memory cards.
- the mobile phone 110 interacts with the network through the SIM card to implement functions such as call and data communication.
- the mobile phone 110 uses an eSIM, that is, an embedded SIM card.
- the eSIM card can be embedded in the mobile phone 110 and cannot be separated from the mobile phone 110.
- the basic principle of the smart home device access method in the embodiment of this application is: the electronic device triggers the Mesh connections to all smart home devices in batches based on the acquired device discovery identification IDs of all smart home devices, and based on the established Mesh connections
- the configuration information used to access the wireless communication network is sent in batches so that each smart home device can access the wireless communication network according to the configuration information.
- the methods in the following embodiments can all be implemented in an electronic device with the above hardware structure or an electronic device with a similar structure.
- the access method of the smart home device in the embodiment of the present application may include:
- the mobile phone 110 obtains the device discovery ID of at least one smart home device.
- the device discovery ID may be the Hi Mesh ID of the smart home device.
- HiMesh ID may include at least the following information: Himesh ID, device type, and device ID (Identification, ID).
- the Himesh identifier is usually a fixed value. For example, if the Himesh identifier is 1, it indicates that the device supports the Mesh network.
- the device type is used to indicate the device type of smart home devices, including home devices, routers, etc.
- the device ID is a serial number provided by the operating system for developers to uniquely identify the device.
- the device discovery ID may be preset in the device before the device leaves the factory. For example, stored in the device's memory (such as non-volatile memory).
- the device ID may be the International Mobile Equipment Identity (IMEI) of the device, the Mobile Equipment Identifier (MEID), or the Electronic Serial Number (ESN), etc. .
- IMEI International Mobile Equipment Identity
- MEID Mobile Equipment Identifier
- ESN Electronic Serial Number
- different types of equipment can return different equipment serial numbers, including the aforementioned IMEI, MEID, or ESN.
- the mobile phone 110 establishes a Mesh connection with each smart home device according to the obtained device discovery ID of the smart home device.
- the Mesh connection between the mobile phone 110 and different smart home devices can be uniquely identified by the four-tuple ⁇ Local MAC, Peer MAC, Local link ID, Peer link ID ⁇ .
- Local MAC is the Media Access Control (MAC) address of the mobile phone 110
- Peer MAC is the MAC address of the smart home device
- Local link ID is the link mesh ID of the mobile phone 110
- Peer link ID is the link of the smart home device mesh ID.
- the Mesh connection between the mobile phone 110 and the smart socket 130 consists of a four-tuple ⁇ D0:FC:CC:D4:FA:FB, 00:01:6C:06:A6:29, [1][smartphone], [1 ][Smart Socket] ⁇ Unique identification.
- the link mesh ID includes at least: Himesh ID and device type.
- the mobile phone 110 sends configuration information to each smart home device through the established Mesh connection.
- the configuration information is used for the smart home device to access the mobile phone 110 to access the home WiFi network according to the configuration, for example, to connect to the home WiFi network connected to the mobile phone 110.
- the configuration information may include at least the following information: WiFi SSID, WiFi key, and device registration code.
- the WiFi SSID may be a WiFi SSID based on shared key authentication (Shared Key Authentication).
- shared key authentication refers to determining whether the other party's identity is legal by judging whether the other party has the same key.
- the key is shared by all legal users on the network, and is not subordinate to a single user, so it is called a "shared" key.
- the encryption method corresponding to the key is Wired Equivalent Privacy (WEP) to prevent illegal users from eavesdropping or intruding into the wireless network.
- WEP Wired Equivalent Privacy
- the first category smart home devices that have established a Mesh connection with the mobile phone 110.
- the second category smart home devices that have not established a Mesh connection with the mobile phone 110.
- the mobile phone 110 does not need to send configuration information to it.
- the smart socket 130 and the smart speaker 150 of the smart desk lamp 140 in the application scenario shown in FIG. 1 are all newly-added smart home devices.
- the access method of the smart home device in the embodiment of this application is mainly used in the The smart socket 130, the smart desk lamp 140 and the smart speaker 150 are connected to the home WiFi network accessed by the mobile phone 110.
- the smart home device of the second type ie, the smart home device to be connected
- the smart home device access method in the embodiment of the present application may further include:
- Step 1 The mobile phone 110 actively scans and carries the Himesh ID of the mobile phone 110. For example: the mobile phone 110 broadcasts the first message in all channels.
- the first message carries the Himesh ID of the mobile phone 110.
- the Himesh ID of the mobile phone 110 may be preset in the mobile phone 110 before the device leaves the factory. For example, it is stored in a memory (such as a non-volatile memory) of the mobile phone 110.
- the first message is a mesh probe request message. As shown in S401 in Figure 4.
- the mobile phone 110 may start the active scanning according to the user's instructions on the active scanning operation on the interface of the smart home application (Application, APP). For example, the mobile phone 110 starts active scanning in response to the user's operation of clicking the scanning device button on the interface as shown in 5A in FIG. 5.
- the smart home application Application, APP
- Step 2 The router 120, the smart socket 130, the smart lamp 140, and the smart speaker 150 send a response message to the mobile phone 110 according to the respective link mesh ID and device status.
- the device status is used to identify the status of establishing a Mesh connection between the device and the mobile phone 110, and includes at least: connected and disconnected. Specifically, if the link mesh ID indicates that the device is a household device, and the device status identifier of the household device is "not connected", the smart household device sends a response message to the mobile phone 110. among them.
- the response message includes the Himesh ID of the smart home device. If the above conditions are not met, the mesh probe request message is ignored.
- the link mesh ID of the smart socket 130 indicates that the Himesh identifier is "1" (where "1" means that the device supports the Mesh network), the device type is a household device, and the corresponding device status is not connected. Then the smart socket 130 sends a response message to the mobile phone 110.
- the Himesh tables of the smart socket 130, the smart lamp 140, and the smart speaker 150 all indicate that they support the Mesh network, the device type indicates that it is a home device, and the device status indicates that it has not established a Mesh connection with the mobile phone 110.
- the smart socket 130, the smart desk lamp 140, and the smart speaker 150 send a response message including their Mesh ID to the mobile phone 110. Since the router 120 is not a household device, the router 120 will not respond to the mesh probe request message.
- Step 3 The mobile phone 110 determines at least one smart home device according to the received response message. S403 in Figure 4.
- the mobile phone 110 may also passively monitor the secret ID of other devices, and then determine at least one smart home device according to the secret ID of each device.
- the mobile phone 110 determines at least one smart home device according to the received response message (that is, step 3), which may include:
- the mobile phone 110 determines at least two smart home devices that have not established a Mesh connection with the mobile phone 110 according to the Hi mesh ID carried in the received response message; the mobile phone 110 receives the user’s confirmation of at least two devices that have not established a Mesh connection with the mobile phone 110
- the selection operation of the smart home device determines at least one smart home device.
- step 2 and step 3 can be replaced by the following steps A, B, and C:
- Step A Each device (router 120, smart socket 130, smart lamp 140, and smart speaker 150) except the mobile phone 110 broadcasts its Hi mesh ID. As shown in Figure 6 S601-1, S601-2, S601-3, and S601-4.
- the device can broadcast its Himesh ID periodically or periodically.
- Step B The mobile phone 110 monitors the broadcast message and obtains the hidden IDs of multiple devices. As shown in S602 in Figure 6.
- the mobile phone 110 can also start monitoring broadcast messages according to the user's instructions on the interface of the smart home APP to monitor device broadcast messages.
- Step C The mobile phone 110 determines the smart home device according to the monitored ID in the broadcast message of each device, combined with the connection state of the mobile phone 110 and the device. As shown in S603 in Figure 6.
- the link mesh ID of the device is "1_home device”
- the mobile phone 110 has not established a Mesh connection with the device. Then the mobile phone 110 determines that the device is a smart home device.
- step C may include: the mobile phone 110 determines at least two smart home devices that have not established a Mesh connection with the mobile phone 110 according to the Himesh ID carried in the monitored broadcast message; the mobile phone 110 receives the user’s confirmation of at least two The selection operation of smart home devices that have not established a Mesh connection with the mobile phone 110 determines at least one smart home device.
- the mobile phone 110 can display the determined Hi Mesh ID of at least two smart home devices that have not established a Mesh connection with the mobile phone 110 on the interface of the smart home APP, for the user to select at least one smart home equipment.
- the mobile phone 110 may store the determined Hismesh IDs of at least two smart home devices that have not established a Mesh connection with the mobile phone 110. For example, the mobile phone 110 stores the determined Hi mesh IDs of at least two smart home devices that have not established a Mesh connection with the mobile phone 110 in the form of a list.
- the Hi Mesh ID of all smart home devices can be displayed on the smart home interface for the user to select. As shown in Figure 5, 5B.
- HiMesh ID may also include: equipment manufacturer information and/or equipment model information.
- the mobile phone 110 establishes a Mesh connection with each smart home device to be smart home device according to the obtained device discovery ID of the smart home device (ie S303), which may include:
- Step 4 The mobile phone 110 sends a second message to each smart home device.
- the second message is a mesh peer open request message whose authentication mode is open.
- the mesh peer open request message is used to request the establishment of a Mesh connection with the smart home device. For example, after the user selects the smart socket 130, the smart lamp 140, and the smart speaker 150, the mobile phone 110 sends a mesh peer open request message to the smart socket 130, the smart lamp 140, and the smart speaker 150. As shown in Figure 4, S404-1, S404-2 and S404-3.
- Wired Equivalent Privacy Wired Equivalent Privacy
- Step 5 The smart socket 130, the smart lamp 140 and the smart speaker 150 initiate a Mesh connection with the mobile phone 110 at the same time.
- the smart socket 130, the smart desk lamp 140, and the smart speaker 150 can initiate a Mesh connection with the mobile phone 110 by simultaneously sending a mesh peer open message to the mobile phone 110. As shown in S405-1, S405-2 and S405-3 in Figure 4.
- the smart socket 130, the smart desk lamp 140, and the smart speaker 150 may also send mesh peer confirm messages to the mobile phone 110, respectively. It is used to inform the mobile phone 110 that it has received its mesh peer open request message.
- step 6 is: the mobile phone 110 sends configuration information for the smart home device to be configured to connect to the network to the smart socket 130, the smart lamp 140, and the smart speaker 150 through the established Mesh connection. As shown in S406 in Figure 4.
- the mobile phone 110 may send configuration information such as WiFi SSID, WiFi key, and device registration code entered by the user on the interface of the smart home APP to all smart home devices selected by the user. As shown in Figure 5, 5C.
- Step 7 The smart socket 130, the smart desk lamp 140 and the smart speaker 150 respectively access the home WiFi network accessed by the mobile phone 110 according to the configuration information. As shown in S407-1, S407-2 and S407-3 in Figure 4.
- the smart home device access network method of the embodiment of the present application further includes: the mobile phone 110 disconnects the Mesh connection with the smart socket 130, the smart lamp 140, and the smart speaker 150.
- any party in the Mesh connection can close the corresponding Mesh connection by sending a mesh peer close message to the other party of the Mesh connection.
- the mesh peer close message may also carry a reason code to identify the reason for the close.
- S404-1, S404-2, and S404-3 in FIG. 4 and FIG. 6 are triggered simultaneously.
- the mobile phone 110 may send the second message to all smart home devices in batches according to the user's establishment of a Mesh connection button on the interface of the smart home APP. There is no need for users to establish a connection with each smart home device one by one.
- the specific time sequence of S402-1, S402-2, and S402-3 in FIG. 4 and the specific time sequence of S405-1, S405-2, and S405-3 in FIG. 4 and FIG.
- the specific time sequence of S601-1, S601-2, S601-3 and S601-4 in Figure 6 is not limited, and the above steps can be simultaneously It can also be carried out in any time sequence, and this application does not limit the time sequence.
- the mobile phone 110 includes hardware structures and/or software modules corresponding to each function.
- the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
- the embodiment of the present application may divide the mobile phone 110 into functional modules.
- each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
- the mobile phone 110 is taken as an example to introduce a schematic structural diagram of a mobile phone provided in an embodiment of the present application.
- the mobile phone 110 may include a receiving unit 710, a sending unit 720, and a connection establishing unit 730.
- the receiving unit 710 is configured to obtain the device discovery identification ID of at least one smart home device.
- the connection establishment unit 730 is configured to establish a Mesh connection with the at least one smart home device according to the device discovery ID of the at least one smart home device.
- the sending unit 720 is configured to send configuration information for accessing the wireless communication network accessed by the electronic device to the at least one smart home device through the established Mesh connection.
- a smart home device such as a smart socket 130
- the sending unit 820 is configured to send the device discovery identification ID of the smart socket 130 to the mobile phone 110.
- the receiving unit 810 is configured to receive a Mesh connection establishment request message from the mobile phone 110.
- the connection establishment unit 830 is used to establish a Mesh connection with the mobile phone 110.
- the sending unit 820 is also configured to receive configuration information for accessing the wireless communication network accessed by the electronic device from the mobile phone 110 through the established Mesh connection.
- the foregoing receiving unit 710, sending unit 720, receiving unit 810, and sending unit 820 may include radio frequency circuits.
- the receiving unit 710 and the receiving unit 810 may receive wireless signals through a radio frequency circuit
- the transmitting unit 720 and the transmitting unit 820 may transmit wireless signals through a radio frequency circuit.
- the receiving unit 710 obtains the device discovery identification ID of at least one smart home device through a radio frequency circuit.
- the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency circuit can also communicate with other devices through wireless communication.
- the wireless communication can use any communication standard or protocol, including but not limited to global system for mobile communications, general packet radio service, code division multiple access, broadband code division multiple access, long-term evolution, email, short message service, etc.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- the computer instructions may be transmitted from a website, computer, server, or data center.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
- the steps of the method or algorithm described in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
- Software instructions can be composed of corresponding software modules, which can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art Medium.
- An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
- the storage medium may also be an integral part of the processor.
- the processor and the storage medium may be located in the ASIC.
- the ASIC may be located in the detection device.
- the processor and the storage medium may also exist as separate components in the detection device.
- the disclosed user equipment and method may be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of the modules or units is only a logical function division.
- there may be other division methods for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate parts may or may not be physically separate.
- the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
- the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium.
- a device which may be a single-chip microcomputer, a chip, etc.
- a processor processor
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种智能家居设备(130,140,150)的接入方法及一种电子设备(110),涉及通信技术领域,可以使智能家居设备(130,140,150)快速、简单的获取接入无线通信网络的配置信息,提高了用户体验。电子设备(110)可以根据获取的所有智能家居设备(130,140,150)的设备发现标识ID,批量触发到所有智能家居设备(130,140,150)的Mesh连接,以及基于建立的连接批量发送用于接入无线通信网络的配置信息,以便每一个智能家居设备(130,140,150)根据该配置信息接入无线通信网络。而无需电子设备(110)逐一建立与所有智能家居设备(130,140,150)的连接,以及逐一发送配置信息。操作更加简单、更加快捷,用户体验度更高。
Description
本申请要求在2019年6月17日提交中国国家知识产权局、申请号为201910523678.0的中国专利申请的优先权,发明名称为“一种智能家居设备的接入方法及一种电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及通信技术领域,尤其涉及一种智能家居设备的接入方法及一种电子设备。
随着智能家居的快速发展,越来越多的用户选择利用智能化的通信技术、控制技术、音视频等技术将安防,照明,环境,健康,厨电、家装,清洁等智能家居设备集成,构建高效的住宅设施与家庭日程事务的管理系统,提升家居安全性、便利性、舒适性、艺术性,并实现环保节能的居住环境。例如,通过智能手机控制智能家居设备进行工作。
智能家居设备在初次使用前,需要先接入智能手机接入的无线通信网络,例如接入智能手机接入的控制设备无线保真(Wireless Fidelity,WiFi)网络。现有的智能家居设备接入WiFi网络的方法可以包括:智能家居设备通过接入点(access point,AP)模式广播携带有智能家居设备的服务集标识(Service Set Identifier,SSID)等设备信息的WiFi beacon帧。智能手机根据接收到的设备信息与智能家居设备建立AP连接,然后基于该AP连接向智能家居设备发送用于智能家居设备根据该配置信息接入WiFi网络的配置信息。
但是,在有多个需要接入WiFi网络的智能家居设备时,就需要智能手机逐一地与每一个智能家居设备分别建立AP连接,以及基于分别建立的AP连接分别发送配置信息,操作过于繁琐。而且在智能家居设备接入WiFi网络之后,智能手机需要从AP模式切换到WiFi模式,而不同型号的智能手机切换网络模式的兼容性是不同的,上述方法对于有的智能手机无法适用。因此,综上所述,使用上述方法将智能家居设备接入WiFi网络,用户体验度较差。
发明内容
本申请实施例提供一种智能家居设备的接入,可以使智能家居设备快速、简单的获取接入无线通信网络的配置信息,提高了用户体验。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,提供一种智能家居设备的接入方法,该方法应用于电子设备,该方法包括:该电子设备获取至少一个智能家居设备的设备发现标识ID,该设备发现ID用于唯一标识对应的智能家居设备;该电子设备根据至少一个智能家居设备的设备发现ID,与上述至少一个智能家居设备建立Mesh连接;该电子设备通过建立的Mesh连接,向上述至少一个智能家居设备发送配置信息,该配置信息用于接入该电子设备所接入的无线通信网络。
上述第一方面提供的技术方案,电子设备可以根据获取的所有智能家居设备的设备发现标识ID,批量触发到所有智能家居设备的Mesh连接,以及基于建立的连接批量发送用于接入无线通信网络的配置信息,以便每一个智能家居设备根据该配置信息接入无线通信网络。而无需电子设备逐一建立与所有智能家居设备的连接,以及逐一发送配置信息。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,该无线通信网络是无线保真WiFi网络;该配置信息包括所述无线通信网络的服务集标识SSID、WiFi密钥和设备注册码。本申请的智能家居设备的接入方法可以用于智能家居设备根据电子设备发送的接入WiFi网络的配置信息,接入WiFi网络。
在一种可能的实现方式中,上述至少一个智能家居设备是未与电子设备建立Mesh连接的设备。本申请的智能家居设备的接入方法用于未与电子设备建立Mesh连接的设备,对于已于电子设备建立Mesh连接的设备则不必进行本申请的智能家居设备的接入方法。可以避免电子设备与已于电子设备建立Mesh连接的设备的交互导致的不必要的资源浪费和时间浪费。
在一种可能的实现方式中,上述设备发现ID为Hi Mesh ID;该Hi Mesh ID至少包括:Himesh标识、设备类型和设备标识ID;其中,Himesh标识用于指示智能家居设备是否支持Mesh网络,设备类型用于指示智能家居设备的设备类型是家居设备,设备ID用于唯一标识所述智能家居设备。电子设备通过获取的智能家居设备的Hi Mesh ID,可以快速准确地建立与对应智能家居设备的Mesh连接。
在一种可能的实现方式中,电子设备中预置有该电子设备的Hi Mesh ID;在该电子设备获取至少一个智能家居设备的设备发现ID之前,该方法还包括:电子设备广播第一消息,该第一消息中携带有电子设备的Hi mesh ID;电子设备从上述至少一个智能家居设备接收响应消息,从每一个智能家居设备接收的响应消息中携带有对应智能家居设备的Hi Mesh ID;电子设备根据接收到的响应消息中携带的Hi mesh ID,确定至少一个智能家居设备。电子设备可以通过主动扫描获取每一个智能家居设备的Hi Mesh ID,操作简单。
在一种可能的实现方式中,上述第一消息为mesh probe request消息。电子设备可以通过批量发送mesh probe request消息,请求获取每一个智能家居设备的Hi mesh ID。
在一种可能的实现方式中,电子设备中预置有该电子设备的Hi Mesh ID;在电子设备获取至少一个智能家居设备的设备发现ID之前,该方法还包括:电子设备监听广播消息,该电子设备监听到的每一个广播消息中携带有对应设备的Hi mesh ID;电子设备根据监听到的广播消息中携带的Hi mesh ID,确定至少一个智能家居设备。电子设备可以通过被动监听获取智能家居设备的Hi Mesh ID,操作简单。
在一种可能的实现方式中,电子设备根据接收到的响应消息中携带的Hi mesh ID,确定至少一个智能家居设备,包括:该电子设备根据接收到的响应消息中携带的Hi mesh ID,确定至少两个未与该电子设备建立Mesh连接的智能家居设备;该电子设备接收用户至少两个未与该电子设备建立Mesh连接的智能家居设备中至少一个智能家居设备的选择操作,确定至少一个智能家居设备。电子设备可以支持用户选择需要建立Mesh连接的智能家居设备,用户体验度更高。
在一种可能的实现方式中,电子设备根据监听到的广播消息中携带的Hi mesh ID,确定至少一个智能家居设备,包括:该电子设备根据监听到的广播消息中携带的Hi mesh ID,确定至少两个未与该电子设备建立Mesh连接的智能家居设备;该电子设备接收用户对至少两个未与该电子设备建立Mesh连接的智能家居设备中至少一个智能家居设备的选择操作,确定至少一个智能家居设备。电子设备可以支持用户选择需要建立Mesh连接的智能家居设备,用户体验度更高。
在一种可能的实现方式中,电子设备根据至少一个智能家居设备的设备发现ID, 与至少一个智能家居设备建立Mesh连接,包括:该电子设备向至少一个智能家居设备发送第二消息,所述第二消息用于请求与每个智能家居设备建立Mesh连接;该电子设备从对应智能家居设备接收连接响应消息;该电子设备根据接收到的每一个连接响应消息,与对应智能家居设备建立Mesh连接。电子设备可以批量触发到所有智能家居设备的Mesh连接,而无需电子设备逐一建立与所有智能家居设备的连接。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,第二消息为mesh peer open连接请求消息。电子设备可以通过批量发送mesh peer open消息,请求建立与每一个智能家居设备的Mesh连接。
在一种可能的实现方式中,在电子设备通过Mesh连接,向至少一个智能家居设备发送配置信息之后,该方法还包括:该电子设备断开与至少一个智能家居设备的Mesh连接。通过该方法,可以避免配置信息发送之后,仍然保持Mesh连接,导致的不必要的耗电问题,用户体验度更高。
在一种可能的实现方式中,电子设备中安装有智能家居应用APP;该电子设备响应于用户在该智能家居APP的界面上的第一操作,获取至少一个智能家居设备的设备发现ID;该电子设备响应于用户在该智能家居APP的界面上的第二操作,根据至少一个智能家居设备的设备发现ID,与至少一个智能家居设备建立Mesh连接;该电子设备响应于用户在该智能家居APP的界面上的第三操作,通过Mesh连接,向至少一个智能家居设备发送配置信息。电子设备可以根据用户在人机交互界面上的操作,对应做出响应,更加人性化,用户体验度更高。
第二方面,提供一种智能家居设备的接入方法,该方法应用于智能家居设备,该方法包括:智能家居设备向电子设备发送该智能家居设备的设备发现标识ID,该设备发现ID用于唯一标识该智能家居设备;该设备发现ID用于电子设备与该智能家居设备建立Mesh连接;该智能家居设备从电子设备接收Mesh连接建立请求消息;该智能家居设备与电子设备建立Mesh连接;该智能家居设备通过建立的Mesh连接,从电子设备接收配置信息,该配置信息用于接入电子设备所接入的无线通信网络。
上述第二方面提供的技术方案,每一个智能家居设备通过向电子设备发送其设备发现标识ID,以便电子设备可以根据每一个智能家居设备的设备发现标识ID,批量触发到所有智能家居设备的Mesh连接,以及基于建立的连接批量发送用于接入无线通信网络的配置信息,以便每一个智能家居设备根据该配置信息接入无线通信网络。而无需电子设备逐一建立与所有智能家居设备的连接,以及逐一发送配置信息。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,该无线通信网络是无线保真WiFi网络;该配置信息包括所述无线通信网络的服务集标识SSID、WiFi密钥和设备注册码。本申请的智能家居设备的接入方法可以用于智能家居设备根据电子设备发送的接入WiFi网络的配置信息,接入WiFi网络。
在一种可能的实现方式中,上述设备发现ID为Hi Mesh ID;该Hi Mesh ID至少包括:Himesh标识、设备类型和设备标识ID;其中,Himesh标识用于指示智能家居设备是否支持Mesh网络,设备类型用于指示智能家居设备的设备类型是家居设备,设备ID用于唯一标识所述智能家居设备。电子设备通过获取的智能家居设备的Hi Mesh ID,可以快速准确地建立与对应智能家居设备的Mesh连接。
在一种可能的实现方式中,智能家居设备中预置有智能家居设备的Hi Mesh ID;在 智能家居设备向电子设备发送智能家居设备的设备发现标识ID之前,该方法还包括:智能家居设备从电子设备接收第一消息,该第一消息中携带有电子设备的Hi mesh ID;智能家居设备根据智能家居设备的Hi mesh ID,确定是否向电子设备发送智能家居设备的Hi mesh ID;智能家居设备向电子设备发送智能家居设备的设备发现标识ID,包括:智能家居设备向电子设备发送响应消息,该响应消息中携带有智能家居设备的设备发现标识ID。智能家居设备可以根据电子设备广播的第一消息,结合自身的Hi mesh ID,确定是否需要向电子设备发送其Hi mesh ID,用于与电子设备建立Mesh连接。
在一种可能的实现方式中,智能家居设备中预置有该智能家居设备的Hi Mesh ID;智能家居设备向电子设备发送智能家居设备的设备发现标识ID,包括:智能家居设备发送广播消息,该广播消息中携带有智能家居设备的Hi mesh ID。每一个智能家居设备可以通过广播其Hi mesh ID,以便电子设备可以根据其Hi mesh ID确定是否与其建立Mesh连接。
第三方面,提供一种电子设备,该电子设备包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线电信号的发送和接收;处理器,用于执行所述指令调用射频电路获取至少一个智能家居设备的设备发现标识ID,该设备发现ID用于唯一标识对应的智能家居设备;以及根据至少一个智能家居设备的设备发现ID,与上述至少一个智能家居设备建立Mesh连接;以及调用射频电路通过建立的Mesh连接,向上述至少一个智能家居设备发送配置信息,该配置信息用于接入该电子设备所接入的无线通信网络。
上述第三方面提供的技术方案,电子设备可以根据获取的所有智能家居设备的设备发现标识ID,批量触发到所有智能家居设备的Mesh连接,以及基于建立的连接批量发送用于接入无线通信网络的配置信息,以便每一个智能家居设备根据该配置信息接入无线通信网络。而无需电子设备逐一建立与所有智能家居设备的连接,以及逐一发送配置信息。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,该无线通信网络是无线保真WiFi网络;该配置信息包括所述无线通信网络的服务集标识SSID、WiFi密钥和设备注册码。电子设备可以与WiFi网络连接,智能家居设备可以根据电子设备发送的接入WiFi网络的配置信息,接入WiFi网络。
在一种可能的实现方式中,上述至少一个智能家居设备是未与电子设备建立Mesh连接的设备。本申请的智能家居设备是未与电子设备建立Mesh连接的设备,对于已于电子设备建立Mesh连接的设备则不必关注。可以避免电子设备与已于电子设备建立Mesh连接的设备的交互导致的不必要的资源浪费和时间浪费。
在一种可能的实现方式中,上述设备发现ID为Hi Mesh ID;该Hi Mesh ID至少包括:Himesh标识、设备类型和设备标识ID;其中,Himesh标识用于指示智能家居设备是否支持Mesh网络,设备类型用于指示智能家居设备的设备类型是家居设备,设备ID用于唯一标识所述智能家居设备。电子设备通过获取的智能家居设备的Hi Mesh ID,可以快速准确地建立与对应智能家居设备的Mesh连接。
在一种可能的实现方式中,电子设备中预置有该电子设备的Hi Mesh ID;在射频短路获取至少一个智能家居设备的设备发现ID之前,射频电路还用于,广播第一消息,该第一消息中携带有电子设备的Hi mesh ID;以及从上述至少一个智能家居设备接收 响应消息,从每一个智能家居设备接收的响应消息中携带有对应智能家居设备的Hi Mesh ID;处理器还用于,根据接收到的响应消息中携带的Hi mesh ID,确定至少一个智能家居设备。电子设备可以通过主动扫描获取每一个智能家居设备的Hi Mesh ID,操作简单。
在一种可能的实现方式中,上述第一消息为mesh probe request消息。电子设备可以通过批量发送mesh probe request消息,请求获取每一个智能家居设备的Hi mesh ID。
在一种可能的实现方式中,电子设备中预置有该电子设备的Hi Mesh ID;在射频电路获取至少一个智能家居设备的设备发现ID之前,射频电路还用于,监听广播消息,该射频电路监听到的每一个广播消息中携带有对应设备的Hi mesh ID;处理器还用于,根据监听到的广播消息中携带的Hi mesh ID,确定至少一个智能家居设备。电子设备可以通过被动监听获取智能家居设备的Hi Mesh ID,操作简单。
在一种可能的实现方式中,处理器根据接收到的响应消息中携带的Hi mesh ID,确定至少一个智能家居设备,包括:该处理器根据接收到的响应消息中携带的Hi mesh ID,确定至少两个未与该电子设备建立Mesh连接的智能家居设备;该处理器执行所述指令调用射频电路根据用户至少两个未与该电子设备建立Mesh连接的智能家居设备中至少一个智能家居设备的选择操作,确定至少一个智能家居设备。电子设备可以支持用户选择需要建立Mesh连接的智能家居设备,用户体验度更高。
在一种可能的实现方式中,处理器根据监听到的广播消息中携带的Hi mesh ID,确定至少一个智能家居设备,包括:该处理器根据监听到的广播消息中携带的Hi mesh ID,确定至少两个未与该电子设备建立Mesh连接的智能家居设备;该处理器执行所述指令调用射频电路根据用户对至少两个未与该电子设备建立Mesh连接的智能家居设备中至少一个智能家居设备的选择操作,确定至少一个智能家居设备。电子设备可以支持用户选择需要建立Mesh连接的智能家居设备,用户体验度更高。
在一种可能的实现方式中,处理器执行所述指令调用射频电路根据至少一个智能家居设备的设备发现ID,与至少一个智能家居设备建立Mesh连接,包括:该处理器执行所述指令调用射频电路向至少一个智能家居设备发送第二消息,所述第二消息用于请求与每个智能家居设备建立Mesh连接;该处理器执行所述指令调用射频电路从对应智能家居设备接收连接响应消息;该处理器执行所述指令调用射频电路根据接收到的每一个连接响应消息,与对应智能家居设备建立Mesh连接。电子设备可以批量触发到所有智能家居设备的Mesh连接,而无需电子设备逐一建立与所有智能家居设备的连接。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,第二消息为mesh peer open连接请求消息。电子设备可以通过批量发送mesh peer open消息,请求建立与每一个智能家居设备的Mesh连接。
在一种可能的实现方式中,在处理器执行所述指令调用射频电路,通过Mesh连接,向至少一个智能家居设备发送配置信息之后,处理器还用于,执行所述指令调用射频电路,断开与至少一个智能家居设备的Mesh连接。通过该操作,可以避免配置信息发送之后,仍然保持Mesh连接,导致的不必要的耗电问题,用户体验度更高。
在一种可能的实现方式中,电子设备中安装有智能家居应用APP;该处理器响应于用户在该智能家居APP的界面上的第一操作,执行所述指令调用射频电路,调用射频电路获取至少一个智能家居设备的设备发现ID;该处理器响应于用户在该智能家居APP的界面上的第二操作,执行所述指令调用射频电路,调用射频电路,根据至少 一个智能家居设备的设备发现ID,与至少一个智能家居设备建立Mesh连接;该处理器响应于用户在该智能家居APP的界面上的第三操作,执行所述指令调用射频电路,调用射频电路,通过Mesh连接,向至少一个智能家居设备发送配置信息。电子设备可以根据用户在人机交互界面上的操作,对应做出响应,更加人性化,用户体验度更高。
第四方面,提供一种电子设备,该电子设备包括:接收单元,用于获取至少一个智能家居设备的设备发现标识ID,该设备发现ID用于唯一标识对应的智能家居设备;连接建立单元,用于根据至少一个智能家居设备的设备发现ID,与上述至少一个智能家居设备建立Mesh连接;发送单元,用于通过建立的Mesh连接,向上述至少一个智能家居设备发送配置信息,该配置信息用于接入该电子设备所接入的无线通信网络。
上述第四方面提供的技术方案,电子设备可以根据获取的所有智能家居设备的设备发现标识ID,批量触发到所有智能家居设备的Mesh连接,以及基于建立的连接批量发送用于接入无线通信网络的配置信息,以便每一个智能家居设备根据该配置信息接入无线通信网络。而无需电子设备逐一建立与所有智能家居设备的连接,以及逐一发送配置信息。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,该无线通信网络是无线保真WiFi网络;该配置信息包括所述无线通信网络的服务集标识SSID、WiFi密钥和设备注册码。电子设备可以与WiFi网络连接,智能家居设备可以根据电子设备发送的接入WiFi网络的配置信息,接入WiFi网络。
在一种可能的实现方式中,上述至少一个智能家居设备是未与电子设备建立Mesh连接的设备。本申请的智能家居设备是未与电子设备建立Mesh连接的设备,对于已于电子设备建立Mesh连接的设备则不必关注。可以避免电子设备与已于电子设备建立Mesh连接的设备的交互导致的不必要的资源浪费和时间浪费。
在一种可能的实现方式中,上述设备发现ID为Hi Mesh ID;该Hi Mesh ID至少包括:Himesh标识、设备类型和设备标识ID;其中,Himesh标识用于指示智能家居设备是否支持Mesh网络,设备类型用于指示智能家居设备的设备类型是家居设备,设备ID用于唯一标识所述智能家居设备。电子设备通过获取的智能家居设备的Hi Mesh ID,可以快速准确地建立与对应智能家居设备的Mesh连接。
在一种可能的实现方式中,电子设备中预置有该电子设备的Hi Mesh ID;发送单元还用于,在接收单元获取至少一个智能家居设备的设备发现ID之前,广播第一消息,该第一消息中携带有电子设备的Hi mesh ID;接收单元还用于,从上述至少一个智能家居设备接收响应消息,从每一个智能家居设备接收的响应消息中携带有对应智能家居设备的Hi Mesh ID;连接建立单元还用于,根据接收到的响应消息中携带的Hi mesh ID,确定至少一个智能家居设备。电子设备可以通过主动扫描获取每一个智能家居设备的Hi Mesh ID,操作简单。
在一种可能的实现方式中,上述第一消息为mesh probe request消息。电子设备可以通过批量发送mesh probe request消息,请求获取每一个智能家居设备的Hi mesh ID。
在一种可能的实现方式中,电子设备中预置有该电子设备的Hi Mesh ID;接收单元还用于,在接收单元获取至少一个智能家居设备的设备发现ID之前,监听广播消息,该射频电路监听到的每一个广播消息中携带有对应设备的Hi mesh ID;连接建立单元 还用于,根据监听到的广播消息中携带的Hi mesh ID,确定至少一个智能家居设备。电子设备可以通过被动监听获取智能家居设备的Hi Mesh ID,操作简单。
在一种可能的实现方式中,连接建立单元根据接收到的响应消息中携带的Hi mesh ID,确定至少一个智能家居设备,包括:该连接建立单元根据接收到的响应消息中携带的Hi mesh ID,确定至少两个未与该电子设备建立Mesh连接的智能家居设备;连接建立单元根据用户至少两个未与该电子设备建立Mesh连接的智能家居设备中至少一个智能家居设备的选择操作,确定至少一个智能家居设备。电子设备可以支持用户选择需要建立Mesh连接的智能家居设备,用户体验度更高。
在一种可能的实现方式中,连接建立单元根据监听到的广播消息中携带的Hi mesh ID,确定至少一个智能家居设备,包括:该连接建立单元根据监听到的广播消息中携带的Hi mesh ID,确定至少两个未与该电子设备建立Mesh连接的智能家居设备;该连接建立单元根据用户对至少两个未与该电子设备建立Mesh连接的智能家居设备中至少一个智能家居设备的选择操作,确定至少一个智能家居设备。电子设备可以支持用户选择需要建立Mesh连接的智能家居设备,用户体验度更高。
在一种可能的实现方式中,连接建立单元根据至少一个智能家居设备的设备发现ID,与至少一个智能家居设备建立Mesh连接,包括:该连接建立单元通过发送单元向至少一个智能家居设备发送第二消息,所述第二消息用于请求与每个智能家居设备建立Mesh连接;该连接建立单元通过接收单元从对应智能家居设备接收连接响应消息;该该连接建立单元根据接收到的每一个连接响应消息,与对应智能家居设备建立Mesh连接。电子设备可以批量触发到所有智能家居设备的Mesh连接,而无需电子设备逐一建立与所有智能家居设备的连接。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,第二消息为mesh peer open连接请求消息。电子设备可以通过批量发送mesh peer open消息,请求建立与每一个智能家居设备的Mesh连接。
在一种可能的实现方式中,连接建立单元还用于,在发送单元通过Mesh连接,向至少一个智能家居设备发送配置信息之后,断开与至少一个智能家居设备的Mesh连接。通过该操作,可以避免配置信息发送之后,仍然保持Mesh连接,导致的不必要的耗电问题,用户体验度更高。
在一种可能的实现方式中,电子设备中安装有智能家居应用APP;接收单元响应于用户在该智能家居APP的界面上的第一操作,获取至少一个智能家居设备的设备发现ID;连接建立单元响应于用户在该智能家居APP的界面上的第二操作,根据至少一个智能家居设备的设备发现ID,与至少一个智能家居设备建立Mesh连接;发送单元响应于用户在该智能家居APP的界面上的第三操作,通过Mesh连接,向至少一个智能家居设备发送配置信息。电子设备可以根据用户在人机交互界面上的操作,对应做出响应,更加人性化,用户体验度更高。
第五方面,提供一种智能家居设备,该智能家居设备包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线电信号的发送和接收;处理器,用于执行所述指令调用射频电路向电子设备发送该智能家居设备的设备发现标识ID,该设备发现ID用于唯一标识该智能家居设备;该设备发现ID用于电子设备与该智能家居设备建立Mesh连接;处理器还用于执行所述指令调用射频电路从电子设备接收Mesh连接建立请求消息;以及与电子设备建立Mesh连接;以及通过建立的Mesh连接,从电子设备接收配置信息,该配置信息用于接入电子设备所接入的无线通信网络。
上述第五方面提供的技术方案,每一个智能家居设备通过向电子设备发送其设备发现标识ID,以便电子设备可以根据每一个智能家居设备的设备发现标识ID,批量触发到所有智能家居设备的Mesh连接,以及基于建立的连接批量发送用于接入无线通信网络的配置信息,以便每一个智能家居设备根据该配置信息接入无线通信网络。而无需电子设备逐一建立与所有智能家居设备的连接,以及逐一发送配置信息。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,该无线通信网络是无线保真WiFi网络;该配置信息包括所述无线通信网络的服务集标识SSID、WiFi密钥和设备注册码。本申请的智能家居设备的接入方法可以用于智能家居设备根据电子设备发送的接入WiFi网络的配置信息,接入WiFi网络。
在一种可能的实现方式中,上述设备发现ID为Hi Mesh ID;该Hi Mesh ID至少包括:Himesh标识、设备类型和设备标识ID;其中,Himesh标识用于指示智能家居设备是否支持Mesh网络,设备类型用于指示智能家居设备的设备类型是家居设备,设备ID用于唯一标识所述智能家居设备。电子设备通过获取的智能家居设备的Hi Mesh ID,可以快速准确地建立与对应智能家居设备的Mesh连接。
在一种可能的实现方式中,智能家居设备中预置有智能家居设备的Hi Mesh ID;在射频电路向电子设备发送智能家居设备的设备发现标识ID之前,射频电路还用于,从电子设备接收第一消息,该第一消息中携带有电子设备的Hi mesh ID;处理器还用于,根据智能家居设备的Hi mesh ID,确定是否向电子设备发送智能家居设备的Hi mesh ID;射频电路向电子设备发送智能家居设备的设备发现标识ID,包括:射频电路向电子设备发送响应消息,该响应消息中携带有智能家居设备的设备发现标识ID。智能家居设备可以根据电子设备广播的第一消息,结合自身的Hi mesh ID,确定是否需要向电子设备发送其Hi mesh ID,用于与电子设备建立Mesh连接。
在一种可能的实现方式中,智能家居设备中预置有该智能家居设备的Hi Mesh ID;射频电路向电子设备发送智能家居设备的设备发现标识ID,包括:射频电路发送广播消息,该广播消息中携带有智能家居设备的Hi mesh ID。每一个智能家居设备可以通过广播其Hi mesh ID,以便电子设备可以根据其Hi mesh ID确定是否与其建立Mesh连接。
第六方面,提供一种智能家居设备,该智能家居设备包括:发送单元,用于向电子设备发送该智能家居设备的设备发现标识ID,该设备发现ID用于唯一标识该智能家居设备;该设备发现ID用于电子设备与该智能家居设备建立Mesh连接;接收单元,用于从电子设备接收Mesh连接建立请求消息;连接建立单元,用于与电子设备建立Mesh连接;发送单元还用于,通过建立的Mesh连接,从电子设备接收配置信息,该配置信息用于接入电子设备所接入的无线通信网络。
上述第六方面提供的技术方案,每一个智能家居设备通过向电子设备发送其设备发现标识ID,以便电子设备可以根据每一个智能家居设备的设备发现标识ID,批量触发到所有智能家居设备的Mesh连接,以及基于建立的连接批量发送用于接入无线通信网络的配置信息,以便每一个智能家居设备根据该配置信息接入无线通信网络。而无需电子设备逐一建立与所有智能家居设备的连接,以及逐一发送配置信息。操作更加简单、更加快捷,用户体验度更高。
在一种可能的实现方式中,该无线通信网络是无线保真WiFi网络;该配置信息包括 所述无线通信网络的服务集标识SSID、WiFi密钥和设备注册码。本申请的智能家居设备的接入方法可以用于智能家居设备根据电子设备发送的接入WiFi网络的配置信息,接入WiFi网络。
在一种可能的实现方式中,上述设备发现ID为Hi Mesh ID;该Hi Mesh ID至少包括:Himesh标识、设备类型和设备标识ID;其中,Himesh标识用于指示智能家居设备是否支持Mesh网络,设备类型用于指示智能家居设备的设备类型是家居设备,设备ID用于唯一标识所述智能家居设备。电子设备通过获取的智能家居设备的Hi Mesh ID,可以快速准确地建立与对应智能家居设备的Mesh连接。
在一种可能的实现方式中,智能家居设备中预置有智能家居设备的Hi Mesh ID;接收单元还用于,在发送单元向电子设备发送智能家居设备的设备发现标识ID之前,从电子设备接收第一消息,该第一消息中携带有电子设备的Hi mesh ID;连接建立单元还用于,根据智能家居设备的Hi mesh ID,确定是否向电子设备发送智能家居设备的Hi mesh ID;发送单元向电子设备发送智能家居设备的设备发现标识ID,包括:发送单元向电子设备发送响应消息,该响应消息中携带有智能家居设备的设备发现标识ID。智能家居设备可以根据电子设备广播的第一消息,结合自身的Hi mesh ID,确定是否需要向电子设备发送其Hi mesh ID,用于与电子设备建立Mesh连接。
在一种可能的实现方式中,智能家居设备中预置有该智能家居设备的Hi Mesh ID;发送单元向电子设备发送智能家居设备的设备发现标识ID,包括:发送单元发送广播消息,该广播消息中携带有智能家居设备的Hi mesh ID。每一个智能家居设备可以通过广播其Hi mesh ID,以便电子设备可以根据其Hi mesh ID确定是否与其建立Mesh连接。
第七方面,提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机执行指令,该计算机执行指令被处理器执行时实现如第一方面任一种可能的实现方式中的智能家居的接入方法,或者实现如第二方面任一种可能的实现方式中的智能家居的接入方法。
第八方面,提供一种芯片系统,该芯片系统包括处理器、存储器,存储器中存储有指令;所述指令被所述处理器执行时,实现如第一方面任一种可能的实现方式中的智能家居的接入方法,或者实现如第二方面任一种可能的实现方式中的智能家居的接入方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。
图1为本申请实施例提供的智能家居设备的接入方法的应用场景示例;
图2为本申请实施例提供的一种手机的硬件结构图;
图3为本申请实施例提供的智能家居设备的接入方法流程图;
图4为本申请实施例提供的智能家居设备的接入方法交互图一;
图5为本申请实施例提供的智能家居APP界面示意图;
图6为本申请实施例提供的智能家居设备的接入方法交互图二;
图7为本申请实施例提供的一种手机的结构示意图;
图8为本申请实施例提供的一种智能家居设备的结构示意图。
本申请实施例提供一种智能家居设备的接入方法及电子设备。具体的,该方法包括:为了使得智能家居设备接入智能家居系统中电子设备接入的无线通信网络(例如,电子设备接入了家庭WiFi网络),电子设备同时连接到多个智能家居设备,发送用于接入家庭WiFi网络 的配置信息,使得多个智能家居设备可以根据该配置信息批量接入家庭WiFi网络。
如图1所示,为本申请实施例提供的智能家居设备的接入方法的应用场景示例。本申请实施例的一种智能家居设备的接入方法可以应用于如图1所示的智能家居系统100中。该智能家居系统100包括手机110、路由器120和智能家居设备。智能家居设备包括如图1中所示的智能插座130、智能台灯140和智能音响150。其中,手机110可以用于控制智能插座130、智能台灯140和智能音响150。例如:控制智能台灯140的开启时间和灯泡亮度,控制智能音响150的播放列表和播放音量大小。
其中,图1的智能家居系统100中的各个设备之间可以在WiFi模式下通信,也可以在蓝牙、AP模式下通信,或者通过其他模式通信。本申请对此不作限定。
为了使得通信信息可以根据智能家居系统中网络的实际情况,自动选择最佳路由。图1的智能家居系统100中的各个设备之间可以进行Mesh组网,形成Mesh网络。例如,WiFi Mesh网络、蓝牙Mesh网络。其中,Mesh网络也可以称为“多跳(multi-hop)”网络。手机110、路由器120、智能插座130、智能台灯140和智能音响150作为该Mesh网络中的节点,都可以同时作为接入点(access point,AP)和路由器。Mesh网络中的每个节点都可以发送和接收信号,每个节点都可以与一个或者多个对等节点进行直接通信。这样,如果最近的节点由于流量过大而导致拥塞的话,那么数据可以自动重新路由到一个通信流量较小的邻近节点进行传输。
需要说明的是,本申请实施例中以电子设备通过与智能家居设备建立WiFi Mesh连接,通过该连接向智能家居设备发送用于接入家庭WiFi网络的配置信息。电子设备还可以通过与智能家居设备建立其他类型的Mesh连接来发送配置信息。例如,电子设备还可以与智能家居设备建立蓝牙Mesh连接。
本申请实施例的智能家居设备的接入方法则具体应用于智能家居设备加入智能家居系统100的过程中。例如,图1中的智能插座130、智能台灯140和智能音响150为新加智能家居设备,初次使用前,需要加入智能家居系统100。更加具体的,本申请实施例的智能家居设备的接入方法应用于图1中的智能插座130、智能台灯140和智能音响150首次接入家庭WiFi网络的过程中。
需要说明的是,图1中的智能插座130、智能台灯140和智能音响150仅作为几种智能家居设备的示例,事实上,本申请实施例中的智能家居设备还可以为智能体重(脂)称、智能灯泡、智能风扇、智能空调、智能电视、智能扫地机器人等各种智能的家居电器设备。
另外,本申请实施例中的电子设备除了图1所示的智能手机,还可以是其他桌面型、膝上型、手持型设备,例如平板电脑、上网本、个人数字助理(Personal Digital Assistant,PDA)、可穿戴设备(例如智能手表)、便携式多媒体播放器(Portable Multimedia Player,PMP)、专用媒体播放器、AR(增强现实)/VR(虚拟现实)设备等。本申请实施例对电子设备的具体类型和结构不作限定。
如图2所示,为本申请实施例提供的一种手机的硬件结构图。如图2所示,手机110可以包括处理器210,存储器(包括外部存储器接口220和内部存储器221),通用串行总线(universal serial bus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。其中传感器模块280可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器, 骨传导传感器等。
可以理解的是,本发明实施例示意的结构并不构成对手机110的具体限定。在本申请另一些实施例中,手机110可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器210可以包括一个或多个处理单元。例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),飞行控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。
在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
USB接口230是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口230可以用于连接充电器为手机110充电,也可以用于手机110与外围设备之间传输数据。也可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机110的结构限定。
充电管理模块240用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块240可以通过USB接口230接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块240可以通过手机110的无线充电线圈接收无线充电输入。充电管理模块240为电池242充电的同时,还可以通过电源管理模块241为电子设备供电。
电源管理模块241用于连接电池242,充电管理模块240与处理器210。电源管理模块241接收电池242和/或充电管理模块240的输入,为处理器210,内部存储器221,显示屏294,摄像组件293,和无线通信模块260等供电。电源管理模块241还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块241也可以设置于处理器210中。在另一些实施例中,电源管理模块241和充电管理模块240也可以设置于同一个器件中。
手机110的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机110中的每个天线可用于覆盖单个或多个通信频段。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块250可以提供应用在手机110上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块250可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块250可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块250还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块250的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块250的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器270A、受话器270B等)输出声音信号,或通过显示屏294显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器210,与移动通信模块250或其他功能模块设置在同一个器件中。
无线通信模块260可以提供应用在手机110上的包括无线局域网(wireless local area networks,WLAN)(如WiFi网络),蓝牙BT,全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块260可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块260经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块260还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机110的天线1和移动通信模块250耦合,天线2和无线通信模块260耦合,使得手机110可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
手机110通过GPU,显示屏294,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏294和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏294用于显示图像,视频等。显示屏294包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机110可以包括1个或N个显示屏294,N为大于1的正整数。
手机110可以通过ISP,摄像组件293,视频编解码器,GPU,显示屏294以及应用处理器等实现拍摄功能。
ISP用于处理摄像组件293反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像组件感光元件上,光信号转换为电信号,摄像组件感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像组件293中。
摄像组件293用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机110可以包括1个或N个摄像组件293,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机110在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。手机110可以支持一种或多种视频编解码器。这样,手机110可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现手机110的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机110的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器221可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机110使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器210通过运行存储在内部存储器221的指令,和/或存储在设置于处理器中的存储器的指令,执行手机110的各种功能应用以及数据处理。
手机110可以通过音频模块270,扬声器270A,受话器270B,麦克风270C以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块270用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块270还可以用于对音频信号编码和解码。在一些实施例中,音频模块270可以设置于处理器210中,或将音频模块270的部分功能模块设置于处理器210中。
扬声器270A,也称“喇叭”,用于将音频电信号转换为声音信号。手机110可以通过扬声器270A进行语音播放或通知等。
受话器270B,也称“听筒”,用于将音频电信号转换成声音信号。当手机110接听电话或 语音信息时,可以通过将受话器270B靠近人耳接听语音。
麦克风270C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风270C发声,将声音信号输入到麦克风270C。手机110可以设置至少一个麦克风270C。在另一些实施例中,手机110可以设置两个麦克风270C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机110还可以设置三个,四个或更多麦克风270C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
马达291可以产生振动提示。马达291可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏294不同区域的触摸操作,马达291也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器292可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口295用于连接SIM卡。SIM卡可以通过插入SIM卡接口295,或从SIM卡接口495拔出,实现和手机110的接触和分离。手机110可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口295可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口295可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口295也可以兼容不同类型的SIM卡。SIM卡接口295也可以兼容外部存储卡。手机110通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,手机110采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机110中,不能和手机110分离。
本申请实施例中的智能家居设备的接入方法的基本原理是:电子设备根据获取的所有智能家居设备的设备发现标识ID,批量触发到所有智能家居设备的Mesh连接,以及基于建立的Mesh连接批量发送用于接入无线通信网络的配置信息,以便每一个智能家居设备根据该配置信息接入无线通信网络。
以下结合电子设备为图2所示的手机,具体介绍本申请实施例提供的智能家居设备的接入方法。以下实施例中的方法均可以在具有上述硬件结构的电子设备或者具有类似结构的电子设备中实现。
如图3所示,本申请实施例的智能家居设备的接入方法可以包括:
S301、手机110获取至少一个智能家居设备的设备发现ID。
在一些实施例中,设备发现ID可以为智能家居设备的Hi Mesh ID。其中,Hi Mesh ID至少可以包括以下信息:Himesh标识、设备类型和设备标识(Identification,ID)。其中,Himesh标识通常为固定值,例如:Himesh标识为1,则指示设备支持Mesh网络。设备类型用于指示智能家居设备的设备类型,包括家居设备、路由器等。设备ID是操作系统为开发者提供的用于唯一标识设备的串号。
在一些实施例中,设备发现ID可以在设备出厂前预置在设备中。例如,保存在设备的存储器(如非易失性存储器)中。
在一些实施例中,设备ID可以是设备的国际移动电话设备识别码(International Mobile Equipment Identity,IMEI),移动设备识别码(Mobile Equipment Identifier,MEID)或者电子序列号(Electronic Serial Number,ESN)等。
例如,在Android操作系统中,可以通过下面的方法获取其设备ID: TelephonyManager tm=(TelephonyManager)getSystemService(Context.TELEPHONY_S ERVICE);
String DEVICE_ID=tm.getDeviceId()。
采用上述方法,不同类型的设备可以返回不同的设备串号,包括上述IMEI、MEID或ESN等。
S302、手机110根据获取的智能家居设备的设备发现ID,与每一个智能家居设备建立Mesh连接。
其中,手机110与不同智能家居设备的Mesh连接可以由四元组{Local MAC,Peer MAC,Local link ID,Peer link ID}唯一标识。其中,Local MAC为手机110的媒体访问控制(Media Access Control,MAC)地址,Peer MAC为智能家居设备的MAC地址,Local link ID为手机110的link mesh ID,Peer link ID为智能家居设备的link mesh ID。例如,手机110与智能插座130的Mesh连接由四元组{D0:FC:CC:D4:FA:FB,00:01:6C:06:A6:29,[1][智能手机],[1][智能插座]}唯一标识。
其中,link mesh ID至少包括:Himesh标识和设备类型。
S303、手机110通过建立的Mesh连接,向每一个智能家居设备发送配置信息。
其中,配置信息用于智能家居设备根据该配置接入手机110接入家庭WiFi网络,例如连接至手机110连接的家庭WiFi网络。配置信息至少可以包括以下信息:WiFi SSID、WiFi密钥和设备注册码。
在一些实施例中,WiFi SSID可以是基于共享密钥认证(Shared Key Authentication)的WiFi SSID。其中,共享密钥认证是指通过判决对方是否掌握相同的密钥来确定对方身份是否合法。密钥是网络上所有合法用户共有的,而不从属于单个用户,故称为“共享”密钥。密钥对应的加密方法是有线等效保密(Wired Equivalent Privacy,WEP),用以防止非法用户窃听或侵入无线网络。
需要说明的是,本申请实施例中的智能家居设备,可以有如下两类:
第一类:已经与手机110建立过Mesh连接的智能家居设备。
第二类:未与手机110建立Mesh连接的智能家居设备。
对于第一类智能家居设备,手机110无需再向其发送配置信息。对于第二类智能家居设备,则需要根据本申请实施例中的智能家居设备的接入方法,完成智能家居设备接入家庭WiFi网络。例如,图1所示的应用场景中的智能插座130、智能台灯140的智能音响150均为新增智能家居设备,本申请实施例的智能家居设备的接入方法主要是用于图1中的智能插座130、智能台灯140和智能音响150接入手机110接入的家庭WiFi网络。本申请实施例以第二类智能家居设备(即待接入智能家居设备)为智能插座130、智能台灯140和智能音响150为例介绍智能家居设备的接入方法。
在一些实施例中,在手机110获取获取至少一个智能家居设备的的设备发现ID(即S301)之前,本申请实施例的智能家居设备的接入方法还可以包括:
步骤1、手机110主动扫描,携带手机110的Hi mesh ID。例如:手机110全信道广播第一消息。
其中,第一消息中携带有手机110的Hi mesh ID。手机110的Hi mesh ID可以在设备出厂前预置在手机110中。例如,保存在手机110的存储器(如非易失性存储器)中。
在一种可能的实现方式中,第一消息为mesh probe request消息。如图4中的S401所示。
在一种可能的实现方式中,手机110可以根据用户在智能家居应用(Application,APP)的界面上的指示主动扫描的操作,开启主动扫描。例如,手机110响应于用户在如图5中的5A所示的界面点击扫描设备按钮的操作,开启主动扫描。
步骤2、路由器120、智能插座130、智能台灯140和智能音响150根据各自的link mesh ID和设备状态向手机110发送响应消息。
其中,设备状态用于标识设备与手机110建立Mesh连接的状态,至少包括:已连接和未连接。具体的,若link mesh ID指示设备为家居设备,且该家居设备的设备状态标识为“未连接”,该智能家居设备向手机110发送响应消息。其中。响应消息包括该智能家居设备的Hi mesh ID。若不满足上述条件,则忽略mesh probe request消息。
例如,智能插座130的link mesh ID指示Himesh标识为“1”(其中,“1”的意思是设备支持Mesh网络),设备类型为家居设备,对应的设备状态为未连接。则智能插座130向手机110发送响应消息。
如图4中的S402-1、S402-2和S402-3所示。智能插座130、智能台灯140和智能音响150的Himesh表中均指示其支持Mesh网络,设备类型均指示其为家居设备,设备状态均指示其未与手机110建立Mesh连接。响应于接收到手机110的mesh probe request消息,智能插座130、智能台灯140和智能音响150向手机110发送包括其Hi mesh ID的响应消息。而路由器120由于不是家居设备,因此,路由器120不会对mesh probe request消息作响应。
步骤3、手机110根据接收到的响应消息,确定至少一个智能家居设备。如图4中的S403。
或者,在一种可能的实现方式中,手机110还可以通过被动监听其他设备的Hi mesh ID,然后根据每一个设备的Hi mesh ID确定至少一个智能家居设备。
在一种可能的实现方式中,手机110根据接收到的响应消息,确定至少一个智能家居设备(即步骤3),可以包括:
手机110根据接收到的响应消息中携带的Hi mesh ID,确定至少两个未与手机110建立Mesh连接的智能家居设备;手机110接收用户对确定的至少两个未与手机110备建立Mesh连接的智能家居设备的选择操作,确定至少一个智能家居设备。在一种可能的实现方式中,步骤2和步骤3可以由以下步骤A、步骤B和步骤C代替:
步骤A、除手机110外的每一个设备(路由器120、智能插座130、智能台灯140和智能音响150)分别广播其Hi mesh ID。如图6中的S601-1、S601-2、S601-3和S601-4所示。
例如,设备可以定时广播或者周期性广播其Hi mesh ID。
步骤B、手机110监听广播消息,获取多个设备的Hi mesh ID。如图6中的S602所示。
同样的,手机110也可以根据用户在智能家居APP的界面上的指示监听设备广播消息的操作,开启监听广播消息。
步骤C、手机110根据监听到的每一个设备的广播消息中的Hi mesh ID,结合且手机110与该设备的连接状态,确定智能家居设备。如图6中的S603所示。
例如,若设备的link mesh ID为“1_家居设备”,且手机110与该设备的未建立 Mesh连接。则手机110确定该设备为智能家居设备。
同样的,步骤C,可以包括:手机110根据监听到的广播消息中携带的Hi mesh ID,确定至少两个未与手机110建立Mesh连接的智能家居设备;手机110接收用户对确定的至少两个未与手机110备建立Mesh连接的智能家居设备的选择操作,确定至少一个智能家居设备。
在一种可能的实现方式中,手机110可以在智能家居APP的界面上显示确定的至少两个未与手机110备建立Mesh连接的智能家居设备的Hi Mesh ID,供用户从中选择至少一个智能家居设备。
其中,手机110在确定好至少两个未与手机110建立Mesh连接的智能家居设备之后,可以存储确定好的至少两个未与手机110建立Mesh连接的智能家居设备的Hi mesh ID。例如,手机110以列表的形式存储确定的至少两个未与手机110建立Mesh连接的智能家居设备的Hi mesh ID。
在一种可能的实现方式中,在手机110接收到来自智能家居设备的响应消息之后,可以在上述智能家居界面上显示所有智能家居设备的Hi Mesh ID,供用户选择。如图5中的5B所示。
在一些实施例中,为了在用户从至少两个未与手机110建立Mesh连接的智能家居设备选择智能家居设备时,帮助用户更好的区分每一个智能家居设备。Hi Mesh ID还可以包括:设备厂家信息和/或设备型号信息。
在一种可能的实现方式中,手机110根据获取的智能家居设备的设备发现ID,与每一个待智能家居设备建立Mesh连接(即S303),可以包括:
步骤4、手机110向每一个智能家居设备发送第二消息。
在一些实施例中,第二消息为认证方式为open的mesh peer open请求消息。mesh peer open请求消息用于请求与智能家居设备建立Mesh连接。例如,在用户选择了智能插座130、智能台灯140和智能音响150之后,手机110向智能插座130、智能台灯140和智能音响150发送mesh peer open请求消息。如图4中的S404-1、S404-2和S404-3所示。
其中,open是有线等效保密(Wired Equivalent Privacy,WEP)加密使用的一种认证方式。该认证方式无需经过认证即可进行关联,但必须WiFi密钥正确才能正常连接。
步骤5、智能插座130、智能台灯140和智能音响150同时发起与手机110的Mesh连接。
在一些实施例中,智能插座130、智能台灯140和智能音响150可以通过向手机110同时发送mesh peer open消息,发起与手机110的Mesh连接。如图4中的S405-1、S405-2和S405-3所示。
在一些实施例中,在步骤5之前,响应于接收到手机110发送的mesh peer open请求消息,智能插座130、智能台灯140和智能音响150还可以分别向手机110发送mesh peer confirm消息。用于告知手机110已经收到其mesh peer open请求消息。
在步骤5之后,步骤6为:手机110通过建立的Mesh连接向智能插座130、智能台灯140和智能音响150发送用于智能家居设备配置入网的配置信息。如图4中的S406所示。
在一种可能的实现方式中,手机110可以将用户在智能家居APP的界面上输入的WiFi SSID、WiFi密钥和设备注册码等配置信息,发送给用户选中的所有智能家居 设备。如图5中的5C所示。
步骤7、智能插座130、智能台灯140和智能音响150分别根据配置信息接入手机110接入的家庭WiFi网络。如图4中的S407-1、S407-2和S407-3所示。
在一些实施例中,在步骤6之后,本申请实施例的智能家居设备的接入网方法还包括:手机110断开与智能插座130、智能台灯140和智能音响150之间的Mesh连接。
在一种可能的实现方式中,Mesh连接中的任一方,包括智能家居设备和手机,均可以通过向Mesh连接的另一方发送mesh peer close消息,关闭其对应的Mesh连接。该mesh peer close消息中还可以携带原因码,用于标识关闭原因。
需要说明的是,图4和图6中的S404-1、S404-2和S404-3为同时触发。具体的,手机110可以根据用户在智能家居APP的界面上的建立Mesh连接按钮,批量向所有智能家居设备发送第二消息。无需用户逐一的与每一个智能家居设备建立连接。
另外,本申请对图4中的S402-1、S402-2和S402-3的具体时间顺序,图4和图6中的S405-1、S405-2和S405-3的具体时间顺序,图4和图6中的S407-1、S407-2和S407-3的具体时间顺序,图6中的S601-1、S601-2、S601-3和S601-4具体时间顺序没有限定,上述步骤可以同时进行,也可以以任意时序进行,本申请对其时序不作限定。
可以理解的是,手机110为了实现上述任一个实施例的功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以对手机110进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
比如,以采用集成的方式划分各个功能模块的情况下,以手机110为例介绍本申请实施例提供的一种手机的结构示意图。如图7所示,手机110可以包括接收单元710,发送单元720和连接建立单元730。
其中,接收单元710用于获取至少一个智能家居设备的设备发现标识ID。连接建立单元730用于根据至少一个智能家居设备的设备发现ID,与上述至少一个智能家居设备建立Mesh连接。发送单元720用于通过建立的Mesh连接,向上述至少一个智能家居设备发送用于接入该电子设备所接入的无线通信网络的配置信息。
同样的,智能家居设备,例如智能插座130可以包括接收单元810,发送单元820和连接建立单元830,如图8所示。其中,发送单元820用于向手机110发送智能插座130的设备发现标识ID。接收单元810用于从手机110接收Mesh连接建立请求消息。连接建立单元830用于与手机110建立Mesh连接。发送单元820还用于通过建立的Mesh连接,从手机110接收用于接入电子设备所接入的无线通信网络的配置信息。
需要说明的是,上述接收单元710、发送单元720、接收单元810和发送单元820可以包括射频电路。具体的,接收单元710和接收单元810可以通过射频电路进行无线信号的接收,发送单元720和发送单元820可以通过射频电路进行无线信号的发送。例如, 接收单元710通过射频电路获取至少一个智能家居设备的设备发现标识ID。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路还可以通过无线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。
在一种可选的方式中,当使用软件实现数据传输时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地实现本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
结合本申请实施例所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于探测装置中。当然,处理器和存储介质也可以作为分立组件存在于探测装置中。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的用户设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对 现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (24)
- 一种智能家居设备的接入方法,其特征在于,应用于电子设备,所述方法包括:所述电子设备获取至少一个智能家居设备的设备发现标识ID,所述设备发现ID用于唯一标识对应的智能家居设备;所述电子设备根据所述至少一个智能家居设备的设备发现ID,与所述至少一个智能家居设备建立Mesh连接;所述电子设备通过建立的所述Mesh连接,向所述至少一个智能家居设备发送配置信息,所述配置信息用于接入所述电子设备所接入的无线通信网络。
- 根据权利要求1所述的方法,其特征在于,所述无线通信网络是无线保真WiFi网络;所述配置信息包括所述无线通信网络的服务集标识SSID、WiFi密钥和设备注册码。
- 根据权利要求1或2所述的方法,其特征在于,所述至少一个智能家居设备是未与所述电子设备建立Mesh连接的设备。
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述设备发现ID为Hi Mesh ID;所述Hi Mesh ID至少包括:Himesh标识、设备类型和设备标识ID;其中,所述Himesh标识用于指示所述智能家居设备是否支持Mesh网络,所述设备类型用于指示所述智能家居设备的设备类型是家居设备,所述设备ID用于唯一标识所述智能家居设备。
- 根据权利要求4所述的方法,其特征在于,所述电子设备中预置有所述电子设备的Hi Mesh ID;在所述电子设备获取至少一个智能家居设备的设备发现ID之前,所述方法还包括:所述电子设备广播第一消息,所述第一消息中携带有所述电子设备的Hi mesh ID;所述电子设备从所述至少一个智能家居设备接收响应消息,从每一个智能家居设备接收的响应消息中携带有对应智能家居设备的Hi Mesh ID;所述电子设备根据接收到的响应消息中携带的Hi mesh ID,确定所述至少一个智能家居设备。
- 根据权利要求5所述的方法,其特征在于,所述第一消息为mesh probe request消息。
- 根据权利要求4所述的方法,其特征在于,所述电子设备中预置有所述电子设备的Hi Mesh ID;在所述电子设备获取至少一个智能家居设备的设备发现ID之前,所述方法还包括:所述电子设备监听广播消息,所述电子设备监听到的每一个所述广播消息中携带有对应设备的Hi mesh ID;所述电子设备根据监听到的广播消息中携带的Hi mesh ID,确定所述至少一个智能家居设备。
- 根据权利要求5或6所述的方法,其特征在于,所述电子设备根据接收到的响应消息中携带的Hi mesh ID,确定所述至少一个智能家居设备,包括:所述电子设备根据接收到的响应消息中携带的Hi mesh ID,确定至少两个未与所 述电子设备建立Mesh连接的智能家居设备;所述电子设备接收用户对所述至少两个未与所述电子设备建立Mesh连接的智能家居设备中所述至少一个智能家居设备的选择操作,确定所述至少一个智能家居设备。
- 根据权利要求7所述的方法,其特征在于,所述电子设备根据监听到的广播消息中携带的Hi mesh ID,确定所述至少一个智能家居设备,包括:所述电子设备根据监听到的广播消息中携带的Hi mesh ID,确定至少两个未与所述电子设备建立Mesh连接的智能家居设备;所述电子设备接收用户对所述至少两个未与所述电子设备建立Mesh连接的智能家居设备中所述至少一个智能家居设备的选择操作,确定所述至少一个智能家居设备。
- 根据权利要求1-9中任一项所述的方法,其特征在于,所述电子设备根据所述至少一个智能家居设备的设备发现ID,与所述至少一个智能家居设备建立Mesh连接,包括:所述电子设备向所述至少一个智能家居设备发送第二消息,所述第二消息用于请求与每个所述智能家居设备建立Mesh连接;所述电子设备从对应所述智能家居设备接收连接响应消息;所述电子设备根据接收到的每一个连接响应消息,与对应智能家居设备建立Mesh连接。
- 根据权利要求10所述的方法,其特征在于,所述第二消息为mesh peer open连接请求消息。
- 根据权利要求1-11任一项所述的方法,其特征在于,在所述电子设备通过所述Mesh连接,向所述至少一个智能家居设备发送配置信息之后,所述方法还包括:所述电子设备断开与所述至少一个智能家居设备的Mesh连接。
- 根据权利要求1-12任一项所述的方法,其特征在于,所述电子设备中安装有智能家居应用APP;所述电子设备响应于用户在所述智能家居APP的界面上的第一操作,获取所述至少一个智能家居设备的设备发现ID;所述电子设备响应于用户在所述智能家居APP的界面上的第二操作,根据所述至少一个智能家居设备的设备发现ID,与所述至少一个智能家居设备建立Mesh连接;所述电子设备响应于用户在所述智能家居APP的界面上的第三操作,通过所述Mesh连接,向所述至少一个智能家居设备发送配置信息。
- 一种智能家居设备的接入方法,其特征在于,应用于智能家居设备,所述方法包括:所述智能家居设备向电子设备发送所述智能家居设备的设备发现标识ID,所述设备发现ID用于唯一标识所述智能家居设备;所述设备发现ID用于所述电子设备与所述智能家居设备建立Mesh连接;所述智能家居设备从所述电子设备接收Mesh连接建立请求消息;所述智能家居设备与所述电子设备建立Mesh连接;所述智能家居设备通过建立的所述Mesh连接,从所述电子设备接收配置信息,所述配置信息用于接入所述电子设备所接入的无线通信网络。
- 根据权利要求14所述的方法,其特征在于,所述无线通信网络是无线保真WiFi网络;所述配置信息包括所述无线通信网络的服务集标识SSID、WiFi密钥和设备注册码。
- 根据权利要求14或15所述的方法,其特征在于,所述设备发现ID为Hi Mesh ID;所述Hi Mesh ID至少包括:Himesh标识、设备类型和设备标识ID;其中,所述Himesh标识用于指示所述智能家居设备是否支持Mesh网络,所述设备类型用于指示所述智能家居设备的设备类型是家居设备,所述设备ID用于唯一标识所述智能家居设备。
- 根据权利要求16所述的方法,其特征在于,所述智能家居设备中预置有所述智能家居设备的Hi Mesh ID;在所述智能家居设备向所述电子设备发送所述智能家居设备的设备发现标识ID之前,所述方法还包括:所述智能家居设备从所述电子设备接收第一消息,所述第一消息中携带有所述电子设备的Hi mesh ID;所述智能家居设备根据所述智能家居设备的Hi mesh ID,确定是否向所述电子设备发送所述智能家居设备的Hi mesh ID;所述智能家居设备向所述电子设备发送所述智能家居设备的设备发现标识ID,包括:所述智能家居设备向所述电子设备发送响应消息,所述响应消息中携带有所述智能家居设备的设备发现标识ID。
- 根据权利要求16所述的方法,其特征在于,所述智能家居设备中预置有所述智能家居设备的Hi Mesh ID;所述智能家居设备向所述电子设备发送所述智能家居设备的设备发现标识ID,包括:所述智能家居设备发送广播消息,所述广播消息中携带有所述智能家居设备的Hi mesh ID。
- 一种电子设备,其特征在于,所述电子设备包括:存储器,用于存储计算机程序代码,所述计算机程序代码包括指令;射频电路,用于进行无线电信号的发送和接收;处理器,用于执行所述指令实现如权利要求1-13任一项所述的智能家居设备的接入方法。
- 一种电子设备,其特征在于,所述电子设备用于实现如权利要求1-13任一项所述的智能家居设备的接入方法,所述电子设备包括:接收单元,用于获取至少一个智能家居设备的设备发现标识ID,所述设备发现ID用于唯一标识对应的智能家居设备;连接建立单元,用于根据所述至少一个智能家居设备的设备发现ID,与所述至少一个智能家居设备建立Mesh连接;发送单元,用于通过建立的所述Mesh连接,向所述至少一个智能家居设备发送配置信息,所述配置信息用于接入所述电子设备所接入的无线通信网络。
- 一种智能家居设备,其特征在于,所述智能家居设备包括:存储器,用于存储计算机程序代码,所述计算机程序代码包括指令;射频电路,用于进行无线电信号的发送和接收;处理器,用于执行所述指令实现如权利要求14-18任一项所述的智能家居设备的接入方法。
- 一种智能家居设备,其特征在于,所述智能家居设备用于实现如权利要求1-13任一项所述的智能家居设备的接入方法,所述智能家居设备包括:发送单元,用于向电子设备发送所述智能家居设备的设备发现标识ID,所述设备发现ID用于唯一标识所述智能家居设备;所述设备发现ID用于所述电子设备与所述智能家居设备建立Mesh连接;接收单元,用于从所述电子设备接收Mesh连接建立请求消息;连接建立单元,用于与所述电子设备建立Mesh连接;所述接收单元还用于,通过建立的所述Mesh连接,从所述电子设备接收配置信息,所述配置信息用于接入所述电子设备所接入的无线通信网络。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机执行指令,所述计算机执行指令被处理电路执行时实现如权利要求1-13或者权利要求14-18任一项所述的智能家居设备的接入方法。
- 一种芯片系统,其特征在于,所述芯片系统包括处理器、存储器,所述存储器中存储有指令;所述指令被所述处理器执行时,实现如权利要求1-13或者权利要求14-18任一项所述的智能家居设备的接入方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910523678.0A CN110320811B (zh) | 2019-06-17 | 2019-06-17 | 一种智能家居设备的接入方法及一种电子设备 |
CN201910523678.0 | 2019-06-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020253695A1 true WO2020253695A1 (zh) | 2020-12-24 |
Family
ID=68119692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/096457 WO2020253695A1 (zh) | 2019-06-17 | 2020-06-17 | 一种智能家居设备的接入方法及一种电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110320811B (zh) |
WO (1) | WO2020253695A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113727462A (zh) * | 2021-08-25 | 2021-11-30 | 北京小米移动软件有限公司 | 无线连接建立方法及装置、电子设备、存储介质 |
CN114189402A (zh) * | 2021-11-29 | 2022-03-15 | 珠海格力电器股份有限公司 | 网络切换方法、装置、设备及存储介质 |
CN115150217A (zh) * | 2022-06-30 | 2022-10-04 | 青岛海信移动通信技术股份有限公司 | 智能家居设备的配网方法、装置及设备 |
CN115524983A (zh) * | 2021-07-02 | 2022-12-27 | 青岛海尔智能家电科技有限公司 | 用于智能开关的组网方法、上位机、智能开关、存储介质 |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110320811B (zh) * | 2019-06-17 | 2021-12-14 | 华为技术有限公司 | 一种智能家居设备的接入方法及一种电子设备 |
CN110831112B (zh) * | 2019-11-07 | 2022-05-03 | 深圳市欧瑞博科技股份有限公司 | 网络连接方法、智能家居设备、智能网关及电子设备 |
CN110831005B (zh) * | 2019-11-11 | 2023-07-11 | 深圳创维数字技术有限公司 | 一种Mesh网的设备添加方法、网关设备及存储介质 |
CN111010693B (zh) * | 2019-11-25 | 2023-10-03 | 华为技术有限公司 | 一种提供无线保真网络接入服务的方法及电子设备 |
CN113242550A (zh) * | 2020-01-22 | 2021-08-10 | 阿里巴巴集团控股有限公司 | 配网方法、装置、设备及存储介质 |
CN111580401B (zh) * | 2020-05-25 | 2021-06-22 | 厦门大学 | 一种基于vr技术的半实物兼容性智能家居控制系统 |
CN113756044A (zh) * | 2020-06-04 | 2021-12-07 | 青岛海尔洗衣机有限公司 | 洗涤提醒方法及装置 |
CN112153721B (zh) * | 2020-08-05 | 2021-08-20 | 华为技术有限公司 | 一种无线路由设备接入方法及无线路由设备 |
CN114143129B (zh) * | 2020-08-12 | 2023-05-23 | 深圳绿米联创科技有限公司 | 网关批量入网方法、装置、设备及存储介质 |
CN112286147B (zh) * | 2020-09-17 | 2021-08-20 | 华为技术有限公司 | 一种家居设备的控制方法及设备 |
CN114285737B (zh) * | 2020-09-18 | 2023-09-22 | 华为技术有限公司 | 配置设备的方法及设备 |
CN114615660B (zh) * | 2020-12-04 | 2024-10-18 | 华为技术有限公司 | 接入方法、系统及电子设备 |
CN112433480B (zh) * | 2020-12-23 | 2022-11-08 | 博流智能科技(南京)有限公司 | 智能家居系统及其控制方法以及设备 |
CN114697438B (zh) * | 2020-12-29 | 2023-06-27 | 华为技术有限公司 | 一种利用智能设备进行通话的方法、装置、设备及存储介质 |
CN113573254A (zh) * | 2021-07-16 | 2021-10-29 | 上海顺舟智能科技股份有限公司 | 智能家居的组网控制方法、装置、控制设备和存储介质 |
CN113747544A (zh) * | 2021-09-23 | 2021-12-03 | 兰笺(苏州)科技有限公司 | 一种用于无线通信网络的分布式定向入网方法和设备 |
CN114884760A (zh) * | 2022-03-24 | 2022-08-09 | 浙江猫精人工智能科技有限公司 | 组网方法、组网展示界面及计算机可读存储介质 |
CN117354955A (zh) * | 2022-06-27 | 2024-01-05 | 华为技术有限公司 | 网络连接方法、电子设备及存储介质 |
CN117997728A (zh) * | 2022-10-31 | 2024-05-07 | 华为技术有限公司 | 一种配置多个设备的方法、设备和系统 |
CN118215118A (zh) * | 2022-12-16 | 2024-06-18 | 华为技术有限公司 | 一种设备注册方法 |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110670A (zh) * | 2006-07-17 | 2008-01-23 | 西安电子科技大学 | 基于无线Mesh网络的密钥管理方法 |
US20080151847A1 (en) * | 2006-12-22 | 2008-06-26 | Canon Kabushiki Kaisha | Automated wireless access to peripheral devices |
CN104683994A (zh) * | 2015-03-18 | 2015-06-03 | 北京联盛德微电子有限责任公司 | 无线网络的配置方法和无线网络设备 |
CN105451300A (zh) * | 2015-11-04 | 2016-03-30 | 广东欧珀移动通信有限公司 | 一种网络连接方法及移动设备 |
US20160242107A1 (en) * | 2013-09-26 | 2016-08-18 | Lg Electronics Inc. | Apparatus and method for accessing electronic device having hot spot function |
CN106230671A (zh) * | 2016-08-01 | 2016-12-14 | 珠海格力电器股份有限公司 | 一种智能家居的控制方法、装置及终端 |
US20170180433A1 (en) * | 2015-12-18 | 2017-06-22 | Samsung Electronics Co., Ltd. | Methods and systems for transferring hotspot session |
CN107770007A (zh) * | 2017-09-20 | 2018-03-06 | 广东美的制冷设备有限公司 | 家电设备的配网方法、装置、系统及计算机可读存储介质 |
CN108199905A (zh) * | 2018-02-01 | 2018-06-22 | 乐鑫信息科技(上海)有限公司 | Mesh网络及其mesh设备和配网方法 |
CN110320811A (zh) * | 2019-06-17 | 2019-10-11 | 华为技术有限公司 | 一种智能家居设备的接入方法及一种电子设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333914B (zh) * | 2013-07-22 | 2019-05-07 | 新华三技术有限公司 | 一种Mesh链路建立方法和设备 |
US9392525B2 (en) * | 2014-05-16 | 2016-07-12 | Qualcomm Incorporated | Establishing reliable routes without expensive mesh peering |
US9648548B1 (en) * | 2015-01-02 | 2017-05-09 | Sprint Spectrum L.P. | WiFi mesh configuration |
CN109828544A (zh) * | 2019-02-15 | 2019-05-31 | 广州视声智能科技有限公司 | 一种基于蓝牙mesh的智能家居控制系统及其配置方法 |
CN110392445B (zh) * | 2019-07-17 | 2022-10-28 | 青岛海尔科技有限公司 | 设备配网的方法、装置及系统 |
-
2019
- 2019-06-17 CN CN201910523678.0A patent/CN110320811B/zh active Active
-
2020
- 2020-06-17 WO PCT/CN2020/096457 patent/WO2020253695A1/zh active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110670A (zh) * | 2006-07-17 | 2008-01-23 | 西安电子科技大学 | 基于无线Mesh网络的密钥管理方法 |
US20080151847A1 (en) * | 2006-12-22 | 2008-06-26 | Canon Kabushiki Kaisha | Automated wireless access to peripheral devices |
US20160242107A1 (en) * | 2013-09-26 | 2016-08-18 | Lg Electronics Inc. | Apparatus and method for accessing electronic device having hot spot function |
CN104683994A (zh) * | 2015-03-18 | 2015-06-03 | 北京联盛德微电子有限责任公司 | 无线网络的配置方法和无线网络设备 |
CN105451300A (zh) * | 2015-11-04 | 2016-03-30 | 广东欧珀移动通信有限公司 | 一种网络连接方法及移动设备 |
US20170180433A1 (en) * | 2015-12-18 | 2017-06-22 | Samsung Electronics Co., Ltd. | Methods and systems for transferring hotspot session |
CN106230671A (zh) * | 2016-08-01 | 2016-12-14 | 珠海格力电器股份有限公司 | 一种智能家居的控制方法、装置及终端 |
CN107770007A (zh) * | 2017-09-20 | 2018-03-06 | 广东美的制冷设备有限公司 | 家电设备的配网方法、装置、系统及计算机可读存储介质 |
CN108199905A (zh) * | 2018-02-01 | 2018-06-22 | 乐鑫信息科技(上海)有限公司 | Mesh网络及其mesh设备和配网方法 |
CN110320811A (zh) * | 2019-06-17 | 2019-10-11 | 华为技术有限公司 | 一种智能家居设备的接入方法及一种电子设备 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115524983A (zh) * | 2021-07-02 | 2022-12-27 | 青岛海尔智能家电科技有限公司 | 用于智能开关的组网方法、上位机、智能开关、存储介质 |
CN113727462A (zh) * | 2021-08-25 | 2021-11-30 | 北京小米移动软件有限公司 | 无线连接建立方法及装置、电子设备、存储介质 |
CN114189402A (zh) * | 2021-11-29 | 2022-03-15 | 珠海格力电器股份有限公司 | 网络切换方法、装置、设备及存储介质 |
CN114189402B (zh) * | 2021-11-29 | 2023-06-16 | 珠海格力电器股份有限公司 | 网络切换方法、装置、设备及存储介质 |
CN115150217A (zh) * | 2022-06-30 | 2022-10-04 | 青岛海信移动通信技术股份有限公司 | 智能家居设备的配网方法、装置及设备 |
Also Published As
Publication number | Publication date |
---|---|
CN110320811B (zh) | 2021-12-14 |
CN110320811A (zh) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020253695A1 (zh) | 一种智能家居设备的接入方法及一种电子设备 | |
CN115209194B (zh) | 一种通过遥控器实现一碰投屏的终端设备、方法以及系统 | |
WO2021036835A1 (zh) | 一种蓝牙搜索方法、系统及相关装置 | |
US10506504B2 (en) | Discovery method and an electronic device thereof | |
WO2021082829A1 (zh) | 蓝牙连接方法及相关装置 | |
US11825539B2 (en) | Bluetooth connection method and electronic device | |
WO2021052178A1 (zh) | 一种Wi-Fi连接方法及设备 | |
WO2020151385A1 (zh) | 一种控制智能家居设备连网的方法及设备 | |
WO2021043045A1 (zh) | 一种网络配置信息的配置方法及设备 | |
WO2021043219A1 (zh) | 一种蓝牙回连方法及相关装置 | |
WO2021104114A1 (zh) | 一种提供无线保真WiFi网络接入服务的方法及电子设备 | |
CN114499587B (zh) | 音频同步的通信方法、系统、无线耳机、终端及存储介质 | |
WO2021043198A1 (zh) | 一种蓝牙配对方法及相关装置 | |
WO2021027623A1 (zh) | 一种设备能力发现方法及p2p设备 | |
US20230209438A1 (en) | Data Transmission Method and Electronic Device | |
WO2021043250A1 (zh) | 一种蓝牙通信方法及相关装置 | |
WO2021027639A1 (zh) | 一种设备发现方法及p2p设备 | |
US20230337147A1 (en) | Device Configuration Method and Device | |
WO2023185593A1 (zh) | 设备登录方法、电子设备及系统 | |
EP4362507A1 (en) | Communication system and communication method | |
WO2023051204A1 (zh) | 跨设备连接方法、电子设备及存储介质 | |
US20240147329A1 (en) | Wi-fi access method and related device | |
WO2022095581A1 (zh) | 数据传输方法及终端设备 | |
WO2022194105A1 (zh) | 一种设备连接方法、终端设备和分布式系统 | |
CN118368322A (zh) | 信道选择方法和电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20826305 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20826305 Country of ref document: EP Kind code of ref document: A1 |