CN113556255A - Method and device for configuring smart home - Google Patents

Method and device for configuring smart home Download PDF

Info

Publication number
CN113556255A
CN113556255A CN202110881163.5A CN202110881163A CN113556255A CN 113556255 A CN113556255 A CN 113556255A CN 202110881163 A CN202110881163 A CN 202110881163A CN 113556255 A CN113556255 A CN 113556255A
Authority
CN
China
Prior art keywords
equipment
gateway
home
information
activation information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110881163.5A
Other languages
Chinese (zh)
Inventor
李书慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Shuke Haiyi Information Technology Co Ltd
Original Assignee
Jingdong Shuke Haiyi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Shuke Haiyi Information Technology Co Ltd filed Critical Jingdong Shuke Haiyi Information Technology Co Ltd
Priority to CN202110881163.5A priority Critical patent/CN113556255A/en
Publication of CN113556255A publication Critical patent/CN113556255A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the disclosure discloses a method and a device for configuring smart home. The specific implementation mode of the method comprises the following steps: acquiring a device activation information set downloaded from a cloud in advance; acquiring gateway equipment information of gateway equipment in a local area network, selecting gateway activation information from an equipment activation information set, and sending the gateway activation information to the gateway equipment for storage; acquiring home equipment information of home equipment in a local area network, selecting home activation information from an equipment activation information set, and sending the home activation information to gateway equipment for storage; storing a first corresponding relation between gateway activation information and gateway equipment information and a second corresponding relation between home furnishing activation information and home furnishing equipment information; and in response to detecting connection to the internet, sending the first corresponding relation and the second corresponding relation to the cloud. According to the implementation mode, the interaction times of the terminal equipment and the cloud are reduced, the dependence on a network environment is avoided, and the speed and the convenience for configuring the smart home are improved.

Description

Method and device for configuring smart home
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for configuring smart home.
Background
The smart home (home automation) is characterized in that a home is used as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, an efficient management system of home facilities and home schedule affairs is constructed, home safety, convenience, comfort and artistry are improved, and an environment-friendly and energy-saving living environment is realized.
All functions of family intellectualization are integrated by configuring the intelligent home, so that the intelligent home is built on a unified platform. Firstly, realizing data interaction between a home internal network and an external network; secondly, it is also ensured that it is possible to identify that the instructions transmitted via the network are legitimate instructions, and not an illegal intrusion by a "hacker".
The existing technology for configuring the smart home strongly depends on the network environment, but most of the existing technologies are new building boards, no WIFI exists, and the coverage of the cellular network is not good in many times. The construction progress of delivery personnel is seriously influenced, and a long time is usually delayed for solving the network problem.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for configuring smart home.
In a first aspect, an embodiment of the present disclosure provides a method for configuring a smart home, which is applied to a terminal device, and includes: acquiring a device activation information set downloaded from a cloud in advance; acquiring gateway equipment information of gateway equipment in a local area network, selecting gateway activation information from the equipment activation information set, and sending the gateway activation information to the gateway equipment for storage; acquiring home equipment information of home equipment in a local area network, selecting home activation information from the equipment activation information set, and sending the home activation information to gateway equipment for storage; storing a first corresponding relation between the gateway activation information and the gateway equipment information and a second corresponding relation between the home furnishing activation information and the home furnishing equipment information; and in response to detecting connection to the Internet, sending the first corresponding relation and the second corresponding relation to a cloud.
In some embodiments, obtaining gateway device information of a gateway device in a local area network includes: transmitting a first broadcast message for searching a gateway device within a local area network; and receiving gateway equipment information returned by the gateway equipment.
In some embodiments, the obtaining home device information of the home device in the local area network includes: sending a request for searching for the home equipment to the gateway equipment according to the gateway equipment information in the local area network, so that the gateway equipment sends a second broadcast message for searching for the home equipment; and receiving home equipment information of at least one home equipment forwarded by the gateway equipment, wherein the home equipment information comprises a hardware identifier and a type.
In some embodiments, the method further comprises: acquiring position information of each household device; and adding the position information of each household device into the household device information of each household device.
In some embodiments, before the sending the first correspondence and the second correspondence to the cloud, the method further comprises: optionally selecting one household device as a target household device, and executing the following test steps: sending an instruction for testing target household equipment to gateway equipment according to the gateway activation information, wherein the instruction comprises the household activation information; if the target household equipment can receive the instruction, confirming that the first corresponding relation is correctly bound, and selecting the household equipment which is not tested as the target household equipment to execute the testing step again; if the target household equipment cannot receive the instruction, modifying the first corresponding relation and/or the second corresponding relation, and re-executing the testing step; and if all the household equipment can receive the instruction, confirming that the second corresponding relation is correctly bound.
In a second aspect, an embodiment of the present disclosure provides a method for configuring a smart home, which is applied to a cloud, and includes: pre-distributing equipment activation information sets according to intelligent home planning; sending the equipment activation information set in response to receiving a downloading request from a terminal equipment; and finishing the binding of the gateway equipment and the household equipment in response to the receiving of a binding request from the terminal equipment, wherein the binding request comprises a first corresponding relation between the gateway activation information and the gateway equipment information and a second corresponding relation between the household activation information and the household equipment information.
In a third aspect, an embodiment of the present disclosure provides an apparatus for configuring a smart home, which is applied to a terminal device, and includes: the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is configured to acquire a device activation information set which is downloaded from a cloud in advance; the first distribution unit is configured to acquire gateway equipment information of gateway equipment in a local area network, select gateway activation information from the equipment activation information set and send the gateway activation information to the gateway equipment for storage; the second distribution unit is configured to acquire home equipment information of home equipment in a local area network, select home activation information from the equipment activation information set and send the home activation information to the gateway equipment for storage; the storage unit is configured to store a first corresponding relation between the gateway activation information and the gateway equipment information and a second corresponding relation between the home furnishing activation information and the home furnishing equipment information; a sending unit configured to send the first correspondence and the second correspondence to a cloud in response to detecting connection to the internet.
In a fourth aspect, an embodiment of the present disclosure provides a device for configuring a smart home, which is applied to a cloud, and includes: the distribution unit is configured to pre-distribute the equipment activation information set according to the intelligent home planning; a transmitting unit configured to transmit the device activation information set in response to receiving a download request from a terminal device; the binding unit is configured to respond to a binding request received from the terminal device and complete binding of the gateway device and the household device, wherein the binding request comprises a first corresponding relation between gateway activation information and gateway device information and a second corresponding relation between the household activation information and the household device information.
In a fifth aspect, an embodiment of the present disclosure provides an electronic device configured with a smart home, including: one or more processors; a storage device having one or more computer programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the method of the first or second aspect.
In a sixth aspect, embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of the first or second aspect.
According to the method and the device for configuring the smart home, the device activation information is downloaded from the cloud in batch under the condition that the network state is good. And then configuring the intelligent home in the local area network, and uploading the equipment binding information when the network state is good. Therefore, the embodiment of the disclosure reduces the interaction times with the cloud, completely adopts the local area network in the delivery construction process, does not depend on the network state, and improves the construction efficiency.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram of one embodiment of a method of configuring smart homes according to the present disclosure;
fig. 3 is a flow chart of yet another embodiment of a method of configuring smart homes in accordance with the present disclosure;
fig. 4 is a schematic diagram of an application scenario of a method of configuring smart homes according to the present disclosure;
FIG. 5 is a schematic structural diagram of one embodiment of an apparatus for configuring smart homes according to the present disclosure;
fig. 6 is a schematic structural diagram of another embodiment of an apparatus for configuring smart homes according to the present disclosure;
FIG. 7 is a schematic block diagram of a computer system suitable for use with an electronic device implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the method of configuring a smart home or the apparatus for configuring a smart home of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include a cloud 101, a terminal device 102, an external network 103, a local area network 104, a gateway device 105, and a home device 106. The extranet 103 is used to provide a communication link between the terminal device 102 and the cloud 101. The external network 103 may include various connection types, such as wired or wireless communication links. The local area network 104 is used to provide a communication link between the terminal device 102 and the gateway device 105. The local area network 104 may include various connection types, such as wired or wireless communication links. Gateway device 105 and home devices 106 may also be communicatively connected through a predetermined communication technology, for example, zigbee.
A user may use the terminal device 102 to interact with the cloud 101 through the extranet 103 to receive or send messages and the like. Various communication client applications, such as a smart home application, a web browser application, a shopping application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like, may be installed on the terminal device 101.
The cloud 101 may be a server providing various services, such as a background configuration server providing support for a smart home configuration interface displayed on the terminal device 102. The background configuration server may analyze and perform other processing on the received data such as the configuration request, feed back a processing result (for example, device activation information) to the terminal device, and bind the gateway device information and the home device information uploaded by the terminal device with the activation information, respectively.
It should be noted that the cloud 101 may be an intelligent cloud computing server or an intelligent cloud host with an artificial intelligence technology.
It should be noted that the method for configuring the smart home provided by the embodiment of the present disclosure is generally executed by a terminal device, and accordingly, a device for configuring the smart home is generally disposed in the terminal device.
It should be understood that the numbers of terminal devices, cloud terminals, gateway devices, and home devices in fig. 1 are merely illustrative. According to the implementation requirement, any number of terminal devices, cloud terminals, gateway devices and home devices can be provided.
With continued reference to fig. 2, a flow 200 of an embodiment of applying the method for configuring smart homes according to the present disclosure to a terminal device is shown. The method for configuring the smart home comprises the following steps:
step 201, acquiring a device activation information set downloaded from a cloud in advance.
In this embodiment, an execution subject (for example, the terminal device shown in fig. 1) of the method for configuring the smart home may download the device activation information set from a cloud providing the smart home configuration information in a wired connection manner or a wireless connection manner in advance. The cloud may receive a plan of home equipment provided by the developer (e.g., 1 gateway, 3 air conditioner switches, 6 light switches, 2 water heater switches, etc. for a home with room number x 01). The cloud end can distribute device activation information to the home devices in advance, and the device activation information is the identity of the home devices and the gateway devices on the intelligent home platform. The device activation information may be a code in the form of a string of characters and may also be named according to room number, location, function, e.g., number 1589ACD stands for 18 units 301-bedroom-air conditioner. If the location of the household equipment is not clear, the numbers can be substituted, for example, 18 units 4 301-air conditioners 2.
Optionally, the cloud may also allocate device activation information according to the number of the home devices exceeding the plan of the home devices, so as to deal with a situation that the home devices are temporarily added on site.
The device activation information set may be downloaded in the case that the network connection status of the extranet is good. When workers enter the building for construction, the configuration can be carried out by directly using the pre-downloaded equipment activation information set without connecting with an external network.
Step 202, obtaining gateway device information of the gateway device in the local area network, selecting gateway activation information from the device activation information set, and sending the selected gateway activation information to the gateway device for storage.
In this embodiment, if the cloud stores gateway device information (including a room number and a hardware identifier) of each home, the cloud downloads the gateway device information together when downloading the device activation information set. The terminal equipment can find the gateway equipment information of the corresponding family in a room number inquiring mode. Gateway device information is available for addressing.
The terminal device may then select gateway activation information from the set of device activation information to assign to the gateway device. And then sending the distributed gateway activation information to the gateway equipment for storage. Gateway activation information that is not assigned to other devices may be randomly selected. The assigned device activation information may not be reassigned to other devices.
In some optional implementation manners of this embodiment, the obtaining, in the local area network, gateway device information of the gateway device includes: transmitting a first broadcast message for searching a gateway device within a local area network; and receiving gateway equipment information returned by the gateway equipment. After the terminal device is placed in a designated room, a local area network of the room may be accessed by a wired manner or a wireless manner, and then a first broadcast message for searching for a gateway device is transmitted. The gateway device returns a response message after receiving the first broadcast message, where the response message includes gateway device information (e.g., a hardware identifier).
And 203, acquiring the home equipment information of the home equipment in the local area network, selecting the home activation information from the equipment activation information set, and sending the home activation information to the gateway equipment for storage.
In this embodiment, if the cloud stores the home device information (including the room number and the hardware identifier) of each home, the cloud downloads the device activation information set together when downloading the device activation information set. The terminal equipment can find the home equipment information of the corresponding family in a room number inquiring mode. The terminal device can then select home activation information from the device activation information set to distribute to the home device. And then sending the distributed home activation information to home equipment for storage. Home activation information that is not assigned to other devices may be randomly selected. The assigned device activation information may not be reassigned to other devices.
If a plurality of household devices need to be configured, household activation information needs to be distributed to each household device for multiple times. And sending the home activation information to the gateway equipment for storage after each home activation information is distributed. When the method is used for controlling the household equipment subsequently, the household equipment can be instructed to control through the household activation information addressing.
In some optional implementation manners of this embodiment, acquiring the home device information of the home device in the local area network includes: sending a request for searching for the home equipment to the gateway equipment according to the gateway equipment information in the local area network, so that the gateway equipment sends a second broadcast message for searching for the home equipment; and receiving home equipment information of at least one home equipment forwarded by the gateway equipment, wherein the home equipment information comprises a hardware identifier and a type. After the gateway device information is acquired, a request for searching for the home devices may be sent to the gateway device. And the gateway equipment initiates a broadcast message to the household equipment. The home devices may return a response message to the gateway device, where the response message includes home device information. The hardware identification may be used for addressing. The types are used to distinguish home functions, such as air conditioning, switching, etc.
In some optional implementations of this embodiment, the method further includes: acquiring position information of each household device; and adding the position information of each household device into the household device information of each household device.
In actual construction, separate search is required for the same type of home equipment. For example, there are 2 switches, and a network of one switch can be turned on first to be searched by the gateway, and binding is performed after the position information (kitchen) is added, and then a network of one switch is turned on to continue searching, and binding is performed after the position information (toilet) is added. In this way it is possible to distinguish between different areas of switch control. The position information of the household equipment can be manually input. If the home equipment has the positioning function, the home equipment can also add the position information into the returned home equipment information.
And 204, storing the first corresponding relation between the gateway activation information and the gateway equipment information and the second corresponding relation between the home furnishing activation information and the home furnishing equipment information.
In this embodiment, the gateway activation information and the gateway device information are bound, and the home activation information and the home device information are also bound. If the household equipment is provided with a plurality of pieces of household equipment, the binding is repeated for a plurality of times.
In some optional implementation manners of this embodiment, before the sending the first corresponding relationship and the second corresponding relationship to the cloud, the method further includes: optionally selecting one household device as a target household device, and executing the following test steps: sending an instruction for testing target household equipment to gateway equipment according to the gateway activation information, wherein the instruction comprises the household activation information; if the target household equipment can receive the instruction, confirming that the first corresponding relation is correctly bound, and selecting the household equipment which is not tested as the target household equipment to execute the testing step again; if the target household equipment cannot receive the instruction, modifying the first corresponding relation and/or the second corresponding relation, and re-executing the testing step; and if all the household equipment can receive the instruction, confirming that the second corresponding relation is correctly bound.
The terminal device needs to be uploaded to the cloud after being locally bound, but in order to ensure accuracy, whether the binding is correct or not needs to be checked in advance. And testing the household equipment one by one through some test instructions, wherein the test object is the target household equipment. If the target home device does not receive the control command, it may be that the gateway activation information is wrong, or that the target home device activation information is wrong. If the gateway does not receive the instruction, the gateway device binding error is indicated, and the corresponding relation between the gateway activation information and the gateway device information needs to be modified. If the gateway receives the instruction and the target household equipment does not receive the instruction, the activation information of the target household equipment is wrong, the target household equipment needs to be readjusted and then tested, and binding is carried out again until the activation information of the instruction is successfully received through testing.
Step 205, in response to detecting that the connection to the internet is detected, sending the first corresponding relationship and the second corresponding relationship to the cloud.
In this embodiment, after the terminal device verifies the binding relationship, if it is detected that the external network is accessed, the first corresponding relationship and the second corresponding relationship are uniformly sent to the cloud.
According to the method provided by the embodiment of the disclosure, the number of interaction with the cloud can be reduced, the local area network is completely adopted in the delivery construction process, and the delivery construction efficiency is improved.
With further reference to fig. 3, a flow 300 of an embodiment of a method for configuring a smart home applied to a cloud is shown. The process 300 of the method for configuring the smart home includes the following steps:
and 301, pre-distributing equipment activation information sets according to the intelligent home planning.
In this embodiment, an execution subject (for example, a cloud terminal shown in fig. 1) of the method for configuring the smart home may obtain a smart home plan, specifically which rooms need to be configured, which home devices are in each room, and the like, in advance through a wired connection manner or a wireless connection manner by a developer. The cloud end can distribute device activation information for the home devices in advance, and the device activation information is the identity of the home devices and the gateway devices on the intelligent home platform. The device activation information may be a string code and may also be named according to room number, location, function, e.g., number 1589ACD stands for 18 units 301-bedroom-air conditioner. If the location is not clear, a number may be substituted, for example, 18 units 4 301 air conditioners 2.
Some redundant device activation information may be allocated as a backup.
Step 302, in response to receiving a download request from a terminal device, sending a device activation information set.
In this embodiment, the terminal device sends a download request requesting the download device to activate the information set. The cloud can authenticate the terminal equipment and then send the equipment activation information set in the authority of the terminal equipment. The identity recognition can be carried out aiming at constructors, for example, through information such as human faces and fingerprints. After the identity of the constructor is determined, the authority of the constructor can be determined, for example, only 1-4 buildings in the A cell can be configured, and only the equipment activation information set of 1-4 buildings in the A cell is sent. And the authority can be set according to time, authentication is carried out every day, the equipment activation information set distributed on the same day needs to upload a binding result on the same day, and the binding result is invalidated if the equipment activation information set is expired. In order to ensure the construction quality, only part of equipment activation information sets are distributed every day.
Step 303, in response to receiving the binding request from the terminal device, completing the binding between the gateway device and the home device.
In this embodiment, the binding request includes a first corresponding relationship between the gateway activation information and the gateway device information, and a second corresponding relationship between the home activation information and the home device information. In the step, the binding information stored in the terminal equipment is registered on the cloud platform. And later, the household equipment is controlled by sending an instruction through the activation information. Because the gateway stores the activation information of the household equipment, the corresponding household equipment can be found through the activation information, and even if the position of the household equipment is changed in a room, the binding relationship change is not needed to be carried out at the cloud end as long as the gateway is not changed.
With continued reference to fig. 4, fig. 4 is a schematic view of an application scenario of the method for configuring smart home according to the embodiment. In the application scenario of fig. 4, a constructor downloads configuration information from a cloud in an extranet through an engineering APP installed by a terminal device, where the configuration information includes a set of device activation information (feedId) pre-allocated by the cloud. The configuration information also includes information such as a family name, a room name, and a device name. And then, the constructor enters a room to work, the network connection is not good at the moment, and the local area network working mode is entered. The terminal device first sends a first broadcast message for searching the gateway device. And the gateway equipment returns the gateway equipment information after receiving the broadcast message. And the terminal equipment selects gateway activation information (feedId) from the equipment activation information set to the gateway equipment and writes the gateway equipment. And the gateway equipment receives the gateway activation information, stores the gateway activation information in the local and returns a success message. And then, circularly executing the step of adding the sub-equipment (household equipment). The constructor can power on the sub-equipment to be added to enable the sub-equipment to enter a distribution network state. And then, initiating a request for searching the sub-equipment through the engineering APP, wherein the gateway can initiate a second broadcast message, and the sub-equipment can return the information of the sub-equipment to the gateway after receiving the broadcast message. The gateway forwards the data to the terminal equipment. And the terminal equipment selects home furnishing activation information (feedId) from the equipment activation information set to the sub-equipment and writes the home furnishing activation information into the gateway equipment, and the gateway equipment receives the home furnishing activation information, stores the home furnishing activation information in the local and returns a success message. After all the sub-devices are added, the terminal device sends a test instruction again to verify whether the binding is correct. For example, an opening instruction with home activation information of "12345678" is sent, whether a main lamp in a living room is turned on or not is checked, and if the main lamp in the living room is not turned on, the binding fails, and the binding needs to be re-bound. And after all the sub-equipment are verified and bound correctly, the constructor can leave the building and find a good signal place to upload the bound configuration information to the cloud. And after the cloud confirms the binding information, the whole configuration process is completed, and an account for controlling the household equipment is set and handed over to the consignor.
With further reference to fig. 5, as an implementation of the method shown in the above diagrams, the present disclosure provides an embodiment of applying a device for configuring a smart home to a terminal device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 2, and the device may be applied to various electronic devices in particular.
As shown in fig. 5, the apparatus 500 for configuring smart home in this embodiment includes: an acquisition unit 501, a first allocation unit 502, a second allocation unit 503, a storage unit 504, and a transmission unit 505. The acquiring unit 501 is configured to acquire a device activation information set downloaded from a cloud in advance; a first allocation unit 502, configured to obtain gateway device information of a gateway device in a local area network, and select gateway activation information from the device activation information set to send the gateway device for storage; the second allocating unit 503 is configured to acquire home device information of a home device in a local area network, select home activation information from the device activation information set, and send the home activation information to the gateway device for storage; a storage unit 504 configured to store a first corresponding relationship between the gateway activation information and the gateway device information and a second corresponding relationship between the home activation information and the home device information; a sending unit 505 configured to send the first corresponding relationship and the second corresponding relationship to a cloud in response to detecting connection to the internet.
In this embodiment, the specific processes of the acquiring unit 501, the first allocating unit 502, the second allocating unit 503, the storing unit 504 and the sending unit 505 of the apparatus 500 for configuring smart homes may refer to step 201, step 202, step 203, step 204 and step 205 in the corresponding embodiment of fig. 2.
In some optional implementations of this embodiment, the first allocating unit 502 is further configured to: transmitting a first broadcast message for searching a gateway device; and receiving gateway equipment information returned by the gateway equipment.
In some optional implementations of this embodiment, the second allocating unit 503 is further configured to: sending a request for searching for the home equipment to the gateway equipment according to the gateway equipment information, so that the gateway equipment sends a second broadcast message for searching for the home equipment; and receiving home equipment information of at least one home equipment forwarded by the gateway equipment, wherein the home equipment information comprises a hardware identifier and a type.
In some optional implementations of this embodiment, the second allocating unit 503 is further configured to: acquiring position information of each household device; and adding the position information of each household device into the household device information of each household device.
In some optional implementation manners of this embodiment, the apparatus 500 further includes a detection unit, configured to select one home device as a target home device before the first corresponding relationship and the second corresponding relationship are sent to the cloud, and perform the following test steps: sending an instruction for testing target household equipment to gateway equipment according to the gateway activation information, wherein the instruction comprises the household activation information; if the target household equipment can receive the instruction, confirming that the first corresponding relation is correctly bound, and selecting the household equipment which is not tested as the target household equipment to execute the testing step again; if the target household equipment cannot receive the instruction, modifying the first corresponding relation and/or the second corresponding relation, and re-executing the testing step; and if all the household equipment can receive the instruction, confirming that the second corresponding relation is correctly bound.
With further reference to fig. 6, as an implementation of the methods shown in the above diagrams, the present disclosure provides an embodiment of an apparatus for configuring a smart home applied to a cloud, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 3, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 6, the apparatus 600 for configuring smart home of this embodiment includes: an allocation unit 601 configured to pre-allocate a set of device activation information according to a smart home plan; a sending unit 602 configured to send the device activation information set in response to receiving a download request from a terminal device; the binding unit 603 is configured to complete binding between the gateway device and the home device in response to receiving a binding request from the terminal device, where the binding request includes a first corresponding relationship between the gateway activation information and the gateway device information and a second corresponding relationship between the home activation information and the home device information.
According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
An electronic device configured with smart homes, comprising: one or more processors; a storage device having one or more computer programs stored thereon that, when executed by the one or more processors, cause the one or more processors to implement the methods of flows 200 or 300.
A computer-readable medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method of flow 200 or 300.
FIG. 7 illustrates a schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the device 700 comprises a computing unit 701, which may perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM)702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, or the like; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 701 may be a variety of general purpose and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 701 performs the various methods and processes described above, such as a method of configuring a smart home. For example, in some embodiments, the method of configuring a smart home may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 700 via ROM 702 and/or communications unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method of configuring a smart home described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured by any other suitable means (e.g., by means of firmware) to perform the method of configuring a smart home.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a server of a distributed system or a server incorporating a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology. The server may be a server of a distributed system or a server incorporating a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (10)

1. A method for configuring smart home is applied to terminal equipment and comprises the following steps:
acquiring a device activation information set downloaded from a cloud in advance;
acquiring gateway equipment information of gateway equipment in a local area network, selecting gateway activation information from the equipment activation information set, and sending the gateway activation information to the gateway equipment for storage;
acquiring home equipment information of home equipment in a local area network, selecting home activation information from the equipment activation information set, and sending the home activation information to gateway equipment for storage;
storing a first corresponding relation between the gateway activation information and the gateway equipment information and a second corresponding relation between the home furnishing activation information and the home furnishing equipment information;
and in response to detecting connection to the Internet, sending the first corresponding relation and the second corresponding relation to a cloud.
2. The method of claim 1, wherein the obtaining gateway device information of a gateway device within a local area network comprises:
transmitting a first broadcast message for searching a gateway device within a local area network;
and receiving gateway equipment information returned by the gateway equipment.
3. The method according to claim 1, wherein the acquiring home device information of the home device in the local area network includes:
sending a request for searching for the home equipment to the gateway equipment according to the gateway equipment information in the local area network, so that the gateway equipment sends a second broadcast message for searching for the home equipment;
and receiving home equipment information of at least one home equipment forwarded by the gateway equipment, wherein the home equipment information comprises a hardware identifier and a type.
4. The method of claim 3, wherein the method further comprises:
acquiring position information of each household device;
and adding the position information of each household device into the household device information of each household device.
5. The method of claim 1, wherein prior to the sending the first and second correspondences to a cloud, the method further comprises:
optionally selecting one household device as a target household device, and executing the following test steps: sending an instruction for testing target household equipment to gateway equipment in a local area network according to the gateway activation information, wherein the instruction comprises the household activation information;
if the target household equipment can receive the instruction, confirming that the first corresponding relation is correctly bound, and selecting the household equipment which is not tested as the target household equipment to execute the testing step again;
if the target household equipment cannot receive the instruction, modifying the first corresponding relation and/or the second corresponding relation, and re-executing the testing step;
and if all the household equipment can receive the instruction, confirming that the second corresponding relation is correctly bound.
6. A method for configuring smart home is applied to a cloud and comprises the following steps:
pre-distributing equipment activation information sets according to intelligent home planning;
sending the equipment activation information set in response to receiving a downloading request from a terminal equipment;
and finishing the binding of the gateway equipment and the household equipment in response to the receiving of a binding request from the terminal equipment, wherein the binding request comprises a first corresponding relation between the gateway activation information and the gateway equipment information and a second corresponding relation between the household activation information and the household equipment information.
7. The utility model provides a configuration smart home's device, is applied to terminal equipment, includes:
the device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is configured to acquire a device activation information set which is downloaded from a cloud in advance;
the first distribution unit is configured to acquire gateway equipment information of gateway equipment in a local area network, select gateway activation information from the equipment activation information set and send the gateway activation information to the gateway equipment for storage;
the second distribution unit is configured to acquire home equipment information of home equipment in a local area network, select home activation information from the equipment activation information set and send the home activation information to the gateway equipment for storage;
the storage unit is configured to store a first corresponding relation between the gateway activation information and the gateway equipment information and a second corresponding relation between the home furnishing activation information and the home furnishing equipment information;
a sending unit configured to send the first correspondence and the second correspondence to a cloud in response to detecting connection to the internet.
8. The utility model provides a device of configuration smart home, is applied to the high in the clouds, includes:
the distribution unit is configured to pre-distribute the equipment activation information set according to the intelligent home planning;
a transmitting unit configured to transmit the device activation information set in response to receiving a download request from a terminal device;
the binding unit is configured to respond to a binding request received from the terminal device and complete binding of the gateway device and the household device, wherein the binding request comprises a first corresponding relation between gateway activation information and gateway device information and a second corresponding relation between the household activation information and the household device information.
9. An electronic device configured with smart homes, comprising:
one or more processors;
a storage device having one or more computer programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
10. A computer-readable medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the method according to any one of claims 1-8.
CN202110881163.5A 2021-08-02 2021-08-02 Method and device for configuring smart home Pending CN113556255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110881163.5A CN113556255A (en) 2021-08-02 2021-08-02 Method and device for configuring smart home

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110881163.5A CN113556255A (en) 2021-08-02 2021-08-02 Method and device for configuring smart home

Publications (1)

Publication Number Publication Date
CN113556255A true CN113556255A (en) 2021-10-26

Family

ID=78105120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110881163.5A Pending CN113556255A (en) 2021-08-02 2021-08-02 Method and device for configuring smart home

Country Status (1)

Country Link
CN (1) CN113556255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302395A (en) * 2021-11-25 2022-04-08 泰康保险集团股份有限公司 Method for interacting data, portable gateway, device and computer readable medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852975A (en) * 2015-04-29 2015-08-19 北京海尔广科数字技术有限公司 Household equipment calling method and household equipment calling device
CN105093945A (en) * 2015-06-09 2015-11-25 北京京东尚科信息技术有限公司 System and method for safely controlling smart household apparatuses based on smart cloud
CN105721293A (en) * 2016-02-01 2016-06-29 四川长虹电器股份有限公司 Master gateway self-adaption competition method based on Alljoyn protocol
CN106534364A (en) * 2016-12-15 2017-03-22 新奥科技发展有限公司 Method for restoring factory settings of gateway and gateway
WO2017148082A1 (en) * 2016-02-29 2017-09-08 华为技术有限公司 Device access controlling method, and related device and system
CN107920005A (en) * 2017-11-17 2018-04-17 南京物联传感技术有限公司 A kind of intelligent terminal quickly networking installation and debugging system and method for work
CN108173724A (en) * 2017-12-26 2018-06-15 陈占辉 A kind of sharing method of the smart home device based on mobile terminal
CN109039840A (en) * 2018-08-06 2018-12-18 上海顺舟智能科技股份有限公司 Zigbee network-building method and access point gateway
EP3422235A1 (en) * 2017-06-30 2019-01-02 INTEL Corporation Device, apparatus, method and computer programs for a network gateway, server, server apparatus, server method, system, router, mobile device, vehicular gateway and cloud server
US20200015153A1 (en) * 2017-01-09 2020-01-09 Yun Ding Network Technology (Beijing) Co., Ltd. Method for smart device to access network, mobile terminal, cloud server, device, and system
CN110830336A (en) * 2019-10-30 2020-02-21 青岛海信智慧家居系统股份有限公司 WiFi equipment management method and device for smart home
CN110912789A (en) * 2019-12-27 2020-03-24 无锡青起长升智能科技有限公司 Intelligent household Internet of things communication method based on Alicloud IoT Hub platform
WO2020098755A1 (en) * 2018-11-16 2020-05-22 中兴通讯股份有限公司 Smart home control method, smart home device, and storage medium
CN111917591A (en) * 2020-08-11 2020-11-10 深圳市欧瑞博科技股份有限公司 Intelligent device networking scheme generation method and device and electronic device
WO2020228042A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Device operation method and apparatus, and gateway, electronic device and computer-readable medium
CN111970180A (en) * 2020-08-11 2020-11-20 深圳市欧瑞博科技股份有限公司 Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN112947098A (en) * 2021-02-01 2021-06-11 杭州雅观科技有限公司 Construction installation deployment method based on artificial intelligence Internet of things equipment

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852975A (en) * 2015-04-29 2015-08-19 北京海尔广科数字技术有限公司 Household equipment calling method and household equipment calling device
CN105093945A (en) * 2015-06-09 2015-11-25 北京京东尚科信息技术有限公司 System and method for safely controlling smart household apparatuses based on smart cloud
CN105721293A (en) * 2016-02-01 2016-06-29 四川长虹电器股份有限公司 Master gateway self-adaption competition method based on Alljoyn protocol
WO2017148082A1 (en) * 2016-02-29 2017-09-08 华为技术有限公司 Device access controlling method, and related device and system
CN106534364A (en) * 2016-12-15 2017-03-22 新奥科技发展有限公司 Method for restoring factory settings of gateway and gateway
US20200015153A1 (en) * 2017-01-09 2020-01-09 Yun Ding Network Technology (Beijing) Co., Ltd. Method for smart device to access network, mobile terminal, cloud server, device, and system
EP3422235A1 (en) * 2017-06-30 2019-01-02 INTEL Corporation Device, apparatus, method and computer programs for a network gateway, server, server apparatus, server method, system, router, mobile device, vehicular gateway and cloud server
CN107920005A (en) * 2017-11-17 2018-04-17 南京物联传感技术有限公司 A kind of intelligent terminal quickly networking installation and debugging system and method for work
CN108173724A (en) * 2017-12-26 2018-06-15 陈占辉 A kind of sharing method of the smart home device based on mobile terminal
CN109039840A (en) * 2018-08-06 2018-12-18 上海顺舟智能科技股份有限公司 Zigbee network-building method and access point gateway
WO2020098755A1 (en) * 2018-11-16 2020-05-22 中兴通讯股份有限公司 Smart home control method, smart home device, and storage medium
WO2020228042A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Device operation method and apparatus, and gateway, electronic device and computer-readable medium
CN110830336A (en) * 2019-10-30 2020-02-21 青岛海信智慧家居系统股份有限公司 WiFi equipment management method and device for smart home
CN110912789A (en) * 2019-12-27 2020-03-24 无锡青起长升智能科技有限公司 Intelligent household Internet of things communication method based on Alicloud IoT Hub platform
CN111917591A (en) * 2020-08-11 2020-11-10 深圳市欧瑞博科技股份有限公司 Intelligent device networking scheme generation method and device and electronic device
CN111970180A (en) * 2020-08-11 2020-11-20 深圳市欧瑞博科技股份有限公司 Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium
CN112947098A (en) * 2021-02-01 2021-06-11 杭州雅观科技有限公司 Construction installation deployment method based on artificial intelligence Internet of things equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114302395A (en) * 2021-11-25 2022-04-08 泰康保险集团股份有限公司 Method for interacting data, portable gateway, device and computer readable medium
CN114302395B (en) * 2021-11-25 2023-11-21 泰康保险集团股份有限公司 Method, portable gateway, device and computer readable medium for interacting data

Similar Documents

Publication Publication Date Title
CN112073471B (en) Control method and device of equipment, storage medium and electronic device
CN109391699B (en) Equipment network configuration method and device and server
CN106302448B (en) Remote access control method and device
JP6323786B2 (en) Server, control method and program
EP3764010A1 (en) Data sending method and apparatus, and multiple on-line system and storage medium
EP3993338A1 (en) Device binding method and apparatus, and electronic device
CN113133086A (en) Intelligent device network distribution method and device, electronic device and storage medium
CN111913402A (en) Smart home batch configuration method, device and system and electronic equipment
CN114005225B (en) Storage method and device of intelligent cabinet and pickup method and device of intelligent cabinet
CN104767756A (en) Equipment information processing method, client side device and server side device
CN113672441A (en) Method and device for testing intelligent equipment
CN105278339B (en) Method and device for generating and controlling sub-device description information of composite household appliance
CN113556255A (en) Method and device for configuring smart home
CN109857540A (en) Management method, device, terminal and the computer readable storage medium of server
CN105792025A (en) Device information obtaining method and terminal
CN104331330A (en) Resource pool generation method and device
CN112413826B (en) Device configuration method and device, electronic device and storage medium
CN106322666A (en) Mobile phone location based air-conditioning control method and system
CN108958057A (en) The control method and device of household appliance, storage medium, electronic device
CN114389969B (en) Method and device for testing client, electronic equipment and storage medium
CN205787869U (en) A kind of tele-control system
CN108768802A (en) Facility information delet method and device, server and mobile terminal
CN112968860B (en) Method and device for managing electronic device
CN111953573B (en) Equipment distribution network processing method, equipment distribution network processing device and intelligent panel
CN115097739A (en) Intelligent household equipment batch setting method and equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100176 601, 6th floor, building 2, No. 18, Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing

Applicant after: Jingdong Technology Information Technology Co.,Ltd.

Address before: 100176 601, 6th floor, building 2, No. 18, Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing

Applicant before: Jingdong Shuke Haiyi Information Technology Co., Ltd

CB02 Change of applicant information